Function at 0x408b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0x7fffffff
mov esi, dword [esp + 0x30]
mov dword [edi], 0x628284
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x28], ebx
call edx
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
mov ecx, edi
call fcn.00407f60
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
mov eax, dword [esp + 0x34]
push ebp
push eax
call fcn.005f7b00
movzx eax, word [ebp + 2]
add esp, 0xc
cmp ax, 1
je 0x408bde
cmp ax, 2
je 0x408bde
lea ecx, [esp + 0x38]
push str.Cannot_resample_audio:_the_source_channel_count_is_not_supported__must_be_mono_or_stereo_.
push ecx
call fcn.0051c348
add esp, 8
push 0x694d20
lea edx, [esp + 0x3c]
push edx
call fcn.005f8355
movzx eax, word [ebp + 0xe]
mov ecx, 8
cmp ax, cx
je 0x408c13
cmp ax, 0x10
je 0x408c13
lea eax, [esp + 0x38]
push str.Cannot_resample_audio:_the_source_audio_format_is_not_supported__must_be_8_bit_or_16_bit_PCM_.
push eax
call fcn.0051c348
add esp, 8
push 0x694d20
lea ecx, [esp + 0x3c]
push ecx
call fcn.005f8355
mov eax, dword [esp + 0x30]
cmp word [eax + 2], 1
jbe 0x408c52
cmp word [eax + 0xe], cx
jbe 0x408c3b
mov dword [edi + 0x30], 0x408530
mov dword [edi + 0x34], 0x408980
mov dword [edi + 0x38], 0x408770
jmp 0x408c84
mov dword [edi + 0x30], 0x4084f0
mov dword [edi + 0x34], 0x408910
mov dword [edi + 0x38], 0x4086a0
jmp 0x408c84
cmp word [eax + 0xe], cx
jbe 0x408c6f
mov dword [edi + 0x30], 0x4084f0
mov dword [edi + 0x34], 0x4088b0
mov dword [edi + 0x38], 0x408600
jmp 0x408c84
mov dword [edi + 0x30], 0x4084c0
mov dword [edi + 0x34], 0x408850
mov dword [edi + 0x38], 0x408560
mov dword [edi + 0x10], esi
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], eax
mov ecx, 8
cmp cx, word [ebp + 0xe]
mov ax, 1
sbb edx, edx
neg edx
add edx, 1
cmp ax, word [ebp + 2]
sbb ecx, ecx
neg ecx
add ecx, 1
imul edx, ecx
mov dword [edi + 0x40], edx
mov eax, dword [ebp + 4]
mov ecx, eax
mov eax, dword [esp + 0x34]
cdq
xor esi, esi
shld esi, ecx, 0x14
push edx
push eax
shl ecx, 0x14
push esi
push ecx
call fcn.005f8590
add eax, 1
adc edx, ebx
shrd eax, edx, 1
shr edx, 1
mov dword [esp + 0x1c], edx
jne 0x408cef
cmp eax, 0x7fffffff
jbe 0x408d19
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 4]
push edx
push eax
lea ecx, [esp + 0x40]
push str.Cannot_resample_audio_from__uHz_to__uHz:_the_conversion_ratio_is_too_low.
push ecx
call fcn.0051c348
add esp, 0x10
push 0x694d20
lea edx, [esp + 0x3c]
push edx
call fcn.005f8355
cmp eax, ebx
mov dword [edi + 0x44], eax
jne 0x408d4a
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 4]
push eax
push ecx
lea edx, [esp + 0x40]
push str.Cannot_resample_audio_from__uHz_to__uHz:_the_conversion_ratio_is_too_high.
push edx
call fcn.0051c348
add esp, 0x10
push 0x694d20
lea eax, [esp + 0x3c]
push eax
call fcn.005f8355
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
push eax
push 0x80000
push ecx
push edx
call fcn.00519eac
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
mov ebp, dword [ebp + 4]
mov edx, dword [edi + 0x44]
xor ecx, ecx
mov eax, ebp
shld ecx, eax, 0x14
push ebx
push edx
shl eax, 0x14
push ecx
push eax
call fcn.005f8590
add eax, 1
adc edx, ebx
mov ecx, eax
mov eax, edx
shrd ecx, eax, 1
shr eax, 1
mov edx, ecx
or edx, eax
je 0x408ef9
cmp eax, ebx
ja 0x408ef2
jb 0x408dac
cmp ecx, 0x7fffffff
ja 0x408ef2
mov esi, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov eax, dword [edi + 0x40]
imul eax, ecx
mov dword [esi + 8], eax
mov al, byte [esp + 0x38]
cmp al, bl
mov cx, word [edi + 0x40]
mov word [esi + 0xc], cx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], 1
mov dword [edi + 0x48], ebx
mov byte [edi + 0x58], al
mov dword [edi + 0x5c], ebx
je 0x408e6c
mov eax, dword [edi + 0x44]
cmp eax, 0x80000
jle 0x408e6c
add eax, 0x7ffff
sar eax, 0x12
and eax, 0xfffffffe
mov dword [edi + 0x54], eax
xor ecx, ecx
shl eax, 8
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f7142
add esp, 4
cmp eax, ebx
mov dword [edi + 0x50], eax
jne 0x408e45
mov eax, dword [edi + 0x3c]
push eax
call fcn.00461f70
add esp, 4
lea ecx, [esp + 0x38]
call fcn.0051c377
push 0x6952c4
lea ecx, [esp + 0x3c]
push ecx
call fcn.005f8355
mov edx, dword [edi + 0x44]
mov esi, dword [edi + 0x54]
push edx
push eax
call fcn.00408a00
mov ecx, dword [edi + 0x54]
mov esi, dword [esp + 0x38]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add esp, 8
add ecx, 1
mov dword [edi + 0x4c], eax
mov dword [edi + 0x5c], ecx
mov eax, 0x200
cmp dword [edi + 0x5c], eax
jae 0x408e79
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x40]
add eax, 3
and eax, 0xfffffffc
imul ecx, eax
push ecx
mov dword [edi + 0x5c], eax
call fcn.00461f60
add esp, 4
cmp eax, ebx
mov dword [edi + 0x3c], eax
jne 0x408eb3
lea ecx, [esp + 0x38]
call fcn.0051c377
push 0x6952c4
lea edx, [esp + 0x3c]
push edx
call fcn.005f8355
cmp word [esi + 0xe], 8
jbe 0x408ec5
mov ecx, dword [edi + 0x5c]
imul ecx, dword [edi + 0x40]
push ecx
push ebx
jmp 0x408ed2
mov edx, dword [edi + 0x5c]
imul edx, dword [edi + 0x40]
push edx
push 0x80
push eax
call fcn.005f7e70
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, 0x628120
jmp 0x408efe
mov eax, 0x62811c
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
lea ecx, [esp + 0x44]
push 0x6280d0
push ecx
call fcn.0051c348
add esp, 0x14
push 0x694d20
lea edx, [esp + 0x3c]
push edx
call fcn.005f8355
int3