Function at 0x415ae9
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
mov eax, 0x446565
call fcn.00420850
sub esp, 0xa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [ebp + 0x14], ebx
mov dword [0x458b24], ebx
je 0x415b2b
lea eax, [ebp - 0x84]
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.00416d35
lea ecx, [ebp - 0x84]
call fcn.004014d4
test byte [ebp + 0x80], 4
jne 0x415c78
cmp dword [ebp + 0x14], ebx
je 0x415b95
lea eax, [ebp + 8]
push 0x4537ec
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040518d
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00411376
add esp, 0x18
push eax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 4
call fcn.00401802
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.004014d4
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.004014d4
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
or dword [ebp - 0x30], 1
mov ax, word [ebp + 0x88]
cmp dword [ebp + 0x64], ebx
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], ax
je 0x415bc6
lea ecx, [ebp + 0x58]
call fcn.00401d5e
mov edi, eax
jmp 0x415bc8
xor edi, edi
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp + 0x30]
call fcn.004015f7
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 5
call fcn.00401d5e
lea ecx, [ebp - 0x5c]
push 0x458b30
push ecx
push edi
push ebx
mov dword [esi + 8], eax
push dword [ebp + 0x8c]
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0040184c
cmp esi, ebx
jne 0x415c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x458b24], eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp + 0x30]
call fcn.0040f9b8
lea ecx, [ebp - 0xac]
call fcn.004014d4
sub esp, 0x28
lea eax, [ebp + 0x30]
mov dword [ebp + 0x88], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4494d0
mov dword [ecx + 0x20], 0x4494d8
call fcn.00401974
call fcn.00414a95
add esp, 0x28
jmp 0x415d65
mov edi, dword [0x458b30]
mov esi, dword [0x458b38]
jmp 0x415d95
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x48], str.open
call fcn.004015f7
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 6
call fcn.00401d5e
mov dword [esi + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
call fcn.0040184c
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp + 0x30]
call fcn.004015f7
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 7
call fcn.00401d5e
mov dword [esi + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
call fcn.0040184c
mov eax, dword [ebp + 0x88]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne al
cmp al, bl
jne 0x415d90
mov eax, dword [ebp - 0x34]
cmp eax, 0x20
jge 0x415d90
mov dword [0x458b24], eax
lea eax, [ebp + 8]
push 0x4537ec
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040518d
sub esp, 0x1c
lea edx, [ebp + 0x30]
mov ecx, esp
mov dword [ebp + 0x88], esp
push edx
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.00411376
add esp, 0xc
call fcn.00414a95
add esp, 0x28
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.004014d4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004014d4
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], bl
call fcn.004014d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.004014d4
or eax, 0xffffffff
jmp 0x415e6a
mov edi, dword [ebp - 0x1c]
xor esi, esi
push 0x3e8
push edi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp + 0x84]
push dword [ebp + 0x80]
push edi
push esi
call fcn.00415e79
mov esi, 0x102
add esp, 0x10
cmp eax, esi
mov dword [ebp + 0x88], eax
jne 0x415dcf
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x458b28
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x88], ebx
je 0x415e43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x458b24], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp + 0x30]
call fcn.0040f9b8
lea ecx, [ebp - 0x84]
call fcn.004014d4
sub esp, 0x28
lea eax, [ebp + 0x30]
mov dword [ebp + 0x80], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4494d0
mov dword [ecx + 0x20], 0x4494d8
call fcn.00401974
call fcn.00414a95
add esp, 0x28
cmp dword [ebp + 0x88], esi
jne 0x415e3f
push 0xfffffffffffffffd
pop esi
jmp 0x415e45
push 0xfffffffffffffffe
jmp 0x415e3c
xor esi, esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004014d4
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], bl
call fcn.004014d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.004014d4
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret