Function at 0x46b260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x46b269
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
call fcn.00404d70
xor eax, eax
push ebp
push 0x46b808
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, byte [0x4e7e10]
ja 0x46b7d0
mov al, byte [ebp - 1]
cmp al, 0xf
ja 0x46b2b4
and eax, 0x7f
bt dword [0x4e7e12], eax
jae 0x46b7d0
call fcn.0046af18
xor edx, edx
push ebp
push 0x46b7c9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4e7e18]
call fcn.00404bcc
mov eax, esi
test eax, eax
jns 0x46b2e7
add eax, 7
sar eax, 3
mov dword [ebp - 0x24], eax
mov eax, esi
and eax, 0x80000007
jns 0x46b2fb
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov al, byte [ebp - 2]
cmp eax, 7
ja case.0x46b312.0
mov al, byte [eax + 0x46b319]
jmp dword [eax*4 + 0x46b321]
cmp dword [ebp + 0xc], 0
je 0x46b470
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
call fcn.004048c0
mov eax, dword [ebp - 0x24]
test eax, eax
jl 0x46b478
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
mov edi, 7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jne 0x46b37a
cmp dword [ebp - 0x28], 0
jle 0x46b478
mov edi, dword [ebp - 0x28]
dec edi
mov ebx, dword [ebp - 0x2c]
sub ebx, dword [ebp + 0xc]
push dword [ebp - 8]
lea ecx, [ebp - 0x34]
mov edx, 8
mov eax, ebx
call fcn.0040b768
push dword [ebp - 0x34]
push 0x46b820
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c40
mov ebx, edi
test ebx, ebx
jl 0x46b3bf
inc ebx
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc eax
dec ebx
jne 0x46b3b1
mov ebx, edi
test ebx, ebx
jl 0x46b3f6
inc ebx
lea esi, [ebp - 0x20]
push dword [ebp - 8]
lea ecx, [ebp - 0x38]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.0040b768
push dword [ebp - 0x38]
push 0x46b820
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c40
inc esi
dec ebx
jne 0x46b3c9
mov ebx, edi
cmp ebx, 7
jg 0x46b410
lea eax, [ebp - 8]
mov edx, 0x46b82c
call fcn.00404b88
inc ebx
cmp ebx, 8
jne 0x46b3fd
lea eax, [ebp - 8]
mov edx, 0x46b82c
call fcn.00404b88
mov ebx, edi
test ebx, ebx
jl 0x46b455
inc ebx
lea esi, [ebp - 0x20]
mov al, byte [esi]
cmp al, 0x20
jb 0x46b444
lea eax, [ebp - 0x3c]
mov dl, byte [esi]
call fcn.00404aa8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.00404b88
jmp 0x46b451
lea eax, [ebp - 8]
mov edx, 0x46b838
call fcn.00404b88
inc esi
dec ebx
jne 0x46b427
lea eax, [ebp - 8]
mov edx, 0x46b844
call fcn.00404b88
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x46b35f
jmp 0x46b478
lea eax, [ebp - 8]
call fcn.004048c0
cmp byte [ebp - 2], 0
jne 0x46b4a3
push dword [ebp + 0x10]
push 0x46b844
push dword [ebp - 8]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404c40
mov eax, dword [ebp - 0x40]
call fcn.0043ef9c
jmp case.0x46b312.0
cmp byte [ebp - 2], 4
jne 0x46b4d4
push dword [ebp + 0x10]
push 0x46b844
push dword [ebp - 8]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404c40
mov eax, dword [ebp - 0x44]
call fcn.00404d80
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp case.0x46b312.0
cmp byte [ebp - 2], 5
jne 0x46b531
lea eax, [ebp - 0x18]
mov edx, dword [0x4e7e14]
call fcn.00404958
mov eax, dword [ebp - 0x18]
call fcn.0040bb8c
test al, al
je 0x46b50a
push 2
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
jmp 0x46b521
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x46b553
lea edx, [ebp - 0x18]
mov al, byte [ebp - 1]
call fcn.0046b054
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46b5dc
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040d610
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x48]
call fcn.0040eefc
push dword [ebp - 0x48]
push 0x46b844
push dword [ebp + 0x10]
push 0x46b844
push dword [ebp - 8]
push 0x46b850
push 0x46b844
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404c40
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404958
mov eax, dword [ebp - 0xc]
call fcn.00404b80
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.0x46b312.0
mov eax, dword [ebp - 0x14]
call fcn.00403ab0
ret
cmp byte [ebp - 2], 7
jne 0x46b640
lea eax, [ebp - 0x18]
mov edx, dword [0x4e7e14]
call fcn.00404958
mov eax, dword [ebp - 0x18]
call fcn.0040bb8c
test al, al
je 0x46b619
push 2
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
jmp 0x46b630
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x46b662
lea edx, [ebp - 0x18]
mov al, byte [ebp - 1]
call fcn.0046b054
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46b6f8
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040d610
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x4c]
call fcn.0040eefc
push dword [ebp - 0x4c]
push 0x46b844
push dword [ebp + 0x10]
push 0x46b844
push dword [ebp - 8]
push 0x46b850
push 0x46b844
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404c40
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404958
mov eax, dword [ebp - 0xc]
call fcn.00404b80
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, esi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.0x46b312.0
mov eax, dword [ebp - 0x14]
call fcn.00403ab0
ret
cmp byte [ebp - 2], 6
jne 0x46b75c
lea eax, [ebp - 0x18]
mov edx, dword [0x4e7e14]
call fcn.00404958
mov eax, dword [ebp - 0x18]
call fcn.0040bb8c
test al, al
je 0x46b735
push 2
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
jmp 0x46b74c
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x46b77e
lea edx, [ebp - 0x18]
mov al, byte [ebp - 1]
call fcn.0046b054
push 0xffff
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41f0b0]
call fcn.00423b04
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46b7af
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0xc]
mov ecx, esi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.0x46b312.0
mov eax, dword [ebp - 0x14]
call fcn.00403ab0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b7d0
call fcn.0046af24
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b80f
lea eax, [ebp - 0x4c]
mov edx, 7
call fcn.004048e4
lea eax, [ebp - 0x18]
call fcn.004048c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004048e4
lea eax, [ebp + 0x10]
call fcn.004048c0
ret