Function at 0x500792
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.0057c976
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.0057c976
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.0057c976
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 [0xdc213b]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x500867
push 0x6c
push 0x4021b6e
push 6
call fcn.0057c982
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 0x50089d
push 0xbc
push 0x4021b6e
push 6
call fcn.0057c982
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 0x5008bb
add eax, 8
push eax
call dword [0xdc213f]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x5008e2
push 0x125
push 0x4021b6e
push 6
call fcn.0057c982
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.0057e900
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x500915
push ebx
call fcn.0057c97c
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 0x500934
add eax, 8
push eax
call dword [0xdc213f]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x50095b
push 0x18c
push 0x4021b6e
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0xdc2143]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x500984
push 0x1ea
push 0x4021b6e
push 6
call fcn.0057c982
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 [0xdc2147]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x5009bb
push 0x1ea
push 0x4021b6e
push 6
call fcn.0057c982
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 0x5009ce
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 0x5009f8
push 0x20f
push 0x4021b6e
push 6
call fcn.0057c982
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 [0xdc214b]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x500a41
push 0x2a9
push 0x4021b6e
push 6
call fcn.0057c982
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x500a66
push 0
mov ebx, 0xa8c
call sub.kernel32.dll_GetLastError
add esp, 4
jmp 0x500f08
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 0x500abe
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 0x500bbd
cmp dword [ebp + 0x1c], 3
jne 0x500af4
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 0x500bbd
cmp dword [ebp + 0x1c], 4
jne 0x500b2a
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 0x500bbd
cmp dword [ebp + 0x1c], 5
jne 0x500b60
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 0x500bbd
cmp dword [ebp + 0x1c], 6
jne 0x500b96
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 0x500bbd
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.0057c976
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 0x500cf8
push 0x7de
push 0x4021b6e
push 6
call fcn.0057c982
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.0050075b
call fcn.0050075b
call fcn.0050075b
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.0057c97c
add esp, 4
pop eax
test eax, eax
je 0x500e3c
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 0x500e05
push 0x847
push 0x4021b6e
push 6
call fcn.0057c982
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 0x500e3c
push 0x86a
push 0x4021b6e
push 6
call fcn.0057c982
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 0x500e68
push 0x8c1
push 0x4021b6e
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
call dword [0xdc214f]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x500e95
push 0x8db
push 0x4021b6e
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0xdc2143]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x500ebe
push 0x907
push 0x4021b6e
push 6
call fcn.0057c982
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 [0xdc2153]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x500ef5
push 0x907
push 0x4021b6e
push 6
call fcn.0057c982
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 0x500f08
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x500f19
push ebx
call fcn.0057c97c
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 0x500f34
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x500f48
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x500f5c
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20