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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097db8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100b8070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x224], 0
jne 0x1001baed
mov ecx, dword [edi + 0x5975c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [edi + 0xc]
push edx
call eax
test eax, eax
jne 0x1001bf2f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [edi + 0x59804]
cmp eax, 0x4e20
jbe 0x1001bb15
call ebx
lea esi, [edi + 0x597ec]
mov dword [edi + 0x59804], eax
call fcn.1001d900
call ebx
sub eax, dword [edi + 0x59808]
cmp eax, 0x2710
jbe 0x1001bb37
call ebx
lea esi, [edi + 0x597f8]
mov dword [edi + 0x59808], eax
call fcn.1001d900
mov eax, dword [edi + 0x5975c]
fld dword [eax + 0x34]
fstp dword [ebp - 0x50]
fld dword [eax + 0x30]
fstp dword [ebp - 0x54]
fld dword [eax + 0x38]
mov eax, dword [edi + 0x59764]
mov ebx, dword [eax]
fstp dword [ebp - 0x4c]
mov dword [ebp - 0x20], ebx
lea ebx, [ebx]
mov esi, dword [edi + 0x59764]
add edi, 0x59760
cmp edi, edi
je 0x1001bb75
call fcn.10080d40
cmp ebx, esi
je 0x1001bf2f
cmp ebx, dword [edi + 4]
jne 0x1001bb87
call fcn.10080d40
cmp dword [ebx + 0x20], 0
lea esi, [ebx + 8]
jne 0x1001bb9a
test byte [esi + 0x5c], 1
jne 0x1001bc93
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c4], 0
je 0x1001bbbd
cmp ebx, dword [edi + 4]
jne 0x1001bbb0
call fcn.10080d40
test dword [ebx + 0x60], 0x4000000
jne 0x1001bc93
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c8], 0
je 0x1001bbfe
cmp ebx, dword [edi + 4]
jne 0x1001bbd3
call fcn.10080d40
test dword [ebx + 0x60], 0x4000000
je 0x1001bbfe
cmp ebx, dword [edi + 4]
jne 0x1001bbe6
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.1007e640
add esp, 8
cmp eax, 1
je 0x1001bc93
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1cc], 0
je 0x1001bc3b
cmp ebx, dword [edi + 4]
jne 0x1001bc14
call fcn.10080d40
test dword [ebx + 0x60], 0x4000000
je 0x1001bc3b
cmp ebx, dword [edi + 4]
jne 0x1001bc27
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.1007e640
add esp, 8
cmp eax, 2
je 0x1001bc93
cmp ebx, dword [edi + 4]
jne 0x1001bc45
call fcn.10080d40
mov eax, dword [esi + 4]
shl eax, 0xc
shr eax, 0xc
cmp eax, 0x5e9e
je 0x1001bc83
cmp eax, 0x43e2
je 0x1001bc83
cmp eax, 0x612f
je 0x1001bc83
cmp eax, 0x7f0a
je 0x1001bc83
cmp eax, 0x7f20
je 0x1001bc83
cmp eax, 0x43ff
je 0x1001bc83
cmp eax, 0x4400
jne 0x1001be7b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1d8], 0
je 0x1001be7b
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x100a2f24
call fcn.10003700
mov dword [ebp - 4], 0
cmp ebx, dword [edi + 4]
jne 0x1001bcb2
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0xffffffff
call fcn.1003b6d0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001bd12
mov ecx, eax
mov eax, dword [ecx + 0x91c]
test eax, eax
je 0x1001bd0d
test dword [eax + 0xc], 0x100
je 0x1001bcf9
mov eax, 1
jmp 0x1001bd0f
test eax, eax
je 0x1001bd0d
test dword [eax + 0xc], 0x200
je 0x1001bd0d
mov eax, 2
jmp 0x1001bd0f
xor eax, eax
mov dword [ebp - 0x18], eax
nop
call fcn.1003b6d0
cmp ebx, dword [edi + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jne 0x1001bd28
call fcn.10080d40
cmp ebx, dword [edi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
jne 0x1001bd37
call fcn.10080d40
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi + 4]
push edx
push ecx
push eax
push str.guid_x__x_result_d
lea edi, [ebp - 0x14]
call fcn.10015e10
mov edi, dword [ebp + 8]
add edi, 0x59760
add esp, 0x10
cmp ebx, dword [edi + 4]
jne 0x1001bd66
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.1001b970
test eax, eax
jne 0x1001bf00
cmp ebx, dword [edi + 4]
jne 0x1001bd87
call fcn.10080d40
fld dword [esi + 0xc]
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x60]
lea ecx, [ebp - 0x64]
fld dword [esi + 8]
fstp dword [ebp - 0x64]
fld dword [esi + 0x10]
fstp dword [ebp - 0x5c]
call fcn.10003a50
fcomp qword [0x100a9800]
fnstsw ax
test ah, 5
jp 0x1001bf00
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x59770]
mov ebx, dword [eax]
add edi, 0x5976c
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0x38], edx
je 0x1001bdd5
call fcn.10080d40
cmp ebx, dword [ebp - 0x38]
je 0x1001be16
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, 0x59760
cmp ecx, dword [eax + 4]
jne 0x1001bdef
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001bdf9
call fcn.10080d40
mov eax, dword [esi + 4]
cmp dword [ebx + 0xc], eax
mov ecx, dword [esi]
jne 0x1001be08
cmp dword [ebx + 8], ecx
je 0x1001be16
cmp ebx, dword [edi + 4]
jne 0x1001be12
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001bdc6
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add eax, 0x59760
cmp edx, dword [eax + 4]
jne 0x1001be2b
call fcn.10080d40
fld dword [esi + 0x10]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x4c]
fsub dword [ebp - 0x6c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fabs
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fcomp dword [0x100a98a8]
fnstsw ax
test ah, 0x41
jne 0x1001be9c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001be78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0x59760
cmp ebx, dword [eax + 4]
jne 0x1001be8d
call fcn.10080d40
mov ecx, dword [ebx]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov ebx, ecx
jmp 0x1001bb60
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0x40], ecx
je 0x1001beab
call fcn.10080d40
cmp ebx, dword [ebp - 0x40]
jne 0x1001befd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5975c]
mov edx, dword [ecx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x1001befd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, 0x59760
cmp ecx, dword [eax + 4]
jne 0x1001bedd
call fcn.10080d40
mov ebx, dword [edi + 4]
mov edx, dword [ebx + 4]
push edx
push ebx
mov ecx, esi
call fcn.100051f0
mov ecx, edi
mov esi, eax
call fcn.100052a0
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001be7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1001be7b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4