Function at 0x4f6bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0x38]
sub esp, 0x38
push 0xffffffffffffffff
push 0x5a6e73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov bl, dl
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
push 0x1f
push str.Scanning_ReplayGain_information
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00449360
push 0x48
call fcn.00592716
mov esi, eax
xorps xmm0, xmm0
push 0x3c
lea eax, [esi + 4]
mov dword [ebp + 0x10], esi
push 0
movq qword [esi], xmm0
lea edi, [esi + 0xc]
mov dword [esi + 8], 0
push edi
mov dword [ebp + 0x14], eax
mov dword [eax], 1
mov dword [esi + 8], 1
mov dword [esi], 0x5cd98c
mov dword [ebp + 0x18], edi
call fcn.005936d3
add esp, 0x10
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], 0x5b6344
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0x5b63c0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp], edi
mov dword [ebp + 4], esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x34]
mov byte [edi + 0x38], bl
lea ebx, [esi + 0xc]
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 0x40]
mov dword [ebp + 0x30], ecx
add edi, 0x14
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x34], 0x5bcc5c
push ecx
lea ecx, [ebx + 4]
mov dword [ebp + 0x2c], 0x5b62cc
call dword [eax + 8]
push edi
lea ecx, [ebx + 4]
call fcn.004297f0
mov eax, dword [ebp + 0x40]
lea edi, [ebx + 0x14]
add eax, 0x58
cmp edi, eax
je 0x4f6d5b
mov esi, dword [eax + 4]
mov eax, dword [eax]
sub esi, eax
mov ecx, dword [edi]
mov edx, esi
mov dword [ebp + 0x30], eax
mov eax, dword [edi + 8]
sub eax, ecx
sar edx, 4
sar eax, 4
mov dword [ebp + 0x34], ecx
cmp edx, eax
jbe 0x4f6d46
push edx
mov ecx, edi
call fcn.004f8c70
mov ecx, dword [edi]
mov dword [ebp + 0x34], ecx
push esi
push dword [ebp + 0x30]
push ecx
call fcn.005936cd
mov eax, dword [ebp + 0x34]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x4f6d78
lock inc dword [eax + 4]
mov eax, dword [ebp + 0x40]
mov dword [ecx], eax
mov eax, dword [ebp + 0x44]
mov dword [ecx + 4], eax
lea ecx, [ebp + 0x30]
call fcn.00500510
add esp, 8
mov esi, dword [eax]
mov dword [eax], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4f6da1
mov eax, dword [ecx]
call dword [eax]
mov dword [ebx + 0x20], esi
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4f6daf
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
setne al
mov byte [ebx + 0x24], al
test ecx, ecx
je 0x4f6e77
mov ecx, dword [ebp + 0x40]
add ecx, 0x14
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x34], eax
mov edx, dword [ecx + 0x5c]
sub edx, dword [ecx + 0x58]
sar edx, 4
cmp edx, eax
je 0x4f6dfe
mov ecx, dword [ebp + 0x14]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4f6fcd
mov ebx, dword [ebp + 0x10]
jmp 0x4f6fb5
mov edi, dword [ebx + 0x34]
lea esi, [eax + 7]
add edi, 7
mov dword [ebx + 0x34], eax
shr esi, 3
lea eax, [ebx + 0x2c]
shr edi, 3
cmp esi, dword [eax + 4]
jbe 0x4f6e28
push esi
mov ecx, eax
call fcn.00418b40
lea eax, [ebx + 0x2c]
mov dword [eax + 4], esi
jmp 0x4f6e38
jae 0x4f6e38
push esi
mov ecx, eax
mov dword [eax + 4], esi
call fcn.00418b40
lea eax, [ebx + 0x2c]
cmp esi, edi
jbe 0x4f6e50
mov eax, dword [eax]
add eax, edi
sub esi, edi
je 0x4f6e50
push esi
push 0
push eax
call fcn.005936d3
add esp, 0xc
xor edi, edi
cmp dword [ebp + 0x34], edi
jbe 0x4f6e74
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp + 0x48]
push edi
mov esi, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push eax
push edi
lea ecx, [ebx + 0x28]
call esi
inc edi
cmp edi, dword [ebp + 0x34]
jb 0x4f6e57
mov ebx, dword [ebp + 0x18]
push 0x50
call fcn.00592716
mov edi, eax
xorps xmm0, xmm0
push 0x40
push 0
mov dword [ebp + 0x48], edi
movq qword [edi], xmm0
lea esi, [edi + 0x10]
mov dword [edi + 8], 0
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x5cd97c
call fcn.005936d3
add esp, 0x10
mov ecx, esi
call fcn.004f6400
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 3
lock inc dword [ecx]
mov dword [ebp + 0x24], ebx
lea ecx, [edi + 4]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x28], ebx
lock inc dword [ecx]
lea eax, [ebp + 0x24]
mov dword [ebp + 0x2c], esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0x30], edi
call fcn.004f7990
lea ecx, [ebp + 0x24]
call fcn.004f7230
lea eax, [ebx + 4]
lock inc dword [eax]
mov ecx, dword [ebp + 0x44]
lea eax, [ebx + 0xc]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ebx
test ecx, ecx
je 0x4f6f12
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x24], eax
lea eax, [edi + 4]
mov dword [ebp + 0x28], ecx
lock inc dword [eax]
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x2c], esi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp + 0x30], edi
call fcn.004f7a30
lea ecx, [ebp + 0x1c]
call fcn.004f7290
mov esi, dword [ebp + 0x40]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004f7310
mov byte [ebp - 4], 4
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x4f6f79
sub esp, 0x90
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.004f7310
mov ecx, esi
call fcn.0050c150
lea ecx, [ebp - 0x12c]
call fcn.004f71c0
or esi, 0xffffffff
lea ecx, [edi + 4]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4f6faa
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x4f6faa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x4f6fcd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea ecx, [ebx + 8]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x4f6fcd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x9c]
call fcn.004f71c0
mov edi, dword [ebp + 0x44]
test edi, edi
je 0x4f6ffd
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4f6ffd
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4f6ffd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x38]
pop ebp
ret