Function at 0x41fbb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ebx
call fcn.00411050
push 0x4e9260
call fcn.00410e10
pop ecx
mov eax, dword [0x4e9264]
test eax, eax
je 0x41fbe0
mov dword [0x4e9260], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push 0
push 0xc
call fcn.00419250
add esp, 0xc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41fc03
mov dword [0x4ee180], 0
jmp 0x41fc27
push 0x41e5d0
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
mov ebx, dword [ebp - 0xc]
mov dword [0x4ee180], ebx
call fcn.004569e0
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x41e8c0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x431570
call fcn.004b0940
push 0x4315a0
call fcn.004b0950
push str.FOR_NOERROR_DIALOGS
call fcn.00420890
add esp, 0xc
test eax, eax
jne 0x41ff2a
call fcn.0045bd40
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004b0870
pop ecx
mov edx, dword [0x4ecc24]
mov eax, dword [0x4ecc28]
test edx, edx
jne 0x41fdfe
mov dword [0x4ee178], 0
mov dword [0x4ee17c], 0x4e9268
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41fcbf
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41fcaa
dec eax
lea edx, [ebp - 8]
push edx
push 0
inc eax
push eax
call fcn.00419250
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41fce8
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41fcd3
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x41fe11
xor ecx, ecx
mov eax, 1
cmp ebx, edx
ja 0x41fe11
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], esi
mov esi, ebx
mov dword [ebp - 0x14], edi
mov ebx, eax
mov edi, edx
movsx ecx, byte [esi]
cmp ecx, 0x20
je 0x41fedf
cmp ecx, 9
je 0x41fedf
mov edx, dword [0x4ee178]
inc edx
mov dword [0x4ee178], edx
cmp edx, ebx
jle 0x41fd6f
cmp ebx, 1
je 0x41fef4
add ebx, 0xa
lea eax, [ebx*4]
lea ecx, [ebx*4 - 0x28]
push ecx
push 0x4ee17c
push eax
call fcn.00419290
add esp, 0xc
test eax, eax
jne 0x41fe9c
mov edx, dword [0x4ee178]
mov eax, dword [0x4ee17c]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4 - 4], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movsx eax, byte [esi]
cmp eax, 0x22
je 0x41fda0
test ecx, ecx
jne 0x41fdc5
cmp eax, 0x20
je 0x41fea7
cmp eax, 9
jne 0x41fdc5
jmp 0x41fea7
inc esi
movsx eax, byte [esi]
test ecx, ecx
je 0x41fdec
cmp eax, 0x22
je 0x41febd
xor ecx, ecx
cmp eax, 0x20
je 0x41feb5
cmp eax, 9
je 0x41feb5
mov byte [edx], al
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
inc esi
cmp esi, edi
jbe 0x41fd81
lea esi, [esi]
mov dword [ebp - 0x10], ecx
mov byte [edx], 0
inc dword [ebp - 8]
cmp esi, edi
jbe 0x41fd12
jmp 0x41fe9c
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x41fda0
jmp 0x41fdc5
test eax, eax
je 0x41fc8a
mov dword [0x4ee17c], eax
mov dword [0x4ee178], edx
mov ebx, dword [0x4e926c]
mov eax, ebx
and eax, 1
add eax, eax
xor eax, 0x1f
mov edx, ebx
and edx, 2
add edx, edx
xor eax, edx
mov ecx, ebx
and ecx, 4
add ecx, ecx
xor eax, ecx
mov edx, ebx
and edx, 8
add edx, edx
xor eax, edx
mov ecx, ebx
and ecx, 0x10
shr ecx, 4
xor eax, ecx
test ebx, 0x10000
je 0x41fe5e
lea edx, [eax + 0x1000000]
test ebx, 0x200
jne 0x41fe5e
mov eax, edx
push 0x308001f
push eax
call fcn.0045be40
push ebx
call fcn.0041e800
add esp, 0xc
call fcn.0041c160
call fcn.00424760
call fcn.0041c340
mov ebx, dword [ebp - 4]
mov dword [0x4e9264], 1
mov dword [0x4e9260], 0
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x41fe11
mov byte [edx], 0
mov dword [ebp - 0x10], ecx
inc dword [ebp - 8]
jmp 0x41fd12
mov dword [ebp - 0x10], ecx
jmp 0x41fdd9
cmp esi, edi
ja 0x41fed8
mov byte [edx], 0x22
mov edx, dword [ebp - 8]
inc edx
inc esi
mov dword [ebp - 8], edx
movsx eax, byte [esi]
cmp eax, 0x22
jne 0x41fdb1
xor ecx, ecx
jmp 0x41fda0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, esi
mov esi, dword [ebp - 0x18]
mov edx, edi
mov edi, dword [ebp - 0x14]
inc ebx
jmp 0x41fcfb
push 0x4ee17c
push 0
add ebx, 0xa
lea ecx, [ebx*4]
push ecx
call fcn.00419250
add esp, 0xc
test eax, eax
jne 0x41fe9c
mov eax, dword [0x4ee17c]
mov ecx, dword [0x4e9268]
mov dword [eax], ecx
mov edx, dword [0x4ee178]
jmp 0x41fd6f
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x41fc65