Function at 0x418470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c9d2
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xc0
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00489f10
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.0044f4e0
push ecx
push 8
push str._error_log.txt
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0
call fcn.00452910
test eax, eax
lea ecx, [ebp - 0x100]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
jne 0x4184ff
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x41850e
or eax, 4
jmp 0x41850e
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00407930
lea ecx, [ebp - 0x130]
call fcn.0040b120
push esi
push ecx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00456a00
mov edx, str.__start_KiPd_cmd
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044cb20
push eax
call fcn.00456f10
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x11c], 0x10
jb 0x41856e
push dword [ebp - 0x130]
call fcn.00485250
add esp, 4
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00408040
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov edx, str._K_taskkill__f__PID
lea ecx, [ebp - 0x118]
call fcn.00457080
add esp, 4
push str.__exit
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00457170
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x104], 8
jb 0x4185c4
push dword [ebp - 0x118]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x104], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x118], ax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], eax
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x134], 7
call fcn.00451bc0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.0040b120
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.00456a00
mov edx, str.__start_KiPd_cmd_cmd
mov ecx, eax
call fcn.00456c60
mov esi, eax
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x118]
push eax
call fcn.0040aa50
push 0x22
push 0x26
mov edx, eax
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.0045c630
add esp, 8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x104], 0x10
mov esi, eax
jb 0x41867b
push dword [ebp - 0x118]
call fcn.00485250
add esp, 4
push esi
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x118], 0
call fcn.00456f10
add esp, 4
cmp dword [ebp - 0x11c], 0x10
jb 0x4186b6
push dword [ebp - 0x130]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x134], 8
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jb 0x4186e8
push dword [ebp - 0x148]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x5410e8
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
jb 0x418718
push dword [ebp - 0x28]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41873d
push dword [ebp - 0x40]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0044f600
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.std::ios_base.0
push eax
call fcn.0046ca3b
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret