Function at 0x140005760
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x26508
call fcn.1400359a0
sub rsp, rax
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x264c0], rax
mov dword [rsp + 0x34], r8d
mov r14, rdx
mov r8, qword [rsp + 0x26560]
mov rdx, r9
mov rbp, rcx
call fcn.14000b840
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.140015c00
mov qword [rsp + 0x38], rax
mov rdi, rax
mov r15d, 1
test rax, rax
je 0x140005938
mov rcx, rax
call fcn.14003c7a4
mov rsi, rax
test rax, rax
je 0x14000580d
mov r8, rdi
mov rdx, rax
mov rcx, rbp
call fcn.140015c00
mov r9, r14
mov r8, rax
mov edx, r15d
mov rcx, rsi
mov rdi, rax
call fcn.14003c718
mov rcx, rsi
mov rbx, rax
call fcn.14003c79c
cmp rbx, rdi
jne 0x140005976
cmp dword [0x14007b4bc], r15d
mov qword [rsp + 0x26550], r12
mov qword [rsp + 0x26500], r13
jne 0x14000582e
mov rcx, r14
call fcn.14003b7f0
mov edx, 0x24000
mov rcx, rbp
call fcn.14000c560
cmp eax, r15d
mov ebx, eax
cmovl ebx, r15d
mov dword [rsp + 0x30], ebx
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140002620
mov r13d, eax
test eax, eax
js 0x1400058f8
lea r15, [rsp + 0x40]
mov edi, eax
lea r12, [rsp + 0x1240]
nop word [rax + rax]
mov ecx, ebx
cmp edi, ebx
cmovb ecx, edi
mov ebx, ecx
mov rcx, rbp
call fcn.14000b770
lea rax, [rsp + 0x24c0]
mov dword [rsp + 0x28], 0x24000
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov r8, r12
mov rdx, r15
mov rcx, rbp
call fcn.14000e710
mov ecx, ebx
movsxd rsi, eax
shl rcx, 2
sub edi, ebx
add r15, rcx
add r12, rcx
test eax, eax
js 0x140005992
mov r8, rsi
lea rcx, [rsp + 0x24c0]
mov r9, r14
mov edx, 1
call fcn.14003c718
cmp eax, esi
jne 0x140005a81
mov ebx, dword [rsp + 0x30]
test edi, edi
jg 0x140005880
cmp dword [0x14007b4bc], 1
jne 0x140005909
mov rcx, r14
call fcn.14003b7f0
test r13d, r13d
jg 0x140005850
cmp dword [rsp + 0x34], 0
lea rdx, [rsp + 0x24c0]
mov r8d, 0x24000
mov rcx, rbp
je 0x1400059c5
call fcn.14000ef50
jmp 0x1400059ca
mov rcx, rbp
call fcn.140002610
mov rcx, rbp
mov rbx, rax
call fcn.140004cf0
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
je 0x14000580d
mov r9, r14
mov r8, rax
mov rdx, r15
mov rcx, rbx
call fcn.14003c718
cmp rax, rdi
je 0x14000580d
mov rcx, rbp
call fcn.14000bc80
lea rcx, str.Error_writing_ID3v2_tag__n
call fcn.140001e20
mov eax, r15d
jmp 0x140005c76
cmp esi, 0xffffffff
jne 0x1400059ad
lea rcx, str.mp3_buffer_is_not_big_enough...__n
call fcn.140001e20
mov eax, 1
jmp 0x140005c66
mov edx, esi
lea rcx, str.mp3_internal_error:__error_code_i_n
call fcn.140001e20
mov eax, 1
jmp 0x140005c66
call fcn.14000ec10
mov ebx, eax
test eax, eax
jns 0x1400059ed
cmp eax, 0xffffffff
je 0x140005997
mov edx, eax
lea rcx, str.mp3_internal_error:__error_code_i_n
call fcn.140001e20
mov eax, 1
jmp 0x140005c66
mov rcx, rbp
call fcn.14000bc80
mov r15d, 1
movsxd r8, ebx
mov edx, r15d
lea rcx, [rsp + 0x24c0]
mov r9, r14
call fcn.14003c718
cmp eax, ebx
jne 0x140005a87
cmp dword [0x14007b4bc], r15d
jne 0x140005a26
mov rcx, r14
call fcn.14003b7f0
mov r8d, 0x80
lea rdx, [rsp + 0x2440]
mov rcx, rbp
call fcn.1400159f0
mov rbx, rax
test rax, rax
je 0x140005a60
mov r8, rax
cmp rax, 0x80
jbe 0x140005a9b
mov edx, 0x80
lea rcx, str.Error_writing_ID3v1_tag:_buffer_too_small:_buffer_size_d__ID3v1_size_d_n
call fcn.140001e20
xor ebx, ebx
cmp dword [0x14007b4bc], r15d
jne 0x140005a73
mov rcx, r14
call fcn.14003b7f0
test ebx, ebx
je 0x140005ac4
mov eax, 1
jmp 0x140005c66
mov r15d, 1
lea rcx, str.Error_writing_mp3_output__n
call fcn.140001e20
mov eax, r15d
jmp 0x140005c66
mov r9, r14
lea rcx, [rsp + 0x2440]
mov rdx, r15
call fcn.14003c718
cmp rax, rbx
je 0x140005a60
lea rcx, str.Error_writing_ID3v1_tag__n
call fcn.140001e20
mov ebx, r15d
jmp 0x140005a62
mov r8, qword [rsp + 0x38]
mov rdx, r14
mov rcx, rbp
call fcn.140006180
cmp dword [0x14007b4bc], r15d
jne 0x140005ae5
mov rcx, r14
call fcn.14003b7f0
cmp dword [0x14007b4c0], 0
jg 0x140005c64
mov rcx, rbp
movaps xmmword [rsp + 0x264e0], xmm7
call fcn.14000c390
movss xmm7, dword [0x14005b18c]
test eax, eax
je 0x140005b64
mov rcx, rbp
call fcn.14000c090
mov ebx, eax
lea rdx, [0x14005a472]
test ebx, ebx
lea rcx, str.ReplayGain:__s_.1fdB_n
movd xmm0, eax
lea rax, [0x14005acc0]
cvtdq2ps xmm0, xmm0
cmovg rdx, rax
mulss xmm0, xmm7
cvtps2pd xmm2, xmm0
movq r8, xmm2
call fcn.140001d20
lea eax, [rbx + 0x1fe]
cmp eax, 0x3fc
jbe 0x140005b64
lea rcx, str.WARNING:_ReplayGain_exceeds_the__51dB_to_51dB_range._Such_a_result_is_too_n_________high_to_be_stored_in_the_header._n
call fcn.140001e20
cmp dword [0x14007b4c8], 0
je 0x140005c5c
mov rcx, rbp
call fcn.14000c2c0
test eax, eax
je 0x140005c5c
movaps xmmword [rsp + 0x264f0], xmm6
mov rcx, rbp
movaps xmmword [rsp + 0x264d0], xmm8
call fcn.14000c6a0
mov rcx, rbp
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm7
call fcn.14000c6e0
xorps xmm8, xmm8
movaps xmm7, xmm0
comiss xmm6, xmm8
cvtps2pd xmm1, xmm6
jbe 0x140005c14
movq rdx, xmm1
lea rcx, str.WARNING:_clipping_occurs_at_the_current_gain._Set_your_decoder_to_decrease_n_________the__gain__by__at_least__.1fdB_or_encode_again
call fcn.140001d20
comiss xmm7, xmm8
jbe 0x140005c06
mov rcx, rbp
call fcn.14000c840
mulss xmm0, xmm7
lea rcx, str.using____scale__.2f_n
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movq rdx, xmm1
call fcn.140001d20
lea rcx, str._________or_less__the_value_under___scale_is_approximate_._n
call fcn.140001d20
jmp 0x140005c4b
lea rcx, str.using___scale__arg__n__________For___a___suggestion__on__the__optimal__value__of___arg___encode_n_________with____scale_1__first__n
call fcn.140001d20
jmp 0x140005c4b
comisd xmm1, xmmword [0x14005b198]
jbe 0x140005c2c
lea rcx, str._nThe_waveform_does_not_clip_and_is_less_than_0.1dB_away_from_full_scale._n
call fcn.140001d20
jmp 0x140005c4b
xorps xmm6, xmmword [0x14005b1a0]
lea rcx, str._nThe_waveform_does_not_clip_and_is_at_least__.1fdB_away_from_full_scale._n
xorps xmm1, xmm1
cvtss2sd xmm1, xmm6
movq rdx, xmm1
call fcn.140001d20
movaps xmm6, xmmword [rsp + 0x264f0]
movaps xmm8, xmmword [rsp + 0x264d0]
movaps xmm7, xmmword [rsp + 0x264e0]
xor eax, eax
mov r12, qword [rsp + 0x26550]
mov r13, qword [rsp + 0x26500]
mov rcx, qword [rsp + 0x264c0]
xor rcx, rsp
call fcn.140035970
add rsp, 0x26508
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret