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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a8ef
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 - 0x30], esi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x38]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov eax, dword [ecx + 0x10]
shl eax, 9
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov cx, word [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
add cx, 7
movzx eax, cx
mov dword [ebp - 0x1c], eax
movzx eax, ax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x18], 0
jge 0x1000624a
cmp dword [edi + 0x5c], 0
jne 0x1000634a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x24]
cmp eax, dword [edi + 0xc]
ja 0x1000629d
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 0x18], 0
jl 0x100061f5
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
movzx eax, cx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x28], 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 - 0x28]
call eax
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100062a7
mov edi, eax
jmp 0x100063bf
mov edi, 7
jmp 0x100063bf
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 0x100062e5
ja 0x100062c0
cmp edx, dword [edi + 0x48]
jbe 0x100062e5
movzx eax, word [ecx + 0x10]
push 0x24
push ecx
push dword [ecx + 0xc]
mov dword [ebp - 0x24], 2
push dword [ecx + 8]
mov byte [ebp - 0xd], 0x24
push eax
push ecx
mov ecx, edi
call fcn.100069a0
xor eax, eax
jmp 0x1000632d
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], 1
cmp eax, 4
jne 0x100062f8
mov al, 0x21
jmp 0x10006307
cmp eax, 5
jne 0x10006305
cmp dword [ecx + 0x10], 1
mov al, 0x22
je 0x10006307
mov al, 0x20
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx eax, byte [ecx + 0x10]
push ecx
push dword [ecx + 8]
push eax
push ecx
mov ecx, edi
call fcn.100067b0
xor eax, eax
cmp byte [ebp - 0xd], 0x22
jne 0x1000632d
movzx eax, word [edi + 0x54]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x2c]
mov eax, dword [ecx + 0x14]
mov ecx, edi
push dword [ebp - 0x20]
push dword [edi + eax*4 + 0x3c]
call fcn.100066e0
cmp eax, 1
jne 0x10006351
mov edi, 3
jmp 0x100063bf
cmp eax, 3
jne 0x1000635b
lea edi, [eax - 2]
jmp 0x100063bf
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10006377
mov eax, dword [eax + 0x14]
push dword [ebp - 0x20]
push dword [edi + eax*4 + 0x3c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.10007040
test al, 1
je 0x100063b0
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x24]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x34], edx
cmp dword [ecx + 0x38], eax
jne 0x100063a9
mov edi, 6
jmp 0x100063bf
mov edi, 2
jmp 0x100063bf
cmp byte [ebp - 0xd], 0x22
jne 0x100063bd
mov edi, 5
jmp 0x100063bf
xor edi, edi
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