Function at 0x4c3665
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.00538de3
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.00538de3
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.00538de3
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 [0x95d3e6]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c373a
push 0x6c
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c3770
push 0xbc
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c378e
add eax, 8
push eax
call dword [0x95d3ea]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c37b5
push 0x125
push 0x4021b6e
push 6
call fcn.00538def
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00539c10
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4c37e8
push ebx
call fcn.00538de9
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 0x4c3807
add eax, 8
push eax
call dword [0x95d3ea]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c382e
push 0x18c
push 0x4021b6e
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0x95d3ee]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c3857
push 0x1ea
push 0x4021b6e
push 6
call fcn.00538def
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 [0x95d3f2]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4c388e
push 0x1ea
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c38a1
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 0x4c38cb
push 0x20f
push 0x4021b6e
push 6
call fcn.00538def
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 [0x95d3f6]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c3914
push 0x2a9
push 0x4021b6e
push 6
call fcn.00538def
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x4c3939
push 0
mov ebx, 0xa8c
call sub.kernel32.dll_GetLastError
add esp, 4
jmp 0x4c3ddb
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 0x4c3991
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 0x4c3a90
cmp dword [ebp + 0x1c], 3
jne 0x4c39c7
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 0x4c3a90
cmp dword [ebp + 0x1c], 4
jne 0x4c39fd
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 0x4c3a90
cmp dword [ebp + 0x1c], 5
jne 0x4c3a33
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 0x4c3a90
cmp dword [ebp + 0x1c], 6
jne 0x4c3a69
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 0x4c3a90
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.00538de3
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 0x4c3bcb
push 0x7de
push 0x4021b6e
push 6
call fcn.00538def
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.004c362e
call fcn.004c362e
call fcn.004c362e
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.00538de9
add esp, 4
pop eax
test eax, eax
je 0x4c3d0f
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 0x4c3cd8
push 0x847
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c3d0f
push 0x86a
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c3d3b
push 0x8c1
push 0x4021b6e
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
call dword [0x95d3fa]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c3d68
push 0x8db
push 0x4021b6e
push 6
call fcn.00538def
add esp, 0xc
mov dword [ebp - 0x1c], esp
call dword [0x95d3ee]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4c3d91
push 0x907
push 0x4021b6e
push 6
call fcn.00538def
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 [0x95d3fe]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4c3dc8
push 0x907
push 0x4021b6e
push 6
call fcn.00538def
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 0x4c3ddb
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4c3dec
push ebx
call fcn.00538de9
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 0x4c3e07
push ebx
call fcn.00538de9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c3e1b
push ebx
call fcn.00538de9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c3e2f
push ebx
call fcn.00538de9
add esp, 4
pop ebx
call fcn.00538de9
add esp, 4
pop ebx
call fcn.00538de9
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00538de9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20