Function at 0x401d40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401e10
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x401d80
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 9
jne 0x401d8b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x401d6a
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
jne 0x401d97
jmp 0x401e10
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401e02
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x401e02
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 9
je 0x401e02
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x401df7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401deb
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x401deb
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x401dcb
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x401df7
jmp 0x401e02
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x401d97
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x401d5c
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx + 1]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [0x416a80], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*4 + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x401f6e
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x401f61
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x20
je 0x401e80
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 9
jne 0x401e8b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x401e6a
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
jne 0x401e9a
jmp 0x401f61
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401f4d
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x401f4d
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 9
je 0x401f4d
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x401f2c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401f1e
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x401f1e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x401eeb
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
jne 0x401f2a
jmp 0x401f4d
jmp 0x401f3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x401eaf
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x401e5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], 0
mov eax, dword [ebp - 4]
mov dword [0x416a7c], eax
mov ecx, dword [ebp - 8]
mov dword [0x416a78], ecx
mov esp, ebp
pop ebp
ret