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

Disassembly:
mov eax, 0x1018532f
call fcn.10166ba4
sub esp, 0x140
mov eax, dword [0x101cb280]
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 0x10113a6c
call fcn.101173ab
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebx + 0x1d8]
dec ecx
je 0x10113d63
dec ecx
je 0x10113cc8
dec ecx
je 0x10113abf
dec ecx
jne 0x10114101
mov ecx, dword [ebx + 0x1f4]
add ecx, dword [ebx + 0x1f0]
cmp eax, ecx
jle 0x10114101
cmp byte [ebx + 0x219], 0
je 0x10114101
mov ecx, ebx
call fcn.10112368
jmp 0x10114101
mov ecx, dword [ebx + 0x1ec]
add ecx, dword [ebx + 0x1e8]
cmp eax, ecx
jle 0x10114101
lea edi, [ebx + 0x1dc]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10113aef
mov ecx, dword [0x10a139cc]
push eax
call fcn.100186b9
or dword [edi], 0xffffffff
mov ecx, dword [0x10a1f6d0]
xor eax, eax
mov al, byte [0x10a1f65f]
push eax
push 7
pop edi
push edi
call fcn.100b8364
mov ecx, dword [0x10a1f6d0]
push eax
call fcn.100b854e
mov ecx, dword [0x10a1f6e4]
push eax
push dword [ebx + 0x242c]
xor eax, eax
mov al, byte [0x10a1f5c4]
push eax
push dword [ebx + 0x2430]
call fcn.1010f121
mov ecx, dword [0x10a1f6d0]
push edi
call fcn.100b8364
mov ecx, dword [0x10a1f6d0]
push eax
call fcn.100b854e
mov ecx, dword [0x10a139cc]
push eax
call fcn.1001a772
test al, al
mov ecx, dword [0x10a1f6d0]
je 0x10113b7f
xor eax, eax
mov al, byte [0x10a1f65f]
push eax
push edi
call fcn.100b8364
mov ecx, dword [0x10a1f6d0]
push eax
call fcn.100b854e
push eax
push 0
jmp 0x10113b9c
xor eax, eax
mov al, byte [0x10a1f65f]
push eax
push 0
push edi
call fcn.100b8364
mov ecx, dword [0x10a1f6d0]
push eax
call fcn.100b854e
push eax
mov ecx, dword [0x10a1f6e4]
xor eax, eax
mov al, byte [0x10a1f5c4]
push eax
push dword [ebx + 0x2430]
call fcn.1010f121
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 0x10113c0d
add eax, 0x64
mov dword [ebp - 0x118], eax
mov dword [esi], eax
lea eax, [ebx + 0x1a0]
inc dword [eax]
cmp dword [eax], 4
jl 0x10113bf7
mov dword [eax], edi
push dword [eax]
fild dword [ebp - 0x118]
mov dword [ebx + 0x23cc], 0x14
push 0
jmp 0x10113c57
mov ecx, dword [0x10a139cc]
push edi
push 0
push dword [ebx + 0x2430]
lea eax, [ebp - 0x140]
push 2
push dword [ebx + 0x14c]
push eax
call fcn.1001ef1a
mov ecx, dword [0x10a1f6c0]
push esi
push edi
push dword [ebx + 0x14c]
call fcn.10004cfd
fild dword [esi]
push 0
push dword [ebx + 0x14c]
mov dword [ebx + 0x23cc], 0x18
fmul dword [0x1019b6c8]
push ecx
mov ecx, ebx
fstp dword [esp]
push edi
push edi
call fcn.1011122f
mov eax, dword [ebx + 0x180]
test eax, eax
mov dword [ebx + 0x23cc], 0x14
mov byte [ebx + 0x219], 0
je 0x10113ca6
cmp eax, dword [ebx + 0x2428]
je 0x10113ca6
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.10117837
cmp dword [ebx + 0x1f4], 0xc8
jg 0x10113cb9
mov ecx, ebx
call fcn.1010f6cf
mov dword [ebx + 0x1d8], 4
jmp 0x10114101
mov ecx, dword [ebx + 0x1e4]
add ecx, dword [ebx + 0x1e0]
cmp eax, ecx
jle 0x10114101
call esi
lea esi, [ebx + 0x1ec]
and dword [esi], 0
cmp dword [ebx + 0x19c], 2
mov dword [ebx + 0x1e8], eax
jne 0x10113d54
mov ecx, dword [0x10a1f6c0]
push esi
xor edi, edi
inc edi
push edi
push dword [ebx + 0x14c]
call fcn.10004ce4
cmp dword [esi], 0
jle 0x10113d33
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.1011122f
mov ecx, dword [0x10a139cc]
push edi
push edi
push dword [ebx + 0x2430]
lea eax, [ebx + 0x1dc]
push edi
push dword [ebx + 0x14c]
push eax
call fcn.1001ef1a
mov dword [ebx + 0x1d8], 3
jmp 0x10114101
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 0x101140f8
and ecx, 0x200
xor eax, eax
or ecx, eax
jne 0x101140f8
mov ecx, ebx
call fcn.10111df4
cmp byte [ebx + 0x17d], 0
jne 0x10114101
mov eax, dword [ebx + 0x180]
cmp eax, dword [ebx + 0x2428]
je 0x10113de4
cmp byte [ebx + 0x156], 0
jne 0x10113de4
cmp dword [ebx + 0x150], 0xcbd
je 0x10113de4
mov ecx, dword [0x10a1f6b8]
push eax
call fcn.1011f37d
test al, al
jne 0x10113de4
push 8
jmp 0x101140fa
mov ecx, ebx
call fcn.1011396e
mov ecx, dword [ebx + 0x2420]
lea eax, [ebp - 0x14c]
push eax
lea esi, [ebx + 0x188]
call fcn.10117426
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.1010f55c
test eax, eax
je 0x10113e86
lea ecx, [ebp - 0x110]
call fcn.101521d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
push 0x45c
mov ecx, ebx
call fcn.1011303e
sub esp, 0x100
lea eax, [ebp - 0x110]
mov ecx, esp
mov dword [ebp - 0x11c], esp
push eax
call fcn.101521f0
mov ecx, dword [0x10a1f668]
push 0xa
call fcn.1013b320
push 9
mov ecx, ebx
call fcn.10111b7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.101521c0
jmp 0x10114101
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 0x1011407d
mov ecx, dword [0x10a1f6c0]
push esi
push 1
push dword [ebx + 0x14c]
call fcn.10004ccb
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 [0x1019b6c8]
push ecx
inc esi
mov ecx, ebx
fstp dword [esp]
push esi
push esi
mov dword [ebx + 0x23cc], 0x15
call fcn.1011122f
mov ecx, dword [0x10a139cc]
push esi
push edi
push dword [ebx + 0x2430]
lea eax, [ebp - 0x138]
push edi
push dword [ebx + 0x14c]
push eax
call fcn.1001ef1a
mov ecx, dword [0x10a1f6c0]
lea eax, [ebp - 0x118]
push eax
push esi
push dword [ebx + 0x14c]
call fcn.10004d9f
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x10113f5e
cmp eax, 0xe
je 0x10113f5e
cmp eax, 0xf
je 0x10113f5e
cmp eax, 0x10
je 0x10113f5e
cmp eax, 0x11
mov dword [ebp - 0x118], edi
jne 0x10113f64
mov dword [ebp - 0x118], esi
push dword [ebx + 0x14c]
mov ecx, dword [0x10a139cc]
call fcn.10017d50
cmp eax, 4
je 0x10113f8c
cmp eax, 5
je 0x10113f8c
cmp eax, 6
je 0x10113f8c
cmp dword [ebp - 0x118], esi
jne 0x10113f93
mov byte [ebp - 0x111], 1
cmp byte [0x10a1f57e], 0
je 0x1011407d
cmp eax, 3
je 0x10113fb3
cmp eax, 5
je 0x10113fb3
cmp eax, 6
jne 0x1011407d
lea eax, [ebp - 0x134]
push eax
mov ecx, ebx
call fcn.1010fe57
fld dword [ebx + 0x140]
fmul qword [0x1019b6c0]
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 [0x1018f9c8]
mov ecx, 0x10a20350
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.10127ec5
mov eax, dword [ebp - 0x12c]
fld dword [ebp - 0x134]
sub esp, 0x14
fadd dword [0x10190520]
mov dword [ebp - 0x120], eax
mov edi, esp
lea esi, [ebp - 0x128]
fstp dword [ebp - 0x128]
mov ecx, 0x10a20350
fld dword [ebx + 0x140]
fmul qword [0x1019b6b8]
fadd dword [ebp - 0x130]
fstp dword [ebp - 0x124]
fld dword [0x1018f9c8]
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.10127e69
xor edi, edi
mov eax, dword [ebx + 0x180]
cmp eax, edi
je 0x101140a8
cmp eax, dword [ebx + 0x2428]
je 0x101140a8
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.10117837
push 1
sub esp, 0xc
cmp byte [ebp - 0x111], 0
mov ecx, ebx
mov edi, esp
jne 0x101140d6
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.1011054e
jmp 0x101140ec
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.101105dd
mov dword [ebx + 0x1d8], 2
jmp 0x10114101
push 7
mov ecx, ebx
call fcn.10111b7f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10165cbe
pop edi
pop esi
pop ebx
leave
ret
push esi
mov esi, ecx
cmp byte [esi + 0x17c], 0
je 0x10115d15
cmp byte [esi + 0x13d], 1
jne 0x10115ccf
call fcn.1011440e
mov eax, dword [esi + 0x23cc]
cmp eax, 7
je 0x10115d15
test eax, eax
je 0x10115ced
cmp eax, 1
je 0x10115ced
cmp eax, 2
je 0x10115ced
cmp eax, 3
jne 0x10115d04
mov ecx, esi
call fcn.10111df4
cmp byte [esi + 0x17d], 1
jne 0x10115d04
mov ecx, esi
call fcn.10112100
cmp byte [esi + 0x17d], 0
jne 0x10115d15
mov ecx, esi
pop esi
jmp 0x10113a3b
pop esi
ret