Function at 0x10005ed0
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 0x10005fb6
cmp dword [edi + 0x5c], 0
jne 0x10006044
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0xc]
ja 0x1000603a
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 0x10005f64
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 0x10006121
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax]
shl ecx, 9
mov dword [ebp - 0x1c], ecx
test edx, edx
je 0x1000604e
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push ecx
push edx
mov eax, dword [eax + 0x1c]
push dword [edi + eax*4 + 0x3c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
jmp 0x10006051
mov edi, 7
jmp 0x10006124
mov edi, 3
jmp 0x10006124
mov edx, dword [eax + 0x18]
push dword [eax + 0x1c]
push edx
push ecx
mov ecx, edi
call fcn.10003860
push 0
push eax
mov ecx, edi
call fcn.100056b0
test eax, eax
jne 0x10006077
mov dword [ebp - 0x10], 4
jmp 0x10006121
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 0x100060af
ja 0x10006090
cmp edx, dword [edi + 0x48]
jbe 0x100060af
movzx eax, word [ecx + 0x10]
push 0x35
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 0x100060cc
movzx eax, byte [ecx + 0x10]
push 0xca
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 0
call fcn.10005920
push 0
push 0
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.10005bf0
cmp dword [edi + 0x5c], 0
je 0x100060f5
mov dword [ebp - 0x10], 3
jmp 0x10006121
mov eax, dword [ebp - 0x10]
cmp eax, 2
jne 0x10006114
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 0x10006121
test eax, eax
jne 0x10006121
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
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