Function at 0x4573d0
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 [0x4ad400]
push 0x38
mov edi, eax
lea eax, [ebp - 0x4c]
push 0
push eax
mov ebx, edx
call fcn.0046c140
push str.fMask
push ebx
push edi
push esi
mov dword [ebp - 0x50], 0x3c
call dword [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x2c
cmp al, 1
je 0x45744f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4ad3f0]
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 [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x45748a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4ad3b4]
add esp, 0xc
cmp word [eax], 0
jne 0x4574bc
push esi
call dword [0x4ad3e4]
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, 0x4adcc0
call fcn.004529b0
mov eax, dword [ebp - 4]
cmp eax, dword [0x4adcc4]
je 0x457503
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x48], edx
jmp 0x457503
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 8], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4574c4
sub ecx, dword [ebp - 8]
sar ecx, 1
add ecx, ecx
push ecx
push eax
call fcn.00443ca0
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 4]
push eax
mov ecx, 0x4add80
call fcn.004529b0
mov eax, dword [ebp - 4]
cmp eax, dword [0x4add84]
je 0x457503
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x457539
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4ad3f0]
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 [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x457571
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4ad3b4]
add esp, 0xc
mov dword [ebp - 0x44], eax
push str.lpFile
push ebx
push edi
push esi
call dword [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x4575a9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push esi
call dword [0x4ad3b4]
add esp, 0xc
mov dword [ebp - 0x40], eax
push str.lpParameters
push ebx
push edi
push esi
call dword [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x4575e1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push esi
call dword [0x4ad3b4]
add esp, 0xc
mov dword [ebp - 0x3c], eax
push str.lpDirectory
push ebx
push edi
push esi
call dword [0x4ad54c]
push edx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x457619
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call dword [0x4ad3b4]
add esp, 0xc
mov dword [ebp - 0x38], eax
push str.nShow
push ebx
push edi
push esi
call dword [0x4ad54c]
mov ebx, edx
mov edi, eax
push ebx
push edi
call dword [0x4ad3dc]
add esp, 0x18
cmp al, 1
je 0x45764e
push ebx
push edi
push esi
call dword [0x4ad3f0]
add esp, 0xc
call fcn.0046d670
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 [0x4ad770]
mov ebx, edx
mov edx, dword [ebp - 8]
push edx
mov edi, eax
call dword [0x4ad3a8]
push edx
push eax
push str.return
push ebx
push edi
push esi
call dword [0x4ad548]
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 [0x4ad3b0]
push edx
push eax
push str.hInstApp
push ebx
push edi
push esi
call dword [0x4ad548]
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 [0x4ad3b0]
push edx
push eax
push str.hProcess
push ebx
push edi
push esi
call dword [0x4ad548]
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 0x45773b
fadd qword [0x492c98]
sub esp, 8
fstp qword [esp]
call dword [0x4ad3b0]
push edx
push eax
push 0x49e510
push ebx
push edi
push esi
call dword [0x4ad548]
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jns 0x457770
fadd qword [0x492c98]
sub esp, 8
fstp qword [esp]
call dword [0x4ad3b0]
push edx
push eax
push 0x49e068
push ebx
push edi
push esi
call dword [0x4ad548]
add esp, 0x20
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret