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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 0x48
call fcn.0041d3c8
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.0041d3c8
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.0041d3c8
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.0041d3c8
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.0041d3c8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x43920f
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.0041d3c8
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.0041d3c8
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 0x413e50
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.00414867
push 0x44
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.0041d3c8
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.00413d45
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.0041d3bc
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
mov eax, 0x439153
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004063e2
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4140ae
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4140aa
imul eax, dword [ebx]
jmp 0x41409f
mov ecx, eax
test ecx, ecx
je 0x4140cd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4140c6
push ebx
push eax
call fcn.0041d3bc
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4140b4
call fcn.0041d3bc
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4140e8
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41410e
push ebx
call fcn.0041d3bc
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x414124
push ebx
call fcn.0041d3bc
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.0040b179
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x200e0
push 0x80000301
push 0
push 0x20008
push 0x80000301
push 0
push pe_nt_image_headers32
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.0041ed00
add esp, 0x58
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.00414b0e
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4141d1
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
mov eax, 0x43919d
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004063e2
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x414203
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4141ff
imul eax, dword [ebx]
jmp 0x4141f4
mov ecx, eax
test ecx, ecx
je 0x414222
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41421b
push ebx
push eax
call fcn.0041d3bc
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x414209
call fcn.0041d3bc
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41423d
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x168
call fcn.0041dc60
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x414263
push ebx
call fcn.0041d3bc
add esp, 4
push dword [ebp - 0x18]
call fcn.0040d55b
push eax
push dword [ebp - 0x34]
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x414291
push ebx
call fcn.0041d3bc
add esp, 4
cmp dword [ebp - 0x3c], 0
jne 0x4142a3
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
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.0041d3c8
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.0041d3bc
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
mov eax, 0x4391e7
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004063e2
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x414353
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41434f
imul eax, dword [ebx]
jmp 0x414344
mov ecx, eax
test ecx, ecx
je 0x414372
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41436b
push ebx
push eax
call fcn.0041d3bc
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x414359
call fcn.0041d3bc
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41438d
mov eax, 0x4372a0
push eax
push 1
mov ebx, 0x9dc
call fcn.0041df10
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4143b3
push ebx
call fcn.0041d3bc
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 1
push 1
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call fcn.00414d85
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4143e6
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
push 0x80000301
push 0
lea eax, [ebp + 0x10]
push eax
push 1
mov ebx, 4
mov eax, 0x420c40
call fcn.0041db20
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 4
push dword [ebp - 0x2c]
push 0xc
push dword [ebp - 0x20]
call fcn.0041503e
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41442d
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 0x14
call fcn.0041d3c8
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 0x41446f
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 0x4144e4
pop edi
add edi, 4
call fcn.0041d3bc
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x414555
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
xor eax, eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
nop
nop
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x4145a8
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0xc8
call fcn.0041ed00
add esp, 0x1c
mov dword [ebp - 0x28], eax
jmp 0x4145af
mov dword [ebp - 0x24], 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.0041d3c8
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.00413d45
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.0041d3bc
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x41478b
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
cmp dword [ebp - 4], 0
je 0x41479d
push dword [ebp - 4]
call fcn.0040c179
cmp dword [ebp - 0x20], 0
je 0x4147af
push dword [ebp - 0x20]
call fcn.0040c179
cmp dword [ebp - 0x10], 0
je 0x4147c1
push dword [ebp - 0x10]
call fcn.0040c179
mov eax, dword [ebp - 0x14]
jmp 0x4147c9
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4147e1
push ebx
call fcn.0041d3bc
add esp, 4
pop ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041d3bc
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0041d3bc
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 0x414827
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x414823
imul eax, dword [ebx]
jmp 0x414818
mov ecx, eax
test ecx, ecx
je 0x41484f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041d3bc
add esp, 4
pop ebx
call fcn.0041d3bc
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41482d
call fcn.0041d3bc
add esp, 4
pop ebx
call fcn.0041d3bc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc