Function at 0x405610
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x485648
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b1598]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1598]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00402b20
mov ecx, dword [esi + 0x128]
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x405680
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004033f0
mov edx, dword [esp + 0x38]
xor ebp, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebp
xor ebx, ebx
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x1c]
jae 0x405700
mov esi, eax
cmp ebx, dword [esp + 0x38]
jbe 0x4056bc
call fcn.004113d1
mov eax, dword [esp + 0x28]
mov edi, 0x10
cmp dword [esp + 0x3c], edi
jae 0x4056cf
lea eax, [esp + 0x28]
cmp byte [eax + ebx], 0xd
jne 0x4056f4
cmp esi, dword [esp + 0x38]
jbe 0x4056e0
call fcn.004113d1
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x28]
jae 0x4056ee
lea eax, [esp + 0x28]
cmp byte [esi + eax], 0xa
je 0x405700
add esi, 1
add ebx, 1
cmp esi, dword [esp + 0x1c]
jb 0x4056b1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x1c]
jae 0x4057db
add ebx, 2
mov edi, ebx
sub edi, ebp
cmp edi, 5
jb 0x4057d0
cmp ebp, dword [esp + 0x38]
jbe 0x405728
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x405737
lea eax, [esp + 0x28]
movsx ecx, byte [eax + ebp]
push ecx
call fcn.0041103b
add esp, 4
test eax, eax
je 0x4057d0
lea esi, [ebp + 1]
cmp esi, dword [esp + 0x38]
jbe 0x40575a
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x405769
lea eax, [esp + 0x28]
movsx edx, byte [eax + esi]
push edx
call fcn.0041103b
add esp, 4
test eax, eax
je 0x4057d0
lea esi, [ebp + 2]
cmp esi, dword [esp + 0x38]
jbe 0x405788
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x405797
lea eax, [esp + 0x28]
movsx eax, byte [eax + esi]
push eax
call fcn.0041103b
add esp, 4
test eax, eax
je 0x4057d0
cmp edi, 5
je 0x4057e4
lea esi, [ebp + 3]
cmp esi, dword [esp + 0x38]
jbe 0x4057bb
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x4057ca
lea eax, [esp + 0x28]
cmp byte [eax + esi], 0x20
je 0x4057e4
mov dword [esp + 0x14], ebx
mov ebp, ebx
jmp 0x4056a6
mov esi, dword [esp + 0x20]
jmp 0x405666
cmp ebp, dword [esp + 0x38]
jbe 0x4057ef
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov ebx, dword [esp + 0x28]
jae 0x4057fe
lea ebx, [esp + 0x28]
add ebp, 1
cmp ebp, dword [esp + 0x38]
jbe 0x40580c
call fcn.004113d1
cmp dword [esp + 0x3c], 0x10
mov edi, dword [esp + 0x28]
jae 0x40581b
lea edi, [esp + 0x28]
mov esi, dword [esp + 0x14]
add esi, 2
cmp esi, dword [esp + 0x38]
jbe 0x40582d
call fcn.004113d1
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
mov ecx, dword [esp + 0x28]
jae 0x40583e
lea ecx, [esp + 0x28]
cmp edx, 0x10
mov eax, dword [esp + 0x14]
movsx eax, byte [ebx + eax]
movsx edi, byte [edi + ebp]
movsx ecx, byte [ecx + esi]
lea eax, [eax + eax*4]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*2 - 0x14d0]
mov ecx, dword [esp + 0x28]
jae 0x40586b
lea ecx, [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x128]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x405875
mov edx, dword [edi + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0xc]
je 0x4058af
mov eax, dword [eax + 0x10]
push 0x4add68
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], eax
call fcn.0041125d
cmp dword [esp + 0x3c], 0x10
jb 0x4058c3
mov edx, dword [esp + 0x28]
push edx
call fcn.00410c64
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004117a8
add esp, 0x3c
ret 4