Function at 0x4aa6b5
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.0051fe33
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0x48
call fcn.0051fe33
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
pop ebx
push 0x10
call fcn.0051fe33
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0x14
call dword [0xce882e]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa78a
push 0x6c
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp + 0x24]
push 0
push 0x1f0fff
call dword [sym.imp.kernel32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa7c0
push 0xbc
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4aa7de
add eax, 8
push eax
call dword [0xce8832]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa805
push 0x125
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00520c60
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4aa838
push ebx
call fcn.0051fe39
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4aa857
add eax, 8
push eax
call dword [0xce8832]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa87e
push 0x18c
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0xce8836]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa8a7
push 0x1ea
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x20]
call dword [0xce883a]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4aa8de
push 0x1ea
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4aa8f1
add eax, 8
push eax
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa91b
push 0x20f
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0
push 0
push 4
lea eax, [ebp - 4]
push eax
push 0x20000
push 0
push dword [ebp - 0x10]
call dword [0xce883e]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aa964
push 0x2a9
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x4aa989
push 0
mov ebx, 0xa8c
call sub.kernel32.dll_GetLastError
add esp, 4
jmp 0x4aae2b
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 0x44
cmp dword [ebp + 0x1c], 1
jne 0x4aa9e1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 0
jmp 0x4aaae0
cmp dword [ebp + 0x1c], 3
jne 0x4aaa17
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 2
jmp 0x4aaae0
cmp dword [ebp + 0x1c], 4
jne 0x4aaa4d
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 3
jmp 0x4aaae0
cmp dword [ebp + 0x1c], 5
jne 0x4aaa83
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 4
jmp 0x4aaae0
cmp dword [ebp + 0x1c], 6
jne 0x4aaab9
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 6
jmp 0x4aaae0
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov word [ebx], 1
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push eax
push 0x48
call fcn.0051fe33
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0
push 0x80000
push 0
push 0
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.advapi32.dll_CreateProcessAsUserA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aac1b
push 0x7de
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov edi, dword [ebp - 0x24]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004aa67e
call fcn.004aa67e
call fcn.004aa67e
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x44
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0051fe39
add esp, 4
pop eax
test eax, eax
je 0x4aad5f
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4aad28
push 0x847
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4aad5f
push 0x86a
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aad8b
push 0x8c1
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
call dword [0xce8842]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aadb8
push 0x8db
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0xce8836]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4aade1
push 0x907
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
call dword [0xce8846]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4aae18
push 0x907
push 0x4021b6e
push 6
call fcn.0051fe3f
add esp, 0xc
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
jmp 0x4aae2b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4aae3c
push ebx
call fcn.0051fe39
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aae57
push ebx
call fcn.0051fe39
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aae6b
push ebx
call fcn.0051fe39
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aae7f
push ebx
call fcn.0051fe39
add esp, 4
pop ebx
call fcn.0051fe39
add esp, 4
pop ebx
call fcn.0051fe39
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0051fe39
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20