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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x107dce8c], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1005171a
mov ax, word [0x107dceb0]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x13], 0
movq qword [ebp - 0x1b], xmm0
mov edx, 0xe
movq xmm0, qword [0x107dcea8]
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x1c], 0x3f30ec1
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
call fcn.100aba10
mov dword [0x107dce90], 1
mov dword [0x107dce8c], 3
call ebx
mov dword [0x107dce88], eax
call ebx
mov dword [0x107dce84], eax
mov dword [0x107dce80], 0x7530
mov dword [0x107dce7c], 0x7530
mov ecx, 0x8793718
mov word [0x1025e768], 0
xorps xmm0, xmm0
mov byte [0x1025e76a], 0
movq qword [0x1025e760], xmm0
push esi
movq xmm0, qword [ecx]
movq qword [0x1025e760], xmm0
mov ax, word [ecx + 8]
mov word [0x1025e768], ax
mov al, byte [ecx + 0xa]
mov ecx, 0x1025e518
push edi
mov byte [0x1025e76a], al
call fcn.10050830
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 0x100517a0
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 0x100517e6
mov eax, dword [0x1025e51c]
mov dword [0xe61e18], eax
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp byte [esi + 7], cl
jbe 0x10051aa8
mov edx, 0x587380
mov ebx, 0x586da0
nop
cmp ecx, dword [0x102bc2ac]
jge 0x10051aa2
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.0x1005182b
jmp dword [eax*4 + 0x10051b50]
movss xmm0, dword [0x1025e544]
movss xmm1, dword [0x1025e548]
movss xmm2, dword [0x1025e54c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
movss xmm0, dword [0x1025e554]
movss xmm1, dword [0x1025e558]
movss xmm2, dword [0x1025e55c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
movss xmm0, dword [0x1025e564]
movss xmm1, dword [0x1025e568]
movss xmm2, dword [0x1025e56c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
movss xmm0, dword [0x1025e574]
movss xmm1, dword [0x1025e578]
movss xmm2, dword [0x1025e57c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
movss xmm0, dword [0x1025e584]
movss xmm1, dword [0x1025e588]
movss xmm2, dword [0x1025e58c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
movss xmm0, dword [0x100e7864]
movss xmm1, dword [0x100e786c]
movss xmm2, dword [0x100e752c]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
jmp 0x10051940
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 0x100519a8
cmp dword [0x102bc24c], 1
jne 0x100519a8
cmp byte [esi + 7], 0
jbe 0x100519a8
movzx eax, byte [edi + esi + 0x14]
mov ecx, 0x1025e518
mov dword [0xe60b4c], eax
movzx eax, byte [edi + esi + 0x14]
push eax
call fcn.10053e90
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x3c]
mov dword [ecx*4 + 0x1025e5e4], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x40]
mov dword [ecx*4 + 0x1025e5e8], eax
movzx eax, byte [edi + esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [edi + esi + 0x44]
mov dword [ecx*4 + 0x1025e5ec], eax
mov ecx, dword [edi + esi + 0x48]
test ecx, ecx
js 0x10051a18
movzx eax, byte [edi + esi + 0x14]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x1025e5f0], ecx
movzx eax, byte [edi + esi + 0x14]
movups xmm0, xmmword [edi + esi + 0x4c]
lea ecx, [eax + eax*8]
movups xmmword [ecx*4 + 0x1025e5f4], xmm0
mov eax, dword [edi + esi + 0x5c]
mov dword [ecx*4 + 0x1025e604], 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.10070b50
mov al, byte [edi + esi + 0x35]
add esp, 0x1c
mov byte [ebx + 0x18], al
cmp dword [0x102bc1cc], 1
jne 0x10051a71
mov eax, dword [edi + esi + 0x38]
test eax, eax
jle 0x10051a71
add eax, 0x1f5a
push ebx
mov word [ebx + 0x22c], ax
call fcn.10043e10
movzx ecx, byte [edi + esi + 0x14]
mov edx, 0x587380
mov eax, dword [0x1025e75c]
mov ebx, 0x586da0
cmp ecx, eax
cmovg eax, ecx
mov ecx, dword [ebp + 8]
mov dword [0x1025e75c], eax
inc ecx
movzx eax, byte [esi + 7]
mov dword [ebp + 8], ecx
cmp ecx, eax
jl 0x10051800
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 [0x102bc308], 1
movzx eax, byte [esi + 9]
mov dword [0x10297264], eax
jne 0x10051b17
cmp byte [esi + 0x10], 0
jne 0x10051b17
push 0x3c
push 0
push 0x1029cf2f
mov byte [0x1029cdad], 1
call fcn.100b99d0
push 0x3c
push 0
push 0x1029cf8f
call fcn.100b99d0
add esp, 0x18
mov byte [0x1029cf2e], 1
jmp 0x10051b1e
mov byte [0x1029cdad], 0
mov eax, dword [esi + 0xc]
pop edi
pop esi
cmp eax, dword [0x102bbf4c]
je 0x10051b3f
mov dword [0x1025e754], 1
mov dword [0x87935a4], 0x32
call ebx
mov dword [0xe8cb30], eax
pop ebx
mov esp, ebp
pop ebp
ret 4