Function at 0x4594c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591310
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.004c6d00
push ebx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1418], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1414], eax
mov esi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x1468], ecx
mov dword [ebp - 0x1464], eax
call fcn.004507f0
xor ecx, ecx
mov dword [ebp - 0x1470], 3
add esp, 4
mov edi, eax
cmp dword [esi + 8], 1
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]
mov dword [ebp - 0x1420], eax
mov eax, dword [ebp - 0x1418]
push 0xc
mov dword [ebp - 0x141c], eax
lea eax, [ebp - 0x1430]
push 0
push eax
mov dword [ebp - 0x144c], 0x5dcd40
mov dword [ebp - 0x1448], ebx
mov dword [ebp - 0x1444], edi
mov dword [ebp - 0x1454], 0
mov dword [ebp - 0x1450], 0
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 0x45960b
mov ecx, esi
call dword [0x5c3794]
call esi
mov dword [ebp - 0x1424], eax
jmp 0x459615
mov dword [ebp - 0x1424], 0
mov esi, dword [0x68015c]
test esi, esi
je 0x459630
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
mov esi, dword [0x680174]
test esi, esi
je 0x459657
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 0x459672
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
mov esi, dword [0x680184]
test esi, esi
je 0x459696
test byte [ebp - 0x146c], 2
jne 0x459696
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
cmp dword [ebp - 0x1468], 0
jl 0x4596b9
mov ecx, 0x8000ffff
mov dword [ebp - 0x1468], 0x8000ffff
call fcn.004509f0
mov dword [ebp - 0x1464], eax
cmp byte [0x680150], 0
jne 0x4596eb
mov esi, dword [0x680148]
test esi, esi
je 0x4596db
mov ecx, esi
call dword [0x5c3794]
call esi
movzx eax, al
jmp 0x4596e7
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4596f4
test byte [ebp - 0x146c], 2
je 0x459722
mov esi, dword [0x680154]
test esi, esi
je 0x459783
cmp byte [0x680164], 0
jne 0x459783
push 0
push 0
lea eax, [ebp - 0x1470]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
jmp 0x459783
mov esi, dword [0x680154]
test esi, esi
je 0x459752
cmp byte [0x680164], 0
jne 0x459752
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 0x459776
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 0x459795
cmp byte [0x680158], 0
je 0x4597a9
mov esi, dword [0x68017c]
test esi, esi
je 0x4597a9
mov ecx, esi
call dword [0x5c3794]
call esi
lea ecx, [ebp - 0x1470]
mov dword [ebp - 4], 0xffffffff
call fcn.00451c40
int3