Function at 0x454670
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 0x4547ce
mov esi, ecx
cmp dword [ecx + 0xc], 0
jne 0x4547ce
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 0x4547e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x4547ec
mov eax, edi
inc eax
cmp eax, 2
jb 0x4546e1
mov dword [esi + 4], edi
call fcn.005018d0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esi + 4]
mov edi, esi
inc edi
cmp edi, 2
jb 0x4548ab
push 0x10
call fcn.00562f65
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.00562f65
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 0x454821
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c810]
bt ecx, eax
jb 0x45482f
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 0x445d80
push 0x20000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp dword [esi + 8], eax
je 0x4547c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
inc eax
cmp eax, 2
jae 0x454808
mov eax, edi
inc eax
cmp eax, 2
jb 0x4547bc
mov dword [esi + 8], edi
call fcn.005018d0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 8]
inc edi
cmp edi, 1
jbe 0x45483d
lea eax, [ebp + 8]
mov esi, dword [eax]
test esi, esi
jne 0x4548b5
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
jmp 0x4546ed
call fcn.005018d0
push dword [esi + 4]
call fcn.00554600
add esp, 4
mov dword [esi + 4], 0
jmp 0x4546d1
call fcn.005018d0
push dword [esi + 8]
call fcn.00554600
add esp, 4
mov dword [esi + 8], 0
jmp 0x4547ac
push eax
call fcn.004ffc60
add esp, 4
jmp 0x45474e
push ebx
call fcn.004ff7e0
add esp, 4
jmp 0x454774
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 0x454861
push eax
call fcn.004ffc60
add esp, 4
mov dword [edi + 0xc], 0
cmp dword [ebp - 0x10], 0
je 0x4548ab
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 8]
mov dword [eax + 8], 0
test esi, esi
je 0x45488f
mov ecx, esi
call fcn.004f4d20
push esi
call fcn.00562f60
add esp, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
mov dword [eax + 4], 0
test esi, esi
jne 0x4548cd
push dword [ebp - 0x10]
call fcn.00562f60
add esp, 4
mov ebx, 0x3b
jmp 0x4547ce
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x63e19c]
mov ecx, esi
push 1
call edi
jmp 0x4547db
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x63e19c]
mov ecx, esi
push 1
call edi
jmp 0x4548a0