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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 0x48
call fcn.00415573
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.00415573
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.00415573
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.00415573
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.00415573
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x426c7b
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.00415573
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.00415573
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 0x40b640
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.0040c151
push 0x44
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.00415573
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.0040b535
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.0041556d
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 0x426c3c
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b8a0
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415f00
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b8c6
push ebx
call fcn.0041556d
add esp, 4
call fcn.00403954
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40b907
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40b91b
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x418620
call fcn.00415980
add esp, 0x28
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b946
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b956
push ebx
call fcn.0041556d
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40b969
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b98f
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.00403965
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b9ab
push ebx
call fcn.0041556d
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b9c1
push ebx
call fcn.0041556d
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.00406098
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.00416890
add esp, 0x58
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0040c49e
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40ba6e
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
push 0x80000004
push 0
push 0x426c5b
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40baa2
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415f00
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40bac8
push ebx
call fcn.0041556d
add esp, 4
call fcn.00403954
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40bb09
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40bb1d
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x418620
call fcn.00415980
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bb48
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bb58
push ebx
call fcn.0041556d
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40bb6b
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40bb91
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00403965
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40bbad
push ebx
call fcn.0041556d
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40bbc0
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40bbe6
push ebx
call fcn.0041556d
add esp, 4
push dword [ebp - 0x18]
call fcn.00407c7d
push eax
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.0040c7bb
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40bc10
push ebx
call fcn.0041556d
add esp, 4
cmp dword [ebp - 0x50], 0
jne 0x40bc22
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
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.00415573
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.0041556d
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.0040cb16
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40bcd5
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
push 0x80000301
push 0
lea eax, [ebp + 0x10]
push eax
push 1
mov ebx, 4
mov eax, 0x4180a0
call fcn.00415980
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 4
push dword [ebp - 0x2c]
push 0xc
push dword [ebp - 0x20]
call fcn.0040ce75
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40bd1c
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 0x14
call fcn.00415573
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 0x40bd5e
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 0x40bdd3
pop edi
add edi, 4
call fcn.0041556d
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40be44
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
call fcn.0040d1c8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x40be92
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0xc8
call fcn.00416890
add esp, 0x1c
mov dword [ebp - 0x28], eax
jmp 0x40be99
mov dword [ebp - 0x24], 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.00415573
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.0040b535
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.0041556d
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40c075
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
cmp dword [ebp - 4], 0
je 0x40c087
push dword [ebp - 4]
call fcn.00404bc8
cmp dword [ebp - 0x20], 0
je 0x40c099
push dword [ebp - 0x20]
call fcn.00404bc8
cmp dword [ebp - 0x10], 0
je 0x40c0ab
push dword [ebp - 0x10]
call fcn.00404bc8
mov eax, dword [ebp - 0x14]
jmp 0x40c0b3
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c0cb
push ebx
call fcn.0041556d
add esp, 4
pop ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0041556d
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 0x40c111
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c10d
imul eax, dword [ebx]
jmp 0x40c102
mov ecx, eax
test ecx, ecx
je 0x40c139
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041556d
add esp, 4
pop ebx
call fcn.0041556d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c117
call fcn.0041556d
add esp, 4
pop ebx
call fcn.0041556d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc