Function at 0x48d815
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fce01
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
xor ebx, ebx
cmp ecx, ebx
jne 0x48d87b
cmp dword [0x55ac14], ebx
je 0x48d874
push str.context_is_null
push str._Task_debug:
call fcn.004022da
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
xor eax, eax
jmp 0x48db28
lea eax, [esi + 0x18]
mov edx, dword [eax]
cmp dword [edx - 0xc], ebx
jne 0x48d894
cmp dword [0x55ac14], ebx
je 0x48d874
push str.exe_path_is_empty
jmp 0x48d859
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004c7c7c
add esp, 0xc
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jne 0x48d8e9
cmp dword [0x55ac14], ebx
je 0x48d8db
push str.expanded_exe_path_is_empty
push str._Task_debug:
call fcn.004022da
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x48d874
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x80], 1
lea eax, [esi + 0x20]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x48d945
push dword [esi + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004c7c7c
add esp, 0xc
lea edi, [esp + 0x10]
mov byte [esp + 0x80], 2
call fcn.00402a4c
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x48d95e
push eax
push 0x51fce8
lea ecx, [esp + 0x18]
call fcn.00417c3f
pop ecx
pop ecx
lea ebx, [esp + 0x10]
call fcn.004400f0
xor ebx, ebx
cmp byte [esi + 0x24], bl
mov edi, 0x51f6c0
je 0x48d9d7
cmp dword [0x55ac14], ebx
je 0x48d9bd
push str.__with_low_permissions.
push dword [esp + 0x14]
push str._param
push dword [esp + 0x24]
push edi
push str._Task_debug:
call fcn.004022da
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
call fcn.004938a5
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x48db0e
cmp dword [0x55ac14], ebx
je 0x48da21
push str.__with_normal_permissions.
push dword [esp + 0x14]
push str._param
push dword [esp + 0x24]
push edi
push str._Task_debug:
call fcn.004022da
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jge 0x48da50
push 0x80070057
call fcn.00401900
push dword [esp + 0x10]
cmp word [eax], 0x22
push eax
lea eax, [esp + 0x1c]
jne 0x48da66
push str._s__s
jmp 0x48da6b
push str.__s___s
call fcn.00401a17
add esp, 0xc
push 0x40
lea eax, [esp + 0x34]
push ebx
push eax
mov dword [esp + 0x38], 0x44
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [esp + 0x34]
mov word [esp + 0x7c], 0xa
call fcn.0042a058
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [esp + 0x14], ebx
mov esi, eax
jne 0x48dacc
xor eax, eax
jmp 0x48dad7
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [esp + 0x14]
call fcn.00401385
cmp esi, ebx
je 0x48db02
cmp dword [esp + 0x1c], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x48daf6
push dword [esp + 0x1c]
call edi
cmp dword [esp + 0x20], ebx
je 0x48db02
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret