Function at 0x403a36
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x416004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov word [eax], si
xor ebx, ebx
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 0x1c]
mov byte [eax], bl
mov ebx, dword [ebp + 0x18]
mov eax, ebx
mov dword [ebp - 0x10], ecx
sub eax, esi
je 0x403ac3
sub eax, 1
je 0x403aba
sub eax, 1
je 0x403ab1
sub eax, 1
je 0x403a8b
sub eax, 1
jne 0x403acd
push edi
call fcn.00403480
jmp 0x403aca
test edi, edi
js 0x403aa8
mov edi, 0x8007029c
push edi
push 3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403d90
mov ecx, edi
call fcn.0040345f
jmp 0x403aca
mov ecx, edi
call fcn.00403447
jmp 0x403aca
mov ecx, edi
call fcn.0040342f
jmp 0x403aca
mov ecx, edi
call fcn.00403417
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x38]
mov dword [esi], ebx
xor ebx, ebx
inc ebx
mov dword [esi + 4], edi
mov eax, ebx
lock xadd dword [0x41750c], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x403af4
xor ecx, ecx
cmp word [eax], cx
jne 0x403af6
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x41754c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
test edi, edi
je 0x403b57
mov ecx, edi
call dword [0x41a28c]
call edi
mov edx, dword [ebp + 0x30]
mov ecx, esi
push 0x400
mov dword [esi + 0x44], eax
call fcn.004037cd
mov edi, dword [0x417554]
test edi, edi
je 0x403b7e
push esi
mov ecx, edi
call dword [0x41a28c]
call edi
xor eax, eax
cmp dword [esi + 4], eax
jl 0x403b8f
cmp dword [ebp + 0x18], 4
jne 0x403c1e
mov edi, dword [0x417560]
cmp byte [0x41755c], al
jne 0x403bab
cmp dword [0x417558], eax
jne 0x403ba9
test edi, edi
je 0x403bab
mov bl, al
cmp byte [ebp + 0x24], al
jne 0x403bcf
test bl, bl
jne 0x403bcf
test edi, edi
je 0x403c0b
cmp byte [0x417550], al
jne 0x403c0b
push eax
push eax
push esi
mov ecx, edi
call dword [0x41a28c]
call edi
jmp 0x403c0b
test edi, edi
je 0x403be6
push 0x800
push dword [ebp + 0x28]
mov ecx, edi
push esi
call dword [0x41a28c]
call edi
mov eax, dword [ebp + 0x28]
xor ecx, ecx
cmp word [eax], cx
jne 0x403c00
push esi
mov edx, 0x800
mov ecx, eax
call fcn.00403221
mov eax, dword [ebp + 0x28]
test bl, bl
je 0x403c0b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004153e0
mov esp, ebp
pop ebp
ret 0x34
mov ecx, dword [ebp + 4]
mov edx, 0xb46
push 0x401708
call fcn.00403e13
int3