Function at 0x100749a2
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10184508]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [ebp - 0x10], xmm0
push edi
mov byte [ebp - 5], bl
call sym.CoreFoundation.dll_CFRetain
lea esi, [edi + 0xc]
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
test byte [edi + 4], 8
pop ecx
pop ecx
je 0x10074b02
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi + 0x44]
cmp eax, dword [ebp - 0x20]
jg 0x10074b02
jl 0x10074a04
mov eax, dword [edi + 0x40]
cmp eax, dword [ebp - 0x24]
ja 0x10074b02
test byte [edi + 8], 1
jne 0x10074b02
mov eax, dword [ebp + 8]
cmp dword [edi + 0x24], eax
jne 0x10074b02
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x54]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x10074a37
push ecx
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x5c]
pop ecx
mov dword [ebp - 0xc], eax
xorps xmm0, xmm0
ucomisd xmm0, qword [edi + 0x38]
lahf
test ah, 0x44
jp 0x10074a4d
xor eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x10074a53
xor eax, eax
mov byte [ebp - 5], bl
inc eax
or word [edi + 8], ax
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov ebx, 0x1018731c
push ebx
call sym.CoreFoundation.dll___CFSpinLock
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x44]
push ebx
mov dword [ebp - 0x28], eax
call sym.CoreFoundation.dll___CFSpinUnlock
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.1007340b
lea eax, [ebx + 8]
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov eax, dword [ebp + 8]
add eax, 8
push eax
mov dword [ebp - 0x1c], eax
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov eax, dword [edi + 0x4c]
add esp, 0x18
mov ebx, dword [ebp - 0x18]
test eax, eax
je 0x10074aae
push ebx
push edi
call eax
pop ecx
pop ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
cmp byte [ebp - 5], 0
je 0x10074ac1
push edi
call sym.CoreFoundation.dll_CFRunLoopTimerInvalidate
pop ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10074acc
push ebx
call eax
pop ecx
push dword [ebp - 0x1c]
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + 8]
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
mov ecx, dword [ebp - 0x28]
xor eax, eax
add esp, 0xc
lea edx, [eax + 1]
mov eax, 0xfffe
and word [edi + 8], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 5], dl
jmp 0x10074b14
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebp - 5]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
test byte [edi + 4], 8
je 0x10074d86
test dl, dl
je 0x10074d86
cmp ecx, dword [edi + 0x44]
jg 0x10074b44
jl 0x10074b32
cmp eax, dword [edi + 0x40]
jae 0x10074b44
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
push ebx
call fcn.1007340b
pop ecx
jmp 0x10074d8c
xorps xmm0, xmm0
xorps xmm1, xmm1
movlpd qword [ebp - 0x24], xmm0
movsd xmm0, qword [edi + 0x38]
comisd xmm1, xmm0
jae 0x10074b81
movsd xmm1, qword [0x10148fd0]
comisd xmm0, xmm1
push ecx
push ecx
jbe 0x10074b7a
movsd qword [esp], xmm1
call fcn.10001839
pop ecx
pop ecx
mov ecx, edx
jmp 0x10074b87
movsd qword [esp], xmm0
jmp 0x10074b6f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
or ebx, 0xffffffff
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov dword [ebp - 0xc], ecx
sub edx, eax
mov dword [ebp - 0x2c], ebx
mov esi, closesocket
mov eax, esi
mov dword [ebp - 0x18], esi
sbb eax, ecx
cmp eax, dword [ebp - 0x28]
jg 0x10074baf
jl 0x10074bf1
cmp edx, dword [ebp - 0x14]
jbe 0x10074bf1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x28]
mov esi, ecx
mov eax, dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], esi
cmp ecx, dword [ebp - 0x20]
jg 0x10074bf1
jl 0x10074bd5
cmp eax, dword [ebp - 0x24]
ja 0x10074bf1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ebx, eax
adc esi, ecx
cmp esi, dword [ebp - 0x20]
jl 0x10074bdb
jg 0x10074beb
cmp ebx, dword [ebp - 0x24]
jbe 0x10074bdb
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], ebx
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10074d36
push eax
call sym.CoreFoundation.dll_CFRetain
push dword [edi + 0x28]
call sym.CoreFoundation.dll_CFSetGetCount
pop ecx
mov ebx, eax
shl eax, 2
pop ecx
call fcn.10003341
mov eax, esp
push eax
push dword [edi + 0x28]
mov dword [ebp - 0x14], eax
call sym.CoreFoundation.dll_CFSetGetValues
xor esi, esi
mov eax, esi
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test ebx, ebx
jle 0x10074c4e
mov edi, dword [ebp - 0x14]
push dword [edi + eax*4]
call sym.CoreFoundation.dll_CFRetain
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
pop ecx
cmp eax, ebx
jl 0x10074c37
mov edi, dword [ebp + 0x10]
lea eax, [edi + 0xc]
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov eax, esi
mov dword [ebp - 0xc], eax
pop ecx
test ebx, ebx
jle 0x10074c91
mov edi, dword [ebp - 0x14]
mov esi, dword [edi + eax*4]
push 0
push esi
push dword [ebp - 0x1c]
call fcn.10074fe2
mov ecx, dword [ebp - 0xc]
push esi
mov dword [edi + ecx*4], eax
call sym.CoreFoundation.dll_CFRelease
mov eax, dword [ebp - 0xc]
add esp, 0x10
inc eax
mov dword [ebp - 0xc], eax
cmp eax, ebx
jl 0x10074c64
mov edi, dword [ebp + 0x10]
xor esi, esi
push 0x1018731c
call sym.CoreFoundation.dll___CFSpinLock
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x44], eax
lea eax, [ebp - 0x24]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
sbb ecx, dword [ebp - 0x20]
push ecx
push eax
call fcn.10001f14
add esp, 8
fstp qword [ebp - 0x10]
call sym.CoreFoundation.dll_CFAbsoluteTimeGetCurrent
mov ecx, esi
fadd qword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
fstp qword [edi + 0x30]
test ebx, ebx
jle 0x10074d05
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x10074cfd
xor eax, eax
inc eax
push eax
push edi
push edx
call fcn.100739a4
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
jl 0x10074ce2
push 0x1018731c
call sym.CoreFoundation.dll___CFSpinUnlock
pop ecx
test ebx, ebx
jle 0x10074d2c
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + esi*4]
add eax, 8
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
inc esi
pop ecx
cmp esi, ebx
jl 0x10074d17
mov edi, dword [ebp + 0x10]
push dword [ebp - 0x1c]
call sym.CoreFoundation.dll_CFRelease
jmp 0x10074d8c
lea eax, [edi + 0xc]
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov dword [esp], 0x1018731c
call sym.CoreFoundation.dll___CFSpinLock
pop ecx
lea eax, [ebp - 0x24]
mov dword [edi + 0x40], ebx
push eax
mov dword [edi + 0x44], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
sub ebx, dword [ebp - 0x24]
sbb esi, dword [ebp - 0x20]
push esi
push ebx
call fcn.10001f14
fstp qword [ebp - 0x10]
call sym.CoreFoundation.dll_CFAbsoluteTimeGetCurrent
fadd qword [ebp - 0x10]
push 0x1018731c
fstp qword [edi + 0x30]
call sym.CoreFoundation.dll___CFSpinUnlock
add esp, 0xc
jmp 0x10074d8d
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
pop ecx
push edi
call sym.CoreFoundation.dll_CFRelease
mov al, byte [ebp - 5]
pop ecx
lea esp, [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000234c
leave
ret