Function at 0x454110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov esi, ecx
push 0
push esi
call dword [0x4a7380]
push 0x38
mov edi, eax
lea eax, [ebp - 0x4c]
push 0
push eax
mov ebx, edx
call fcn.00468360
push str.fMask
push ebx
push edi
push esi
mov dword [ebp - 0x50], 0x3c
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x2c
cmp al, 1
je 0x45418f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4a7370]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
add esp, 0xc
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
fldcw word [ebp - 2]
push str.hwnd
push ebx
push edi
push esi
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x4541ca
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4a7334]
add esp, 0xc
cmp word [eax], 0
jne 0x4541fc
push esi
call dword [0x4a7364]
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, 0x4a7c40
call fcn.0044f860
mov eax, dword [ebp - 4]
cmp eax, dword [0x4a7c44]
je 0x454243
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x48], edx
jmp 0x454243
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 8], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x454204
sub ecx, dword [ebp - 8]
sar ecx, 1
add ecx, ecx
push ecx
push eax
call fcn.00440de0
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 4]
push eax
mov ecx, 0x4a7d00
call fcn.0044f860
mov eax, dword [ebp - 4]
cmp eax, dword [0x4a7d04]
je 0x454243
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x454279
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4a7370]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
add esp, 0xc
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp qword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x48], ecx
fldcw word [ebp - 2]
push str.lpVerb
push ebx
push edi
push esi
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x4542b1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4a7334]
add esp, 0xc
mov dword [ebp - 0x44], eax
push str.lpFile
push ebx
push edi
push esi
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x4542e9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4a7334]
add esp, 0xc
mov dword [ebp - 0x40], eax
push str.lpParameters
push ebx
push edi
push esi
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x454321
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push esi
call dword [0x4a7334]
add esp, 0xc
mov dword [ebp - 0x3c], eax
push str.lpDirectory
push ebx
push edi
push esi
call dword [0x4a74cc]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x454359
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4a7334]
add esp, 0xc
mov dword [ebp - 0x38], eax
push str.nShow
push ebx
push edi
push esi
call dword [0x4a74cc]
mov ebx, edx
mov edi, eax
push ebx
push edi
call dword [0x4a735c]
add esp, 0x18
cmp al, 1
je 0x45438e
push ebx
push edi
push esi
call dword [0x4a7370]
add esp, 0xc
call fcn.00469890
mov dword [ebp - 0x34], eax
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 8], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [0x4a76f0]
mov ebx, edx
mov edx, dword [ebp - 8]
push edx
mov edi, eax
call dword [0x4a7328]
push edx
push eax
push str.return
push ebx
push edi
push esi
call dword [0x4a74c8]
mov eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x14], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [ebp - 0x10], edx
and eax, 0x80000000
fild qword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
add esp, 0x18
fild qword [ebp - 0x14]
fchs
faddp st(1)
fstp qword [esp]
call dword [0x4a7330]
push edx
push eax
push str.hInstApp
push ebx
push edi
push esi
call dword [0x4a74c8]
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x14], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [ebp - 0x10], edx
and eax, 0x80000000
fild qword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
add esp, 0x18
fild qword [ebp - 0x14]
fchs
faddp st(1)
fstp qword [esp]
call dword [0x4a7330]
push edx
push eax
push str.hProcess
push ebx
push edi
push esi
call dword [0x4a74c8]
mov eax, dword [ebp - 0x18]
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jns 0x45447b
fadd qword [0x48dc98]
sub esp, 8
fstp qword [esp]
call dword [0x4a7330]
push edx
push eax
push 0x499270
push ebx
push edi
push esi
call dword [0x4a74c8]
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jns 0x4544b0
fadd qword [0x48dc98]
sub esp, 8
fstp qword [esp]
call dword [0x4a7330]
push edx
push eax
push 0x498dc8
push ebx
push edi
push esi
call dword [0x4a74c8]
add esp, 0x20
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret