Function at 0x48acec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x20]
call fcn.00403f6a
xor ecx, ecx
mov dword [ebp - 0xc], 1
push 0x3c
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 8], ecx
call fcn.00423330
mov ebx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x48ad59
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
xor ecx, ecx
mov eax, dword [eax]
cmp word [eax], cx
je 0x48ad59
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.0041f3a2
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 3
jb 0x48ad79
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.0041f3a2
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 4
jb 0x48adc4
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
xor esi, esi
mov eax, dword [eax]
cmp word [eax], si
je 0x48adc6
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
cmp dword [esi + 0xc], 0xa
jne 0x48adab
mov eax, dword [esi]
cmp dword [eax], 0x29
je 0x48adc4
mov ecx, esi
call fcn.00405efc
lea eax, [ebp - 0x20]
cmp eax, dword [esi + 8]
je 0x48adc4
push dword [esi + 8]
mov ecx, eax
call fcn.0040478a
xor esi, esi
cmp dword [ebp + 0x10], 5
jb 0x48addd
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
call fcn.004061fc
movzx eax, ax
mov dword [ebp - 0xc], eax
push 0x3c
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00423330
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x54], esi
mov esi, dword [eax]
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp + 0x10], eax
test esi, esi
je 0x48ae41
push esi
call fcn.004201b4
pop ecx
test ebx, ebx
je 0x48ae4c
push ebx
call fcn.004201b4
pop ecx
cmp dword [ebp + 0x10], 0
jne 0x48ae94
mov eax, dword [edi]
mov ecx, dword [eax + 4]
cmp byte [ecx + edi + 0xd], 0
mov eax, dword [ecx + edi + 8]
je 0x48ae65
mov eax, dword [eax + 0x38]
mov dword [eax + 0x14], 1
cmp byte [ecx + edi + 0xd], 0
mov eax, dword [ecx + edi + 8]
je 0x48ae7a
mov eax, dword [eax + 0x38]
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov ecx, esi
mov byte [eax + 0x18], bl
call fcn.00405f80
mov dword [esi + 0xc], 1
mov dword [esi], ebx
jmp 0x48aef7
cmp byte [ebp + 8], 0
je 0x48aea5
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x444], eax
jmp 0x48aef7
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.00405f80
or dword [esi], 0xffffffff
cmp dword [ebp - 0x24], 0
mov dword [esi + 0xc], 1
je 0x48aef7
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
test eax, eax
jns 0x48aed8
fadd qword [0x4c7f60]
mov ecx, esi
fstp qword [ebp - 0x10]
call fcn.00405f80
fld qword [ebp - 0x10]
push dword [ebp - 0x24]
fstp qword [esi]
mov dword [esi + 0xc], 3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call fcn.004020f8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10