Function at 0x1005aa20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10643bbc], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1005aa97
movq xmm0, qword [0x10643bd4]
lea ecx, [ebp - 0x10]
mov ax, word [0x10643bdc]
mov edx, 0xe
mov dword [ebp - 0x10], 0x3f30ec1
movq qword [ebp - 0xc], xmm0
mov word [ebp - 4], ax
call fcn.10098a10
mov dword [0x10643bc0], 1
mov dword [0x10643bbc], 3
call ebx
mov dword [0x10643bb8], eax
call ebx
mov dword [0x10643bb4], eax
mov dword [0x10643bb0], 0x7530
mov dword [0x10643bac], 0x7530
push esi
push edi
mov ecx, 0x1023e0e8
call fcn.10059ce0
mov byte [0x8b15a2c], 0
xor esi, esi
mov dword [0x118efb0], 0xffffffff
mov edi, 0x43734e
mov byte [0x8b15828], 0
mov ebx, 0x9265d0
push esi
call edi
mov ecx, eax
call ebx
push eax
mov eax, 0x6356a2
call eax
inc esi
add esp, 4
cmp esi, 0x190
jl 0x1005aac7
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 5]
push eax
mov eax, 0x4dbf44
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
cmp dword [0x118d320], 4
jne 0x1005ab0d
mov eax, dword [0x1023e0ec]
mov dword [0x118edf8], eax
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp byte [esi + 7], cl
jbe 0x1005acd5
mov edx, 0x591621
mov ebx, 0x5910d2
nop word [eax + eax]
cmp ecx, dword [0x102c4f38]
jge 0x1005accf
sub esp, 0xc
imul edi, ecx, 0x4c
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
movzx eax, byte [edi + esi + 0x23]
push eax
call edx
add esp, 4
movsx eax, al
push eax
movzx eax, byte [edi + esi + 0x14]
push eax
call ebx
mov cx, word [edi + esi + 0x20]
mov ebx, eax
add esp, 0x18
cmp dword [ebp + 8], 0
mov word [ebx + 0x82], cx
mov cl, byte [edi + esi + 0x22]
mov byte [ebx + 0x15], cl
mov ecx, dword [edi + esi + 0x3c]
mov dword [ebx + 0xac], ecx
jne 0x1005abbd
cmp dword [0x102c4ed8], 1
jne 0x1005abd6
movzx eax, byte [edi + esi + 0x14]
mov dword [0x118d488], eax
movzx eax, byte [edi + esi + 0x14]
mov dword [eax*4 + 0x1023e320], 0
cmp dword [0x102c4ed8], 1
jne 0x1005abd6
movzx eax, byte [edi + esi + 0x14]
mov dword [eax*4 + 0x1023e320], 0
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x3c]
mov dword [ecx*4 + 0x1023e1b4], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x40]
mov dword [ecx*4 + 0x1023e1b8], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x44]
mov dword [ecx*4 + 0x1023e1bc], eax
mov ecx, dword [edi + esi + 0x48]
test ecx, ecx
js 0x1005ac46
movzx eax, byte [edi + esi + 0x14]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x1023e1c0], ecx
movzx eax, byte [edi + esi + 0x14]
movups xmm0, xmmword [edi + esi + 0x4c]
lea ecx, [eax + eax*8]
movups xmmword [ecx*4 + 0x1023e1c4], xmm0
mov eax, dword [edi + esi + 0x5c]
mov dword [ecx*4 + 0x1023e1d4], eax
movq xmm0, qword [edi + esi + 0x15]
movq qword [ebx + 0x38], xmm0
mov ax, word [edi + esi + 0x1d]
mov word [ebx + 0x40], ax
lea eax, [esi + 0x24]
push 0
add eax, edi
mov byte [ebx + 0x42], 0
push 0
push eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.10084660
mov al, byte [edi + esi + 0x35]
add esp, 0x10
mov byte [ebx + 0x18], al
cmp dword [0x102c4e58], 1
jne 0x1005aca0
mov eax, dword [edi + esi + 0x38]
test eax, eax
jle 0x1005aca0
add eax, 0x1fad
push ebx
mov word [ebx + 0x23c], ax
call fcn.1003f880
movzx eax, byte [edi + esi + 0x14]
cmp eax, dword [0x1023e354]
jle 0x1005acb2
mov dword [0x1023e354], eax
mov ecx, dword [ebp + 8]
mov edx, 0x591621
movzx eax, byte [esi + 7]
inc ecx
mov dword [ebp + 8], ecx
mov ebx, 0x5910d2
cmp ecx, eax
jl 0x1005ab30
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x8b15884], 0x33
movzx eax, byte [esi + 8]
push eax
mov eax, 0x936aac
call eax
mov edx, 0x94beab
mov ecx, dword [eax + 0x104]
call edx
movzx eax, byte [esi + 9]
mov dword [0x1027cbfc], eax
cmp byte [esi + 0x10], 0
jne 0x1005ad36
push 0x3c
push 0
push 0x1027a27f
mov byte [0x1027a0fd], 1
call fcn.100a23c0
push 0x3c
push 0
push 0x1027a2df
call fcn.100a23c0
add esp, 0x18
mov byte [0x1027a27e], 1
jmp 0x1005ad3d
mov byte [0x1027a0fd], 0
mov eax, dword [esi + 0xc]
pop edi
pop esi
cmp eax, dword [0x102c4bd4]
je 0x1005ad5e
mov dword [0x1023e34c], 1
mov dword [0x8b15884], 0x32
call ebx
mov dword [0x11c4448], eax
pop ebx
mov esp, ebp
pop ebp
ret 4