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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea esi, [ecx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4c39d2
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [esp + 0xc], esi
movapd xmm0, xmmword [0x581d10]
movupd xmmword [edi], xmm0
push dword [ebx]
call fcn.004c6ae0
add esp, 4
lea esi, [esp + 0x60]
mov ecx, esi
push eax
call fcn.0042def8
mov dword [esp + 0x70], 4
mov ecx, edi
push esi
push 4
push str.name
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], esi
lea edi, [esp + 0x40]
push eax
push edi
call fcn.00461d70
add esp, 8
cmp byte [ebx + 0x32], 0
je 0x4c3a65
mov byte [esp + 0x60], 1
mov dword [esp + 0x70], 1
mov ebx, edi
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
push 0xc
push str.unregistered
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], esi
push eax
push ebx
call fcn.00461d70
add esp, 8
mov ebx, edi
jmp 0x4c457b
push 0
push ebx
push str.0x_llx
push edi
call fcn.00465c20
add esp, 0x10
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x70], 4
mov ecx, dword [ebp + 8]
push esi
push 0xd
push str.task_queue_id
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00461d70
add esp, 8
cmp byte [esp + 0x4b], 0
mov edi, esi
jns 0x4c3ae5
push dword [esp + 0x40]
call fcn.00528424
add esp, 4
movzx eax, byte [ebx + 0xb4]
mov byte [esp + 0x60], al
mov dword [esp + 0x70], 1
mov ecx, dword [ebp + 8]
push edi
push 7
push 0x582da4
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea esi, [esp + 0x44]
push esi
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, dword [ebp + 8]
push edi
push 0x28
push str.any_thread_.immediate_incoming_queuesize
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
push esi
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x88]
sub eax, dword [ebx + 0x84]
sar eax, 4
imul eax, eax, 0xb6db6db7
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, dword [ebp + 8]
mov esi, ecx
push edi
push 0x1b
push str.delayed_incoming_queue_size
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, esi
push edi
push 0x19
push str.immediate_work_queue_size
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, esi
push edi
push 0x17
push str.delayed_work_queue_size
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x18]
xor esi, esi
mov ecx, 0
test eax, eax
je 0x4c3c29
xor ecx, ecx
nop word cs:[eax + eax]
add ecx, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c3c20
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], 2
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x60]
push edi
push 0x2c
push str.any_thread_.immediate_incoming_queuecapacity
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x4c3c79
xor esi, esi
nop word [eax + eax]
add esi, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4c3c70
mov dword [esp + 0x60], esi
mov dword [esp + 0x70], 2
mov ecx, dword [ebp + 8]
lea esi, [esp + 0x60]
push esi
push 0x1d
push str.immediate_work_queue_capacity
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x4c3cc9
nop word [eax + eax]
add eax, dword [ecx]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4c3cc0
mov esi, 0x80000000
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x60]
push edi
push 0x1b
push str.delayed_work_queue_capacity
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, ebx
mov ebx, dword [ebx + 0x84]
cmp ebx, dword [eax + 0x88]
mov dword [esp], eax
je 0x4c3e0f
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1e0]
mov ecx, dword [0x599b40]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov eax, dword [ebx + 0x20]
sub eax, dword [esp + 0x60]
mov edx, dword [ebx + 0x24]
sbb edx, dword [esp + 0x64]
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
mov edi, 1
add edx, edi
mov ebx, ecx
adc ebx, esi
cmp edx, 2
sbb ebx, 0
jae 0x4c3d7f
shr ecx, 0x1f
movsd xmm0, qword [ecx*8 + 0x57f570]
jmp 0x4c3da7
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
movq qword [esp + 0x28], xmm0
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
divsd xmm0, qword [0x57f560]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push eax
call fcn.0053979c
add esp, 4
test ax, ax
jle 0x4c3dda
call fcn.0047b030
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 3
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x60]
push edi
push 0x15
push str.delay_to_next_task_ms
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [esp]
cmp byte [eax + 0xb8], 0
mov ebx, eax
je 0x4c3f2d
movapd xmm0, xmmword [0x581d10]
movupd xmmword [esp + 0x40], xmm0
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
lea ecx, [esp + 0x40]
lea edi, [esp + 0x60]
push edi
push 0xd
push str.enqueue_order
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], edi
push eax
mov esi, ebx
lea ebx, [esp + 0x54]
push ebx
call fcn.00461d70
add esp, 8
cmp byte [esi + 0xb8], 0
je 0x4c459d
lea esi, [esp + 0x44]
mov eax, dword [esp]
mov eax, dword [eax + 0xc8]
mov ecx, dword [esp]
or eax, dword [ecx + 0xcc]
setne byte [esp + 0x60]
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x40]
push edi
push 0x14
push str.activated_in_wake_up
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x70], 6
mov ecx, dword [ebp + 8]
push edi
push 0xd
push str.current_fence
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
mov dword [esp + 0x60], esi
mov ebx, dword [esp]
lea ecx, [esp + 0x60]
call fcn.00461ed0
mov esi, 0x80000000
cmp byte [ebx + 0xe0], 0
je 0x4c4014
mov eax, dword [ebx + 0xe8]
mov edx, dword [ebx + 0xec]
sub eax, dword [esp + 8]
sbb edx, dword [esp + 4]
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, 1
add edx, eax
adc esi, ecx
cmp edx, 2
sbb esi, 0
jae 0x4c3f85
shr ecx, 0x1f
movsd xmm0, qword [ecx*8 + 0x57f570]
jmp 0x4c3fad
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 [0x57f5a0]
lea eax, [esp + 0x40]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x40], xmm0
push eax
call fcn.0053979c
add esp, 4
test ax, ax
mov esi, dword [ebp + 8]
lea edi, [esp + 0x60]
jle 0x4c3fe7
call fcn.0047b030
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 3
mov ecx, esi
push edi
push 0x1e
push str.delayed_fence_seconds_from_now
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
test byte [0x59950c], 9
mov ebx, dword [ebp + 8]
jne 0x4c402a
cmp byte [ebp + 0x14], 0
je 0x4c453c
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp]
mov edi, dword [eax + 0x18]
xor eax, eax
test edi, edi
je 0x4c408b
mov esi, dword [edi + 8]
mov ecx, 0
mov edx, 0
cmp esi, dword [edi + 4]
mov esi, edi
lea edi, [esp + 0x50]
je 0x4c41a0
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4c4094
push esi
call fcn.0042f0b8
add esp, 4
jmp 0x4c40c4
xor ecx, ecx
xor edx, edx
jmp 0x4c419c
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x5a79d0], 1
jmp 0x4c40c4
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x5a79d0], 1
test esi, esi
je 0x4c418d
mov ebx, esi
mov eax, dword [esi + 4]
jmp 0x4c4122
imul eax, esi, 0x70
add eax, dword [ebx + 0xc]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.004c4f60
add esp, 0x10
lea ecx, [esp + 0x40]
push edi
call fcn.004619d0
lea eax, [esp + 0x64]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x5c]
call fcn.00461ed0
mov eax, esi
cmp esi, dword [ebx + 8]
je 0x4c4140
inc eax
xor esi, esi
cmp eax, dword [ebx]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
je 0x4c40d0
mov esi, eax
jmp 0x4c40d0
mov esi, dword [ebx + 0x10]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4c4162
push ebx
call fcn.0042f1aa
add esp, 4
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4c40b0
push esi
call fcn.0042f0b8
add esp, 4
test esi, esi
jne 0x4c40c4
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x50]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x70], 7
mov ecx, ebx
lea esi, [esp + 0x60]
push esi
push 0x18
push str.immediate_incoming_queue
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], esi
push eax
push edi
call fcn.00461d70
add esp, 8
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4c4240
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x4c422c
lea ebx, [esp + 0x60]
nop word [eax + eax]
mov eax, dword [edi - 4]
add edi, 0xffffffec
mov dword [esp + 0x60], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
cmp edi, esi
jne 0x4c4210
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00528424
add esp, 4
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x50]
mov eax, dword [esp]
mov ecx, dword [eax + 0x78]
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.004d0200
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x70], 7
mov ecx, ebx
lea esi, [esp + 0x60]
push esi
push 0x12
push str.delayed_work_queue
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], esi
push eax
push edi
call fcn.00461d70
add esp, 8
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4c4320
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x4c430c
lea ebx, [esp + 0x60]
nop word cs:[eax + eax]
mov eax, dword [edi - 4]
add edi, 0xffffffec
mov dword [esp + 0x60], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
cmp edi, esi
jne 0x4c42f0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00528424
add esp, 4
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x50]
mov eax, dword [esp]
mov ecx, dword [eax + 0x7c]
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
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.004d0200
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x70], 7
mov ecx, ebx
lea esi, [esp + 0x60]
push esi
push 0x14
push str.immediate_work_queue
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], esi
push eax
push edi
call fcn.00461d70
add esp, 8
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4c4400
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x4c43ec
lea ebx, [esp + 0x60]
nop word cs:[eax + eax]
mov eax, dword [edi - 4]
add edi, 0xffffffec
mov dword [esp + 0x60], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
cmp edi, esi
jne 0x4c43d0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00528424
add esp, 4
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x50]
mov esi, ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp]
mov ebx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
cmp ebx, eax
je 0x4c449d
nop dword [eax]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
lea edi, [esp + 0x70]
mov dword [esp], edi
mov esi, eax
call fcn.004c4f60
add esp, 0x10
lea ecx, [esp + 0x40]
push edi
call fcn.004619d0
lea eax, [esp + 0x64]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x5c]
call fcn.00461ed0
mov eax, esi
add ebx, 0x70
cmp ebx, esi
jne 0x4c4430
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x50]
jmp 0x4c44a5
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x70], 7
mov ecx, ebx
lea esi, [esp + 0x60]
push esi
push 0x16
push str.delayed_incoming_queue
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], esi
push eax
push edi
call fcn.00461d70
add esp, 8
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4c453c
mov edi, dword [esp + 0x44]
mov eax, esi
cmp edi, esi
je 0x4c452c
lea ebx, [esp + 0x60]
nop dword [eax]
mov eax, dword [edi - 4]
add edi, 0xffffffec
mov dword [esp + 0x60], edi
push eax
push ebx
call fcn.00461d70
add esp, 8
cmp edi, esi
jne 0x4c4510
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
call fcn.00528424
add esp, 4
mov ebx, dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 0x7c]
movzx eax, byte [eax + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], 2
mov ecx, ebx
lea esi, [esp + 0x60]
push esi
push 8
push str.priority
call fcn.00460870
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00461d70
add esp, 8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00528e13
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
ud2