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

Disassembly:
push 0xffffffffffffffff
push 0x5990b1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [ecx + 0xc]
mov ebp, dword [esp + 0x38]
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp]
lea edi, [esi + 0x7c]
cmp eax, ecx
je 0x4e888c
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cmp edx, eax
jne 0x4e86a8
mov ecx, dword [esp + 0x38]
push ecx
push ebp
mov ecx, edi
call fcn.004e7c20
test al, al
jne 0x4e888c
mov ebx, 1
mov byte [esi + 0x78], bl
mov edx, dword [edi]
cmp edx, dword [ebp]
je 0x4e86d6
push ebp
lea ecx, [esp + 0x3c]
call fcn.00404a20
mov ecx, dword [edi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov dword [edi], eax
call fcn.00401250
mov ecx, dword [esi + 0x74]
xor ebp, ebp
mov byte [esi + 0x78], 0
cmp ecx, ebp
je 0x4e86fc
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x74]
cmp ecx, ebp
je 0x4e86f9
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
call eax
mov dword [esi + 0x74], ebp
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
je 0x4e880b
push edi
lea ecx, [esp + 0x1c]
call fcn.00404a20
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
lea ecx, [eax + edx*4 + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x10]
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x24], eax
mov edi, dword [0x5a7af0]
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x1c], ecx
je 0x4e87ab
cmp eax, ebp
je 0x4e879e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
call edi
mov ecx, eax
mov byte [esp + 0x30], bl
call dword [0x5a7d9c]
push eax
call fcn.004eb680
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esi + 0x74], eax
mov byte [esp + 0x30], 0
call dword [0x5a7d74]
mov ecx, dword [esi + 0x74]
cmp ecx, ebp
je 0x4e8796
cmp byte [ecx + 0xc], 0
jne 0x4e879a
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push ebx
call edx
mov dword [esi + 0x74], ebp
xor eax, eax
jmp 0x4e879e
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 4
xor eax, ebx
mov dword [esp + 0x24], eax
jne 0x4e873e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x30], 0xffffffff
cmp ecx, ebp
je 0x4e87d4
cmp ecx, 0xffffffff
je 0x4e880b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4e880b
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea edi, [eax + edx*4 + 0x10]
lea ebp, [eax + ecx*4 + 0x10]
mov ebx, eax
cmp ebp, edi
je 0x4e87ff
jmp 0x4e87f0
sub edi, 4
mov ecx, edi
call dword [0x5a7d90]
cmp edi, ebp
jne 0x4e87f0
push ebx
call dword [0x5a7d8c]
add esp, 4
xor ebp, ebp
mov eax, dword [esi + 0x74]
mov ebx, dword [esp + 0x14]
cmp eax, ebp
je 0x4e8885
mov edx, dword [eax + 0x1c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x74]
cmp ecx, ebp
jne 0x4e8827
xor ecx, ecx
jmp 0x4e882a
mov ecx, dword [ecx + 0x1c]
and ecx, edx
cmp dword [eax + 0x50], ecx
je 0x4e883b
mov dword [eax + 0x50], ecx
mov ecx, ebx
call fcn.0055c3a0
mov eax, dword [esi + 0x74]
push ebp
push str.1reportVolume_qreal_
push str.2volumeReported_qreal_
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call dword [0x5a7bac]
mov edi, dword [0x5a7d80]
lea ecx, [esp + 0x38]
call edi
mov esi, dword [esi + 0x74]
push ebp
push str.1reportMute_bool_
push str.2muteReported_bool_
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call dword [0x5a7bac]
lea ecx, [esp + 0x14]
call edi
mov ecx, ebx
call fcn.0055c3c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4