Function at 0x458a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a538d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4da064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xec]
xor al, al
cmp ecx, 1
jne 0x458a9e
mov ecx, esi
call fcn.0045abc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x458aba
mov ecx, esi
call fcn.0045ae40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 3
jne 0x458bae
cmp dword [esi + 0x10c], 0
jne 0x458cd0
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
cmp dword [eax - 4], 1
jle 0x458b23
push dword [eax - 0xc]
lea ecx, [esi + 0xf4]
call fcn.00401ef0
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], str.open
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x458b5c
cmp dword [eax - 4], 1
jle 0x458b59
push ecx
lea ecx, [esi + 0xf8]
call fcn.00401ef0
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x458cd0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x458cd0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x14], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jne 0x458a8d
call fcn.004039e0
test eax, eax
je 0x458ce3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
call fcn.004039e0
test eax, eax
je 0x458ce3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x4bb6d8
call fcn.00406f20
test al, al
jne 0x458c16
push 0
push 0x4bb6d8
lea ecx, [ebp - 0x10]
call fcn.00407090
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x108]
push eax
lea eax, [esi + 0x104]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x114]
push eax
lea edx, [esi + 0x100]
lea ecx, [esi + 0xfc]
call fcn.0041bb60
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x458c6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x458cb1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458cb1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x458c9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x458cd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402150
int3