Function at 0x1011b550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esp + 0x58], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1011ba3d
pcmpeqd xmm0, xmm0
movdqu xmmword [esi], xmm0
mov ecx, esi
call fcn.100564c0
push dword [ebx]
call fcn.1011be50
add esp, 4
mov ecx, esi
push eax
push 4
push str.name
call fcn.10056aa0
cmp byte [ebx + 0x32], 0
je 0x1011b5ea
mov ecx, esi
push 1
push 0xc
push str.unregistered
call fcn.10056840
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esp + 4], edi
lea edi, [esp + 0x40]
push 0
push ebx
push str.0x_llx
push edi
call fcn.10099130
add esp, 0x10
mov ecx, esi
push edi
push 0xd
push str.task_queue_id
call fcn.10056b20
cmp byte [edi + 0xb], 0
jns 0x1011b624
push dword [esp + 0x40]
call fcn.100c1c31
add esp, 4
movzx eax, byte [ebx + 0xb4]
mov ecx, esi
push eax
push 7
push str.enabled
call fcn.10056840
mov ecx, esi
push dword [ebx + 0x20]
push 0x28
push str.any_thread_.immediate_incoming_queuesize
call fcn.100568a0
mov eax, dword [ebx + 0x88]
sub eax, dword [ebx + 0x84]
sar eax, 4
imul eax, eax, 0xb6db6db7
mov ecx, esi
push eax
push 0x1b
push str.delayed_incoming_queue_size
call fcn.100568a0
mov eax, dword [ebx + 0x7c]
mov ecx, esi
push dword [eax + 8]
push 0x19
push str.immediate_work_queue_size
call fcn.100568a0
mov eax, dword [ebx + 0x78]
mov ecx, esi
push dword [eax + 8]
push 0x17
push str.delayed_work_queue_size
call fcn.100568a0
mov eax, dword [ebx + 0x18]
xor edi, edi
mov edx, 0
test eax, eax
je 0x1011b6b0
xor edx, edx
add edx, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1011b6a7
mov ecx, esi
push edx
push 0x2c
push str.any_thread_.immediate_incoming_queuecapacity
call fcn.100568a0
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x1011b6d3
xor edi, edi
add edi, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1011b6ca
mov ecx, esi
push edi
push 0x1d
push str.immediate_work_queue_capacity
call fcn.100568a0
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x1011b6f4
add eax, dword [ecx]
mov ecx, dword [ecx + 0x10]
jmp 0x1011b6e9
mov ecx, esi
push eax
push 0x1b
push str.delayed_work_queue_capacity
call fcn.100568a0
mov edi, esi
mov esi, dword [ebx + 0x84]
cmp esi, dword [ebx + 0x88]
je 0x1011b783
xor eax, eax
dec eax
lea ecx, [esp + 0x40]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2b0]
lea edi, [esp + 0x50]
push edi
call fcn.100b7560
mov eax, dword [esi + 0x20]
sub eax, dword [edi]
mov ecx, dword [esi + 0x24]
sbb ecx, dword [edi + 4]
mov edi, dword [ebp + 8]
seto dl
mov esi, ecx
sar esi, 0x1f
test dl, dl
cmovne eax, esi
add esi, 0x80000000
test dl, dl
cmove esi, ecx
lea ecx, [esp + 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], esi
call fcn.10080dc0
sub esp, 0x10
fstp qword [esp + 8]
mov dword [esp + 4], 0x15
mov dword [esp], str.delay_to_next_task_ms
mov ecx, edi
call fcn.10056900
cmp byte [ebx + 0xb8], 0
mov esi, edi
je 0x1011b807
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x40]
movdqa xmmword [ecx], xmm0
call fcn.100564c0
cmp byte [ebx + 0xb8], 0
je 0x1011ba4b
lea edi, [esp + 0x40]
mov ecx, edi
push dword [ebx + 0xc0]
push 0xd
push str.enqueue_order
call fcn.100568a0
cmp byte [ebx + 0xb8], 0
je 0x1011ba4b
mov eax, dword [ebx + 0xc8]
xor edx, edx
or eax, dword [ebx + 0xcc]
setne dl
mov ecx, edi
push edx
push 0x14
push str.activated_in_wake_up
call fcn.10056840
mov ecx, esi
push edi
push 0xd
push str.current_fence
call fcn.100566c0
mov ecx, edi
call fcn.100564e0
cmp byte [ebx + 0xe0], 0
je 0x1011b8b5
mov edi, esi
mov eax, dword [ebx + 0xe8]
mov edx, dword [ebx + 0xec]
sub eax, dword [esp + 4]
sbb edx, dword [esp]
seto byte [esp + 8]
mov ecx, edx
sar ecx, 0x1f
cmp byte [esp + 8], 0
cmovne eax, ecx
add ecx, 0x80000000
cmp byte [esp + 8], 0
cmove ecx, edx
mov edx, eax
add edx, 1
mov esi, ecx
adc esi, 0x80000000
cmp edx, 2
sbb esi, 0
jae 0x1011b86c
shr ecx, 0x1f
movsd xmm0, qword [ecx*8 + 0x10139360]
jmp 0x1011b894
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
movq qword [esp + 0x18], xmm0
fild qword [esp + 0x18]
fstp qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
divsd xmm0, qword [0x10139730]
mov esi, edi
sub esp, 0x10
movsd qword [esp + 8], xmm0
mov dword [esp + 4], 0x1e
mov dword [esp], str.delayed_fence_seconds_from_now
mov ecx, edi
call fcn.10056900
test byte [0x10148750], 9
jne 0x1011b91c
cmp byte [ebp + 0x14], 0
jne 0x1011b91c
mov eax, dword [ebx + 0x7c]
movzx ecx, byte [eax + 0x20]
cmp ecx, 6
ja case.default.0x1011b8d5
mov eax, str.control
jmp dword [ecx*4 + 0x1013eaa8]
mov eax, str.highest
jmp case.0x1011b8d5.0
xor eax, eax
jmp case.0x1011b8d5.0
mov eax, str.very_high
jmp case.0x1011b8d5.0
mov eax, str.high
jmp case.0x1011b8d5.0
mov eax, str.normal
jmp case.0x1011b8d5.0
mov eax, 0x1013b1a4
jmp case.0x1011b8d5.0
mov eax, str.best_effort
mov ecx, esi
push eax
push 8
push str.priority
call fcn.10056aa0
jmp 0x1011b5c9
lea eax, [ebx + 0x18]
lea ecx, [ebx + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp]
mov dword [esp + 0x3c], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea edi, [esp + 0x50]
mov dword [esp], edi
call fcn.1011ba50
add esp, 0x10
mov ecx, esi
push edi
push 0x18
push str.immediate_incoming_queue
call fcn.10056740
mov ecx, edi
call fcn.100567e0
mov ecx, dword [ebx + 0x78]
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov edi, dword [esp + 4]
mov dword [esp + 0x30], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.10110950
mov ecx, esi
lea eax, [esp + 0x40]
push eax
push 0x12
push str.delayed_work_queue
call fcn.10056740
lea ecx, [esp + 0x40]
call fcn.100567e0
mov ecx, dword [ebx + 0x7c]
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
lea edi, [esp + 0x4c]
mov dword [esp], edi
call fcn.10110950
mov ecx, esi
push edi
push 0x14
push str.immediate_work_queue
call fcn.10056740
mov ecx, edi
call fcn.100567e0
mov eax, dword [esp]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
sub esp, 0xc
movq xmm0, qword [esp + 0x2c]
movq qword [esp + 4], xmm0
mov dword [esp], edi
mov ecx, dword [esp + 0x14]
call fcn.1011bb20
mov ecx, esi
push edi
push 0x16
push str.delayed_incoming_queue
call fcn.10056740
mov ecx, edi
call fcn.100567e0
jmp 0x1011b8c4
mov ecx, dword [esp + 0xc]
call fcn.10084100
jmp 0x1011b58b
ud2