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

Disassembly:
mov eax, 0x1017766e
call fcn.101590a4
sub esp, 0x140
mov eax, dword [0x101b6f10]
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x2420]
cmp byte [ecx + 0x88], 1
push esi
mov dword [ebp - 0x10], eax
push edi
jne 0x1011376b
call fcn.101170aa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebx + 0x1d8]
dec ecx
je 0x10113a62
dec ecx
je 0x101139c7
dec ecx
je 0x101137be
dec ecx
jne 0x10113e00
mov ecx, dword [ebx + 0x1f4]
add ecx, dword [ebx + 0x1f0]
cmp eax, ecx
jle 0x10113e00
cmp byte [ebx + 0x219], 0
je 0x10113e00
mov ecx, ebx
call fcn.10112067
jmp 0x10113e00
mov ecx, dword [ebx + 0x1ec]
add ecx, dword [ebx + 0x1e8]
cmp eax, ecx
jle 0x10113e00
lea edi, [ebx + 0x1dc]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x101137ee
mov ecx, dword [0x109ff66c]
push eax
call fcn.10018826
or dword [edi], 0xffffffff
mov ecx, dword [0x10a0b370]
xor eax, eax
mov al, byte [0x10a0b2ff]
push eax
push 7
pop edi
push edi
call fcn.100b7e26
mov ecx, dword [0x10a0b370]
push eax
call fcn.100b8010
mov ecx, dword [0x10a0b384]
push eax
push dword [ebx + 0x242c]
xor eax, eax
mov al, byte [0x10a0b264]
push eax
push dword [ebx + 0x2430]
call fcn.1010ee01
mov ecx, dword [0x10a0b370]
push edi
call fcn.100b7e26
mov ecx, dword [0x10a0b370]
push eax
call fcn.100b8010
mov ecx, dword [0x109ff66c]
push eax
call fcn.1001a8df
test al, al
mov ecx, dword [0x10a0b370]
je 0x1011387e
xor eax, eax
mov al, byte [0x10a0b2ff]
push eax
push edi
call fcn.100b7e26
mov ecx, dword [0x10a0b370]
push eax
call fcn.100b8010
push eax
push 0
jmp 0x1011389b
xor eax, eax
mov al, byte [0x10a0b2ff]
push eax
push 0
push edi
call fcn.100b7e26
mov ecx, dword [0x10a0b370]
push eax
call fcn.100b8010
push eax
mov ecx, dword [0x10a0b384]
xor eax, eax
mov al, byte [0x10a0b264]
push eax
push dword [ebx + 0x2430]
call fcn.1010ee01
mov byte [ebx + 0x23c9], 0
call esi
xor edi, edi
mov dword [ebx + 0x1f0], eax
mov eax, dword [ebx + 0x1b0]
inc edi
cmp dword [ebx + 0x19c], edi
lea esi, [ebx + 0x1f4]
mov dword [esi], eax
jne 0x1011390c
add eax, 0x64
mov dword [ebp - 0x118], eax
mov dword [esi], eax
lea eax, [ebx + 0x1a0]
inc dword [eax]
cmp dword [eax], 4
jl 0x101138f6
mov dword [eax], edi
push dword [eax]
fild dword [ebp - 0x118]
mov dword [ebx + 0x23cc], 0x14
push 0
jmp 0x10113956
mov ecx, dword [0x109ff66c]
push edi
push 0
push dword [ebx + 0x2430]
lea eax, [ebp - 0x140]
push 2
push dword [ebx + 0x14c]
push eax
call fcn.1001f0a5
mov ecx, dword [0x10a0b360]
push esi
push edi
push dword [ebx + 0x14c]
call fcn.10004e07
fild dword [esi]
push 0
push dword [ebx + 0x14c]
mov dword [ebx + 0x23cc], 0x18
fmul dword [0x1018d5a0]
push ecx
mov ecx, ebx
fstp dword [esp]
push edi
push edi
call fcn.10110f2e
mov eax, dword [ebx + 0x180]
test eax, eax
mov dword [ebx + 0x23cc], 0x14
mov byte [ebx + 0x219], 0
je 0x101139a5
cmp eax, dword [ebx + 0x2428]
je 0x101139a5
mov ecx, dword [ebx + 0x2420]
sub esp, 0xc
mov edi, esp
lea esi, [ebx + 0x188]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10117536
cmp dword [ebx + 0x1f4], 0xc8
jg 0x101139b8
mov ecx, ebx
call fcn.1010f3af
mov dword [ebx + 0x1d8], 4
jmp 0x10113e00
mov ecx, dword [ebx + 0x1e4]
add ecx, dword [ebx + 0x1e0]
cmp eax, ecx
jle 0x10113e00
call esi
lea esi, [ebx + 0x1ec]
and dword [esi], 0
cmp dword [ebx + 0x19c], 2
mov dword [ebx + 0x1e8], eax
jne 0x10113a53
mov ecx, dword [0x10a0b360]
push esi
xor edi, edi
inc edi
push edi
push dword [ebx + 0x14c]
call fcn.10004dee
cmp dword [esi], 0
jle 0x10113a32
push 0
fldz
push dword [ebx + 0x14c]
mov dword [ebx + 0x23cc], 0x16
push ecx
fstp dword [esp]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.10110f2e
mov ecx, dword [0x109ff66c]
push edi
push edi
push dword [ebx + 0x2430]
lea eax, [ebx + 0x1dc]
push edi
push dword [ebx + 0x14c]
push eax
call fcn.1001f0a5
mov dword [ebx + 0x1d8], 3
jmp 0x10113e00
mov eax, dword [ebx + 0x23f4]
mov ecx, dword [ebx + 0x23f0]
mov dword [ebp - 0x138], eax
mov eax, ecx
and eax, 0x100
xor edx, edx
or eax, edx
jne 0x10113df7
and ecx, 0x200
xor eax, eax
or ecx, eax
jne 0x10113df7
mov ecx, ebx
call fcn.10111af3
cmp byte [ebx + 0x17d], 0
jne 0x10113e00
mov eax, dword [ebx + 0x180]
cmp eax, dword [ebx + 0x2428]
je 0x10113ae3
cmp byte [ebx + 0x156], 0
jne 0x10113ae3
cmp dword [ebx + 0x150], 0xcbd
je 0x10113ae3
mov ecx, dword [0x10a0b358]
push eax
call fcn.1011f079
test al, al
jne 0x10113ae3
push 8
jmp 0x10113df9
mov ecx, ebx
call fcn.1011366d
mov ecx, dword [ebx + 0x2420]
lea eax, [ebp - 0x14c]
push eax
lea esi, [ebx + 0x188]
call fcn.10117125
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0xc
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.1010f23c
test eax, eax
je 0x10113b85
lea ecx, [ebp - 0x110]
call fcn.101512c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
push 0x45c
mov ecx, ebx
call fcn.10112d3d
sub esp, 0x100
lea eax, [ebp - 0x110]
mov ecx, esp
mov dword [ebp - 0x11c], esp
push eax
call fcn.101512e0
mov ecx, dword [0x10a0b308]
push 0xa
call fcn.1013b1a1
push 9
mov ecx, ebx
call fcn.1011187e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.101512b0
jmp 0x10113e00
mov byte [ebp - 0x111], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
cmp dword [ebx + 0x19c], 2
lea esi, [ebx + 0x1e4]
mov dword [ebx + 0x1e0], eax
mov dword [esi], edi
jne 0x10113d7c
mov ecx, dword [0x10a0b360]
push esi
push 1
push dword [ebx + 0x14c]
call fcn.10004dd5
add dword [esi], 0x64
mov esi, dword [esi]
add esi, 0x64
mov dword [ebp - 0x11c], esi
fild dword [ebp - 0x11c]
push edi
push dword [ebx + 0x14c]
xor esi, esi
fmul dword [0x1018d5a0]
push ecx
inc esi
mov ecx, ebx
fstp dword [esp]
push esi
push esi
mov dword [ebx + 0x23cc], 0x15
call fcn.10110f2e
mov ecx, dword [0x109ff66c]
push esi
push edi
push dword [ebx + 0x2430]
lea eax, [ebp - 0x138]
push edi
push dword [ebx + 0x14c]
push eax
call fcn.1001f0a5
mov ecx, dword [0x10a0b360]
lea eax, [ebp - 0x118]
push eax
push esi
push dword [ebx + 0x14c]
call fcn.10004ea9
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x10113c5d
cmp eax, 0xe
je 0x10113c5d
cmp eax, 0xf
je 0x10113c5d
cmp eax, 0x10
je 0x10113c5d
cmp eax, 0x11
mov dword [ebp - 0x118], edi
jne 0x10113c63
mov dword [ebp - 0x118], esi
push dword [ebx + 0x14c]
mov ecx, dword [0x109ff66c]
call fcn.10017ebd
cmp eax, 4
je 0x10113c8b
cmp eax, 5
je 0x10113c8b
cmp eax, 6
je 0x10113c8b
cmp dword [ebp - 0x118], esi
jne 0x10113c92
mov byte [ebp - 0x111], 1
cmp byte [0x10a0b21e], 0
je 0x10113d7c
cmp eax, 3
je 0x10113cb2
cmp eax, 5
je 0x10113cb2
cmp eax, 6
jne 0x10113d7c
lea eax, [ebp - 0x134]
push eax
mov ecx, ebx
call fcn.1010fb37
fld dword [ebx + 0x140]
fmul qword [0x1018d598]
mov eax, dword [ebp - 0x134]
sub esp, 0x14
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x12c]
fadd dword [ebp - 0x130]
mov dword [ebp - 0x120], eax
mov edi, esp
fstp dword [ebp - 0x124]
lea esi, [ebp - 0x128]
fld dword [0x10181980]
mov ecx, 0x10a0bff0
fstp dword [esp + 0x10]
fld1
fstp dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x65
movsd dword es:[edi], dword [esi]
call fcn.10127c87
mov eax, dword [ebp - 0x12c]
fld dword [ebp - 0x134]
sub esp, 0x14
fadd dword [0x101824d8]
mov dword [ebp - 0x120], eax
mov edi, esp
lea esi, [ebp - 0x128]
fstp dword [ebp - 0x128]
mov ecx, 0x10a0bff0
fld dword [ebx + 0x140]
fmul qword [0x1018d590]
fadd dword [ebp - 0x130]
fstp dword [ebp - 0x124]
fld dword [0x10181980]
fstp dword [esp + 0x10]
fld1
fstp dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x65
movsd dword es:[edi], dword [esi]
call fcn.10127c2b
xor edi, edi
mov eax, dword [ebx + 0x180]
cmp eax, edi
je 0x10113da7
cmp eax, dword [ebx + 0x2428]
je 0x10113da7
mov ecx, dword [ebx + 0x2420]
sub esp, 0xc
mov edi, esp
lea esi, [ebx + 0x188]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10117536
push 1
sub esp, 0xc
cmp byte [ebp - 0x111], 0
mov ecx, ebx
mov edi, esp
jne 0x10113dd5
push dword [ebx + 0x180]
lea esi, [ebx + 0x188]
push dword [ebx + 0x14c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10110266
jmp 0x10113deb
lea esi, [ebx + 0x130]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebx + 0x14c]
movsd dword es:[edi], dword [esi]
call fcn.101102f5
mov dword [ebx + 0x1d8], 2
jmp 0x10113e00
push 7
mov ecx, ebx
call fcn.1011187e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.101581be
pop edi
pop esi
pop ebx
leave
ret
push esi
mov esi, ecx
cmp byte [esi + 0x17c], 0
je 0x10115a14
cmp byte [esi + 0x13d], 1
jne 0x101159ce
call fcn.1011410d
mov eax, dword [esi + 0x23cc]
cmp eax, 7
je 0x10115a14
test eax, eax
je 0x101159ec
cmp eax, 1
je 0x101159ec
cmp eax, 2
je 0x101159ec
cmp eax, 3
jne 0x10115a03
mov ecx, esi
call fcn.10111af3
cmp byte [esi + 0x17d], 1
jne 0x10115a03
mov ecx, esi
call fcn.10111dff
cmp byte [esi + 0x17d], 0
jne 0x10115a14
mov ecx, esi
pop esi
jmp 0x1011373a
pop esi
ret