Function at 0x454350
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ecx + 4]
mov ebx, 8
inc eax
cmp eax, 1
ja 0x4544ae
mov esi, ecx
cmp dword [ecx + 0xc], 0
jne 0x4544ae
sub esp, 0x10
movss xmm0, dword [0x6260c8]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edi, eax
mov eax, dword [esi + 4]
cmp eax, edi
mov dword [ebp - 0x18], esi
je 0x4544c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x4544cc
mov eax, edi
inc eax
cmp eax, 2
jb 0x4543c1
mov dword [esi + 4], edi
call fcn.00501530
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esi + 4]
mov edi, esi
inc edi
cmp edi, 2
jb 0x45458b
push 0x10
call fcn.00562bc5
add esp, 4
mov ebx, eax
mov dword [eax], eax
mov dword [eax + 4], eax
xor edi, edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push 0xc
call fcn.00562bc5
add esp, 4
mov edx, eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov dword [ecx], edi
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [ebp - 0x10], edx
mov dword [edx + 8], ebx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jb 0x454501
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jb 0x45450f
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654810], 1
mov dword [esi + 0xc], ebx
xor ebx, ebx
push ebx
push 0x10000
push dword [ebp - 0x10]
push 0x445580
push 0x20000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp dword [esi + 8], eax
je 0x4544a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
inc eax
cmp eax, 2
jae 0x4544e8
mov eax, edi
inc eax
cmp eax, 2
jb 0x45449c
mov dword [esi + 8], edi
call fcn.00501530
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 8]
inc edi
cmp edi, 1
jbe 0x45451d
lea eax, [ebp + 8]
mov esi, dword [eax]
test esi, esi
jne 0x454595
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
jmp 0x4543cd
call fcn.00501530
push dword [esi + 4]
call fcn.00554260
add esp, 4
mov dword [esi + 4], 0
jmp 0x4543b1
call fcn.00501530
push dword [esi + 8]
call fcn.00554260
add esp, 4
mov dword [esi + 8], 0
jmp 0x45448c
push eax
call fcn.004ff8c0
add esp, 4
jmp 0x45442e
push ebx
call fcn.004ff440
add esp, 4
jmp 0x454454
mov edi, esi
mov eax, dword [esi + 0xc]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c810]
bt edx, ecx
jae 0x454541
push eax
call fcn.004ff8c0
add esp, 4
mov dword [edi + 0xc], 0
cmp dword [ebp - 0x10], 0
je 0x45458b
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 8]
mov dword [eax + 8], 0
test esi, esi
je 0x45456f
mov ecx, esi
call fcn.004f4980
push esi
call fcn.00562bc0
add esp, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
mov dword [eax + 4], 0
test esi, esi
jne 0x4545ad
push dword [ebp - 0x10]
call fcn.00562bc0
add esp, 4
mov ebx, 0x3b
jmp 0x4544ae
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x63e1cc]
mov ecx, esi
push 1
call edi
jmp 0x4544bb
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x63e1cc]
mov ecx, esi
push 1
call edi
jmp 0x454580