Function at 0x10075916
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
lea eax, [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esp + 0x58]
xor ecx, ecx
mov eax, dword [ebx + 0x28]
cmp dword [eax + 8], ecx
je 0x10075946
mov eax, dword [ebx + 0x28]
mov dword [eax + 8], ecx
push 2
pop eax
jmp 0x10075e54
cmp byte [ebp + 0x24], cl
je 0x10075950
mov byte [ebp + 0x24], cl
jmp 0x1007593e
push esi
push edi
mov dword [esp + 0x18], ecx
call sym.CoreFoundation.dll__NS_pthread_main_np
push 4
pop edi
test eax, eax
je 0x10075991
push edi
call sym.CoreFoundation.dll__CFGetTSD
pop ecx
test eax, eax
jne 0x10075991
call sym.CoreFoundation.dll_CFRunLoopGetMain
cmp eax, ebx
jne 0x10075991
push dword [ebp + 0x20]
push dword [ebx + 0x34]
call sym.CoreFoundation.dll_CFSetContainsValue
pop ecx
pop ecx
test al, al
je 0x10075991
call dword [0x1018c7f0]
mov dword [esp + 0x18], eax
and dword [esp + 0x14], 0
push 0x10
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movsd xmm1, qword [esp + 0x6c]
xorps xmm0, xmm0
comisd xmm0, xmm1
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
jb 0x100759c1
and dword [esi + 8], 0
and dword [esi + 0xc], 0
jmp 0x10075ac9
movsd xmm0, qword [0x10148fd0]
comisd xmm0, xmm1
jb 0x10075abe
push 2
push 2
call dword [0x1018c80c]
push eax
push 0
push 0
push dword [0x1018c83c]
call dword [0x1018c82c]
push eax
mov dword [esp + 0x30], eax
call dword [0x1018c810]
mov eax, dword [esp + 0x30]
push ebx
mov dword [esi], eax
call sym.CoreFoundation.dll_CFRetain
movsd xmm0, qword [esp + 0x88]
add esp, 0x18
mov dword [esi + 4], eax
movsd qword [esp], xmm0
call fcn.10001839
add eax, dword [esp + 0x30]
push esi
adc edx, dword [esp + 0x38]
push dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
call dword [0x1018c81c]
push 0x10076116
push dword [esp + 0x28]
call dword [0x1018c830]
push 0x10076131
push dword [esp + 0x30]
call dword [0x1018c834]
movsd xmm0, qword [esp + 0x88]
add esp, 0x20
mulsd xmm0, qword [0x1013e408]
push 0
push 0
mulsd xmm0, qword [0x1013e408]
push 0xffffffffffffffff
push 0xffffffffffffffff
addsd xmm0, qword [0x101445a8]
call fcn.100026e9
push 0
push 0x3e8
push edx
push eax
call fcn.10002243
push edx
push eax
push 0
push 0
call dword [0x1018c7e4]
add esp, 0x10
push edx
push eax
push dword [esp + 0x2c]
call dword [0x1018c7f8]
push dword [esp + 0x30]
call dword [0x1018c820]
add esp, 0x20
jmp 0x10075ac9
or dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], getpeername
mov byte [esp + 0x12], 1
mov eax, dword [ebp + 0x3c]
and dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x13], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp + 0x40]
test al, 2
je 0x10075aff
push 2
push ebp
push ebx
call fcn.100744ec
mov eax, dword [ebp + 0x40]
add esp, 0xc
test al, 4
je 0x10075b0e
push edi
push ebp
push ebx
call fcn.100744ec
add esp, 0xc
push ebp
push ebx
call fcn.100742e4
push dword [esp + 0x78]
push ebp
push ebx
call fcn.10074798
add esp, 0x14
mov byte [esp + 0x60], al
test al, al
je 0x10075b38
push ebp
push ebx
call fcn.100742e4
pop ecx
pop ecx
xor ecx, ecx
jmp 0x10075b44
xor ecx, ecx
cmp dword [esi + 8], ecx
jne 0x10075b4b
cmp dword [esi + 0xc], ecx
jne 0x10075b4b
mov byte [esp + 0x11], 1
jmp 0x10075b4f
mov byte [esp + 0x11], cl
cmp dword [esp + 0x18], 0
je 0x10075b7b
cmp byte [esp + 0x12], 0
jne 0x10075b7b
push ecx
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.10076237
add esp, 0x18
test al, al
jne 0x10075c22
cmp byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
jne 0x10075b99
test byte [ebp + 0x40], 0x20
je 0x10075b99
push 0x20
push ebp
push ebx
call fcn.100744ec
add esp, 0xc
push dword [esp + 0x1c]
or byte [ebx + 4], 2
push dword [esp + 0x1c]
call fcn.100737c8
lea edi, [ebp + 8]
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
lea esi, [ebx + 8]
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 0x48]
xor eax, eax
cmp byte [esp + 0x2d], al
setne al
dec eax
push eax
push 0
push dword [esp + 0x40]
call fcn.10076237
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1007387d
mov eax, dword [ebx + 0x28]
add esp, 0x38
mov dword [eax + 0xc], 0x57414b45
and byte [ebx + 4], 0xfd
cmp byte [esp + 0x11], 0
jne 0x10075c22
test byte [ebp + 0x40], 0x40
je 0x10075c22
push 0x40
push ebp
push ebx
call fcn.100744ec
add esp, 0xc
cmp byte [esp + 0x13], 0
lea esi, [ebp + 8]
mov eax, dword [ebx + 0x28]
mov dword [eax + 0xc], 0x57414b45
je 0x10075cca
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
lea edi, [ebx + 8]
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
mov eax, dword [ebp + 0x4c]
pop ecx
pop ecx
test eax, eax
je 0x10075c56
call eax
jmp 0x10075c82
push 3
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10075c82
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
or byte [ebx + 4], 2
push esi
mov byte [esp + 0x6c], 1
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
xor ecx, ecx
lea eax, [esp + 0x30]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [esp + 0x40]
call fcn.10076237
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
add esp, 0x30
and byte [ebx + 4], 0xfd
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10075dad
cmp eax, dword [ebx + 0x20]
jne 0x10075ce9
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x10075dad
cmp eax, dword [ebp + 0x44]
jne 0x10075d1f
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebp
push ebx
call fcn.10074e9c
add esp, 0x10
test al, al
jne 0x10075dad
push ebp
call fcn.100733fd
pop ecx
jmp 0x10075dad
cmp eax, dword [esp + 0x18]
jne 0x10075d76
push esi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
lea edi, [ebx + 8]
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_unlock
push 0
push 6
push 4
call sym.CoreFoundation.dll__CFSetTSD
call sym.CoreFoundation.dll__CFAutoreleasePoolPush
mov esi, eax
call dword [0x1018c7f4]
push esi
call sym.CoreFoundation.dll__CFAutoreleasePoolPop
push 0
push 0
push 4
call sym.CoreFoundation.dll__CFSetTSD
push edi
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
lea eax, [ebp + 8]
push eax
call sym.CoreFoundation.dll__NS_pthread_mutex_lock
add esp, 0x2c
mov byte [esp + 0x12], 1
jmp 0x10075da8
cmp dword [ebp + 0x38], 0
je 0x10075d89
push eax
push dword [ebp + 0x38]
call sym.CoreFoundation.dll_CFDictionaryGetValue
pop ecx
pop ecx
jmp 0x10075d8b
xor eax, eax
test eax, eax
je 0x10075dad
push eax
push ebp
push ebx
call fcn.100746b6
add esp, 0xc
test al, al
jne 0x10075da8
cmp byte [esp + 0x60], al
mov byte [esp + 0x60], al
je 0x10075dad
mov byte [esp + 0x60], 1
push ebp
push ebx
call fcn.100742e4
cmp byte [esp + 0x68], 0
pop ecx
pop ecx
je 0x10075dc4
cmp byte [esp + 0x70], 0
jne 0x10075e10
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
cmp eax, dword [esp + 0x3c]
jl 0x10075e2c
jg 0x10075de7
mov eax, dword [esi + 8]
cmp eax, dword [esp + 0x38]
jb 0x10075e2c
mov eax, dword [ebx + 0x28]
xor ecx, ecx
cmp dword [eax + 8], ecx
jne 0x10075e24
cmp byte [ebp + 0x24], cl
jne 0x10075e1d
push dword [esp + 0x74]
push ebp
push ebx
call fcn.1007542d
add esp, 0xc
test al, al
jne 0x10075e18
push 4
pop edi
jmp 0x10075ace
mov esi, dword [esp + 0x24]
push 4
jmp 0x10075e2e
xor ebx, ebx
inc ebx
jmp 0x10075e2f
mov byte [ebp + 0x24], cl
push 2
jmp 0x10075e2e
mov eax, dword [ebx + 0x28]
mov dword [eax + 8], ecx
jmp 0x10075e20
push 3
pop ebx
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x10075e48
push ebp
call dword [0x1018c838]
push ebp
call dword [0x1018c818]
pop ecx
jmp 0x10075e4f
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret