Function at 0x467d54
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x467d5d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4680b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [esi + 8]
call fcn.00465610
test edi, edi
je 0x46804a
test ebx, ebx
je 0x46804a
cmp dword [ebx], 0
jne 0x467db7
mov byte [ebp - 0x19], 1
mov dword [esi + 0x20], 2
mov eax, dword [esi + 8]
call fcn.004653c4
jmp 0x46804a
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x467dd4
sub al, 5
jb 0x467df1
je 0x467fee
jmp 0x46804a
lea eax, [ebp - 0x2c]
mov edx, dword [ebx]
call fcn.00405514
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.00464eec
mov byte [ebp - 0x19], 1
jmp 0x46804a
mov eax, dword [ebx]
mov edx, 0x4680d0
call fcn.00405004
jne 0x467e14
mov eax, dword [ebx + 0xc]
call fcn.00467d14
test al, al
jne 0x467e14
mov byte [ebp - 0x19], 1
jmp 0x46804a
mov dl, 1
mov eax, dword [0x417300]
call fcn.00403cb0
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0x467fe7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0xc]
call fcn.00467d14
test al, al
je 0x467e7b
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [esi + 0x10]
cmp dword [eax + 8], 3
setne al
push eax
push 0
lea ecx, [ebp - 0x34]
mov edx, 0xcb
mov eax, edi
call fcn.00461004
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov ecx, 0x4680d4
call fcn.00406814
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebx]
movzx eax, byte [ebx + 4]
call fcn.00466df4
mov eax, dword [ebp - 0x28]
cmp dword [eax + 8], 0
jg 0x467e8e
call fcn.00404600
jmp 0x46804a
lea eax, [ebp - 0x21]
xor ecx, ecx
mov edx, 8
call fcn.00403614
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 8]
cmp esi, 1
jne 0x467eb2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x467ec5
mov edx, esi
dec edx
xor eax, eax
call fcn.00420fa4
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 4]
mov esi, dword [edx + eax*4]
test esi, esi
jne 0x467ed3
call fcn.00404600
jmp 0x46804a
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00410da8
mov eax, dword [ebx]
mov edx, 0x4680d0
call fcn.00405004
jne 0x467f63
mov eax, edi
call fcn.00466518
mov edx, 0x4680ec
lea eax, [ebp - 0x18]
call fcn.00467908
mov edx, 0x468100
lea eax, [ebp - 0x18]
call fcn.00467908
push 0x46810c
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410998
add esp, 0xc
mov byte [ebp - 0x19], 1
push 0x468118
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410998
add esp, 0xc
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
call fcn.004144a4
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x468124
call fcn.004055a0
mov eax, dword [ebp - 0x38]
call fcn.00405524
push eax
call sub.kernel32.dll_OutputDebugStringW
jmp 0x467fc9
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x21], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1d], eax
lea eax, [ebp - 4]
call fcn.004067d0
push eax
mov eax, dword [0x46eb40]
push eax
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x18]
call fcn.00414b3c
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x467fc9
cmp dword [ebp - 4], 0
je 0x467fc9
push 1
movzx eax, byte [ebx + 4]
cmp al, 5
setne dl
push edx
cmp al, 5
setne al
push eax
lea ecx, [ebp - 0x21]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004679ac
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x28]
call fcn.004663a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46804a
mov eax, dword [ebp - 0x28]
call fcn.00403ce0
ret
xor eax, eax
push ebp
push 0x468040
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x58]
mov edx, 0xcb
mov eax, edi
call fcn.00461004
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov ecx, 0x4680d4
call fcn.00406814
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebx]
call fcn.00405514
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.004667a8
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46804a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4680bc
lea eax, [ebp - 0x5c]
call fcn.00405390
lea eax, [ebp - 0x58]
call fcn.004067d0
lea eax, [ebp - 0x54]
call fcn.004067d0
lea eax, [ebp - 0x50]
call fcn.004067d0
lea eax, [ebp - 0x4c]
call fcn.00410990
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004053a8
lea eax, [ebp - 0x34]
call fcn.004067d0
lea eax, [ebp - 0x30]
call fcn.004067d0
lea eax, [ebp - 0x2c]
call fcn.00405390
lea eax, [ebp - 0x18]
call fcn.00410990
lea eax, [ebp - 4]
call fcn.004067d0
ret