Function at 0x401600
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x180
mov eax, dword [0x41103c]
xor eax, esp
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x190]
push ebp
mov ebp, dword [esp + 0x198]
push esi
mov esi, dword [esp + 0x18c]
push edi
mov edi, dword [esp + 0x194]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ebp
test esi, esi
je 0x401879
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401657
sub eax, edx
je 0x401879
test edi, edi
je 0x401879
mov edi, dword [esp + 0xc]
test edi, edi
je 0x401879
test ebp, ebp
je 0x401879
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401879
cmp dword [eax], 0
je 0x401879
push 0x103
lea edx, [esp + 0x89]
push 0
push edx
mov byte [esp + 0x90], cl
call fcn.00403250
push 0x63
lea eax, [esp + 0x31]
push 0
push eax
mov byte [esp + 0x38], 0
call fcn.00403250
push esi
push 0x40e2cc
lea ecx, [esp + 0xa4]
push 0x104
push ecx
call fcn.0040322b
add esp, 0x28
lea eax, [esp + 0x84]
jmp 0x4016f4
mov eax, dword [esp + 0x14]
push 0x2f
push eax
call fcn.00402eb9
mov esi, eax
add esp, 8
test esi, esi
je 0x40185c
movsx eax, byte [esi + 1]
lea ecx, [esi + 1]
add eax, 0xffffffba
mov dword [esp + 0x14], ecx
cmp eax, 0x2c
ja case.0x401727.71
movzx edx, byte [eax + 0x4018a4]
jmp dword [edx*4 + 0x401894]
cmp byte [ecx + 1], 0x20
lea esi, [ecx + 1]
jne 0x40176a
jmp 0x401740
lea eax, [esp + 0x84]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401750
sub eax, edx
lea eax, [esp + eax + 0x84]
cmp esi, eax
ja 0x40176a
inc esi
cmp byte [esi], 0x20
je 0x401740
mov cl, byte [esi]
lea edi, [esp + 0x20]
cmp cl, 0x20
je 0x4017b3
jmp 0x401780
lea eax, [esp + 0x84]
lea ebp, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401790
sub eax, ebp
lea edx, [esp + eax + 0x83]
cmp esi, edx
ja 0x4017af
inc esi
mov byte [edi], cl
mov cl, byte [esi]
inc edi
cmp cl, 0x20
jne 0x401780
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov byte [edi], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017c0
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
sub eax, edx
cmp ecx, eax
jb 0x401806
lea eax, [esp + 0x20]
push eax
push 0x40e2cc
push ecx
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040322b
lea eax, [esp + 0x30]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017f2
sub eax, edx
mov dword [edi], eax
inc dword [ebp]
mov edi, dword [esp + 0xc]
jmp 0x401836
mov dword [edi], 0
inc dword [ebp]
mov edi, dword [esp + 0xc]
jmp 0x401836
mov dword [edi], 1
inc dword [ebp]
jmp 0x401836
mov dword [edi], 0
inc dword [ebp]
jmp 0x401836
push str.No_valid_parameter_followed_an____n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x40185c
lea eax, [esp + 0x84]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401844
sub eax, edx
lea edx, [esp + eax + 0x83]
cmp esi, edx
jne 0x4016f0
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0040321c
add esp, 0x180
ret
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0040321c
add esp, 0x180
ret