Function at 0x42e500
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46779c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x240], eax
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.0042e310
mov dword [ebp - 4], 0
cmp dword [ebp - 0x228], 0
je 0x42e684
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.00403490
mov byte [ebp - 0x23a], 0
mov edi, 0x487480
xor esi, esi
nop word [eax + eax]
push 1
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x244], ebx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
mov edx, edi
lea ecx, [ebp - 0x268]
call fcn.00433820
add esp, 4
mov byte [ebp - 0x239], al
mov byte [ebp - 4], 4
test ebx, ebx
je 0x42e5d9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x42e5d3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0x239]
test al, al
jne 0x42e5f3
add esi, 0x18
add edi, 0x18
cmp esi, 0x108
jb 0x42e580
mov bl, byte [ebp - 0x23a]
jmp 0x42e5f5
mov bl, 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x254]
cmp edx, 0x10
jb 0x42e635
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e62b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e62b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
test bl, bl
jne 0x42e684
mov esi, dword [ebp - 0x240]
push esi
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
test edi, edi
jne 0x42e6c4
push ecx
push eax
push 1
lea ecx, [ebp - 0xd8]
call fcn.00403340
add eax, 0x10
mov byte [ebp - 4], 5
push 0x47523c
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.0042c650
mov bl, 1
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x42e850
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e846
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e846
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
push edi
xor bl, bl
call dword [sym.imp.brbase.dll_bool___cdecl_base::KillProcess_void___int__bool_]
add esp, 0xc
movzx ebx, bl
test al, al
mov ecx, 1
cmovne ebx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test bl, bl
je 0x42e70b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0042e0b0
test al, al
sete bl
test al, al
je 0x42e686
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push str.cmd.exe__c_taskkill__f__pid
lea eax, [ebp - 0x220]
push eax
push str._s_s_d
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.0041fd70
add esp, 0x18
lea eax, [ebp - 0x118]
push 0x475238
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, 5
mov bl, 1
nop dword [eax + eax]
mov ecx, dword [ebp - 0x240]
call fcn.0042e0b0
test al, al
je 0x42e824
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0x44
push eax
dec esi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
mov dword [ebp - 0x284], 0x101
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42e81a
push dword [ebp - 0x250]
call edi
push dword [ebp - 0x24c]
call edi
push 0x1f4
mov bl, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42e81c
xor bl, bl
test esi, esi
jg 0x42e790
test bl, bl
je 0x42e686
mov ecx, dword [ebp - 0x240]
call fcn.0042e0b0
xor ecx, ecx
movzx ebx, bl
test al, al
cmovne ebx, ecx
jmp 0x42e686
push edx
push ecx
call fcn.00461242
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret