Function at 0x405990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
jmp 0x4059bb
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x405f3c
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x4059ec
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x25
jne 0x405a03
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
sub eax, dword [ebp - 0x10]
sar eax, 1
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x4059ae
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x405a20
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x405a91
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x23
jne 0x405a40
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
jmp 0x405a8f
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x2a
jne 0x405a5f
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x405a8f
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x405a8b
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2b
je 0x405a8b
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x30
je 0x405a8b
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x20
jne 0x405a8d
jmp 0x405a8f
jmp 0x405a91
jmp 0x405a13
cmp dword [ebp - 0x1c], 0
jne 0x405ad4
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406640
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x405ab5
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x405ad4
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.00406600
add esp, 4
test eax, eax
je 0x405ad4
jmp 0x405aa8
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2e
jne 0x405b5c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x2a
jne 0x405b1f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp 0x405b5c
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406640
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x405b3d
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x405b5c
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
push edx
call fcn.00406600
add esp, 4
test eax, eax
je 0x405b5c
jmp 0x405b30
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x49
jne 0x405b98
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
cmp eax, 0x36
jne 0x405b98
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 4]
cmp edx, 0x34
jne 0x405b98
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x40000
jmp case.0x405bba.1
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
sub eax, 0x46
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x26
ja case.0x405bba.1
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x405fa4]
jmp dword [edx*4 + 0x405f94]
mov dword [ebp - 0x14], 0x10000
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x405bba.1
mov dword [ebp - 0x14], 0x20000
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
jmp case.0x405bba.1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
or ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x10063
jg 0x405c62
cmp dword [ebp - 0x3c], 0x10063
je 0x405cc3
cmp dword [ebp - 0x3c], 0x73
jg 0x405c47
cmp dword [ebp - 0x3c], 0x73
je 0x405ced
cmp dword [ebp - 0x3c], 0x43
je 0x405cae
cmp dword [ebp - 0x3c], 0x53
je 0x405d3b
cmp dword [ebp - 0x3c], 0x63
je 0x405cae
jmp 0x405e1f
cmp dword [ebp - 0x3c], 0x10043
je 0x405cc3
cmp dword [ebp - 0x3c], 0x10053
je 0x405d89
jmp 0x405e1f
cmp dword [ebp - 0x3c], 0x20053
jg 0x405c93
cmp dword [ebp - 0x3c], 0x20053
je 0x405dd4
cmp dword [ebp - 0x3c], 0x10073
je 0x405d89
cmp dword [ebp - 0x3c], 0x20043
je 0x405cd8
jmp 0x405e1f
cmp dword [ebp - 0x3c], 0x20063
je 0x405cd8
cmp dword [ebp - 0x3c], 0x20073
je 0x405dd4
jmp 0x405e1f
mov dword [ebp - 0x18], 2
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x405e1f
mov dword [ebp - 0x18], 2
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x405e1f
mov dword [ebp - 0x18], 2
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x405e1f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x405d0e
mov dword [ebp - 0x18], 6
jmp 0x405d36
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x405d2a
mov dword [ebp - 0x40], 1
jmp 0x405d30
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
jmp 0x405e1f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x405d5c
mov dword [ebp - 0x18], 6
jmp 0x405d84
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x405d78
mov dword [ebp - 0x44], 1
jmp 0x405d7e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
jmp 0x405e1f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x405daa
mov dword [ebp - 0x18], 6
jmp 0x405dd2
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x405dc6
mov dword [ebp - 0x48], 1
jmp 0x405dcc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
jmp 0x405e1f
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x405df5
mov dword [ebp - 0x18], 6
jmp 0x405e1f
mov edx, dword [ebp - 0x30]
push edx
call fcn.004335d5
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x405e13
mov dword [ebp - 0x4c], 1
jmp 0x405e19
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x405e68
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x405e35
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
jmp 0x405e3b
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x20], 0
je 0x405e63
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jge 0x405e57
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x405e5d
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp case.0x405e8e.1
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
sub eax, 0x45
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x33
ja case.0x405e8e.1
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x405fe0]
jmp dword [edx*4 + 0x405fcc]
mov eax, dword [ebp - 0x14]
and eax, 0x40000
je 0x405eaa
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp + 0xc], ecx
jmp 0x405eb3
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jle 0x405ecd
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
jmp 0x405ed6
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
jmp case.0x405e8e.1
push 0x460810
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp case.0x405e8e.1
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
cmp dword [ebp - 0x18], edx
jle 0x405f14
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
jmp 0x405f1d
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x18], edx
jmp case.0x405e8e.1
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
jmp 0x4059ae
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00406130
test eax, eax
jne 0x405f50
xor eax, eax
jmp 0x405f8b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004062a0
add eax, 1
push eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
call fcn.00406020
add esp, 0x10
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
call fcn.00406200
mov dword [ebp - 0xc], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 8