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

Disassembly:
mov eax, 0x10131b7b
call fcn.1011695c
sub esp, 0x140
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x2418]
cmp byte [ecx + 0x78], 1
push esi
mov dword [ebp - 0x10], eax
push edi
jne 0x100d1778
call fcn.100d4a18
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebx + 0x1e0]
dec ecx
je 0x100d1a66
dec ecx
je 0x100d19cb
dec ecx
je 0x100d17cb
dec ecx
jne 0x100d1dad
mov ecx, dword [ebx + 0x1fc]
add ecx, dword [ebx + 0x1f8]
cmp eax, ecx
jle 0x100d1dad
cmp byte [ebx + 0x221], 0
je 0x100d1dad
mov ecx, ebx
call fcn.100d06b3
jmp 0x100d1dad
mov ecx, dword [ebx + 0x1f4]
add ecx, dword [ebx + 0x1f0]
cmp eax, ecx
jle 0x100d1dad
lea edi, [ebx + 0x1e4]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100d17fb
mov ecx, dword [0x109b242c]
push eax
call fcn.10016b3f
or dword [edi], 0xffffffff
mov ecx, dword [0x109be1f0]
xor eax, eax
mov al, byte [0x109be17f]
push eax
push 7
pop edi
push edi
call fcn.10095950
mov ecx, dword [0x109be1f0]
push eax
call fcn.10095b3a
mov ecx, dword [0x109be204]
push eax
push dword [ebx + 0x2424]
xor eax, eax
mov al, byte [0x109be0f4]
push eax
push dword [ebx + 0x2428]
call fcn.100cdd12
mov ecx, dword [0x109be1f0]
push edi
call fcn.10095950
mov ecx, dword [0x109be1f0]
push eax
call fcn.10095b3a
mov ecx, dword [0x109b242c]
push eax
call fcn.10018ae9
test al, al
mov ecx, dword [0x109be1f0]
je 0x100d188b
xor eax, eax
mov al, byte [0x109be17f]
push eax
push edi
call fcn.10095950
mov ecx, dword [0x109be1f0]
push eax
call fcn.10095b3a
push eax
push 0
jmp 0x100d18a8
xor eax, eax
mov al, byte [0x109be17f]
push eax
push 0
push edi
call fcn.10095950
mov ecx, dword [0x109be1f0]
push eax
call fcn.10095b3a
push eax
mov ecx, dword [0x109be204]
xor eax, eax
mov al, byte [0x109be0f4]
push eax
push dword [ebx + 0x2428]
call fcn.100cdd12
and byte [ebx + 0x23d1], 0
call esi
xor edi, edi
mov dword [ebx + 0x1f8], eax
mov eax, dword [ebx + 0x1b8]
inc edi
cmp dword [ebx + 0x1a4], edi
lea esi, [ebx + 0x1fc]
mov dword [esi], eax
jne 0x100d1913
add eax, 0x64
mov dword [ebp - 0x18], eax
mov dword [esi], eax
lea eax, [ebx + 0x1a8]
inc dword [eax]
cmp dword [eax], 4
jl 0x100d1900
mov dword [eax], edi
push dword [eax]
fild dword [ebp - 0x18]
mov dword [ebx + 0x23d4], 0x14
push 0
jmp 0x100d195a
mov ecx, dword [0x109b242c]
push edi
push 0
push dword [ebx + 0x2428]
lea eax, [ebp - 0x40]
push 2
push dword [ebx + 0x154]
push eax
call fcn.1001cd4d
mov ecx, dword [0x109be1e0]
push esi
push edi
push dword [ebx + 0x154]
call fcn.1000532f
fild dword [esi]
push 0
push dword [ebx + 0x154]
mov dword [ebx + 0x23d4], 0x18
fmul dword [0x101440c0]
push ecx
mov ecx, ebx
fstp dword [esp]
push edi
push edi
call fcn.100cf7c5
mov eax, dword [ebx + 0x188]
and byte [ebx + 0x221], 0
test eax, eax
mov dword [ebx + 0x23d4], 0x14
je 0x100d19a9
cmp eax, dword [ebx + 0x2420]
je 0x100d19a9
mov ecx, dword [ebx + 0x2418]
sub esp, 0xc
mov edi, esp
lea esi, [ebx + 0x190]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100d4e0e
cmp dword [ebx + 0x1fc], 0xc8
jg 0x100d19bc
mov ecx, ebx
call fcn.100ce377
mov dword [ebx + 0x1e0], 4
jmp 0x100d1dad
mov ecx, dword [ebx + 0x1ec]
add ecx, dword [ebx + 0x1e8]
cmp eax, ecx
jle 0x100d1dad
call esi
lea esi, [ebx + 0x1f4]
and dword [esi], 0
cmp dword [ebx + 0x1a4], 2
mov dword [ebx + 0x1f0], eax
jne 0x100d1a57
mov ecx, dword [0x109be1e0]
push esi
xor edi, edi
inc edi
push edi
push dword [ebx + 0x154]
call fcn.10005313
cmp dword [esi], 0
jle 0x100d1a36
push 0
fldz
push dword [ebx + 0x154]
mov dword [ebx + 0x23d4], 0x16
push ecx
fstp dword [esp]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.100cf7c5
mov ecx, dword [0x109b242c]
push edi
push edi
push dword [ebx + 0x2428]
lea eax, [ebx + 0x1e4]
push edi
push dword [ebx + 0x154]
push eax
call fcn.1001cd4d
mov dword [ebx + 0x1e0], 3
jmp 0x100d1dad
mov eax, dword [ebx + 0x23fc]
mov ecx, dword [ebx + 0x23f8]
mov dword [ebp - 0x38], eax
mov eax, ecx
and eax, 0x100
xor edx, edx
or eax, edx
jne 0x100d1da4
and ecx, 0x200
xor eax, eax
or ecx, eax
jne 0x100d1da4
mov ecx, ebx
call fcn.100d01c8
cmp byte [ebx + 0x185], 0
jne 0x100d1dad
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebx + 0x2420]
je 0x100d1ae4
cmp byte [ebx + 0x15e], 0
jne 0x100d1ae4
cmp dword [ebx + 0x158], 0xcbd
je 0x100d1ae4
mov ecx, dword [0x109be1d8]
push eax
call fcn.100db4c5
test al, al
jne 0x100d1ae4
push 8
jmp 0x100d1da6
mov ecx, ebx
call fcn.100d167a
mov ecx, dword [ebx + 0x2418]
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebx + 0x190]
call fcn.100d4a90
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.100ce204
test eax, eax
je 0x100d1b80
lea ecx, [ebp - 0x14c]
call fcn.1010f720
and dword [ebp - 4], 0
lea eax, [ebp - 0x14c]
push eax
push 0x45c
mov ecx, ebx
call fcn.100d124f
sub esp, 0x100
lea eax, [ebp - 0x14c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.1010f730
mov ecx, dword [0x109be188]
push 0xa
call fcn.100effb7
push 9
mov ecx, ebx
call fcn.100cff53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.1010f440
jmp 0x100d1dad
and byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
cmp dword [ebx + 0x1a4], 2
lea esi, [ebx + 0x1ec]
mov dword [ebx + 0x1e8], eax
mov dword [esi], edi
jne 0x100d1d2c
mov ecx, dword [0x109be1e0]
push esi
push 1
push dword [ebx + 0x154]
call fcn.100052fa
add dword [esi], 0x64
mov esi, dword [esi]
add esi, 0x64
mov dword [ebp - 0x1c], esi
fild dword [ebp - 0x1c]
push edi
push dword [ebx + 0x154]
xor esi, esi
fmul dword [0x101440c0]
push ecx
inc esi
mov ecx, ebx
fstp dword [esp]
push esi
push esi
mov dword [ebx + 0x23d4], 0x15
call fcn.100cf7c5
mov ecx, dword [0x109b242c]
push esi
push edi
push dword [ebx + 0x2428]
lea eax, [ebp - 0x38]
push edi
push dword [ebx + 0x154]
push eax
call fcn.1001cd4d
mov ecx, dword [0x109be1e0]
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebx + 0x154]
call fcn.100053bb
mov eax, dword [ebp - 0x18]
cmp eax, 2
je 0x100d1c43
cmp eax, 0xe
je 0x100d1c43
cmp eax, 0xf
je 0x100d1c43
cmp eax, 0x10
je 0x100d1c43
cmp eax, 0x11
mov dword [ebp - 0x18], edi
jne 0x100d1c46
mov dword [ebp - 0x18], esi
push dword [ebx + 0x154]
mov ecx, dword [0x109b242c]
call fcn.10016206
cmp eax, 4
je 0x100d1c6b
cmp eax, 5
je 0x100d1c6b
cmp eax, 6
je 0x100d1c6b
cmp dword [ebp - 0x18], esi
jne 0x100d1c6f
mov byte [ebp - 0x11], 1
cmp byte [0x109be0be], 0
je 0x100d1d2c
cmp eax, 3
je 0x100d1c8f
cmp eax, 5
je 0x100d1c8f
cmp eax, 6
jne 0x100d1d2c
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.100ce9fe
fld dword [ebx + 0x148]
fmul qword [0x101440b8]
mov eax, dword [ebp - 0x34]
sub esp, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
fadd dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov edi, esp
fstp dword [ebp - 0x24]
fld dword [0x101391fc]
lea esi, [ebp - 0x28]
fstp dword [esp + 0x10]
mov ecx, 0x109bee18
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.100dec06
mov eax, dword [ebp - 0x2c]
fld dword [ebp - 0x34]
sub esp, 0x14
fadd dword [0x10139b9c]
mov dword [ebp - 0x20], eax
mov edi, esp
lea esi, [ebp - 0x28]
fstp dword [ebp - 0x28]
mov ecx, 0x109bee18
fld dword [ebx + 0x148]
fmul qword [0x101440b0]
fadd dword [ebp - 0x30]
fstp dword [ebp - 0x24]
fld dword [0x101391fc]
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.100deba8
xor edi, edi
mov eax, dword [ebx + 0x188]
cmp eax, edi
je 0x100d1d57
cmp eax, dword [ebx + 0x2420]
je 0x100d1d57
mov ecx, dword [ebx + 0x2418]
sub esp, 0xc
mov edi, esp
lea esi, [ebx + 0x190]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100d4e0e
push 1
sub esp, 0xc
cmp byte [ebp - 0x11], 0
mov ecx, ebx
mov edi, esp
jne 0x100d1d82
push dword [ebx + 0x188]
lea esi, [ebx + 0x190]
push dword [ebx + 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100ceff2
jmp 0x100d1d98
lea esi, [ebx + 0x12c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebx + 0x154]
movsd dword es:[edi], dword [esi]
call fcn.100cf081
mov dword [ebx + 0x1e0], 2
jmp 0x100d1dad
push 7
mov ecx, ebx
call fcn.100cff53
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
call fcn.10115a7a
pop edi
pop esi
pop ebx
leave
ret
push esi
mov esi, ecx
cmp byte [esi + 0x184], 0
je 0x100d37e1
cmp byte [esi + 0x139], 1
jne 0x100d379b
call fcn.100d2054
mov eax, dword [esi + 0x23d4]
cmp eax, 7
je 0x100d37e1
test eax, eax
je 0x100d37b9
cmp eax, 1
je 0x100d37b9
cmp eax, 2
je 0x100d37b9
cmp eax, 3
jne 0x100d37d0
mov ecx, esi
call fcn.100d01c8
cmp byte [esi + 0x185], 1
jne 0x100d37d0
mov ecx, esi
call fcn.100d04b5
cmp byte [esi + 0x185], 0
jne 0x100d37e1
mov ecx, esi
pop esi
jmp 0x100d1747
pop esi
ret