Function at 0x4a8b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5769b4
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x114]
push eax
push 0xf01ff
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x114], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4a9139
mov eax, dword [ebp - 0x114]
xor edi, edi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x124], edi
test eax, eax
je 0x4a8c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
cmp eax, 0xffffffff
je 0x4a8bf9
mov edi, eax
mov dword [ebp - 0x124], edi
call fcn.00412510
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
push 1
push 1
push 0
push 0xf01ff
push edi
mov dword [ebp - 0x118], 0
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4a9114
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x11c], 0
test esi, esi
je 0x4a8c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10c], eax
cmp esi, 0xffffffff
je 0x4a8c6d
mov dword [ebp - 0x11c], esi
call fcn.00412510
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x110]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 4], 1
mov byte [ebp - 0x1c], 0
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push str.NtSuspendProcess
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004305c0
lea eax, [ebp - 0x14]
push eax
push str.NtResumeProcess
call fcn.004305c0
add esp, 0x10
cmp byte [ebp - 0x1c], 0
mov byte [ebp - 4], 2
jne 0x4a8cf9
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4a8e1a
cmp dword [ebp - 0x14], 0
je 0x4a8e1a
push dword [ebp - 0x20]
mov ecx, esi
call dword [0x5817c0]
call esi
test eax, eax
jne 0x4a8e10
mov byte [ebp - 0x1c], 1
push 0x78
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0053f340
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x98], 0
mov esi, dword [eax + 4]
push 0x70
lea eax, [ebp - 0x90]
mov byte [ebp - 0x94], 0
push 0
push eax
call fcn.0053f340
add esp, 0x18
mov dword [ebp - 4], 3
call fcn.00412510
push 2
push 0
push 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4a8d73
mov dword [ebp - 0x98], eax
call fcn.00412510
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 5
test eax, eax
je 0x4a8e2b
cmp eax, 0xffffffff
je 0x4a8e2b
cmp byte [ebp - 0x94], 0
jne 0x4a8e38
push 0x70
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0x90]
push 0
push 0x70
push eax
push 9
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x4a8e25
mov eax, dword [ebp - 0x80]
lea esi, [ebp - 0x90]
or eax, 0x800
lea edi, [ebp - 0x108]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
push 0x70
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x108]
push eax
push 9
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x4a8e25
mov byte [ebp - 0x94], 1
jmp 0x4a8e38
cmp byte [ebp - 0x1c], 0
jne 0x4a8cf9
mov esi, dword [ebp - 0x11c]
jmp 0x4a90c0
mov eax, dword [ebp - 0x98]
cmp byte [ebp - 0x94], 0
je 0x4a9058
call fcn.0040aac0
cmp eax, 3
mov eax, dword [ebp - 0x10c]
jl 0x4a9004
mov dword [ebp - 0x10c], eax
xor eax, eax
mov dword [ebp - 0x120], eax
call fcn.0040aac0
cmp eax, 3
jl 0x4a8ff6
push 0x58f3a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4a8ff6
push str.InitializeProcThreadAttributeList
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4a8ff6
push str.UpdateProcThreadAttribute
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x4a8ff6
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 0
push 1
push 0
mov ecx, esi
call dword [0x5817c0]
call esi
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4a8ff6
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4a8ff6
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
push 0
push 1
push edi
call dword [0x5817c0]
call esi
test eax, eax
je 0x4a8ff6
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x10c]
push 0
push 0
push 4
push eax
push 0x20000
push 0
push edi
mov ecx, esi
call dword [0x5817c0]
call esi
test eax, eax
je 0x4a8ff6
push 0x44
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.0053f340
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0xe0]
add esp, 0xc
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x9c], edi
movups xmm0, xmmword [eax]
push dword [ebp - 0x12c]
movups xmmword [ebp - 0xe0], xmm0
push ecx
movups xmm0, xmmword [eax + 0x10]
mov dword [ebp - 0xe0], 0x48
push dword [ebp - 0x134]
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [eax + 0x20]
push dword [ebp - 0x138]
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
or eax, 0x1080000
push eax
push dword [ebp + 0x1c]
movups xmmword [ebp - 0xb0], xmm0
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x98]
jmp 0x4a905e
mov esi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
jmp 0x4a905e
push dword [ebp - 0x12c]
mov esi, dword [ebp - 0x11c]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push eax
push esi
call fcn.004a9160
mov dword [ebp - 0x120], eax
add esp, 0x30
mov eax, dword [ebp - 0x98]
jmp 0x4a905e
mov esi, dword [ebp - 0x11c]
mov byte [ebp - 4], 6
test eax, eax
je 0x4a9093
cmp eax, 0xffffffff
je 0x4a9093
cmp byte [ebp - 0x94], 0
je 0x4a9093
push 0x70
lea ecx, [ebp - 0x90]
push ecx
push 9
push eax
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov eax, dword [ebp - 0x98]
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 7
test eax, eax
je 0x4a90ba
cmp eax, 0xffffffff
je 0x4a90ba
call fcn.00412510
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4a90ba
call fcn.004014a0
mov edi, dword [ebp - 0x124]
cmp byte [ebp - 0x1c], 0
mov byte [ebp - 4], 8
je 0x4a90ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x4a90ec
push dword [ebp - 0x20]
mov ecx, eax
call dword [0x5817c0]
call dword [ebp - 0x128]
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 9
test esi, esi
je 0x4a910e
cmp esi, 0xffffffff
je 0x4a910e
call fcn.00412510
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4a910e
call fcn.004014a0
mov esi, dword [ebp - 0x120]
mov dword [ebp - 4], 0xa
test edi, edi
je 0x4a9139
cmp edi, 0xffffffff
je 0x4a9139
call fcn.00412510
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4a9139
call fcn.004014a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret