Function at 0x40b9b3
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x44d948]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0xe8
mov eax, 0x43942f
call fcn.0041f00d
mov eax, dword [ebp + 0x834]
mov esi, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0x82c]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x830]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x840]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x828]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x83c]
xor edi, edi
mov dword [esi + 0x14], eax
cmp dword [0x44efc8], edi
je 0x40ba8b
mov eax, dword [0x450d14]
test eax, eax
jne 0x40ba8b
mov eax, dword [0x44efc8]
push edi
add eax, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.004015f6
mov dword [ebp - 4], 0x11
push 1
push edi
push edi
push dword [esi + 0x10]
push edi
push dword [esi]
push dword [esi + 4]
call fcn.0040af0a
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b44b
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x838], edi
jne 0x40ba71
mov eax, dword [0x44efc8]
add eax, 0xc
push eax
call ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x40bc17
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x10], edi
jmp 0x40bc17
xor eax, eax
push 0x7fe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push edi
push eax
call fcn.00420d30
add esp, 0xc
call fcn.00401877
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x43dfd0
lea eax, [ebp + 0x1c]
push 0x100
push eax
call fcn.00420a64
add esp, 0x14
push dword [esi + 0x10]
lea ecx, [ebp - 0xbc]
call fcn.004062e4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
push 0x43dfcc
lea ecx, [ebp - 0x84]
call fcn.004062e4
mov dword [ebp - 0x10], eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004062e4
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00405fe6
mov byte [ebp - 4], 3
push dword [esi + 4]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00406973
mov byte [ebp - 4], 4
push 0x43f5fc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406973
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00405fe6
mov byte [ebp - 4], 6
push 0x43f5d0
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00406973
mov byte [ebp - 4], 7
push 0x43f5cc
push eax
lea eax, [ebp]
push eax
call fcn.00406973
add esp, 0x48
mov byte [ebp - 4], 9
push edi
push ebx
lea ecx, [ebp - 0x68]
call fcn.004048ea
mov byte [ebp - 4], 0xa
push edi
push ebx
lea ecx, [ebp - 0xf4]
call fcn.004048ea
mov byte [ebp - 4], 0xb
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.004048ea
mov byte [ebp - 4], 0xc
push edi
push ebx
lea ecx, [ebp - 0xd8]
call fcn.004048ea
mov byte [ebp - 4], 0xd
push edi
push ebx
lea ecx, [ebp - 0xa0]
call fcn.004048ea
mov byte [ebp - 4], 0xe
push edi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.004048ea
mov byte [ebp - 4], 0xf
push edi
push ebx
lea ecx, [ebp - 0x84]
call fcn.004048ea
mov byte [ebp - 4], 0x10
push edi
push ebx
lea ecx, [ebp - 0xbc]
call fcn.004048ea
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40bc02
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp]
call fcn.004048ea
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.0041effe
add ebp, 0x820
leave
ret 0x1c