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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x101e52e0
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d814e
call fcn.10093e93
mov eax, 0x1023057b
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d8148
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
push 0x101e54f7
push dword [0x10243438]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d82db
call fcn.10031e74
test eax, eax
je 0x100d818b
call fcn.10035039
test eax, eax
je 0x100d818b
mov eax, 1
jmp 0x100d818d
xor eax, eax
test eax, eax
je 0x100d82cc
cmp dword [0x10243a0c], 0
jne 0x100d81b6
call fcn.100d8aac
test eax, eax
je 0x100d81b6
mov eax, 1
jmp 0x100d81b8
xor eax, eax
test eax, eax
je 0x100d81ca
mov dword [0x10243a0c], 1
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d81e3
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d820d
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d829a
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8295
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
jmp 0x100d8aa8
push 0x101e54f7
push dword [0x10243448]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8468
call fcn.10031e74
test eax, eax
je 0x100d8318
call fcn.100373dd
test eax, eax
je 0x100d8318
mov eax, 1
jmp 0x100d831a
xor eax, eax
test eax, eax
je 0x100d8459
cmp dword [0x10243a0c], 0
jne 0x100d8343
call fcn.100d90eb
test eax, eax
je 0x100d8343
mov eax, 1
jmp 0x100d8345
xor eax, eax
test eax, eax
je 0x100d8357
mov dword [0x10243a0c], 1
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d8370
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d839a
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d8427
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8422
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
jmp 0x100d8aa8
push 0x101e54f7
push dword [0x10243458]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d85f5
call fcn.10031e74
test eax, eax
je 0x100d84a5
call fcn.100884ca
test eax, eax
je 0x100d84a5
mov eax, 1
jmp 0x100d84a7
xor eax, eax
test eax, eax
je 0x100d85e6
cmp dword [0x10243a0c], 0
jne 0x100d84d0
call fcn.100d972a
test eax, eax
je 0x100d84d0
mov eax, 1
jmp 0x100d84d2
xor eax, eax
test eax, eax
je 0x100d84e4
mov dword [0x10243a0c], 1
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d84fd
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d8527
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d85b4
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d85af
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
jmp 0x100d8aa8
push 0x101e54f7
push dword [0x10243468]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d878e
call fcn.10031e74
test eax, eax
je 0x100d863e
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
call fcn.10096932
test eax, eax
je 0x100d863e
mov eax, 1
jmp 0x100d8640
xor eax, eax
test eax, eax
je 0x100d877f
cmp dword [0x10243a0c], 0
jne 0x100d8669
call fcn.100d9d69
test eax, eax
je 0x100d8669
mov eax, 1
jmp 0x100d866b
xor eax, eax
test eax, eax
je 0x100d867d
mov dword [0x10243a0c], 1
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d8696
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d86c0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d874d
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8748
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
jmp 0x100d8aa8
push 0x101e54f7
push dword [0x10243478]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d891b
call fcn.10031e74
test eax, eax
je 0x100d87cb
call fcn.10089597
test eax, eax
je 0x100d87cb
mov eax, 1
jmp 0x100d87cd
xor eax, eax
test eax, eax
je 0x100d890c
cmp dword [0x10243a0c], 0
jne 0x100d87f6
call fcn.100da3a8
test eax, eax
je 0x100d87f6
mov eax, 1
jmp 0x100d87f8
xor eax, eax
test eax, eax
je 0x100d880a
mov dword [0x10243a0c], 1
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d8823
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d884d
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d88da
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d88d5
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
jmp 0x100d8aa8
push 0x101e54f7
push dword [0x10243488]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8aa8
call fcn.10031e74
test eax, eax
je 0x100d8958
call fcn.100da9e7
test eax, eax
je 0x100d8958
mov eax, 1
jmp 0x100d895a
xor eax, eax
test eax, eax
je 0x100d8a9e
cmp dword [0x10243a0c], 0
jne 0x100d8983
call fcn.100d972a
test eax, eax
je 0x100d8983
mov eax, 1
jmp 0x100d8985
xor eax, eax
test eax, eax
je 0x100d899c
mov dword [0x10243a0c], 1
jmp 0x100d8aa8
mov eax, 0x10230584
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100d89b5
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243a10], 0
jne 0x100d89df
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243a10], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243a10]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 8], eax
fild dword [0x10243498]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1023058d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e9263]
fnstsw ax
test ah, 1
je 0x100d8a6c
push 0x101e54f7
push dword [0x1024349c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100d8a67
mov dword [0x10243220], 0
mov dword [0x10243108], 1
jmp 0x100d8aa8
mov dword [0x10243108], 0
mov dword [0x10243a10], 0
mov dword [0x1024343c], 0
mov dword [0x10243a0c], 0
call fcn.1002f522
jmp 0x100d8aa8
mov dword [0x10243a0c], 0
mov esp, ebp
pop ebp
ret