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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10824f08], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1005e90a
mov ax, word [0x10824f28]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x13], 0
movq qword [ebp - 0x1b], xmm0
mov edx, 0xe
movq xmm0, qword [0x10824f20]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x1c], 0x3f30ec1
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
call fcn.100c4ca0
mov dword [0x10824f0c], 1
mov dword [0x10824f08], 3
call ebx
mov dword [0x10824f04], eax
call ebx
mov dword [0x10824f00], eax
mov dword [0x10824efc], 0x7530
mov dword [0x10824ef8], 0x7530
mov ecx, 0x8793718
mov word [0x1027e8dc], 0
xorps xmm0, xmm0
mov byte [0x1027e8de], 0
movq qword [0x1027e8d4], xmm0
push esi
movq xmm0, qword [ecx]
movq qword [0x1027e8d4], xmm0
mov ax, word [ecx + 8]
mov word [0x1027e8dc], ax
mov al, byte [ecx + 0xa]
mov ecx, 0x1027e688
push edi
mov byte [0x1027e8de], al
call fcn.1005d9f0
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 0x1005e990
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 0x1005e9d6
mov eax, dword [0x1027e68c]
mov dword [0xe61e18], eax
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp byte [esi + 7], cl
jbe 0x1005ec96
mov edx, 0x587380
mov ebx, 0x586da0
nop
cmp ecx, dword [0x102df8b0]
jge 0x1005ec90
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.0x1005ea1b
jmp dword [eax*4 + 0x1005ed3c]
movss xmm0, dword [0x1027e6b4]
movss xmm1, dword [0x1027e6b8]
movss xmm2, dword [0x1027e6bc]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
movss xmm0, dword [0x1027e6c4]
movss xmm1, dword [0x1027e6c8]
movss xmm2, dword [0x1027e6cc]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
movss xmm0, dword [0x1027e6d4]
movss xmm1, dword [0x1027e6d8]
movss xmm2, dword [0x1027e6dc]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
movss xmm0, dword [0x1027e6e4]
movss xmm1, dword [0x1027e6e8]
movss xmm2, dword [0x1027e6ec]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
movss xmm0, dword [0x1027e6f4]
movss xmm1, dword [0x1027e6f8]
movss xmm2, dword [0x1027e6fc]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
movss xmm0, dword [0x1010231c]
movss xmm1, dword [0x10102324]
movss xmm2, dword [0x10101fb4]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005eb30
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 0x1005eb98
cmp dword [0x102df850], 1
jne 0x1005eb98
cmp byte [esi + 7], 0
jbe 0x1005eb98
movzx eax, byte [edi + esi + 0x14]
mov ecx, 0x1027e688
mov dword [0xe60b4c], eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.100611f0
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x3c]
mov dword [ecx*4 + 0x1027e754], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x40]
mov dword [ecx*4 + 0x1027e758], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x44]
mov dword [ecx*4 + 0x1027e75c], eax
mov ecx, dword [edi + esi + 0x48]
test ecx, ecx
js 0x1005ec08
movzx eax, byte [edi + esi + 0x14]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x1027e760], ecx
movzx eax, byte [edi + esi + 0x14]
movups xmm0, xmmword [edi + esi + 0x4c]
lea ecx, [eax + eax*8]
movups xmmword [ecx*4 + 0x1027e764], xmm0
mov eax, dword [edi + esi + 0x5c]
mov dword [ecx*4 + 0x1027e774], 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.1007f710
mov al, byte [edi + esi + 0x35]
add esp, 0x1c
mov byte [ebx + 0x18], al
cmp dword [0x102df7d0], 1
jne 0x1005ec61
mov eax, dword [edi + esi + 0x38]
test eax, eax
jle 0x1005ec61
add eax, 0x1f5a
push ebx
mov word [ebx + 0x22c], ax
call fcn.10046f90
movzx eax, byte [edi + esi + 0x14]
cmp eax, dword [0x1027e8d0]
jle 0x1005ec73
mov dword [0x1027e8d0], 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 0x1005e9f0
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 [0x102df90c], 1
movzx eax, byte [esi + 9]
mov dword [0x102ba774], eax
jne 0x1005ed05
cmp byte [esi + 0x10], 0
jne 0x1005ed05
push 0x3c
push 0
push 0x102c04ff
mov byte [0x102c037d], 1
call fcn.100d29b0
push 0x3c
push 0
push 0x102c055f
call fcn.100d29b0
add esp, 0x18
mov byte [0x102c04fe], 1
jmp 0x1005ed0c
mov byte [0x102c037d], 0
mov eax, dword [esi + 0xc]
pop edi
pop esi
cmp eax, dword [0x102df54c]
je 0x1005ed2d
mov dword [0x1027e8c8], 1
mov dword [0x87935a4], 0x32
call ebx
mov dword [0xe8cb30], eax
pop ebx
mov esp, ebp
pop ebp
ret 4