Function at 0x1004586b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d135a
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.100c20e0
push ebx
push esi
push edi
mov eax, dword [0x100eedbc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1420], ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1444]
cmp dword [0x100efbf4], 0
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x14]
setne byte [ebp - 0x1411]
push 6
mov dword [ebp - 0x141c], eax
xor ebx, ebx
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], ebx
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], bl
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1470], ecx
mov dword [ebp - 0x146c], eax
call fcn.1003c4eb
mov ecx, ebx
mov dword [ebp - 0x1478], ebx
cmp byte [edx + 8], cl
mov edi, eax
push 8
pop eax
cmovne ecx, eax
inc ebx
mov dword [ebp - 0x1474], ecx
mov ecx, ebx
lock xadd dword [0x100efc88], ecx
inc ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1468], ecx
xor ecx, ecx
test eax, eax
je 0x10045939
mov dword [ebp - 0x1464], eax
cmp word [eax], cx
jne 0x1004593f
mov dword [ebp - 0x1464], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1428], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x144c], edi
lea edi, [ebp - 0x1438]
mov dword [ebp - 0x1424], eax
xor eax, eax
mov dword [ebp - 0x1450], esi
mov esi, dword [0x100efc18]
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1458], ecx
mov dword [ebp - 0x1448], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1444]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x100459c1
mov ecx, esi
call dword [0x100f1370]
call esi
mov dword [ebp - 0x142c], eax
jmp 0x100459c7
mov dword [ebp - 0x142c], ecx
mov esi, dword [0x100efbd0]
test esi, esi
je 0x100459e2
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100f1370]
call esi
mov esi, dword [0x100efbe8]
test esi, esi
je 0x10045a09
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100f1370]
call esi
mov esi, dword [0x100efbe4]
test esi, esi
je 0x10045a24
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100f1370]
call esi
mov esi, dword [0x100efbfc]
test esi, esi
je 0x10045a51
cmp byte [ebp - 0x1411], 0
jne 0x10045a51
test byte [ebp - 0x1474], 2
jne 0x10045a51
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100f1370]
call esi
cmp dword [ebp - 0x1470], 0
jl 0x10045a5f
call fcn.1003c819
cmp byte [0x100efbc0], 0
jne 0x10045a91
mov esi, dword [0x100efbbc]
test esi, esi
je 0x10045a81
mov ecx, esi
call dword [0x100f1370]
call esi
movzx eax, al
jmp 0x10045a8d
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x10045a9e
test byte [ebp - 0x1474], 2
jne 0x10045a9e
xor ecx, ecx
jmp 0x10045aa2
xor ecx, ecx
mov bl, cl
cmp byte [ebp - 0x1411], 0
jne 0x10045ad6
test bl, bl
jne 0x10045ad6
mov esi, dword [0x100efbc4]
test esi, esi
je 0x10045b36
cmp byte [0x100efbd4], bl
jne 0x10045b36
push ecx
push ecx
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100f1370]
call esi
jmp 0x10045b36
mov esi, dword [0x100efbc4]
mov edi, 0x800
test esi, esi
je 0x10045b07
cmp byte [0x100efbd4], 0
jne 0x10045b07
push edi
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100f1370]
call esi
cmp word [ebp - 0x1410], 0
jne 0x10045b25
lea eax, [ebp - 0x1478]
mov edx, edi
push eax
lea ecx, [ebp - 0x1410]
call fcn.1003b45a
test bl, bl
je 0x10045b36
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1474], 4
jne 0x10045b48
cmp byte [0x100efbc8], 0
je 0x10045b5c
mov esi, dword [0x100efbf0]
test esi, esi
je 0x10045b5c
mov ecx, esi
call dword [0x100f1370]
call esi
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1474], 1
je 0x10045b74
lea ecx, [ebp - 0x1478]
call fcn.1003c204
cmp byte [ebp - 0x1411], 0
je 0x10045b9b
mov esi, dword [0x100efbf4]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100f1370]
call esi
lea ecx, [ebp - 0x1478]
call fcn.10045853
jmp 0x10045b69