Function at 0x427ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481d90
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x427daa
cmp dword [esi + 0xc], 0
je 0x427daa
cmp dword [esi + 0x10], 0
je 0x427daa
push edi
call eax
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x427da9
cmp edi, dword [esi + 0x20]
je 0x427da9
mov ecx, esi
call fcn.004279c0
cmp dword [esi + 0x18], 0
mov dword [esi + 0x20], 0xffffffff
jne 0x427b35
mov ecx, esi
call fcn.00427dc0
mov ecx, esi
call fcn.00427980
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xc]
push edi
call eax
test eax, eax
jne 0x427bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, dword [esi + 0x24]
je 0x427da9
lea eax, [ebp - 0x34]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
push eax
mov ecx, 0x4a9a88
mov dword [ebp - 4], 0
mov dword [0x4a9f24], 1
call fcn.00402e80
push str.ERROR:_CInputMonitorProcess_could_not_query_user_token___Error:
push 0x48649c
push eax
call fcn.0040e7e0
push edi
push 0x486544
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
add esp, 0x1c
lea ecx, [ebp - 0x34]
call fcn.004058c0
mov dword [esi + 0x24], edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x427d3d
push 0x44
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00434830
add esp, 0xc
mov dword [ebp - 0xa8], 0x44
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa0], 0x486490
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push dword [esi + 0x10]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x427cbf
lea eax, [ebp - 0x4c]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
push eax
mov ecx, 0x4a9a88
mov dword [ebp - 4], 1
mov dword [0x4a9f24], 1
call fcn.00402e80
push str.ERROR:_Could_not_launch
push 0x48649c
push eax
call fcn.0040e7e0
push dword [esi + 0x10]
push 0x48649c
push eax
call fcn.0040e7e0
push str.___Error:
push 0x48649c
push eax
call fcn.0040e7e0
add esp, 0x24
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x486544
push esi
call fcn.0040e7e0
push eax
call fcn.0040d5b0
lea ecx, [ebp - 0x4c]
jmp 0x427d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x427d25
lea eax, [ebp - 0x4c]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
push eax
mov ecx, 0x4a9a88
mov dword [ebp - 4], 2
mov dword [0x4a9f24], 1
call fcn.00402e80
push str.WARNING:_CreateProcessAsUser_reported_error:
push 0x48649c
push eax
call fcn.0040e7e0
push dword [ebp - 0x18]
push 0x486544
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
add esp, 0x1c
lea ecx, [ebp - 0x4c]
call fcn.004058c0
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x20], eax
call edi
push dword [ebp - 0x28]
call edi
jmp 0x427d9f
lea eax, [ebp - 0x64]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
push eax
mov ecx, 0x4a9a88
mov dword [ebp - 4], 3
mov dword [0x4a9f24], 1
call fcn.00402e80
push str.ERROR:_Could_duplicate_user_token___Error:
push 0x48649c
push eax
call fcn.0040e7e0
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x486544
push esi
call fcn.0040e7e0
push eax
call fcn.0040d5b0
lea ecx, [ebp - 0x64]
add esp, 0x10
call fcn.004058c0
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x14]
call edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret