Function at 0x45beb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5915c0
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.004c6d00
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1414], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1468], ecx
mov dword [ebp - 0x1464], eax
call fcn.004507b0
xor ecx, ecx
mov dword [ebp - 0x1470], 1
cmp dword [edx + 8], 1
mov esi, eax
mov eax, 8
cmove ecx, eax
mov dword [ebp - 0x146c], ecx
mov ecx, 1
lock xadd dword [0x6801f0], ecx
inc ecx
mov dword [ebp - 0x1460], ecx
mov dword [ebp - 0x145c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1458], eax
mov eax, dword [ebp - 0x1414]
push 0xc
mov dword [ebp - 0x141c], eax
lea eax, [ebp - 0x1430]
push 0
push eax
mov dword [ebp - 0x144c], 0x5dcd2c
mov dword [ebp - 0x1448], edi
mov dword [ebp - 0x1444], esi
mov dword [ebp - 0x1454], 0
mov dword [ebp - 0x1450], 0
mov dword [ebp - 0x1420], ebx
mov dword [ebp - 0x1440], 0
call fcn.004c76f0
add esp, 0xc
lea eax, [ebp - 0x143c]
push 0xc
push 0
push eax
call fcn.004c76f0
mov esi, dword [0x680198]
add esp, 0xc
test esi, esi
je 0x45bfee
mov ecx, esi
call dword [0x5c3794]
call esi
mov dword [ebp - 0x1424], eax
jmp 0x45bff8
mov dword [ebp - 0x1424], 0
mov esi, dword [0x68015c]
test esi, esi
je 0x45c013
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
mov esi, dword [0x680174]
test esi, esi
je 0x45c03a
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1470]
push eax
call dword [0x5c3794]
call esi
mov esi, dword [0x680170]
test esi, esi
je 0x45c055
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
mov esi, dword [0x680184]
test esi, esi
je 0x45c079
test byte [ebp - 0x146c], 2
jne 0x45c079
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
cmp dword [ebp - 0x1468], 0
jge 0x45c1a2
cmp byte [0x680150], 0
jne 0x45c0b8
mov esi, dword [0x680148]
test esi, esi
je 0x45c0a8
mov ecx, esi
call dword [0x5c3794]
call esi
movzx eax, al
jmp 0x45c0b4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x45c0c1
test byte [ebp - 0x146c], 2
je 0x45c0ef
mov esi, dword [0x680154]
test esi, esi
je 0x45c150
cmp byte [0x680164], 0
jne 0x45c150
push 0
push 0
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
jmp 0x45c150
mov esi, dword [0x680154]
test esi, esi
je 0x45c11f
cmp byte [0x680164], 0
jne 0x45c11f
push 0x800
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1470]
push eax
call dword [0x5c3794]
call esi
cmp word [ebp - 0x1410], 0
jne 0x45c143
lea eax, [ebp - 0x1470]
mov edx, 0x800
push eax
lea ecx, [ebp - 0x1410]
call fcn.00450340
add esp, 4
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x146c], 4
jne 0x45c162
cmp byte [0x680158], 0
je 0x45c176
mov esi, dword [0x68017c]
test esi, esi
je 0x45c176
mov ecx, esi
call dword [0x5c3794]
call esi
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x146c], 1
jne 0x45c1a7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
call fcn.00451ed0
lea ecx, [ebp - 0x1470]
call fcn.00451c40
int3