Function at 0x4535a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff640
mov dword [ebp - 0x2c], 0x8565f8
call fcn.00452dec
test eax, eax
jne 0x4535d3
push str.LAME_ENC.DLL_not_found_
push dword [0x6eba34]
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x453aec
mov edx, dword [0x6fb15c]
test edx, edx
je 0x4535e4
xor eax, eax
jmp 0x453aec
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 8]
call fcn.00497038
add esp, 0xc
test eax, eax
jne 0x453602
xor eax, eax
jmp 0x453aec
push 0x7609c4
push dword [ebp + 8]
call fcn.0066f334
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x453623
xor eax, eax
jmp 0x453aec
push dword [ebp + 8]
lea edx, [ebp - 0x85c]
push edx
call fcn.0066ce08
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x453678
push 0x5c
push dword [ebp + 8]
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45365b
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
jmp 0x45365e
inc dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x7609c7
lea ecx, [ebp - 0x85c]
push ecx
call fcn.006712b0
add esp, 0x10
push 0x2e
lea eax, [ebp - 0x85c]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x4536a9
push 0x7609cd
lea ecx, [ebp - 0x85c]
push ecx
call fcn.0066cd2c
add esp, 8
jmp 0x4536bb
push 0x7609d2
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.0066ce08
add esp, 8
push 0
lea edx, [ebp - 0x85c]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x453713
lea ecx, [ebp - 0x85c]
push ecx
push 0x59f7
call fcn.00402b9c
pop ecx
push eax
push 0xa00988
call fcn.006712b0
add esp, 0xc
push 0xa00988
push 0
call fcn.00462af8
add esp, 8
test eax, eax
jne 0x453713
push dword [ebp - 0x30]
call fcn.0066ee38
pop ecx
xor eax, eax
jmp 0x453aec
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x868]
push edx
call fcn.0066cc88
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 0x453783
push dword [ebp - 0x30]
call fcn.0066ee38
pop ecx
xor eax, eax
jmp 0x453aec
lea edx, [ebp - 0x85c]
push edx
call fcn.004413f0
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x9b0]
push ecx
call fcn.0066cc88
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 [0x770958]
mov dword [ebp - 0x990], ecx
mov eax, dword [0x77095c]
test eax, eax
jne 0x453801
mov edx, dword [0x770954]
mov dword [ebp - 0x998], edx
jmp 0x45381c
mov ecx, dword [0x77095c]
cmp ecx, 3
jne 0x45381c
imul eax, dword [0x770954], 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 [0x77095c], 1
je 0x453869
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 [0x9008d0]
add esp, 0x10
test eax, eax
je 0x4538a1
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x30]
call fcn.0066ee38
pop ecx
xor eax, eax
jmp 0x453aec
push dword [ebp - 0x44]
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x40]
add edx, edx
push edx
call fcn.0066bfec
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.0066f6b4
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x58], edx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
jmp 0x453a67
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jb 0x453925
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.0066cc18
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 0x453a2a
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jbe 0x453a75
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x45394e
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.0066cc18
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 0x45396c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
jmp 0x453973
mov dword [ebp - 0x24], 0x12000
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.0066f614
add esp, 0x10
mov eax, dword [ebp - 0x24]
xor edx, edx
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x9b8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9b4], edx
fild qword [ebp - 0x9b8]
fadd qword [0x453af0]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x9c0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9bc], edx
fild qword [ebp - 0x9c0]
fadd qword [0x453af0]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jle 0x453a19
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.0066cc18
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 [0x9008d4]
add esp, 0x14
test eax, eax
je 0x453a53
mov dword [0x6fb15c], 1
jmp 0x453a75
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 [0x6fb15c]
test edx, edx
je 0x4538e9
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
call dword [0x9008d8]
add esp, 0xc
push dword [ebp - 0x48]
call dword [0x9008dc]
pop ecx
push dword [ebp - 0x4c]
call fcn.0066be14
pop ecx
push dword [ebp - 0x50]
call fcn.0066be14
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x30]
call fcn.0066ee38
pop ecx
test byte [0x77095c], 1
je 0x453acc
lea eax, [ebp - 0x85c]
push eax
call dword [0x9008e4]
pop ecx
mov edx, dword [0x6fb15c]
test edx, edx
je 0x453ae7
lea ecx, [ebp - 0x85c]
push ecx
call fcn.0045255c
pop ecx
xor eax, eax
jmp 0x453aec
mov eax, 1
mov esp, ebp
pop ebp
ret