Function at 0x404840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456e98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
mov edi, ecx
push eax
call fcn.00406610
push 3
xor ebx, ebx
push 0x466cbc
xor eax, eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00408450
mov esi, eax
xor eax, eax
push 1
lea ecx, [ebp - 0x50]
cmp esi, 0xffffffff
jne 0x404990
push 0x466e4c
call fcn.00408450
cmp eax, esi
je 0x4049e9
push eax
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.004067d0
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00408120
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x4048e6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x30]
xor ecx, ecx
push edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00409010
lea eax, [ebp - 0x30]
push eax
mov edi, 0x466868
call fcn.00406610
lea ecx, [ebp - 0x70]
push ecx
mov edi, 0x466e50
mov byte [ebp - 4], 2
call fcn.00406610
lea edx, [ebp - 0x30]
push edx
lea edi, [ebp - 0x70]
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00404a70
mov byte [ebp - 4], 2
cmp dword [ebp - 0x58], esi
jb 0x404947
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x70]
xor ecx, ecx
mov edi, 7
xor ebx, ebx
push edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], cx
call fcn.00409010
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x404977
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x30]
xor ecx, ecx
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00409010
xor ebx, ebx
jmp 0x4049ee
push 0x466e54
call fcn.00408450
dec eax
push eax
add esi, 3
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.004067d0
mov esi, eax
lea edi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00408120
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4049d0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x30]
xor eax, eax
push ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00409010
mov esi, 8
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x4049f9
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x404a0b
lea eax, [ebp - 0x4c]
push eax
call fcn.00421800
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, eax
cmp dword [ebp - 0x38], esi
jb 0x404a2e
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x50]
xor eax, eax
push ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
call fcn.00409010
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret