Function at 0x1013a08
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x105654a
call fcn.0101d9b8
sub esp, 0x6c
push ebx
push esi
push edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x18], SysReAllocString
call fcn.01010d1a
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.01010c62
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
call fcn.01010c62
mov byte [ebp - 4], 2
push ebx
call fcn.01024f7c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], ebx
call fcn.01010900
lea ecx, [ebp - 0x44]
mov word [ebp - 0x70], bx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
call fcn.01010900
xor edi, edi
inc edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.01010900
push 0x1064e10
push dword [0x1064e08]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.01027b10
test eax, eax
je 0x1013c98
call fcn.01026840
mov dword [0x1064020], eax
call fcn.01012480
call fcn.010127b5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1013b0b
push 0x1002de0
push edi
call fcn.0101254c
push 0x10048c0
push 3
call fcn.0101254c
add esp, 0x10
jmp 0x1013c98
push esi
push 0x1004898
push edi
call fcn.0101254c
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea esi, [ebp - 0x78]
push dword [ebp - 0x20]
call fcn.01011a9e
mov esi, eax
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], ebx
je 0x1013b45
push eax
push 0x1004880
push edi
call fcn.0101254c
add esp, 0xc
push 0x1002de0
push edi
call fcn.0101254c
cmp esi, ebx
pop ecx
pop ecx
jne 0x1013b6f
push dword [ebp - 0x14]
push 3
call fcn.0101254c
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.010123be
jmp 0x1013c98
cmp dword [ebp - 0x78], ebx
jne 0x1013b77
mov dword [ebp - 0x78], edi
cmp dword [ebp - 0x78], 4
jne 0x1013ba7
push 0x100487c
lea ecx, [ebp - 0x24]
call fcn.0101236d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.010123be
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.01010c92
jmp 0x1013c98
cmp dword [ebp - 0x38], ebx
je 0x1013be3
cmp dword [0x1064020], 2
jne 0x1013bbe
push 0x10047c8
push 2
jmp 0x1013bdc
call fcn.0101cab8
test eax, eax
je 0x1013bd5
push 0x1004770
mov dword [0x1064e0c], edi
push edi
jmp 0x1013bdc
push 0x1004708
push 3
call fcn.0101254c
pop ecx
pop ecx
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push dword [esi]
call fcn.0101236d
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.010111c1
cmp eax, ebx
jne 0x1013c1a
push dword [esi]
push 0x1004698
push 3
call fcn.0101254c
add esp, 0xc
jmp 0x1013c98
lea eax, [ebp - 0x1c]
push eax
call fcn.01027a00
test eax, eax
jne 0x1013c38
push dword [ebp - 0x1c]
push 0x1004650
push edi
call fcn.0101254c
add esp, 0xc
mov esi, dword [0x100f994]
push ebx
push 0x1012ede
call esi
cmp dword [ebp - 0x78], edi
je 0x1013c73
jle 0x1013c94
cmp dword [ebp - 0x78], 3
jg 0x1013c94
sub esp, 0x54
lea eax, [ebp - 0x78]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.01011056
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
call fcn.0101380d
jmp 0x1013c91
sub esp, 0x54
lea eax, [ebp - 0x78]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.01011056
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
call fcn.01012f6d
mov dword [ebp - 0x18], eax
push ebx
push ebx
call esi
push dword [ebp - 0x18]
push 0x1004618
push edi
call fcn.0101254c
add esp, 0xc
cmp dword [0x1064e0c], ebx
je 0x1013cb6
call fcn.0101cc26
cmp dword [ebp - 0x10], ebx
je 0x1013cc4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.0101273c
mov ecx, 0x1064e14
call fcn.0101c3fa
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.01024f94
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.01010c92
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01010c92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.01010d6f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret