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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10824ef8], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1005e9aa
mov ax, word [0x10824f18]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x13], 0
movq qword [ebp - 0x1b], xmm0
mov edx, 0xe
movq xmm0, qword [0x10824f10]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x1c], 0x3f30ec1
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
call fcn.100c4b10
mov dword [0x10824efc], 1
mov dword [0x10824ef8], 3
call ebx
mov dword [0x10824ef4], eax
call ebx
mov dword [0x10824ef0], eax
mov dword [0x10824eec], 0x7530
mov dword [0x10824ee8], 0x7530
mov ecx, 0x8793718
mov word [0x1027e8d8], 0
xorps xmm0, xmm0
mov byte [0x1027e8da], 0
movq qword [0x1027e8d0], xmm0
push esi
movq xmm0, qword [ecx]
movq qword [0x1027e8d0], xmm0
mov ax, word [ecx + 8]
mov word [0x1027e8d8], ax
mov al, byte [ecx + 0xa]
mov ecx, 0x1027e688
push edi
mov byte [0x1027e8da], al
call fcn.1005dac0
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 0x1005ea30
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 0x1005ea76
mov eax, dword [0x1027e68c]
mov dword [0xe61e18], eax
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp byte [esi + 7], cl
jbe 0x1005ed36
mov edx, 0x587380
mov ebx, 0x586da0
nop
cmp ecx, dword [0x102df8b0]
jge 0x1005ed30
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.0x1005eabb
jmp dword [eax*4 + 0x1005eddc]
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 0x1005ebd0
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 0x1005ebd0
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 0x1005ebd0
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 0x1005ebd0
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 0x1005ebd0
movss xmm0, dword [0x10102320]
movss xmm1, dword [0x10102328]
movss xmm2, dword [0x10101fc4]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x1005ebd0
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 0x1005ec38
cmp dword [0x102df850], 1
jne 0x1005ec38
cmp byte [esi + 7], 0
jbe 0x1005ec38
movzx eax, byte [edi + esi + 0x14]
mov ecx, 0x1027e688
mov dword [0xe60b4c], eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.10061260
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 0x1005eca8
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.1007f730
mov al, byte [edi + esi + 0x35]
add esp, 0x1c
mov byte [ebx + 0x18], al
cmp dword [0x102df7d0], 1
jne 0x1005ed01
mov eax, dword [edi + esi + 0x38]
test eax, eax
jle 0x1005ed01
add eax, 0x1f5a
push ebx
mov word [ebx + 0x22c], ax
call fcn.100471a0
movzx eax, byte [edi + esi + 0x14]
cmp eax, dword [0x1027e8cc]
jle 0x1005ed13
mov dword [0x1027e8cc], 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 0x1005ea90
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 0x1005eda5
cmp byte [esi + 0x10], 0
jne 0x1005eda5
push 0x3c
push 0
push 0x102c04ff
mov byte [0x102c037d], 1
call fcn.100d2b30
push 0x3c
push 0
push 0x102c055f
call fcn.100d2b30
add esp, 0x18
mov byte [0x102c04fe], 1
jmp 0x1005edac
mov byte [0x102c037d], 0
mov eax, dword [esi + 0xc]
pop edi
pop esi
cmp eax, dword [0x102df54c]
je 0x1005edcd
mov dword [0x1027e8c4], 1
mov dword [0x87935a4], 0x32
call ebx
mov dword [0xe8cb30], eax
pop ebx
mov esp, ebp
pop ebp
ret 4