Function at 0x414810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437750
mov eax, dword fs:[0]
push eax
mov eax, 0x1468
call fcn.00418c60
push ebx
push esi
push edi
mov eax, dword [0x4490b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1414], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x141c], eax
mov esi, dword [ebp + 0x20]
xor eax, eax
mov word [ebp - 0x140c], ax
mov byte [ebp - 0x40c], al
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x146c], ecx
mov dword [ebp - 0x1468], eax
call fcn.00416ab0
xor ecx, ecx
mov dword [ebp - 0x1410], eax
add esp, 4
mov dword [ebp - 0x1474], 3
cmp byte [esi + 8], cl
mov eax, 8
cmovne ecx, eax
mov dword [ebp - 0x1470], ecx
mov ecx, 1
lock xadd dword [0x44a1f4], ecx
inc ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1464], ecx
test eax, eax
je 0x4148dd
cmp word [eax], 0
mov dword [ebp - 0x1460], eax
jne 0x4148e7
mov dword [ebp - 0x1460], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x145c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x1410]
mov dword [ebp - 0x1448], eax
mov eax, dword [ebp - 0x1414]
mov dword [ebp - 0x1458], eax
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1424], eax
xor eax, eax
mov dword [ebp - 0x1434], eax
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x142c], eax
mov dword [ebp - 0x1444], eax
mov dword [ebp - 0x1440], eax
mov dword [ebp - 0x143c], eax
mov dword [ebp - 0x1438], eax
mov eax, dword [0x44a238]
mov dword [ebp - 0x1450], ebx
mov dword [ebp - 0x1420], edi
test eax, eax
je 0x414977
call eax
mov dword [ebp - 0x1428], eax
jmp 0x414981
mov dword [ebp - 0x1428], 0
mov eax, dword [0x44a22c]
test eax, eax
je 0x414993
lea ecx, [ebp - 0x1474]
push ecx
call eax
mov eax, dword [0x44a230]
test eax, eax
je 0x4149b1
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x1474]
push ecx
call eax
mov eax, dword [0x44a234]
test eax, eax
je 0x4149c3
lea ecx, [ebp - 0x1474]
push ecx
call eax
mov eax, dword [0x44a268]
test eax, eax
je 0x4149de
test byte [ebp - 0x1470], 2
jne 0x4149de
lea ecx, [ebp - 0x1474]
push ecx
call eax
cmp dword [ebp - 0x146c], 0
jl 0x414a04
push 0x8000ffff
mov dword [ebp - 0x146c], 0x8000ffff
call fcn.004162f0
add esp, 4
mov dword [ebp - 0x1468], eax
cmp byte [0x44a210], 0
jne 0x414a2d
mov eax, dword [0x44a20c]
test eax, eax
je 0x414a1d
call eax
movzx eax, al
jmp 0x414a29
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x414a9a
cmp byte [0x449078], 0
je 0x414a9a
test byte [ebp - 0x1470], 2
jne 0x414a9a
mov eax, dword [0x44a208]
test eax, eax
je 0x414a66
cmp byte [0x44a220], 0
jne 0x414a66
push 0x800
lea ecx, [ebp - 0x140c]
push ecx
lea ecx, [ebp - 0x1474]
push ecx
call eax
cmp word [ebp - 0x140c], 0
jne 0x414a8b
lea eax, [ebp - 0x1474]
push eax
lea eax, [ebp - 0x140c]
push 0x800
push eax
call fcn.004159a0
add esp, 0xc
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x414ab9
mov eax, dword [0x44a208]
test eax, eax
je 0x414ab9
cmp byte [0x44a220], 0
jne 0x414ab9
push 0
push 0
lea ecx, [ebp - 0x1474]
push ecx
call eax
test byte [ebp - 0x1470], 4
jne 0x414acb
cmp byte [0x44a218], 0
je 0x414ad6
mov eax, dword [0x44a240]
test eax, eax
je 0x414ad6
call eax
lea eax, [ebp - 0x1474]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00418000
int3