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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a91f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 - 0x28], 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 eax, dword [ecx + 0x10]
shl eax, 9
mov dword [ecx + 0x38], 0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov cx, word [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
add cx, 7
movzx eax, cx
mov dword [ebp - 0x10], eax
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x24], 0
jge 0x100064e5
cmp dword [edi + 0x5c], 0
jne 0x10006697
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0xc]
ja 0x10006538
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x24], 0
jl 0x10006490
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 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 - 0x24]
call eax
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10006542
mov edi, eax
jmp 0x100066b0
mov edi, 7
jmp 0x100066b0
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 0x1000657a
ja 0x1000655b
cmp edx, dword [edi + 0x48]
jbe 0x1000657a
movzx eax, word [ecx + 0x10]
push 0x34
push ecx
push dword [ecx + 0xc]
mov dword [ebp - 0x1c], 2
push dword [ecx + 8]
push eax
push ecx
mov ecx, edi
call fcn.100069a0
jmp 0x10006594
movzx eax, byte [ecx + 0x10]
push 0x30
push ecx
push dword [ecx + 8]
mov dword [ebp - 0x1c], 1
push eax
push ecx
mov ecx, edi
call fcn.100067b0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x100065b9
mov eax, dword [eax + 0x1c]
push dword [ebp - 0x14]
push ecx
mov eax, dword [edi + eax*4 + 0x3c]
push eax
mov dword [ebp - 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x20]
add esp, 0xc
jmp 0x100065c6
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*2]
mov eax, dword [edi + eax*4 + 0x70]
push dword [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10006f50
cmp eax, 1
je 0x10006697
cmp eax, 3
je 0x1000669e
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x24], 0
jge 0x1000666d
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x14]
ja 0x1000669e
cmp dword [edi + 0x5c], 0
jne 0x10006697
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x24], 0
jl 0x10006620
push dword [ebp - 0x10]
mov ecx, edi
call fcn.10007040
test al, 1
je 0x100066a5
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp + 8]
mov edi, 2
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
jmp 0x100066b0
mov edi, 3
jmp 0x100066b0
mov edi, 1
jmp 0x100066b0
mov ecx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov dword [ebp - 4], 9
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