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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
push 0x48
call fcn.00414bd3
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.00414bd3
add esp, 4
mov dword [ebp - 0xc], 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 - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.00414bd3
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
push 8
call fcn.00414bd3
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0xc
call fcn.00414bd3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x426c97
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 8
call fcn.00414bd3
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0xc
call fcn.00414bd3
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40b0dc
pop ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 4]
push dword [ebp + 0x10]
call fcn.0040bbb9
push 0x44
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.00414bd3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
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
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
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
call fcn.0040afd1
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 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
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x2c], ebx
push 0x80000004
push 0
push 0x426c58
push 1
mov ebx, 0x168
call fcn.004150f0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b33c
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415560
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b362
push ebx
call fcn.00414bcd
add esp, 4
call fcn.004037a5
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40b389
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40b39d
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x417ae0
call fcn.00414fe0
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b3c8
push ebx
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b3d8
push ebx
call fcn.00414bcd
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40b3eb
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.004150f0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b411
push ebx
call fcn.00414bcd
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00403877
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b42d
push ebx
call fcn.00414bcd
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b443
push ebx
call fcn.00414bcd
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x10
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
call fcn.00405cdf
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x200e0
push 0x80000301
push 0
push 0x20008
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 7
mov ebx, 0xc8
call fcn.00415dc0
add esp, 0x58
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0040bed2
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40b4f0
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
push 0x80000004
push 0
push 0x426c77
push 1
mov ebx, 0x168
call fcn.004150f0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40b524
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415560
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b54a
push ebx
call fcn.00414bcd
add esp, 4
call fcn.004037a5
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40b571
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b585
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x417ae0
call fcn.00414fe0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b5b0
push ebx
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b5c0
push ebx
call fcn.00414bcd
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40b5d3
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.004150f0
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b5f9
push ebx
call fcn.00414bcd
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.00403877
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b615
push ebx
call fcn.00414bcd
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40b628
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x168
call fcn.004150f0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b64e
push ebx
call fcn.00414bcd
add esp, 4
push dword [ebp - 0x18]
call fcn.0040785c
push eax
lea eax, [ebp - 0x44]
push eax
push 0
call fcn.0040c1bb
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b678
push ebx
call fcn.00414bcd
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x40b68a
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x18]
push eax
push 0xc
call fcn.00414bd3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
push ebx
call fcn.00414bcd
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 2
lea eax, [ebp - 0x20]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x10]
call fcn.0040c4e2
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40b73d
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
push 0x80000301
push 0
lea eax, [ebp + 0x10]
push eax
push 1
mov ebx, 4
mov eax, 0x417560
call fcn.00414fe0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 4
push dword [ebp - 0x2c]
push 0xc
push dword [ebp - 0x20]
call fcn.0040c80d
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40b784
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 0x14
call fcn.00414bd3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 1
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
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
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x40b7c6
pop ebx
add ebx, 4
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 1
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push 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
pop ebx
add ebx, 0xc
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0x10
dec ecx
jne 0x40b83b
pop edi
add edi, 4
call fcn.00414bcd
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40b8ac
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
call fcn.0040cb2c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x40b8fa
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0xc8
call fcn.00415dc0
add esp, 0x1c
mov dword [ebp - 0x28], eax
jmp 0x40b901
mov dword [ebp - 0x24], 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.00414bd3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
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
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
nop
nop
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
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
call fcn.0040afd1
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 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
call fcn.00414bcd
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40badd
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
cmp dword [ebp - 4], 0
je 0x40baef
push dword [ebp - 4]
call fcn.004048e0
cmp dword [ebp - 0x20], 0
je 0x40bb01
push dword [ebp - 0x20]
call fcn.004048e0
cmp dword [ebp - 0x10], 0
je 0x40bb13
push dword [ebp - 0x10]
call fcn.004048e0
mov eax, dword [ebp - 0x14]
jmp 0x40bb1b
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bb33
push ebx
call fcn.00414bcd
add esp, 4
pop ebx
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00414bcd
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40bb79
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40bb75
imul eax, dword [ebx]
jmp 0x40bb6a
mov ecx, eax
test ecx, ecx
je 0x40bba1
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00414bcd
add esp, 4
pop ebx
call fcn.00414bcd
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40bb7f
call fcn.00414bcd
add esp, 4
pop ebx
call fcn.00414bcd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc