Function at 0x415d0f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x3c
call fcn.00443af9
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 1
jne 0x415d52
mov dword [ebp + 0x14], 0
jmp 0x415d6f
cmp dword [ebp + 0x14], 2
jne 0x415d68
mov dword [ebp + 0x14], 7
jmp 0x415d6f
mov dword [ebp + 0x14], 1
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x3c
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x40
push 2
mov ebx, 0xc8
call fcn.00444640
add esp, 0x1c
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x34], 0
je 0x415dd3
mov eax, str.runas
jmp 0x415dd8
mov eax, str.open
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415df1
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x415e1e
push eax
mov ebx, eax
call fcn.004043c2
inc eax
push eax
call fcn.00443af9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415e31
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x415e5e
push eax
mov ebx, eax
call fcn.004043c2
inc eax
push eax
call fcn.00443af9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415e71
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.0040b5ce
test eax, eax
je 0x415f8b
push 0x48231f
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00404325
add esp, 8
cmp eax, 0
jne 0x415f17
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
push dword [ebp + 8]
call fcn.0040b6fd
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415edd
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x415f0f
push 0x300
push 0x4094e7c
push 6
call fcn.00443aff
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x415f86
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x415f3e
push eax
mov ebx, eax
call fcn.004043c2
inc eax
push eax
call fcn.00443af9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415f51
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x415f83
push 0x372
push 0x4094e7c
push 6
call fcn.00443aff
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x415fe1
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov eax, 0x48231f
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415fac
push ebx
call fcn.00443b05
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x415fde
push 0x3e5
push 0x4094e7c
push 6
call fcn.00443aff
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4160f0
cmp dword [ebp + 0x24], 0
je 0x416068
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x416068
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x2c], 0
mov eax, 0
setle al
test eax, eax
je 0x416031
mov eax, 0xffffffff
jmp 0x416034
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x416068
push 0x4bc
push 0x4094e7c
push 6
call fcn.00443aff
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x4160f0
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4160b8
mov ebx, dword [ebp + 0x3c]
push dword [ebx]
call fcn.0041615c
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
cmp dword [ebp + 0x40], 0
jne 0x4160f0
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 0x3c]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4160f0
push 0x613
push 0x4094e7c
push 6
call fcn.00443aff
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x4160f8
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416110
push ebx
call fcn.00443b05
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416124
push ebx
call fcn.00443b05
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416138
push ebx
call fcn.00443b05
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41614c
push ebx
call fcn.00443b05
add esp, 4
pop ebx
call fcn.00443b05
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x44