Function at 0x484824
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x48482c
push ecx
push ebx
push esi
push edi
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x484af1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x15], 0
xor edx, edx
push ebp
push 0x484ab8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
call fcn.004847f8
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004143b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0x484b10
call fcn.00405f9c
mov dl, 1
mov eax, dword [0x4215e4]
call fcn.00426e08
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call fcn.0040c944
test al, al
je 0x484aa6
xor eax, eax
push ebp
push 0x48495c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x484952
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0040658c
test eax, eax
jle 0x48494e
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, 0x484b54
call fcn.0040658c
test eax, eax
jne 0x48494e
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x484b64
call fcn.00405f9c
mov eax, dword [ebp - 0x28]
call fcn.00405b54
push eax
call sub.kernel32.dll_OutputDebugStringW
mov byte [ebp - 0x15], 1
cmp byte [ebp - 9], 0
je 0x484952
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x20]
inc ebx
dec esi
jne 0x4848d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48496d
cmp dword [ebp - 0x10], 2
jne 0x484980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484ace
xor edx, edx
push ebp
push 0x484a7b
push dword fs:[edx]
mov dword fs:[edx], esp
movzx eax, byte [ebp - 0x15]
and al, byte [ebp - 9]
je 0x4849dc
mov eax, dword [ebp - 4]
call fcn.0040cac4
test eax, 1
jle 0x4849b4
and eax, 0xfffffffe
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040cad8
mov eax, dword [ebp - 4]
call fcn.0040cac4
test eax, 2
jle 0x4849d1
and eax, 0xfffffffd
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040cad8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x484a71
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0040658c
test eax, eax
jle 0x484a6d
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, 0x484b54
call fcn.0040658c
test eax, eax
jne 0x484a6d
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x484b94
call fcn.00405f9c
mov eax, dword [ebp - 0x38]
call fcn.00405b54
push eax
call sub.kernel32.dll_OutputDebugStringW
mov dword [ebp - 0x10], 3
inc ebx
dec esi
jne 0x484a01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484a98
movzx eax, byte [ebp - 0x15]
and al, byte [ebp - 9]
je 0x484aa6
call fcn.00484bbc
mov eax, dword [ebp - 0x14]
call fcn.00403dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484ace
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484af8
lea eax, [ebp - 0x3c]
mov edx, 9
call fcn.00405ac0
lea eax, [ebp - 4]
call fcn.00405ab8
ret