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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e998
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x10097060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x230], 0
jne 0x1001cc7d
mov ecx, dword [edi + 0x59774]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [edi + 0x18]
push edx
call eax
test eax, eax
jne 0x1001d0e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [edi + 0x5981c]
cmp eax, 0x4e20
jbe 0x1001cca5
call ebx
lea esi, [edi + 0x59804]
mov dword [edi + 0x5981c], eax
call fcn.1001f150
call ebx
sub eax, dword [edi + 0x59820]
cmp eax, 0xdac
jbe 0x1001ccc7
call ebx
lea esi, [edi + 0x59810]
mov dword [edi + 0x59820], eax
call fcn.1001f150
mov eax, dword [edi + 0x59774]
fld dword [eax + 0x24]
fstp dword [ebp - 0x50]
fld dword [eax + 0x20]
fstp dword [ebp - 0x54]
fld dword [eax + 0x28]
mov eax, dword [edi + 0x5977c]
mov ebx, dword [eax]
fstp dword [ebp - 0x4c]
mov dword [ebp - 0x20], ebx
lea ebx, [ebx]
mov esi, dword [edi + 0x5977c]
add edi, 0x59778
cmp edi, edi
je 0x1001cd05
call fcn.10067664
cmp ebx, esi
je 0x1001d0e0
cmp ebx, dword [edi + 4]
jne 0x1001cd17
call fcn.10067664
cmp dword [ebx + 0x20], 0
lea esi, [ebx + 8]
jne 0x1001cd2a
test byte [esi + 0x78], 1
jne 0x1001ce23
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1d0], 0
je 0x1001cd4d
cmp ebx, dword [edi + 4]
jne 0x1001cd40
call fcn.10067664
test dword [ebx + 0x7c], 0x4000000
jne 0x1001ce23
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1d4], 0
je 0x1001cd8e
cmp ebx, dword [edi + 4]
jne 0x1001cd63
call fcn.10067664
test dword [ebx + 0x7c], 0x4000000
je 0x1001cd8e
cmp ebx, dword [edi + 4]
jne 0x1001cd76
call fcn.10067664
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.10064f90
add esp, 8
cmp eax, 1
je 0x1001ce23
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1d8], 0
je 0x1001cdcb
cmp ebx, dword [edi + 4]
jne 0x1001cda4
call fcn.10067664
test dword [ebx + 0x7c], 0x4000000
je 0x1001cdcb
cmp ebx, dword [edi + 4]
jne 0x1001cdb7
call fcn.10067664
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.10064f90
add esp, 8
cmp eax, 2
je 0x1001ce23
cmp ebx, dword [edi + 4]
jne 0x1001cdd5
call fcn.10067664
mov eax, dword [esi + 4]
shl eax, 0xc
shr eax, 0xc
cmp eax, 0x5e9e
je 0x1001ce13
cmp eax, 0x43e2
je 0x1001ce13
cmp eax, 0x612f
je 0x1001ce13
cmp eax, 0x7f0a
je 0x1001ce13
cmp eax, 0x7f20
je 0x1001ce13
cmp eax, 0x43ff
je 0x1001ce13
cmp eax, 0x4400
jne 0x1001d02c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1e4], 0
je 0x1001d02c
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x10085ec8
call fcn.10001a30
mov dword [ebp - 4], 0
cmp ebx, dword [edi + 4]
jne 0x1001ce42
call fcn.10067664
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 sym.kernel.dll_Initialize
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push edx
push eax
call fcn.10065760
add esp, 8
test eax, eax
je 0x1001cea2
mov ecx, eax
mov eax, dword [ecx + 0x968]
test eax, eax
je 0x1001ce9d
test dword [eax + 0xc], 0x100
je 0x1001ce89
mov eax, 1
jmp 0x1001ce9f
test eax, eax
je 0x1001ce9d
test dword [eax + 0xc], 0x200
je 0x1001ce9d
mov eax, 2
jmp 0x1001ce9f
xor eax, eax
mov dword [ebp - 0x18], eax
nop
call sym.kernel.dll_Initialize
cmp ebx, dword [edi + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jne 0x1001ceb8
call fcn.10067664
cmp ebx, dword [edi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
jne 0x1001cec7
call fcn.10067664
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.10016f90
mov edi, dword [ebp + 8]
add edi, 0x59778
add esp, 0x10
cmp ebx, dword [edi + 4]
jne 0x1001cef6
call fcn.10067664
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.1001ca90
test eax, eax
jne 0x1001d0b1
cmp ebx, dword [edi + 4]
jne 0x1001cf17
call fcn.10067664
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.1001cb00
test eax, eax
jne 0x1001d0b1
cmp ebx, dword [edi + 4]
jne 0x1001cf38
call fcn.10067664
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.10023f00
fcomp qword [0x1008b6f0]
fnstsw ax
test ah, 5
jp 0x1001d0b1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x59788]
mov ebx, dword [eax]
add edi, 0x59784
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0x38], edx
je 0x1001cf86
call fcn.10067664
cmp ebx, dword [ebp - 0x38]
je 0x1001cfc7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001cfa0
call fcn.10067664
cmp ebx, dword [edi + 4]
jne 0x1001cfaa
call fcn.10067664
mov eax, dword [esi + 4]
cmp dword [ebx + 0xc], eax
mov ecx, dword [esi]
jne 0x1001cfb9
cmp dword [ebx + 8], ecx
je 0x1001cfc7
cmp ebx, dword [edi + 4]
jne 0x1001cfc3
call fcn.10067664
mov ebx, dword [ebx]
jmp 0x1001cf77
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001cfdc
call fcn.10067664
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 [0x1008b78c]
fnstsw ax
test ah, 0x41
jne 0x1001d04d
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 0x1001d029
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, 0x59778
cmp ebx, dword [eax + 4]
jne 0x1001d03e
call fcn.10067664
mov ecx, dword [ebx]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov ebx, ecx
jmp 0x1001ccf0
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0x40], ecx
je 0x1001d05c
call fcn.10067664
cmp ebx, dword [ebp - 0x40]
jne 0x1001d0ae
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x59774]
mov edx, dword [ecx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x1001d0ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001d08e
call fcn.10067664
mov ebx, dword [edi + 4]
mov edx, dword [ebx + 4]
push edx
push ebx
mov ecx, esi
call fcn.10005d00
mov ecx, edi
mov esi, eax
call fcn.10005db0
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 0x1001d02c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1001d02c
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