Function at 0x4532f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff640
mov dword [ebp - 0x2c], 0x848c24
call fcn.00452b3c
test eax, eax
jne 0x453323
push str.LAME_ENC.DLL_not_found_
push dword [0x6e716c]
call fcn.0046279c
add esp, 8
xor eax, eax
jmp 0x45383c
mov edx, dword [0x6f6920]
test edx, edx
je 0x453334
xor eax, eax
jmp 0x45383c
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 8]
call fcn.00496d50
add esp, 0xc
test eax, eax
jne 0x453352
xor eax, eax
jmp 0x45383c
push 0x7578bf
push dword [ebp + 8]
call fcn.0066ef18
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x453373
xor eax, eax
jmp 0x45383c
push dword [ebp + 8]
lea edx, [ebp - 0x85c]
push edx
call fcn.0066c9ec
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4533c8
push 0x5c
push dword [ebp + 8]
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4533ab
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
jmp 0x4533ae
inc dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x7578c2
lea ecx, [ebp - 0x85c]
push ecx
call fcn.00670e94
add esp, 0x10
push 0x2e
lea eax, [ebp - 0x85c]
push eax
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x4533f9
push 0x7578c8
lea ecx, [ebp - 0x85c]
push ecx
call fcn.0066c910
add esp, 8
jmp 0x45340b
push 0x7578cd
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.0066c9ec
add esp, 8
push 0
lea edx, [ebp - 0x85c]
push edx
call fcn.0066e7cc
add esp, 8
test eax, eax
jne 0x453463
lea ecx, [ebp - 0x85c]
push ecx
push 0x59f7
call fcn.00402a64
pop ecx
push eax
push 0x9f2fb4
call fcn.00670e94
add esp, 0xc
push 0x9f2fb4
push 0
call fcn.00462810
add esp, 8
test eax, eax
jne 0x453463
push dword [ebp - 0x30]
call fcn.0066ea1c
pop ecx
xor eax, eax
jmp 0x45383c
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x868]
push edx
call fcn.0066c86c
add esp, 0xc
mov dword [ebp - 0x868], 0xc
xor ecx, ecx
mov dword [ebp - 0x864], ecx
xor eax, eax
mov dword [ebp - 0x860], eax
push 0
push dword [ebp - 8]
push 2
lea edx, [ebp - 0x868]
push edx
push 0
push 0x40000000
lea ecx, [ebp - 0x85c]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x4534d3
push dword [ebp - 0x30]
call fcn.0066ea1c
pop ecx
xor eax, eax
jmp 0x45383c
lea edx, [ebp - 0x85c]
push edx
call fcn.00441278
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x9b0]
push ecx
call fcn.0066c86c
add esp, 0xc
mov dword [ebp - 0x9b0], 0x100
mov dword [ebp - 0x9ac], 1
mov dword [ebp - 0x9a8], 0x148
mov dword [ebp - 0x9a4], 0xac44
xor eax, eax
mov dword [ebp - 0x9a0], eax
xor edx, edx
mov dword [ebp - 0x99c], edx
mov ecx, dword [0x76784c]
mov dword [ebp - 0x990], ecx
mov eax, dword [0x767850]
test eax, eax
jne 0x453551
mov edx, dword [0x767848]
mov dword [ebp - 0x998], edx
jmp 0x45356c
mov ecx, dword [0x767850]
cmp ecx, 3
jne 0x45356c
imul eax, dword [0x767848], 0x3e8
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x98c], 1
xor edx, edx
mov dword [ebp - 0x988], edx
xor ecx, ecx
mov dword [ebp - 0x984], ecx
xor eax, eax
mov dword [ebp - 0x97c], eax
xor edx, edx
mov dword [ebp - 0x978], edx
xor ecx, ecx
mov dword [ebp - 0x980], ecx
xor eax, eax
mov dword [ebp - 0x974], eax
test byte [0x767850], 1
je 0x4535b9
mov dword [ebp - 0x970], 1
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x9b0]
push edx
call dword [0x8f2efc]
add esp, 0x10
test eax, eax
je 0x4535f1
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x30]
call fcn.0066ea1c
pop ecx
xor eax, eax
jmp 0x45383c
push dword [ebp - 0x44]
call fcn.0066bbd0
pop ecx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x40]
add edx, edx
push edx
call fcn.0066bbd0
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x40]
add ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.0066f298
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x58], edx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
jmp 0x4537b7
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jb 0x453675
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
add ecx, eax
push ecx
push dword [ebp - 0x50]
call fcn.0066c7fc
add esp, 0xc
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
add edx, ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x58], eax
jmp 0x45377a
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jbe 0x4537c5
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x45369e
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x54]
add edx, ecx
push edx
push dword [ebp - 0x50]
call fcn.0066c7fc
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x58]
sub eax, edx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x12000
jae 0x4536bc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
jmp 0x4536c3
mov dword [ebp - 0x24], 0x12000
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.0066f1f8
add esp, 0x10
mov eax, dword [ebp - 0x24]
xor edx, edx
add dword [0x826584], eax
adc dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x9b8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9b4], edx
fild qword [ebp - 0x9b8]
fadd qword [0x453840]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x9c0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9bc], edx
fild qword [ebp - 0x9c0]
fadd qword [0x453840]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jle 0x453769
push dword [ebp - 0x54]
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
add eax, edx
push eax
call fcn.0066c7fc
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
sub ecx, eax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x24]
sub dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x40]
push dword [ebp - 0x48]
call dword [0x8f2f00]
add esp, 0x14
test eax, eax
je 0x4537a3
mov dword [0x6f6920], 1
jmp 0x4537c5
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
mov edx, dword [0x6f6920]
test edx, edx
je 0x453639
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
call dword [0x8f2f04]
add esp, 0xc
push dword [ebp - 0x48]
call dword [0x8f2f08]
pop ecx
push dword [ebp - 0x4c]
call fcn.0066b9f8
pop ecx
push dword [ebp - 0x50]
call fcn.0066b9f8
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x30]
call fcn.0066ea1c
pop ecx
test byte [0x767850], 1
je 0x45381c
lea eax, [ebp - 0x85c]
push eax
call dword [0x8f2f10]
pop ecx
mov edx, dword [0x6f6920]
test edx, edx
je 0x453837
lea ecx, [ebp - 0x85c]
push ecx
call fcn.004522ac
pop ecx
xor eax, eax
jmp 0x45383c
mov eax, 1
mov esp, ebp
pop ebp
ret