Function at 0x40b312
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4230a6
call fcn.00414c98
sub esp, 0x904
mov eax, dword [0x431d24]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [0x432ed4]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x40b3d2
cmp dword [0x434a28], ebx
jne 0x40b3d2
push ebx
add eax, 0xc
push eax
lea ecx, [ebp - 0x830]
call fcn.00401471
mov dword [ebp - 4], 0x11
push 1
push ebx
push ebx
push dword [esi + 0x10]
push ebx
push dword [esi]
push dword [esi + 4]
call fcn.0040a806
pop ecx
pop ecx
mov ecx, eax
call fcn.0040ad70
cmp dword [ebp + 0x18], ebx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x40b3af
mov eax, dword [0x432ed4]
add eax, 0xc
push eax
call edi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x830], ebx
je 0x40b589
push dword [ebp - 0x830]
call edi
mov dword [ebp - 0x830], ebx
jmp 0x40b589
mov word [ebp - 0x810], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.004016cc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x425ecc
lea eax, [ebp - 0x810]
push pe_nt_image_headers32
push eax
call fcn.0041403d
add esp, 0x14
push dword [esi + 0x10]
lea ecx, [ebp - 0x8d8]
call fcn.00405bd2
mov edi, eax
mov dword [ebp - 4], ebx
push 0x425ec8
lea ecx, [ebp - 0x8a0]
call fcn.00405bd2
mov dword [ebp - 0x830], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x868]
call fcn.00405bd2
mov byte [ebp - 4], 2
push dword [ebp - 0x830]
push eax
lea eax, [ebp - 0x8bc]
push eax
call fcn.004059b8
mov byte [ebp - 4], 3
push dword [esi + 4]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.00406428
mov byte [ebp - 4], 4
push 0x427794
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.00406428
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.004059b8
mov byte [ebp - 4], 6
push 0x427768
push eax
lea eax, [ebp - 0x8f4]
push eax
call fcn.00406428
mov byte [ebp - 4], 7
push 0x427764
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00406428
add esp, 0x48
mov byte [ebp - 4], 0x10
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x8f4]
call fcn.00403d21
mov byte [ebp - 4], 0xf
push ebx
push edi
lea ecx, [ebp - 0x910]
call fcn.00403d21
mov byte [ebp - 4], 0xe
push ebx
push edi
lea ecx, [ebp - 0x884]
call fcn.00403d21
mov byte [ebp - 4], 0xd
push ebx
push edi
lea ecx, [ebp - 0x84c]
call fcn.00403d21
mov byte [ebp - 4], 0xc
push ebx
push edi
lea ecx, [ebp - 0x8bc]
call fcn.00403d21
mov byte [ebp - 4], 0xb
push ebx
push edi
lea ecx, [ebp - 0x868]
call fcn.00403d21
mov byte [ebp - 4], 0xa
push ebx
push edi
lea ecx, [ebp - 0x8a0]
call fcn.00403d21
mov byte [ebp - 4], 9
push ebx
push edi
lea ecx, [ebp - 0x8d8]
call fcn.00403d21
cmp dword [ebp - 0x814], 8
mov eax, dword [ebp - 0x828]
jae 0x40b571
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x82c]
call fcn.00403d21
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041428f
leave
ret 0x1c