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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029743b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
cmp dword [eax], 0
je 0x1017e77f
push 0xc
lea ecx, [ebp - 0x38]
call fcn.1008f800
lea ecx, [ebp - 0x38]
call fcn.10062f40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push eax
push ecx
push 0x8000
mov dword [ebp - 0x88], 0
call fcn.100632e0
mov edi, 4
mov ecx, esi
push edi
call fcn.1017dc10
test al, al
je 0x1017e770
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], ecx
cmp byte [esi + 0xd4], cl
jne 0x1017e61e
mov edi, dword [esi + 0x30]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x18], 0
and eax, dword [esi + 0x34]
mov ecx, 0x8000
mov dword [ebp - 0x1c], 0x8000
cmp eax, 0xffffffff
je 0x1017e4e0
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x2c]
jb 0x1017e244
ja 0x1017e23a
cmp edi, dword [esi + 0x28]
jb 0x1017e244
mov ecx, edi
mov edx, eax
sub ecx, dword [esi + 0x28]
sbb edx, dword [esi + 0x2c]
mov eax, ecx
or eax, edx
jne 0x1017e4cf
mov dword [ebp - 0x14], eax
mov ecx, esi
lea eax, [ebp - 0x14]
push eax
call fcn.1017db30
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
je 0x1017e66a
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x1c], edx
lea edx, [esi + 0x18]
push edx
push dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x1017e3d8
mov ecx, dword [esi + 0x20]
add ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x24]
adc eax, dword [esi + 0x34]
cmp eax, dword [ebp - 0x1c]
jb 0x1017e3d8
ja 0x1017e2b3
cmp ecx, edi
jb 0x1017e3d8
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov edx, dword [eax]
call fcn.10063040
mov ecx, eax
lea edi, [ebp - 0x20]
mov eax, dword [edx]
push edi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push edi
mov eax, dword [eax + 0x1c]
push 0x8000
push dword [ecx]
mov ecx, edx
call eax
cmp eax, 1
mov eax, dword [ebp - 0x18]
jne 0x1017e2fb
test eax, eax
je 0x1017e66a
test eax, eax
je 0x1017e66a
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x84], ecx
call edi
sub eax, dword [ebp - 0x80]
cmp eax, 0x7d0
jbe 0x1017e32a
call edi
lea ecx, [esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e66a
movups xmm0, xmmword [esi + 0x18]
lea edx, [ebp - 0x58]
push edx
push dword [esi + 0x10]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [esi + 0x28]
movups xmmword [ebp - 0x48], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1017e66a
mov edi, dword [ebp - 0x18]
xor eax, eax
add edi, dword [ebp - 0x48]
adc eax, dword [ebp - 0x44]
add edi, dword [ebp - 0x50]
adc eax, dword [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp edi, eax
jne 0x1017e66a
cmp dword [ebp - 0x88], edx
jne 0x1017e66a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [edx]
push dword [esi + 0x10]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x1017e66a
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [esi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [esi + 0x28], xmm0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e60c
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e60c
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.1017db30
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp ecx, edx
je 0x1017e412
test edx, edx
je 0x1017e403
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e40c
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x1017e425
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e653
mov edx, dword [ebp - 0x1c]
mov eax, edi
and eax, edx
cmp eax, 0xffffffff
je 0x1017e448
sub edi, dword [esi + 0x20]
sbb edx, dword [esi + 0x24]
sub edi, dword [esi + 0x30]
sbb edx, dword [esi + 0x34]
movups xmm0, xmmword [esi + 0x18]
lea eax, [ebp - 0x78]
push eax
movups xmmword [ebp - 0x78], xmm0
push edx
movups xmm0, xmmword [esi + 0x28]
push edi
push dword [esi + 0x10]
movups xmmword [ebp - 0x68], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x1017e63c
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x64]
adc edi, dword [ebp - 0x6c]
cmp ecx, eax
jne 0x1017e635
cmp edi, edx
jne 0x1017e635
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [esi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e60c
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e60c
test edx, edx
ja 0x1017e4e0
jb 0x1017e4dd
cmp ecx, 0x8000
jae 0x1017e4e0
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
mov edx, dword [eax]
call fcn.10063040
lea edi, [ebp - 0x2c]
mov ecx, eax
mov eax, dword [edx]
push edi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
push edi
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
push dword [ecx]
mov ecx, edx
call eax
cmp dword [ebp - 0x18], 0
mov edi, eax
jbe 0x1017e595
xor ecx, ecx
mov dword [ebp - 0x84], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x80]
cmp eax, 0x7d0
jbe 0x1017e540
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, esi
add dword [esi + 0x28], eax
lea eax, [ebp - 0x24]
push eax
adc dword [esi + 0x2c], 0
mov dword [ebp - 0x24], 0
call fcn.1017db30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1017e681
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [edx]
push dword [esi + 0x10]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x1017e681
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1017e595
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 1
jne 0x1017e5ec
mov edx, dword [esi + 0x30]
mov eax, edx
mov ecx, dword [esi + 0x34]
and eax, ecx
cmp eax, 0xffffffff
je 0x1017e6f5
cmp dword [esi + 0x2c], ecx
ja 0x1017e6f5
jb 0x1017e5c1
cmp dword [esi + 0x28], edx
jae 0x1017e6f8
mov edi, dword [ebp - 0x84]
cmp edi, 3
jae 0x1017e698
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1017e5e3
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc edi
mov dword [ebp - 0x84], edi
jmp 0x1017e60c
cmp edi, 0x8000000a
jne 0x1017e604
cmp dword [ebp - 0x18], 0
jne 0x1017e60c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1017e60c
test edi, edi
jne 0x1017e749
cmp byte [esi + 0xd4], 0
je 0x1017e205
mov edi, 4
cmp byte [esi + 0xd4], 0
je 0x1017e763
mov edi, 0x64
jmp 0x1017e768
mov edi, 0x65
jmp 0x1017e641
mov edi, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e61e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e61e
mov edi, 0x64
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e61e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e61e
mov edi, 6
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1017e61e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e61e
mov edi, 0x64
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1017e61e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e61e
cmp dword [ebp - 0x2c], 0
mov edi, 0x68
jne 0x1017e61e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
mov ecx, esi
call fcn.1017db30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1017e6dc
mov edx, dword [ecx]
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x10]
mov eax, dword [edx + 0x24]
call eax
test al, al
mov ecx, 0x69
cmovne edi, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1017e61e
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1017e61e
cmp dword [esi + 0x28], edx
jne 0x1017e709
cmp dword [esi + 0x2c], ecx
jne 0x1017e709
mov edi, 6
jmp 0x1017e61e
cmp dword [ebp - 0x2c], 0
jne 0x1017e73f
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call fcn.100aa5d0
mov ecx, eax
call fcn.100aaf00
mov ecx, dword [ebp - 0x1c]
and ecx, 7
test eax, eax
je 0x1017e73f
test ecx, ecx
je 0x1017e73f
mov edi, 6
jmp 0x1017e61e
mov edi, 0x68
jmp 0x1017e61e
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x30]
jne 0x1017e73f
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x34]
jne 0x1017e73f
mov edi, 6
jmp 0x1017e61e
cmp edi, 4
je 0x1017e770
push edi
mov ecx, esi
call fcn.1017dc10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10062f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret 4