Function at 0x4a3dd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], edi
call fcn.00483cc0
push 0x52014c
call fcn.004833c0
pop ecx
mov eax, dword [0x520150]
test eax, eax
je 0x4a3e00
mov dword [0x52014c], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push 0
push 0xc
call fcn.00484a50
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4a3e23
mov dword [0x524934], 0
jmp 0x4a3e47
push 0x4a3da0
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 edi, dword [ebp - 0x18]
mov dword [0x524934], edi
call fcn.004d2409
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x4a3af0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x4b7d70
call fcn.004eb800
push 0x4b7da0
call fcn.004eb800
push str.FOR_NOERROR_DIALOGS
call fcn.0049e640
add esp, 0xc
test eax, eax
je 0x4a3e8c
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.004d47ac
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.004eb800
pop ecx
mov edx, dword [0x5201b8]
mov eax, dword [0x5201bc]
test edx, edx
jne 0x4a3ff5
mov dword [0x52492c], 0
mov dword [0x524930], 0x520154
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4a3ee6
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4a3ed1
dec eax
lea edx, [ebp - 8]
push edx
push 0
inc eax
push eax
call fcn.00484a50
add esp, 0xc
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4a3f0f
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4a3efa
dec eax
lea edx, [edi + eax - 1]
cmp edi, edx
ja 0x4a4008
mov dword [ebp - 0x10], ebx
mov ebx, edx
mov dword [ebp - 0xc], esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, 1
mov esi, edi
mov edi, eax
movsx ecx, byte [esi]
cmp ecx, 0x20
je 0x4a40d1
cmp ecx, 9
je 0x4a40d1
mov edx, dword [0x52492c]
inc edx
mov dword [0x52492c], edx
cmp edx, edi
jle 0x4a3f8e
cmp edi, 1
je 0x4a40e5
add edi, 0xa
lea eax, [edi*4]
lea ecx, [edi*4 - 0x28]
push ecx
push 0x524930
push eax
call fcn.004849d0
add esp, 0xc
test eax, eax
jne 0x4a40c1
mov edx, dword [0x52492c]
mov eax, dword [0x524930]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4 - 4], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
jmp 0x4a3fac
mov byte [edx], al
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
inc esi
cmp esi, ebx
ja 0x4a40cc
movsx eax, byte [esi]
cmp eax, 0x22
jne 0x4a3fde
inc esi
test ecx, ecx
je 0x4a3fd1
movsx eax, byte [esi]
cmp eax, 0x22
je 0x4a4093
xor ecx, ecx
jmp 0x4a3fd9
movsx eax, byte [esi]
mov ecx, 1
cmp eax, 0x22
je 0x4a3fbc
test ecx, ecx
jne 0x4a3fa2
cmp eax, 0x20
je 0x4a40cc
cmp eax, 9
jne 0x4a3fa2
jmp 0x4a40b0
test eax, eax
je 0x4a3eb1
mov dword [0x524930], eax
mov dword [0x52492c], edx
mov edi, dword [0x520158]
mov eax, edi
and eax, 1
add eax, eax
xor eax, 0x1f
mov edx, edi
and edx, 2
add edx, edx
xor eax, edx
mov ecx, edi
and ecx, 4
add ecx, ecx
xor eax, ecx
mov edx, edi
and edx, 8
add edx, edx
xor eax, edx
mov ecx, edi
and ecx, 0x10
shr ecx, 4
xor eax, ecx
test edi, 0x10000
je 0x4a4055
lea edx, [eax + 0x1000000]
test edi, 0x200
jne 0x4a4055
mov eax, edx
push 0x308001f
push eax
call fcn.004d4b86
push edi
call fcn.004a3c10
add esp, 0xc
call fcn.0048def0
call fcn.004952c0
call fcn.00490110
mov edi, dword [ebp - 4]
mov dword [0x520150], 1
mov dword [0x52014c], 0
mov esp, ebp
pop ebp
ret
cmp esi, ebx
ja 0x4a3fcd
mov byte [edx], 0x22
mov edx, dword [ebp - 8]
inc edx
inc esi
mov dword [ebp - 8], edx
movsx eax, byte [esi]
xor ecx, ecx
jmp 0x4a3fd9
mov dword [ebp - 0x14], ecx
mov byte [edx], 0
inc dword [ebp - 8]
cmp esi, ebx
jbe 0x4a3f31
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
jmp 0x4a4008
mov dword [ebp - 0x14], ecx
jmp 0x4a40b3
inc esi
cmp esi, ebx
jbe 0x4a3f31
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
jmp 0x4a4008
push 0x524930
push 0
add edi, 0xa
lea ecx, [edi*4]
push ecx
call fcn.00484a50
add esp, 0xc
test eax, eax
jne 0x4a40c1
mov eax, dword [0x524930]
mov ecx, dword [0x520154]
mov dword [eax], ecx
mov edx, dword [0x52492c]
jmp 0x4a3f8e