Function at 0x10045d69
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053816
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.1004ff50
push ebx
push esi
push edi
mov eax, dword [0x1005f0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
cmp dword [0x1005f6e8], 0
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x14]
setne byte [ebp - 0x1411]
mov dword [ebp - 0x1420], eax
mov edx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
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.1002b918
mov dword [ebp - 0x141c], eax
mov dword [ebp - 0x1478], ebx
mov dword [ebp - 0x1474], ebx
cmp byte [edx + 8], bl
je 0x10045e0c
mov dword [ebp - 0x1474], 8
xor ebx, ebx
inc ebx
mov eax, ebx
lock xadd dword [0x1005f770], eax
inc eax
and dword [ebp - 0x1464], 0
mov dword [ebp - 0x1468], eax
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 - 0x144c], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x1428], eax
xor eax, eax
mov dword [ebp - 0x1424], edi
lea edi, [ebp - 0x1438]
mov dword [ebp - 0x1450], esi
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1458], ecx
stosd dword es:[edi], eax
mov esi, dword [0x1005f70c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1448]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x10045ea4
mov ecx, esi
call dword [0x10060380]
call esi
mov dword [ebp - 0x142c], eax
jmp 0x10045eaa
mov dword [ebp - 0x142c], ecx
mov esi, dword [0x1005f6c0]
test esi, esi
je 0x10045ec5
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10060380]
call esi
mov esi, dword [0x1005f6dc]
test esi, esi
je 0x10045eec
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x10060380]
call esi
mov esi, dword [0x1005f6d4]
test esi, esi
je 0x10045f07
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10060380]
call esi
mov esi, dword [0x1005f6f0]
test esi, esi
je 0x10045f34
cmp byte [ebp - 0x1411], 0
jne 0x10045f34
test byte [ebp - 0x1474], 2
jne 0x10045f34
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10060380]
call esi
cmp dword [ebp - 0x1470], 0
jl 0x10045f42
call fcn.1002ba8a
cmp byte [0x1005f6b0], 0
jne 0x10045f74
mov esi, dword [0x1005f6ac]
test esi, esi
je 0x10045f64
mov ecx, esi
call dword [0x10060380]
call esi
movzx eax, al
jmp 0x10045f70
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x10045f7d
test byte [ebp - 0x1474], 2
je 0x10045f7f
xor bl, bl
cmp byte [ebp - 0x1411], 0
jne 0x10045fb5
test bl, bl
jne 0x10045fb5
mov esi, dword [0x1005f6b4]
test esi, esi
je 0x10046015
cmp byte [0x1005f6c4], bl
jne 0x10046015
push 0
push 0
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10060380]
call esi
jmp 0x10046015
mov esi, dword [0x1005f6b4]
mov edi, 0x800
test esi, esi
je 0x10045fe6
cmp byte [0x1005f6c4], 0
jne 0x10045fe6
push edi
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x10060380]
call esi
cmp word [ebp - 0x1410], 0
jne 0x10046004
lea eax, [ebp - 0x1478]
mov edx, edi
push eax
lea ecx, [ebp - 0x1410]
call fcn.10019216
test bl, bl
je 0x10046015
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1474], 4
jne 0x10046027
cmp byte [0x1005f6b8], 0
je 0x1004603b
mov esi, dword [0x1005f6e4]
test esi, esi
je 0x1004603b
mov ecx, esi
call dword [0x10060380]
call esi
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1474], 1
je 0x10046053
lea ecx, [ebp - 0x1478]
call fcn.1002bd93
cmp byte [ebp - 0x1411], 0
je 0x1004607a
mov esi, dword [0x1005f6e8]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x10060380]
call esi
lea ecx, [ebp - 0x1478]
call fcn.1002bd43
jmp 0x10046048