Function at 0x48ae90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.004223f0
add esp, 0xc
mov dword [esp + 0x70], esi
xor eax, eax
mov dword [esp + 0x28], ebx
inc eax
mov dword [esp + 0x10], ebx
cmp byte [ebp + 0xc], 0
mov edi, ebx
push 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xa0], eax
mov word [esp + 0xa4], ax
pop esi
je 0x48af2b
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.0040cea7
cmp dword [ebx + 8], 7
mov dword [esp + 0x24], eax
jbe 0x48af5f
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x1c]
call fcn.0040cea7
mov edi, eax
mov eax, dword [ebx + 4]
and edi, 0xffff0000
mov ecx, dword [eax + 0x1c]
call fcn.0040cea7
movzx ecx, ax
mov dword [esp + 0x20], ecx
jmp 0x48af56
cmp dword [ebx + 8], 3
jbe 0x48af74
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.0040cea7
mov edi, eax
mov eax, dword [ebx + 4]
and edi, 0xffff0000
mov ecx, dword [eax + 0xc]
call fcn.0040cea7
movzx eax, ax
mov dword [esp + 0x20], eax
mov al, byte [ebp + 0xc]
test al, al
je 0x48af74
jmp 0x48af62
mov al, byte [ebp + 0xc]
cmp dword [ebx + 8], 6
jbe 0x48af70
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x18]
jmp 0x48af7f
test al, al
jne 0x48af8c
cmp dword [ebx + 8], esi
jbe 0x48af8c
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
call fcn.0040cea7
mov word [esp + 0xa0], ax
mov eax, dword [ebx + 4]
shr edi, 0xc
and edi, 0x10
mov dword [esp + 0x30], edi
mov esi, dword [eax]
mov ecx, esi
call fcn.00408ed0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.00408fe0
cmp byte [ebp + 0xc], 0
je 0x48b06f
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], eax
mov esi, dword [ecx + 4]
mov ecx, esi
call fcn.00408ed0
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
call fcn.00408fe0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.00408ed0
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
call fcn.00408fe0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov esi, dword [ecx + 0x10]
mov ecx, esi
call fcn.00408ed0
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
call fcn.00408fe0
cmp dword [ebx + 8], 5
mov dword [esp + 0x18], eax
jbe 0x48b03d
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call fcn.00408ed0
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
call fcn.00408fe0
mov esi, eax
test esi, esi
je 0x48b03d
push esi
call fcn.00424a13
pop ecx
test eax, eax
jne 0x48b0d7
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
call edi
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041febb
pop ecx
push esi
mov esi, eax
mov dword [esp + 0x20], eax
push esi
call edi
jmp 0x48b0d3
cmp dword [ebx + 8], 1
mov dword [esp + 0x18], eax
jbe 0x48b0a1
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00408ed0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.00408fe0
mov esi, eax
test esi, esi
je 0x48b0a1
push esi
call fcn.00424a13
pop ecx
test eax, eax
jne 0x48b10c
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call edi
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041febb
pop ecx
push eax
push esi
mov dword [esp + 0x24], eax
call edi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
cmp byte [ebp + 0xc], 0
je 0x48b10c
mov ecx, dword [ebx + 4]
push 0x49d0d0
mov ecx, dword [ecx]
call fcn.0040b61c
mov ecx, dword [ebx + 4]
push 0x49d0d0
mov ecx, dword [ecx + 4]
call fcn.0040b61c
mov ecx, dword [ebx + 4]
push 0x49d0d0
mov ecx, dword [ecx + 8]
call fcn.0040b61c
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push edx
call fcn.0046ff58
test edx, edx
jne 0x48b122
xor bl, bl
jmp 0x48b185
lea ecx, [esp + 0x48]
call fcn.0047063f
cmp eax, 0xffffffff
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x48]
setne bl
call fcn.00470565
cmp eax, 0xffffffff
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
sete bh
push eax
push ecx
push ecx
dec bh
lea ecx, [esp + 0x58]
and bh, bl
call fcn.00470426
cmp eax, 0xffffffff
mov dword [esp + 0xa8], eax
sete bl
dec bl
and bl, bh
je 0x48b185
or dword [esp + 0x9c], 0x100
cmp byte [ebp + 0xc], 0
je 0x48b231
call fcn.004611a1
test al, al
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x74]
push eax
push esi
push edi
push dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x30]
push edi
je 0x48b1c1
call fcn.004611da
jmp 0x48b1c6
call fcn.004614a7
push edi
mov bh, al
call fcn.00424a13
pop ecx
mov ecx, edi
test eax, eax
je 0x48b1de
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x48b1d5
push dword [esp + 0x10]
call fcn.00424a13
pop ecx
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x48b1f9
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x48b1f0
push dword [esp + 0x14]
call fcn.00424a13
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x48b214
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x48b20b
push edi
call fcn.0041fec4
pop ecx
push dword [esp + 0x10]
call fcn.0041fec4
pop ecx
push dword [esp + 0x14]
call fcn.0041fec4
pop ecx
jmp 0x48b258
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x74]
push eax
push esi
push 0
push edi
movzx eax, bl
push eax
push 0
push 0
push dword [esp + 0x38]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bh
push dword [esp + 0x18]
call fcn.0041fec4
pop ecx
push esi
call fcn.0041fec4
pop ecx
test bh, bh
jne 0x48b2c6
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp byte [eax + ebx + 0xd], 0
mov ecx, dword [eax + ebx + 8]
je 0x48b284
mov ecx, dword [ecx + 0x38]
xor edi, edi
inc edi
mov dword [ecx + 0x14], edi
cmp byte [eax + ebx + 0xd], 0
mov ecx, dword [eax + ebx + 8]
je 0x48b298
mov ecx, dword [ecx + 0x38]
push 0
mov byte [ecx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00407ccc
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.0040e8e0
and dword [esi], 0
mov dword [esi + 0xc], edi
jmp 0x48b37c
push dword [esp + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test bl, bl
je 0x48b333
cmp dword [esp + 0x64], 0
je 0x48b2e8
push dword [esp + 0x64]
call edi
and dword [esp + 0x64], 0
cmp dword [esp + 0x54], 0
je 0x48b2fa
push dword [esp + 0x54]
call edi
and dword [esp + 0x54], 0
cmp dword [esp + 0x5c], 0
je 0x48b30c
push dword [esp + 0x5c]
call edi
and dword [esp + 0x5c], 0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call fcn.00470858
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0x464]
call fcn.0048b3cd
jmp 0x48b337
mov esi, dword [esp + 0x2c]
cmp byte [ebp + 8], 0
je 0x48b349
mov eax, dword [esp + 0x38]
mov dword [esi + 0x44c], eax
jmp 0x48b37c
mov eax, dword [esp + 0x40]
fild dword [esp + 0x40]
test eax, eax
jns 0x48b35b
fadd qword [0x4c81b0]
mov esi, dword [ebp + 0x14]
mov ecx, esi
fstp qword [esp + 0x30]
call fcn.0040e8e0
fld qword [esp + 0x30]
push dword [esp + 0x38]
fstp qword [esi]
mov dword [esi + 0xc], 3
call edi
lea ecx, [esp + 0x48]
call fcn.0046fff4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10