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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x101e0319
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4a7d
call fcn.10090474
mov eax, 0x1022980b
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d4a77
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
push 0x101e3da3
push dword [0x1023c573]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4c0a
call fcn.1002e524
test eax, eax
je 0x100d4aba
call fcn.10031685
test eax, eax
je 0x100d4aba
mov eax, 1
jmp 0x100d4abc
xor eax, eax
test eax, eax
je 0x100d4bfb
cmp dword [0x1023cb47], 0
jne 0x100d4ae5
call fcn.100d53db
test eax, eax
je 0x100d4ae5
mov eax, 1
jmp 0x100d4ae7
xor eax, eax
test eax, eax
je 0x100d4af9
mov dword [0x1023cb47], 1
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d4b12
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d4b3c
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d4bc9
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4bc4
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
jmp 0x100d53d7
push 0x101e3da3
push dword [0x1023c583]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4d97
call fcn.1002e524
test eax, eax
je 0x100d4c47
call fcn.100338d2
test eax, eax
je 0x100d4c47
mov eax, 1
jmp 0x100d4c49
xor eax, eax
test eax, eax
je 0x100d4d88
cmp dword [0x1023cb47], 0
jne 0x100d4c72
call fcn.100d5a1a
test eax, eax
je 0x100d4c72
mov eax, 1
jmp 0x100d4c74
xor eax, eax
test eax, eax
je 0x100d4c86
mov dword [0x1023cb47], 1
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d4c9f
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d4cc9
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d4d56
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4d51
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
jmp 0x100d53d7
push 0x101e3da3
push dword [0x1023c593]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4f24
call fcn.1002e524
test eax, eax
je 0x100d4dd4
call fcn.100849a0
test eax, eax
je 0x100d4dd4
mov eax, 1
jmp 0x100d4dd6
xor eax, eax
test eax, eax
je 0x100d4f15
cmp dword [0x1023cb47], 0
jne 0x100d4dff
call fcn.100d6059
test eax, eax
je 0x100d4dff
mov eax, 1
jmp 0x100d4e01
xor eax, eax
test eax, eax
je 0x100d4e13
mov dword [0x1023cb47], 1
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d4e2c
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d4e56
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d4ee3
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d4ede
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
jmp 0x100d53d7
push 0x101e3da3
push dword [0x1023c5a3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d50bd
call fcn.1002e524
test eax, eax
je 0x100d4f6d
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
call fcn.10092f13
test eax, eax
je 0x100d4f6d
mov eax, 1
jmp 0x100d4f6f
xor eax, eax
test eax, eax
je 0x100d50ae
cmp dword [0x1023cb47], 0
jne 0x100d4f98
call fcn.100d6698
test eax, eax
je 0x100d4f98
mov eax, 1
jmp 0x100d4f9a
xor eax, eax
test eax, eax
je 0x100d4fac
mov dword [0x1023cb47], 1
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d4fc5
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d4fef
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d507c
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d5077
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
jmp 0x100d53d7
push 0x101e3da3
push dword [0x1023c5b3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d524a
call fcn.1002e524
test eax, eax
je 0x100d50fa
call fcn.10085bba
test eax, eax
je 0x100d50fa
mov eax, 1
jmp 0x100d50fc
xor eax, eax
test eax, eax
je 0x100d523b
cmp dword [0x1023cb47], 0
jne 0x100d5125
call fcn.100d6cd7
test eax, eax
je 0x100d5125
mov eax, 1
jmp 0x100d5127
xor eax, eax
test eax, eax
je 0x100d5139
mov dword [0x1023cb47], 1
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d5152
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d517c
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d5209
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d5204
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
jmp 0x100d53d7
push 0x101e3da3
push dword [0x1023c5c3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d53d7
call fcn.1002e524
test eax, eax
je 0x100d5287
call fcn.100d7316
test eax, eax
je 0x100d5287
mov eax, 1
jmp 0x100d5289
xor eax, eax
test eax, eax
je 0x100d53cd
cmp dword [0x1023cb47], 0
jne 0x100d52b2
call fcn.100d6059
test eax, eax
je 0x100d52b2
mov eax, 1
jmp 0x100d52b4
xor eax, eax
test eax, eax
je 0x100d52cb
mov dword [0x1023cb47], 1
jmp 0x100d53d7
mov eax, 0x10229814
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100d52e4
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cb4b], 0
jne 0x100d530e
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023cb4b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023cb4b]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 8], eax
fild dword [0x1023c5d3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1022981d]
fstp qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
fcomp qword [0x101e3ad8]
fnstsw ax
test ah, 1
je 0x100d539b
push 0x101e3da3
push dword [0x1023c5d7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100d5396
mov dword [0x1023c35b], 0
mov dword [0x1023c243], 1
jmp 0x100d53d7
mov dword [0x1023c243], 0
mov dword [0x1023cb4b], 0
mov dword [0x1023c577], 0
mov dword [0x1023cb47], 0
call fcn.1002bbd2
jmp 0x100d53d7
mov dword [0x1023cb47], 0
mov esp, ebp
pop ebp
ret