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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004192a2
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.004192a2
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
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x10
call fcn.004192a2
add esp, 4
mov dword [ebp - 0x20], 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 - 0x24], esp
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 1
push 0x14
xor eax, eax
call dword [0x2c264ca]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4071f8
push 0
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
xor eax, eax
call dword [0x2c264ce]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40722e
push 0x71
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x40724c
add eax, 8
push eax
xor eax, eax
call dword [0x2c264d2]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x407273
push 0x9e
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00419a10
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4072a6
push ebx
call fcn.0041929c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4072c5
add eax, 8
push eax
xor eax, eax
call dword [0x2c264d2]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4072ec
push 0x12b
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
xor eax, eax
call dword [0x2c264d6]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x407315
push 0x1c5
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x28]
xor eax, eax
call dword [0x2c264da]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40734c
push 0x1c5
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x40735f
add eax, 8
push eax
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x407389
push 0x1ea
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
push 0
push 0
push 4
lea eax, [ebp - 4]
push eax
push 0x20000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [0x2c264de]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4073d2
push 0x279
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x4073ea
mov eax, 0
jmp 0x40777a
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
add ebx, 0x30
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov word [ebx], 1
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push eax
push 0x48
call fcn.004192a2
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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
push dword [ebp - 0x1c]
push 0
push 0x80000
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x18]
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40756a
push 0x3c2
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004070de
call fcn.004070de
call fcn.004070de
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.0041929c
add esp, 4
pop eax
test eax, eax
je 0x4076ae
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
xor eax, eax
call dword [0x2c264e2]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x407677
push 0x42f
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
xor eax, eax
call dword [0x2c264e2]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4076ae
push 0x452
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x2c264e2]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4076da
push 0x477
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x10]
push eax
xor eax, eax
call dword [0x2c264e6]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x407707
push 0x491
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x24], esp
xor eax, eax
call dword [0x2c264d6]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x407730
push 0x4bd
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x28]
xor eax, eax
call dword [0x2c264ea]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x407767
push 0x4bd
push 0x402e694
push 6
call fcn.004192a8
add esp, 0xc
mov ebx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
jmp 0x40777a
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40778b
push ebx
call fcn.0041929c
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 0x4077a6
push ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4077ba
push ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4077ce
push ebx
call fcn.0041929c
add esp, 4
pop ebx
call fcn.0041929c
add esp, 4
pop ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4077f0
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407800
push ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.0041929c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8