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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebx + 0x10]
push edi
call fcn.100da7cb
fcomp dword [0x10137490]
fnstsw ax
test ah, 0x44
jp 0x100d7bb6
cmp byte [ebx + 0x229], 0
je 0x100d7b35
lea ecx, [ebx + 0x104]
fld dword [ecx]
lea eax, [ebx + 0x110]
fsub dword [eax]
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x10]
fstp dword [ebp - 0x10]
sub esp, 0xc
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [ebp - 0xc]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x18]
fld1
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100f217f
mov ecx, dword [ebx + 0x10]
fadd dword [0x101391f8]
add esp, 0x14
fld st(0)
fstp dword [esp]
fstp st(0)
call fcn.100da75a
and byte [ebx + 0x229], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor esi, esi
inc esi
cmp eax, esi
jl 0x100d7aeb
cmp eax, 0x3e7
jg 0x100d7aeb
mov eax, dword [ebx + 0xa4]
xor edi, edi
cmp eax, edi
je 0x100d7abc
mov ecx, dword [0x109b242c]
push eax
call fcn.10016263
cmp eax, 0xa
mov dword [ebx + 0xa8], eax
jne 0x100d7a39
push dword [ebx + 0xa4]
fldz
mov dword [ebx + 0x18], 0x15
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
call fcn.100d7280
mov ecx, dword [0x109b242c]
push esi
push edi
push dword [ebx + 4]
lea eax, [ebp - 4]
push edi
push dword [ebx + 0xa4]
push eax
call fcn.1001cd4d
mov dword [ebx + 0xc0], 2
jmp 0x100d7ad8
cmp eax, 0x14
jne 0x100d7b38
push dword [ebx + 0xa4]
fldz
mov dword [ebx + 0x18], 0x16
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
call fcn.100d7280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xb4], eax
mov ecx, dword [0x109be1e0]
lea eax, [ebx + 0xb8]
push eax
push esi
push dword [ebx + 0xa4]
call fcn.10005313
lea edi, [ebx + 0xac]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100d7a9b
mov ecx, dword [0x109b242c]
push eax
call fcn.10016b3f
mov ecx, dword [0x109b242c]
push esi
push esi
push dword [ebx + 4]
push esi
push dword [ebx + 0xa4]
push edi
call fcn.1001cd4d
and dword [ebx + 0xc0], 0
jmp 0x100d7b38
push edi
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 0x14
call fcn.100d7280
mov dword [ebx + 0xc0], esi
mov byte [ebx + 0x2d0], 1
mov dword [ebx + 0x2d4], 0x64
jmp 0x100d7b27
push 0
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 0x14
call fcn.100d7280
lea eax, [ebx + 0x2d4]
push eax
push dword [ebx + 0xa4]
mov dword [ebx + 0xc0], esi
mov byte [ebx + 0x2d0], 1
mov ecx, dword [0x109be1e0]
call fcn.1000527a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x2d8], eax
jmp 0x100d7b38
xor esi, esi
inc esi
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x100d7b7f
cmp eax, 2
je 0x100d7b7f
test eax, eax
jne 0x100d7bb6
cmp byte [0x109be0c0], al
jne 0x100d7bb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x98]
add ecx, 0x3a98
cmp eax, ecx
jle 0x100d7bb6
push 0
fldz
push ecx
fstp dword [esp]
push esi
mov ecx, ebx
mov dword [ebx + 0x18], 3
call fcn.100d7280
jmp 0x100d7bb6
mov eax, dword [ebx]
cmp byte [eax + 0x81], 0
je 0x100d7b95
mov eax, dword [0x109be254]
cmp byte [eax + 0x3b], 0
jne 0x100d7bb6
and dword [ebx + 0x18], 0
fldz
push 0
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.100d7280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x98], eax
pop edi
pop esi
pop ebx
leave
ret 4