Function at 0x1012e232
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.1019b48e
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.1019b48e
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.1019b48e
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 [0x10c09a07]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e307
push 0x6c
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e33d
push 0xbc
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e35b
add eax, 8
push eax
call dword [0x10c09a0b]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e382
push 0x125
push 0x4021b6e
push 6
call fcn.1019b49a
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.1019c780
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1012e3b5
push ebx
call fcn.1019b494
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 0x1012e3d4
add eax, 8
push eax
call dword [0x10c09a0b]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e3fb
push 0x18c
push 0x4021b6e
push 6
call fcn.1019b49a
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0x10c09a0f]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e424
push 0x1ea
push 0x4021b6e
push 6
call fcn.1019b49a
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 [0x10c09a13]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1012e45b
push 0x1ea
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e46e
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 0x1012e498
push 0x20f
push 0x4021b6e
push 6
call fcn.1019b49a
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 [0x10c09a17]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e4e1
push 0x2a9
push 0x4021b6e
push 6
call fcn.1019b49a
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x1012e506
push 0
mov ebx, 0xa8c
call sub.kernel32.dll_GetLastError
add esp, 4
jmp 0x1012e9a8
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 0x1012e55e
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 0x1012e65d
cmp dword [ebp + 0x1c], 3
jne 0x1012e594
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 0x1012e65d
cmp dword [ebp + 0x1c], 4
jne 0x1012e5ca
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 0x1012e65d
cmp dword [ebp + 0x1c], 5
jne 0x1012e600
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 0x1012e65d
cmp dword [ebp + 0x1c], 6
jne 0x1012e636
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 0x1012e65d
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.1019b48e
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 0x1012e798
push 0x7de
push 0x4021b6e
push 6
call fcn.1019b49a
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.1012e1fb
call fcn.1012e1fb
call fcn.1012e1fb
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.1019b494
add esp, 4
pop eax
test eax, eax
je 0x1012e8dc
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 0x1012e8a5
push 0x847
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e8dc
push 0x86a
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e908
push 0x8c1
push 0x4021b6e
push 6
call fcn.1019b49a
add esp, 0xc
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
call dword [0x10c09a1b]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e935
push 0x8db
push 0x4021b6e
push 6
call fcn.1019b49a
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0x10c09a0f]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1012e95e
push 0x907
push 0x4021b6e
push 6
call fcn.1019b49a
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 [0x10c09a1f]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1012e995
push 0x907
push 0x4021b6e
push 6
call fcn.1019b49a
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 0x1012e9a8
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1012e9b9
push ebx
call fcn.1019b494
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 0x1012e9d4
push ebx
call fcn.1019b494
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1012e9e8
push ebx
call fcn.1019b494
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1012e9fc
push ebx
call fcn.1019b494
add esp, 4
pop ebx
call fcn.1019b494
add esp, 4
pop ebx
call fcn.1019b494
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.1019b494
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20