Function at 0x57a520
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 edi, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
lea esi, [ecx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x57aa42
pcmpeqd xmm0, xmm0
movdqu xmmword [edi], xmm0
mov ecx, edi
call fcn.00461f80
push dword [ebx]
call fcn.0057ae60
add esp, 4
mov ecx, edi
push eax
push 4
push 0x5d6349
call fcn.004629d0
cmp byte [ebx + 0x32], 0
je 0x57a5b7
mov ecx, edi
push 1
push 0xc
push str.unregistered
call fcn.004626f0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0050dc12
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esp + 8], esi
lea esi, [esp + 0x40]
push 0
push ebx
push str.0x_llx
push esi
call fcn.004d87f0
add esp, 0x10
mov ecx, edi
push esi
push 0xd
push str.task_queue_id
call fcn.00462a50
cmp byte [esi + 0xb], 0
jns 0x57a5f1
push dword [esp + 0x40]
call fcn.0050d60e
add esp, 4
movzx eax, byte [ebx + 0xb4]
mov ecx, edi
push eax
push 7
push str.enabled
call fcn.004626f0
mov ecx, edi
push dword [ebx + 0x20]
push 0x28
push str.any_thread_.immediate_incoming_queuesize
call fcn.00462750
mov eax, dword [ebx + 0x88]
sub eax, dword [ebx + 0x84]
sar eax, 4
imul eax, eax, 0xb6db6db7
mov ecx, edi
push eax
push 0x1b
push str.delayed_incoming_queue_size
call fcn.00462750
mov eax, dword [ebx + 0x7c]
mov ecx, edi
push dword [eax + 8]
push 0x19
push str.immediate_work_queue_size
call fcn.00462750
mov eax, dword [ebx + 0x78]
mov ecx, edi
push dword [eax + 8]
push 0x17
push str.delayed_work_queue_size
call fcn.00462750
mov eax, dword [ebx + 0x18]
xor esi, esi
mov edx, 0
test eax, eax
je 0x57a67d
xor edx, edx
add edx, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x57a674
mov ecx, edi
push edx
push 0x2c
push str.any_thread_.immediate_incoming_queuecapacity
call fcn.00462750
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x57a6a0
xor esi, esi
add esi, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x57a697
mov ecx, edi
push esi
push 0x1d
push str.immediate_work_queue_capacity
call fcn.00462750
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x57a6c1
add eax, dword [ecx]
mov ecx, dword [ecx + 0x10]
jmp 0x57a6b6
mov ecx, edi
push eax
push 0x1b
push str.delayed_work_queue_capacity
call fcn.00462750
mov esi, dword [ebx + 0x84]
cmp esi, dword [ebx + 0x88]
je 0x57a768
xor eax, eax
dec eax
lea ecx, [esp + 0x40]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x2b0]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0xc]
push eax
call edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x50]
sub eax, dword [edx]
mov ecx, dword [esi + 0x24]
sbb ecx, dword [edx + 4]
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.004dac80
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.004627b0
cmp byte [ebx + 0xb8], 0
je 0x57a7ee
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x40]
movdqa xmmword [ecx], xmm0
call fcn.00461f80
cmp byte [ebx + 0xb8], 0
je 0x57aa4e
mov esi, edi
lea edi, [esp + 0x40]
mov ecx, edi
push dword [ebx + 0xc0]
push 0xd
push str.enqueue_order
call fcn.00462750
cmp byte [ebx + 0xb8], 0
je 0x57aa4e
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.004626f0
mov ecx, esi
push edi
push 0xd
push str.current_fence
call fcn.00462570
mov ecx, edi
mov edi, esi
call fcn.00461fa0
cmp byte [ebx + 0xe0], 0
mov esi, dword [esp + 8]
je 0x57a8a0
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0xc], ebx
mov edx, dword [ebx + 0xec]
sub eax, dword [esp + 4]
sbb edx, dword [esp]
seto bl
mov ecx, edx
sar ecx, 0x1f
test bl, bl
cmovne eax, ecx
add ecx, 0x80000000
test bl, bl
cmove ecx, edx
mov edx, eax
add edx, 1
mov esi, ecx
adc esi, 0x80000000
cmp edx, 2
sbb esi, 0
jae 0x57a851
shr ecx, 0x1f
movsd xmm0, qword [ecx*8 + 0x5d6b10]
jmp 0x57a879
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 [0x5dc0f0]
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.004627b0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test byte [0x5f55cc], 9
jne 0x57a907
cmp byte [ebp + 0x14], 0
jne 0x57a907
mov eax, dword [ebx + 0x7c]
movzx ecx, byte [eax + 0x20]
cmp ecx, 6
ja case.default.0x57a8c0
mov eax, str.control
jmp dword [ecx*4 + 0x5e6260]
mov eax, str.highest
jmp case.0x57a8c0.0
xor eax, eax
jmp case.0x57a8c0.0
mov eax, str.very_high
jmp case.0x57a8c0.0
mov eax, str.high
jmp case.0x57a8c0.0
mov eax, str.normal
jmp case.0x57a8c0.0
mov eax, 0x5db200
jmp case.0x57a8c0.0
mov eax, str.best_effort
mov ecx, edi
push eax
push 8
push str.priority
call fcn.004629d0
jmp 0x57a599
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 eax, [esp + 0x50]
mov dword [esp], eax
call fcn.0057aa50
add esp, 0x10
mov ecx, edi
lea eax, [esp + 0x40]
push eax
push 0x18
push str.immediate_incoming_queue
call fcn.004625f0
lea ecx, [esp + 0x40]
call fcn.00462690
mov ecx, dword [ebx + 0x78]
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00567290
mov ecx, edi
lea eax, [esp + 0x40]
push eax
push 0x12
push str.delayed_work_queue
call fcn.004625f0
lea ecx, [esp + 0x40]
call fcn.00462690
mov ecx, dword [ebx + 0x7c]
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00567290
mov ecx, edi
lea eax, [esp + 0x40]
push eax
push 0x14
push str.immediate_work_queue
call fcn.004625f0
lea ecx, [esp + 0x40]
call fcn.00462690
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
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x14]
call fcn.0057ab20
mov ecx, edi
lea eax, [esp + 0x40]
push eax
push 0x16
push str.delayed_incoming_queue
call fcn.004625f0
lea ecx, [esp + 0x40]
call fcn.00462690
jmp 0x57a8af
mov ecx, esi
call fcn.004dfaf0
jmp 0x57a55b
ud2