Function at 0x4023d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ebx
call fcn.00403780
mov dword [ebp - 8], 0
mov dword [0x40a2a0], 0
mov dword [ebp - 0x1c], 0
call fcn.004020f0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea esi, [esi]
inc dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov al, byte [eax + edx]
test al, al
jne 0x402408
mov ecx, edx
mov edx, dword [ebp - 8]
mov eax, ebp
call fcn.004037c0
mov ecx, dword [ebp - 4]
inc ecx
mov edx, dword [0x40a2a0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov ebx, dword [ebp - 0x10]
mov edx, eax
mov eax, ebx
call fcn.00401c50
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4081e0], eax
mov dword [ebp - 0x10], eax
jmp 0x402631
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
dec eax
cmp eax, 0x20
jb 0x402458
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
je 0x40263e
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x40251c
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x402516
sub al, 0x20
jbe 0x4024aa
sub al, 2
je 0x4024ba
sub al, 5
je 0x4024e8
jmp 0x402516
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x402529
inc dword [ebp - 4]
jmp 0x402519
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4024e3
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4024de
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4024d8
mov byte [ebp - 0x18], 0x20
jmp 0x402519
mov byte [ebp - 0x18], 0x22
jmp 0x402519
inc dword [ebp - 0x10]
jmp 0x402519
inc dword [ebp - 4]
jmp 0x402519
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x402511
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x40250c
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x402506
mov byte [ebp - 0x18], 0x20
jmp 0x402519
mov byte [ebp - 0x18], 0x27
jmp 0x402519
inc dword [ebp - 0x10]
jmp 0x402519
inc dword [ebp - 4]
jmp 0x402519
inc dword [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x40248c
mov eax, dword [ebp - 8]
test eax, eax
je 0x40262e
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, ebp
call fcn.004037c0
mov byte [ebp - 0x18], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x40a2a0]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x40261b
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 1
jb 0x40260b
sub al, 0x20
jbe 0x40257e
sub al, 2
je 0x40259b
sub al, 5
je 0x4025d3
jmp 0x40260b
mov al, byte [ebp - 0x18]
cmp al, 0x20
je 0x402628
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x402618
mov al, byte [ebp - 0x18]
cmp al, 0x27
je 0x4025c4
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x22
je 0x4025bf
mov al, byte [ebp - 0x18]
cmp al, 0x22
jne 0x4025b9
mov byte [ebp - 0x18], 0x20
jmp 0x402618
mov byte [ebp - 0x18], 0x22
jmp 0x402618
inc dword [ebp - 0x10]
jmp 0x402618
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x402618
mov al, byte [ebp - 0x18]
cmp al, 0x22
je 0x4025fc
mov eax, dword [ebp - 0x10]
inc eax
mov al, byte [eax]
cmp al, 0x27
je 0x4025f7
mov al, byte [ebp - 0x18]
cmp al, 0x27
jne 0x4025f1
mov byte [ebp - 0x18], 0x20
jmp 0x402618
mov byte [ebp - 0x18], 0x27
jmp 0x402618
inc dword [ebp - 0x10]
jmp 0x402618
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
jmp 0x402618
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x402560
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
inc dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x40245b
mov eax, dword [ebp - 8]
mov dword [0x40a2b0], eax
mov ecx, 0
mov edx, eax
mov eax, ebp
call fcn.004037c0
mov edx, dword [0x40a2b0]
inc edx
shl edx, 2
mov eax, 0x40a2a0
call fcn.00403860
mov ebx, dword [ebp - 0x20]
leave
ret