Function at 0x1003a730
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x100db010]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.10054ad0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003a92b
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x14], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x1003a7aa
push 0x100c2b62
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003a7b9
mov ecx, eax
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x1003a7b5
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
jmp 0x1003a7bb
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1003a8c1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
cmp eax, 0x15555556
jae 0x1003a94b
shl eax, 2
mov dword [ebp - 0x30], eax
lea esi, [eax + eax*2]
push esi
call fcn.10099c14
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov esi, dword [ebp - 0x24]
jmp 0x1003a855
mov byte [edi + 0xb], bl
mov eax, edi
test ebx, ebx
je 0x1003a841
mov ecx, ebx
add ecx, ebx
push ecx
push dword [ebp - 0x34]
push eax
mov esi, eax
call fcn.1009d0a0
mov eax, esi
mov esi, dword [ebp - 0x24]
add esp, 0xc
mov word [eax + ebx*2], 0
add edi, 0xc
mov eax, dword [ebp - 0x38]
add eax, 4
cmp dword [ebp - 0x30], eax
je 0x1003a8b8
mov dword [ebp - 0x38], eax
mov eax, dword [esi + eax]
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x34], eax
push eax
call fcn.100ad8fd
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1003a93f
mov ebx, eax
cmp eax, 5
jb 0x1003a820
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x1003a946
lea eax, [esi + esi]
push eax
call fcn.10099c14
add esp, 4
mov dword [edi], eax
or esi, 0x80000000
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
jmp 0x1003a829
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
mov ecx, edi
push ebx
call fcn.1003a550
mov dword [edi], 0
mov dword [edi + 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1003a8eb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1003a92b
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x1003a906
mov eax, esi
jmp 0x1003a91f
mov eax, edi
cmp esi, edi
je 0x1003a91c
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x1003a900
push dword [eax - 0xc]
call fcn.10099c44
add esp, 4
jmp 0x1003a900
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
call fcn.10099c44
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.10037b74
call fcn.100a8d87
lea ecx, [ebp - 0x20]
call fcn.100394ac
int3