Function at 0x43c450
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esi
call fcn.00425a20
push 0x535bc0
call fcn.004257e0
pop ecx
mov eax, dword [0x535bc4]
test eax, eax
je 0x43c480
mov dword [0x535bc0], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0
push 0xc
call fcn.0042e2b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x43c4a3
mov dword [0x53a864], 0
jmp 0x43c4c7
push 0x43aeb0
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], edx
mov esi, dword [ebp - 0x18]
mov dword [0x53a864], esi
call fcn.00464220
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x43b1a0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x44f630
call fcn.004ba8c0
push 0x44f660
call fcn.004ba8d0
push str.FOR_NOERROR_DIALOGS
call fcn.0042de30
add esp, 0xc
test eax, eax
jne 0x43c796
call fcn.0046a630
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004ba7f0
pop ecx
mov edx, dword [0x53951c]
mov eax, dword [0x539520]
test edx, edx
jne 0x43c684
mov dword [0x53a850], 0
mov dword [0x53a860], 0x535bc8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov ecx, esi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43c55f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43c54a
dec eax
lea edx, [ebp - 0x14]
push edx
push 0
inc eax
push eax
call fcn.0042e2b0
add esp, 0xc
mov ecx, esi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43c588
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43c573
dec eax
lea edx, [esi + eax - 1]
cmp esi, edx
ja 0x43c697
xor ecx, ecx
mov eax, 1
cmp esi, edx
ja 0x43c697
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edi
mov edi, esi
mov dword [ebp - 0xc], ebx
mov esi, eax
mov ebx, edx
movsx ecx, byte [edi]
cmp ecx, 0x20
je 0x43c747
cmp ecx, 9
je 0x43c747
mov edx, dword [0x53a850]
inc edx
mov dword [0x53a850], edx
cmp edx, esi
jle 0x43c60b
cmp esi, 1
je 0x43c75c
add esi, 0xa
lea eax, [esi*4]
lea ecx, [esi*4 - 0x28]
push ecx
push 0x53a860
push eax
call fcn.0042e2f0
add esp, 0xc
test eax, eax
jne 0x43c67c
mov edx, dword [0x53a850]
mov eax, dword [0x53a860]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4 - 4], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
movsx eax, byte [edi]
cmp eax, 0x22
jne 0x43c644
inc edi
movsx eax, byte [edi]
test edx, edx
je 0x43c63a
cmp eax, 0x22
je 0x43c722
xor edx, edx
jmp 0x43c63f
mov edx, 1
cmp eax, 0x22
je 0x43c625
test edx, edx
jne 0x43c65a
cmp eax, 0x20
je 0x43c73f
cmp eax, 9
je 0x43c73f
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
inc edi
cmp edi, ebx
jbe 0x43c61d
lea esi, [esi]
mov dword [ebp - 0x10], edx
mov byte [ecx], 0
inc dword [ebp - 0x14]
cmp edi, ebx
jbe 0x43c5b2
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
jmp 0x43c697
test eax, eax
je 0x43c52a
mov dword [0x53a860], eax
mov dword [0x53a850], edx
mov esi, dword [0x535bcc]
mov eax, esi
and eax, 1
add eax, eax
xor eax, 0x1f
mov edx, esi
and edx, 2
add edx, edx
xor eax, edx
mov ecx, esi
and ecx, 4
add ecx, ecx
xor eax, ecx
mov edx, esi
and edx, 8
add edx, edx
xor eax, edx
mov ecx, esi
and ecx, 0x10
shr ecx, 4
xor eax, ecx
test esi, 0x10000
je 0x43c6e4
lea edx, [eax + 0x1000000]
test esi, 0x200
jne 0x43c6e4
mov eax, edx
push 0x308001f
push eax
call fcn.0046a730
push esi
call fcn.0043b0e0
add esp, 0xc
call fcn.00427b20
call fcn.0042d480
call fcn.00427d00
mov esi, dword [ebp - 4]
mov dword [0x535bc4], 1
mov dword [0x535bc0], 0
mov esp, ebp
pop ebp
ret
cmp edi, ebx
ja 0x43c636
mov byte [ecx], 0x22
mov ecx, dword [ebp - 0x14]
inc ecx
inc edi
mov dword [ebp - 0x14], ecx
movsx eax, byte [edi]
xor edx, edx
jmp 0x43c63f
mov dword [ebp - 0x10], edx
jmp 0x43c66e
mov ecx, dword [ebp - 0x10]
mov edx, ebx
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov esi, edi
mov edi, dword [ebp - 8]
inc esi
jmp 0x43c59b
push 0x53a860
push 0
add esi, 0xa
lea ecx, [esi*4]
push ecx
call fcn.0042e2b0
add esp, 0xc
test eax, eax
jne 0x43c67c
mov eax, dword [0x53a860]
mov ecx, dword [0x535bc8]
mov dword [eax], ecx
mov edx, dword [0x53a850]
jmp 0x43c60b
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp 0x43c505