Function at 0x41fc60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ebx
call fcn.00411100
push 0x4f64e0
call fcn.00410ec0
pop ecx
mov eax, dword [0x4f64e4]
test eax, eax
je 0x41fc90
mov dword [0x4f64e0], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push 0
push 0xc
call fcn.00419300
add esp, 0xc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41fcb3
mov dword [0x4fb420], 0
jmp 0x41fcd7
push 0x41e680
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 [0x4fb420], ebx
call fcn.0045ed20
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x41e970
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x431620
call fcn.004b9030
push 0x431650
call fcn.004b9040
push str.FOR_NOERROR_DIALOGS
call fcn.00420940
add esp, 0xc
test eax, eax
jne 0x41ffda
call fcn.00464080
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004b8f60
pop ecx
mov edx, dword [0x4f9ea8]
mov eax, dword [0x4f9eac]
test edx, edx
jne 0x41feae
mov dword [0x4fb418], 0
mov dword [0x4fb41c], 0x4f64e8
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 0x41fd6f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41fd5a
dec eax
lea edx, [ebp - 8]
push edx
push 0
inc eax
push eax
call fcn.00419300
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41fd98
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41fd83
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x41fec1
xor ecx, ecx
mov eax, 1
cmp ebx, edx
ja 0x41fec1
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 0x41ff8f
cmp ecx, 9
je 0x41ff8f
mov edx, dword [0x4fb418]
inc edx
mov dword [0x4fb418], edx
cmp edx, ebx
jle 0x41fe1f
cmp ebx, 1
je 0x41ffa4
add ebx, 0xa
lea eax, [ebx*4]
lea ecx, [ebx*4 - 0x28]
push ecx
push 0x4fb41c
push eax
call fcn.00419340
add esp, 0xc
test eax, eax
jne 0x41ff4c
mov edx, dword [0x4fb418]
mov eax, dword [0x4fb41c]
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 0x41fe50
test ecx, ecx
jne 0x41fe75
cmp eax, 0x20
je 0x41ff57
cmp eax, 9
jne 0x41fe75
jmp 0x41ff57
inc esi
movsx eax, byte [esi]
test ecx, ecx
je 0x41fe9c
cmp eax, 0x22
je 0x41ff6d
xor ecx, ecx
cmp eax, 0x20
je 0x41ff65
cmp eax, 9
je 0x41ff65
mov byte [edx], al
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
inc esi
cmp esi, edi
jbe 0x41fe31
lea esi, [esi]
mov dword [ebp - 0x10], ecx
mov byte [edx], 0
inc dword [ebp - 8]
cmp esi, edi
jbe 0x41fdc2
jmp 0x41ff4c
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x41fe50
jmp 0x41fe75
test eax, eax
je 0x41fd3a
mov dword [0x4fb41c], eax
mov dword [0x4fb418], edx
mov ebx, dword [0x4f64ec]
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 0x41ff0e
lea edx, [eax + 0x1000000]
test ebx, 0x200
jne 0x41ff0e
mov eax, edx
push 0x308001f
push eax
call fcn.00464180
push ebx
call fcn.0041e8b0
add esp, 0xc
call fcn.0041c210
call fcn.00424810
call fcn.0041c3f0
mov ebx, dword [ebp - 4]
mov dword [0x4f64e4], 1
mov dword [0x4f64e0], 0
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x41fec1
mov byte [edx], 0
mov dword [ebp - 0x10], ecx
inc dword [ebp - 8]
jmp 0x41fdc2
mov dword [ebp - 0x10], ecx
jmp 0x41fe89
cmp esi, edi
ja 0x41ff88
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 0x41fe61
xor ecx, ecx
jmp 0x41fe50
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 0x41fdab
push 0x4fb41c
push 0
add ebx, 0xa
lea ecx, [ebx*4]
push ecx
call fcn.00419300
add esp, 0xc
test eax, eax
jne 0x41ff4c
mov eax, dword [0x4fb41c]
mov ecx, dword [0x4f64e8]
mov dword [eax], ecx
mov edx, dword [0x4fb418]
jmp 0x41fe1f
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x41fd15