Function at 0x451e10
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48887b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4c600c]
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 ebx, ecx
mov al, bl
shr ebx, 1
and al, 1
and bl, 1
mov byte [ebp - 0x11], al
mov byte [ebp - 0x19], al
xor eax, eax
push 0x44
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 0x1a], bl
call fcn.0046a5d0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
add esp, 8
mov dword [ebp - 0xa0], 0x44
inc eax
push eax
call fcn.00422a50
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
jne 0x452028
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x38]
add eax, eax
push eax
push dword [ebp + 8]
push esi
call fcn.00469ff0
mov edi, dword [ebp - 0x34]
add esp, 0xc
lea eax, [edi - 1]
cmp eax, edi
jae 0x452014
xor ecx, ecx
lea edx, [ebp - 0x2c]
push edx
mov word [esi + eax*2], cx
lea edx, [ebp - 0xa0]
push edx
push 0
test bl, bl
mov eax, 8
push 0
cmovne ecx, eax
xor eax, eax
cmp byte [ebp - 0x11], al
push ecx
setne al
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x451f6e
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea ecx, [ebp - 0x144]
call fcn.00402513
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
mov ecx, dword [edi]
push eax
mov esi, dword [ecx]
mov ecx, esi
call dword [0x48d4b4]
mov ecx, edi
call esi
mov edx, str.CreateProcessW___failed:
lea ecx, [ebp - 0x5c]
push dword [eax + 4]
push dword [eax]
call fcn.00452c90
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0041011a
push 1
push ecx
lea ecx, [ebp - 0xe0]
push dword [eax + 4]
push dword [eax]
call fcn.0044ee10
push 0x4c3b44
lea eax, [ebp - 0xe0]
push eax
call fcn.0046b639
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x103
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x451f9a
mov dword [ebp - 0x18], 0x103
jmp 0x451fa3
cmp dword [ebp - 0x18], 0x103
jne 0x451fb5
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x18], 0x103
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x451fed
test edi, edi
je 0x451fed
lea edx, [edi + edi]
mov ecx, esi
test edx, edx
je 0x451fed
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x451fe2
push esi
call fcn.0043af60
add esp, 4
mov eax, ebx
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.00468946
mov esp, ebp
pop ebp
ret
push 0x1ee
mov edx, str.datavect_wchar_t_::at
mov ecx, str._af___i_s_
call fcn.00417c20
push 0x1e2
mov edx, str.datavect_wchar_t_::begin
mov ecx, str._af_
call fcn.00417c20
int3