Function at 0x45dbb0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeacd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4e3050]
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 0x45dbfe
mov ecx, esi
call fcn.004605b0
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 0x45dc1a
mov ecx, esi
call fcn.00460830
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 0x45dd0e
cmp dword [esi + 0x10c], 0
jne 0x45de30
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 0x45dc7d
push dword [eax - 0xc]
lea ecx, [esi + 0xf4]
call fcn.004022b0
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], str.open
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x45dcbc
cmp dword [ecx - 4], 1
jle 0x45dcb3
push eax
lea ecx, [esi + 0xf8]
call fcn.004022b0
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 0x45de30
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45de30
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 0x45dbed
call fcn.004042d0
test eax, eax
je 0x45de43
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.004042d0
test eax, eax
je 0x45de43
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 0x4c3098
call fcn.00403430
test al, al
jne 0x45dd76
push 0
push 0x4c3098
lea ecx, [ebp - 0x10]
call fcn.004035a0
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.0041dce0
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 0x45ddce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x45de11
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45de11
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 0x45ddfe
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 0x45de30
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.00402570
int3