Function at 0x401600
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
cmp byte [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0
je 0x401911
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x4018f9
push esi
call ebp
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x4018f9
xor edi, edi
test al, al
mov dword [esp + 0x10], edi
je 0x40168f
cmp al, 0x23
jne 0x40165d
add dword [esp + 0x28], 2
jmp 0x40167c
cmp al, 0x2a
jne 0x40166c
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x40167c
cmp al, 0x2d
je 0x40167c
cmp al, 0x2b
je 0x40167c
cmp al, 0x30
je 0x40167c
cmp al, 0x20
jne 0x401687
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x401652
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4016bd
push esi
call fcn.0045812a
mov dword [esp + 0x14], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x4016bd
movsx ecx, al
push ecx
call fcn.00457fb0
add esp, 4
test eax, eax
je 0x4016bd
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4016a2
cmp byte [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x401711
push esi
call ebp
mov esi, eax
cmp byte [esi], 0x2a
push esi
jne 0x4016e4
mov edx, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], edx
call ebp
mov esi, eax
jmp 0x401711
call fcn.0045812a
mov dword [esp + 0x18], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x401711
movsx eax, al
push eax
call fcn.00457fb0
add esp, 4
test eax, eax
je 0x401711
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4016f6
mov al, byte [esi]
xor ebp, ebp
cmp al, 0x49
jne 0x40172f
cmp byte [esi + 1], 0x36
jne 0x40172f
cmp byte [esi + 2], 0x34
jne 0x40172f
add esi, 3
mov ebp, 0x40000
jmp case.0x401741.71
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x401741.71
movzx ecx, byte [eax + 0x401978]
jmp dword [ecx*4 + 0x401968]
mov ebp, 0x10000
jmp case.0x401741.70
mov ebp, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
movsx eax, byte [esi]
or eax, ebp
cmp eax, 0x10063
jg 0x4017cf
je 0x401819
cmp eax, 0x73
jg 0x4017b3
je 0x4017bf
cmp eax, 0x43
je 0x401819
cmp eax, 0x53
je 0x4017f2
cmp eax, 0x63
je 0x401819
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x4017a3.70
movzx edx, byte [eax + 0x4019b4]
jmp dword [edx*4 + 0x4019a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40180b
sub eax, 0x10043
je 0x401819
sub eax, 0x10
jne 0x40178d
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x4017aa
mov edi, 6
jmp 0x40182b
cmp eax, 0x20053
jg 0x4017e6
je 0x4017f2
cmp eax, 0x10073
je 0x4017bf
cmp eax, 0x20043
jmp 0x401787
sub eax, 0x20063
je 0x401819
sub eax, 0x10
jne 0x40178d
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x401802
mov edi, 6
jmp 0x40182b
push eax
call fcn.00458514
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x401823
mov edi, 1
jmp 0x40182b
mov edi, 2
add ebx, 4
jmp 0x40182b
test edi, edi
je 0x40178d
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x401835
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x4017a3.70
cmp edi, eax
jl case.0x4017a3.70
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
mov eax, dword [esp + 0x28]
add eax, edi
mov edi, dword [esp + 0x18]
jmp 0x4018fe
test ebp, 0x40000
je 0x40186d
add ebx, 8
jmp 0x401870
add ebx, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
cmp eax, edi
jl case.0x4017a3.70
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
mov eax, dword [esp + 0x28]
add eax, edi
mov edi, dword [esp + 0x18]
jmp 0x4018fe
push 0x46e510
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
add eax, edi
mov edi, dword [esp + 0x18]
jmp 0x4018fe
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, 0x20
add eax, edx
add ebx, 4
cmp eax, edi
jl case.0x4017a3.70
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
mov eax, dword [esp + 0x28]
add eax, edi
mov edi, dword [esp + 0x18]
jmp 0x4018fe
add ebx, 4
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
add eax, edi
mov edi, dword [esp + 0x18]
jmp 0x4018fe
mov eax, dword [esp + 0x28]
inc eax
push esi
mov dword [esp + 0x2c], eax
call ebp
mov esi, eax
cmp byte [esi], 0
jne 0x401630
pop ebp
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00401570
test eax, eax
jne 0x40192a
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov ecx, edi
call fcn.004013c0
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
pop esi
mov byte [eax + edx], 0
mov eax, 1
pop ebx
add esp, 0x10
ret 8