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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100d9018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x103a0310], 1
fldz
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x100a8c27
cmp dword [0xe61e58], 0x550
jl 0x100a8af7
cmp dword [0x103ac164], 0
je 0x100a8a04
fstp st(0)
call edi
sub eax, dword [0x103ac15c]
mov dword [ebp - 0x108], eax
fild dword [ebp - 0x108]
jns 0x100a89e7
fadd dword [0x100d1cd8]
mov eax, dword [0x103ac164]
fmul qword [0x100d2138]
fild dword [0x103ac164]
test eax, eax
jns 0x100a8a02
fadd dword [0x100d1cd8]
fdivp st(1)
fstp dword [ebp - 0x108]
fld dword [0x100d2030]
fcom dword [ebp - 0x108]
fnstsw ax
test ah, 5
jp 0x100a8a25
fstp dword [ebp - 0x108]
jmp 0x100a8a27
fstp st(0)
fld dword [0x100d1dc4]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, 0x790b50
fld dword [0x100d2978]
fstp dword [esp + 8]
fld dword [0x100d1e88]
fstp dword [esp + 4]
fld dword [0x100d2eb8]
fstp dword [esp]
push 0x7a65
call ecx
fld dword [0x100d2070]
fstp dword [esp + 0x10]
add esp, 4
fld dword [ebp - 0x108]
mov edx, 0x790b50
fstp dword [esp + 8]
fld dword [0x100d2eb4]
fstp dword [esp + 4]
fld dword [0x100d2eb0]
fstp dword [esp]
push 0x7a66
call edx
mov eax, dword [0x103ac154]
add esp, 0x14
cmp eax, 3
ja case.default.0x100a8bd7
jmp dword [eax*4 + 0x100a8d78]
push 1
jmp 0x100a8ab9
push 2
jmp 0x100a8ab9
push 3
jmp 0x100a8ab9
push 4
mov ecx, 0x101fb628
call fcn.10030b40
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 3
push 0
push 0xffffffffffffffff
push 0
push 0xa0
push 0x69
lea ecx, [ebp - 0x104]
push 0x15b
push ecx
mov edx, 0x7d04d0
call edx
add esp, 0x28
jmp case.default.0x100a8bd7
cmp dword [0x103ac164], 0
je 0x100a8b3b
fstp st(0)
call edi
sub eax, dword [0x103ac15c]
mov dword [ebp - 0x108], eax
fild dword [ebp - 0x108]
jns 0x100a8b1e
fadd dword [0x100d1cd8]
mov eax, dword [0x103ac164]
fmul qword [0x100d2138]
fild dword [0x103ac164]
test eax, eax
jns 0x100a8b39
fadd dword [0x100d1cd8]
fdivp st(1)
fstp dword [ebp - 0x108]
fld dword [0x100d2030]
fcom dword [ebp - 0x108]
fnstsw ax
test ah, 5
jp 0x100a8b5c
fstp dword [ebp - 0x108]
jmp 0x100a8b5e
fstp st(0)
fld dword [0x100d1dc4]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, 0x790b50
fld dword [0x100d2978]
fstp dword [esp + 8]
fld dword [0x100d1e88]
fstp dword [esp + 4]
fld dword [0x100d2290]
fstp dword [esp]
push 0x7a65
call ecx
fld dword [0x100d2070]
fstp dword [esp + 0x10]
add esp, 4
fld dword [ebp - 0x108]
mov edx, 0x790b50
fstp dword [esp + 8]
fld dword [0x100d2eb4]
fstp dword [esp + 4]
fld dword [0x100d2eac]
fstp dword [esp]
push 0x7a66
call edx
mov eax, dword [0x103ac154]
add esp, 0x14
cmp eax, 3
ja case.default.0x100a8bd7
jmp dword [eax*4 + 0x100a8d88]
push 1
mov ecx, 0x101fb628
call fcn.10030b40
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 3
push 0
push 0xffffffffffffffff
push 0
push 0xa0
push 0x69
lea ecx, [ebp - 0x104]
push 0xf0
push ecx
mov edx, 0x7d04d0
call edx
add esp, 0x28
jmp case.default.0x100a8bd7
push 2
jmp 0x100a8be0
push 3
jmp 0x100a8be0
push 4
jmp 0x100a8be0
fstp st(0)
cmp dword [0x103a0310], 0
jne case.default.0x100a8d18
cmp dword [0x103ac164], 0
jne 0x100a8c43
fldz
jmp 0x100a8c7c
call edi
sub eax, dword [0x103ac15c]
mov dword [ebp - 0x108], eax
fild dword [ebp - 0x108]
jns 0x100a8c5f
fadd dword [0x100d1cd8]
mov eax, dword [0x103ac164]
fmul qword [0x100d2138]
fild dword [0x103ac164]
test eax, eax
jns 0x100a8c7a
fadd dword [0x100d1cd8]
fdivp st(1)
fstp dword [ebp - 0x108]
fld dword [0x100d2030]
fcom dword [ebp - 0x108]
fnstsw ax
test ah, 5
jp 0x100a8c9d
fstp dword [ebp - 0x108]
jmp 0x100a8c9f
fstp st(0)
fld dword [0x100d1dc4]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, 0x790b50
fld dword [0x100d2978]
fstp dword [esp + 8]
fld dword [0x100d1e88]
fstp dword [esp + 4]
fld dword [0x100d2290]
fstp dword [esp]
push 0x7a65
call ecx
fld dword [0x100d2070]
fstp dword [esp + 0x10]
add esp, 4
fld dword [ebp - 0x108]
mov edx, 0x790b50
fstp dword [esp + 8]
fld dword [0x100d2eb4]
fstp dword [esp + 4]
fld dword [0x100d2eac]
fstp dword [esp]
push 0x7a66
call edx
mov eax, dword [0x103ac154]
add esp, 0x14
cmp eax, 3
ja case.default.0x100a8d18
jmp dword [eax*4 + 0x100a8d98]
push 1
jmp 0x100a8d2d
push 2
jmp 0x100a8d2d
push 3
jmp 0x100a8d2d
push 4
mov ecx, 0x101fb628
call fcn.10030b40
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 3
push 0
push 0xffffffffffffffff
push 0
push 0xa0
push 0x69
lea ecx, [ebp - 0x104]
push 0xf0
push ecx
mov edx, 0x7d04d0
call edx
add esp, 0x28
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100c06a6
mov esp, ebp
pop ebp
ret