Function at 0x101ab04
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x478]
push esi
inc ebx
push eax
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x47c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x438], esi
xor eax, eax
lea edi, [ebp - 0x434]
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
push ebx
push esi
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov edi, 0x1036368
push edi
call fcn.010154d5
push 0x10034c8
mov dword [0x1036388], 0x1001900
mov dword [section..data], edi
call fcn.0101560f
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x101abb4
test byte [eax + 0x1c], 4
je 0x101abb4
mov ebx, 0x1002de4
push ebx
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x101abb9
mov ebx, 0x1002de4
call fcn.010156f8
test eax, eax
je 0x101abd1
mov dword [ebp - 0x418], 2
jmp 0x101ae6c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x101ac13
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push ebx
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x101ae6c
cmp dword [ebp - 0x420], esi
je 0x101ae15
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
jne 0x101ac4c
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push ebx
push 0x3a
jmp 0x101ac03
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov dword [ebp - 0x41c], eax
call fcn.0101573e
test eax, eax
je 0x101ac7e
push 0x6a
push 0x4b5
push esi
call fcn.010064b6
mov dword [ebp - 0x418], 3
jmp 0x101ae6c
push dword [ebp - 0x41c]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010066e4
test eax, eax
jl 0x101ae6c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x424], eax
push ebx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
je 0x101adfa
cmp eax, ebx
ja 0x101adfa
push dword [ebp - 0x424]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x101ad23
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push 0x1002de4
push 0x3c
jmp 0x101ac03
push dword [ebp - 0x41c]
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x10034b8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01005835
add esp, 0x14
test eax, eax
jge 0x101ad73
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push 0x1002de4
push 0x3d
jmp 0x101ac03
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x47c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x101adc2
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push 0x1002de4
push 0x3e
jmp 0x101ac03
cmp dword [ebp - 0x438], esi
je 0x101adee
push 0xffffffffffffffff
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x438]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x434]
call esi
mov dword [ebp - 0x418], 4
jmp 0x101ae6c
mov eax, dword [section..data]
cmp eax, edi
je 0x101ae6c
test byte [eax + 0x1c], 1
je 0x101ae6c
push 0x1002de4
push 0x3b
jmp 0x101ac03
push dword [ebp + 0x14]
mov ecx, 0x1036398
call fcn.0101aab9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x418], eax
mov eax, dword [0x103638c]
cmp eax, esi
je 0x101ae40
push eax
call edi
mov dword [0x103638c], esi
mov eax, dword [0x1036390]
cmp eax, esi
je 0x101ae64
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1036390]
cmp eax, esi
je 0x101ae64
push eax
call edi
mov dword [0x1036390], esi
cmp dword [ebp - 0x418], esi
je 0x101ae77
push dword [ebp - 0x418]
call fcn.0100a037
call fcn.0101565d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 0x10