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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1147840c], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1005fa9a
mov ax, word [0x1147842c]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x13], 0
movq qword [ebp - 0x1b], xmm0
mov edx, 0xe
movq xmm0, qword [0x11478424]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x1c], 0x3f30ec1
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
call fcn.100c6710
mov dword [0x11478410], 1
mov dword [0x1147840c], 3
call ebx
mov dword [0x11478408], eax
call ebx
mov dword [0x11478404], eax
mov dword [0x11478400], 0x7530
mov dword [0x114783fc], 0x7530
mov ecx, 0x8793718
mov word [0x1027f81c], 0
xorps xmm0, xmm0
mov byte [0x1027f81e], 0
movq qword [0x1027f814], xmm0
push esi
movq xmm0, qword [ecx]
movq qword [0x1027f814], xmm0
mov ax, word [ecx + 8]
mov word [0x1027f81c], ax
mov al, byte [ecx + 0xa]
mov ecx, 0x1027f5c8
push edi
mov byte [0x1027f81e], al
call fcn.1005eb60
xorps xmm0, xmm0
mov byte [0x8793748], 0
mov dword [0xe61fd0], 0xffffffff
xor esi, esi
movss dword [ebp - 4], xmm0
mov edi, 0x402bc0
movss dword [ebp - 8], xmm0
mov ebx, 0x96a4c0
movss dword [ebp - 0xc], xmm0
mov byte [0x8793548], 0
nop word [eax + eax]
push esi
call edi
mov ecx, eax
call ebx
push eax
mov eax, 0x63ca90
call eax
inc esi
add esp, 4
cmp esi, 0x190
jl 0x1005fb20
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 5]
push eax
mov eax, 0x4d5130
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
cmp dword [0xe609e8], 4
jne 0x1005fb66
mov eax, dword [0x1027f5cc]
mov dword [0xe61e18], eax
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp byte [esi + 7], cl
jbe 0x1005fe26
mov edx, 0x587380
mov ebx, 0x586da0
nop
cmp ecx, dword [0x102e07f0]
jge 0x1005fe20
imul edi, ecx, 0x4c
movzx eax, byte [edi + esi + 0x23]
push eax
call edx
movzx ecx, al
add esp, 4
movzx eax, byte [edi + esi + 0x14]
cmp eax, 9
ja case.default.0x1005fbab
jmp dword [eax*4 + 0x1005fecc]
movss xmm0, dword [0x1027f5f4]
movss xmm1, dword [0x1027f5f8]
movss xmm2, dword [0x1027f5fc]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm0, dword [0x1027f604]
movss xmm1, dword [0x1027f608]
movss xmm2, dword [0x1027f60c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm0, dword [0x1027f614]
movss xmm1, dword [0x1027f618]
movss xmm2, dword [0x1027f61c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm0, dword [0x1027f624]
movss xmm1, dword [0x1027f628]
movss xmm2, dword [0x1027f62c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm0, dword [0x1027f634]
movss xmm1, dword [0x1027f638]
movss xmm2, dword [0x1027f63c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm0, dword [0x10103370]
movss xmm1, dword [0x10103378]
movss xmm2, dword [0x10103014]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005fcc0
movss xmm2, dword [ebp - 0xc]
movss xmm1, dword [ebp - 8]
movss xmm0, dword [ebp - 4]
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0
push ecx
push eax
call ebx
cmp dword [ebp + 8], 0
mov ebx, eax
mov cx, word [edi + esi + 0x20]
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 0x1005fd28
cmp dword [0x102e0790], 1
jne 0x1005fd28
cmp byte [esi + 7], 0
jbe 0x1005fd28
movzx eax, byte [edi + esi + 0x14]
mov ecx, 0x1027f5c8
mov dword [0xe60b4c], eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.10062380
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x3c]
mov dword [ecx*4 + 0x1027f694], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x40]
mov dword [ecx*4 + 0x1027f698], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x44]
mov dword [ecx*4 + 0x1027f69c], eax
mov ecx, dword [edi + esi + 0x48]
test ecx, ecx
js 0x1005fd98
movzx eax, byte [edi + esi + 0x14]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x1027f6a0], ecx
movzx eax, byte [edi + esi + 0x14]
movups xmm0, xmmword [edi + esi + 0x4c]
lea ecx, [eax + eax*8]
movups xmmword [ecx*4 + 0x1027f6a4], xmm0
mov eax, dword [edi + esi + 0x5c]
mov dword [ecx*4 + 0x1027f6b4], eax
lea eax, [esi + 0x15]
add eax, edi
push 0xa
push eax
lea eax, [ebx + 0x38]
push eax
mov eax, 0x9cf1c0
call eax
push 0
lea eax, [esi + 0x24]
mov byte [ebx + 0x42], 0
add eax, edi
push 0
push eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.100810d0
mov al, byte [edi + esi + 0x35]
add esp, 0x1c
mov byte [ebx + 0x18], al
cmp dword [0x102e0710], 1
jne 0x1005fdf1
mov eax, dword [edi + esi + 0x38]
test eax, eax
jle 0x1005fdf1
add eax, 0x1f5a
push ebx
mov word [ebx + 0x22c], ax
call fcn.10047900
movzx eax, byte [edi + esi + 0x14]
cmp eax, dword [0x1027f810]
jle 0x1005fe03
mov dword [0x1027f810], eax
mov ecx, dword [ebp + 8]
mov edx, 0x587380
movzx eax, byte [esi + 7]
inc ecx
mov dword [ebp + 8], ecx
mov ebx, 0x586da0
cmp ecx, eax
jl 0x1005fb80
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x87935a4], 0x33
movzx eax, byte [esi + 8]
push eax
mov eax, 0x861110
call eax
mov edx, 0x861a80
mov ecx, eax
call edx
mov edx, 0x856bd0
mov ecx, eax
call edx
cmp dword [0x102e084c], 1
movzx eax, byte [esi + 9]
mov dword [0x102bb6b4], eax
jne 0x1005fe95
cmp byte [esi + 0x10], 0
jne 0x1005fe95
push 0x3c
push 0
push 0x102c143f
mov byte [0x102c12bd], 1
call fcn.100d44a0
push 0x3c
push 0
push 0x102c149f
call fcn.100d44a0
add esp, 0x18
mov byte [0x102c143e], 1
jmp 0x1005fe9c
mov byte [0x102c12bd], 0
mov eax, dword [esi + 0xc]
pop edi
pop esi
cmp eax, dword [0x102e048c]
je 0x1005febd
mov dword [0x1027f808], 1
mov dword [0x87935a4], 0x32
call ebx
mov dword [0xe8cb30], eax
pop ebx
mov esp, ebp
pop ebp
ret 4