Function at 0x427ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ebx
call fcn.00402010
push 0x4e7acc
call fcn.00401dd0
pop ecx
mov eax, dword [0x4e7ad0]
test eax, eax
je 0x427b00
mov dword [0x4e7acc], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push 0
push 0xc
call fcn.00412140
add esp, 0xc
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x427b23
mov dword [0x4e8e78], 0
jmp 0x427b47
push 0x4264f0
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 [0x4e8e78], ebx
call fcn.00451620
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x4267e0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x43d7f0
call fcn.004ac570
push 0x43d820
call fcn.004ac580
push str.FOR_NOERROR_DIALOGS
call fcn.004223f0
add esp, 0xc
test eax, eax
jne 0x427e4a
call fcn.0045b030
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004ac4a0
pop ecx
mov edx, dword [0x4e7b40]
mov eax, dword [0x4e7b44]
test edx, edx
jne 0x427d1e
mov dword [0x4e8e70], 0
mov dword [0x4e8e74], 0x4e7ad4
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 0x427bdf
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x427bca
dec eax
lea edx, [ebp - 8]
push edx
push 0
inc eax
push eax
call fcn.00412140
add esp, 0xc
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x427c08
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x427bf3
dec eax
lea edx, [ebx + eax - 1]
cmp ebx, edx
ja 0x427d31
xor ecx, ecx
mov eax, 1
cmp ebx, edx
ja 0x427d31
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 0x427dff
cmp ecx, 9
je 0x427dff
mov edx, dword [0x4e8e70]
inc edx
mov dword [0x4e8e70], edx
cmp edx, ebx
jle 0x427c8f
cmp ebx, 1
je 0x427e14
add ebx, 0xa
lea eax, [ebx*4]
lea ecx, [ebx*4 - 0x28]
push ecx
push 0x4e8e74
push eax
call fcn.00412180
add esp, 0xc
test eax, eax
jne 0x427dbc
mov edx, dword [0x4e8e70]
mov eax, dword [0x4e8e74]
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 0x427cc0
test ecx, ecx
jne 0x427ce5
cmp eax, 0x20
je 0x427dc7
cmp eax, 9
jne 0x427ce5
jmp 0x427dc7
inc esi
movsx eax, byte [esi]
test ecx, ecx
je 0x427d0c
cmp eax, 0x22
je 0x427ddd
xor ecx, ecx
cmp eax, 0x20
je 0x427dd5
cmp eax, 9
je 0x427dd5
mov byte [edx], al
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
inc esi
cmp esi, edi
jbe 0x427ca1
lea esi, [esi]
mov dword [ebp - 0x10], ecx
mov byte [edx], 0
inc dword [ebp - 8]
cmp esi, edi
jbe 0x427c32
jmp 0x427dbc
lea esi, [esi]
mov ecx, 1
cmp eax, 0x22
je 0x427cc0
jmp 0x427ce5
test eax, eax
je 0x427baa
mov dword [0x4e8e74], eax
mov dword [0x4e8e70], edx
mov ebx, dword [0x4e7ad8]
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 0x427d7e
lea edx, [eax + 0x1000000]
test ebx, 0x200
jne 0x427d7e
mov eax, edx
push 0x308001f
push eax
call fcn.0045b130
push ebx
call fcn.00426720
add esp, 0xc
call fcn.00411600
call fcn.0041aa70
call fcn.004117e0
mov ebx, dword [ebp - 4]
mov dword [0x4e7ad0], 1
mov dword [0x4e7acc], 0
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x427d31
mov byte [edx], 0
mov dword [ebp - 0x10], ecx
inc dword [ebp - 8]
jmp 0x427c32
mov dword [ebp - 0x10], ecx
jmp 0x427cf9
cmp esi, edi
ja 0x427df8
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 0x427cd1
xor ecx, ecx
jmp 0x427cc0
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 0x427c1b
push 0x4e8e74
push 0
add ebx, 0xa
lea ecx, [ebx*4]
push ecx
call fcn.00412140
add esp, 0xc
test eax, eax
jne 0x427dbc
mov eax, dword [0x4e8e74]
mov ecx, dword [0x4e7ad4]
mov dword [eax], ecx
mov edx, dword [0x4e8e70]
jmp 0x427c8f
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x427b85