Function at 0x10005c60
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a8bf
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x24], esi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ecx + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov cx, word [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add cx, 7
movzx eax, cx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x18], 0
jge 0x10005d46
cmp dword [edi + 0x5c], 0
jne 0x10005dd1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0xc]
ja 0x10005dc7
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x18], 0
jl 0x10005cf4
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
mov eax, dword [eax + 0x24]
push edi
push dword [ebp - 0x20]
call eax
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10005ea1
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
push dword [edi + 0x38]
shl ecx, 9
mov dword [ebp - 0x1c], ecx
push ecx
mov ecx, edi
call fcn.10003860
push 1
push eax
mov ecx, edi
call fcn.100056b0
test eax, eax
jne 0x10005ddb
mov dword [ebp - 0x10], 4
jmp 0x10005ea1
mov edi, 7
jmp 0x10005ea4
mov edi, 3
jmp 0x10005ea4
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ecx + 0x10]
add edx, dword [ecx + 8]
adc eax, dword [ecx + 0xc]
test eax, eax
jb 0x10005e13
ja 0x10005df4
cmp edx, dword [edi + 0x48]
jbe 0x10005e13
movzx eax, word [ecx + 0x10]
push 0x25
push ecx
push dword [ecx + 0xc]
mov dword [ebp - 0x14], 2
push dword [ecx + 8]
push eax
push ecx
mov ecx, edi
call fcn.100069a0
jmp 0x10005e30
movzx eax, byte [ecx + 0x10]
push 0xc8
push ecx
push dword [ecx + 8]
mov dword [ebp - 0x14], 1
push eax
push ecx
mov ecx, edi
call fcn.100067b0
push dword [edi + 0x44]
mov ecx, edi
push 1
call fcn.10005920
push 0
push 0
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.10005bf0
cmp dword [edi + 0x5c], 0
je 0x10005e59
mov dword [ebp - 0x10], 3
jmp 0x10005ea1
mov eax, dword [ebp - 0x10]
cmp eax, 2
jne 0x10005e78
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
jmp 0x10005ea1
test eax, eax
jne 0x10005ea1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10005e9b
mov eax, dword [eax + 0x14]
push dword [ebp - 0x1c]
push dword [edi + eax*4 + 0x3c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x38], ecx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 6
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4