Function at 0x45400c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff618
mov dword [ebp - 0x2c], 0x8565f8
mov eax, dword [0x6fb15c]
test eax, eax
je 0x45402c
xor eax, eax
jmp 0x454676
lea edx, [ebp - 0x38]
push edx
push dword [ebp + 8]
call fcn.0053a1d0
add esp, 8
test eax, eax
jne 0x454059
push str.Unsupported_WMA_format_
push dword [0x6eba34]
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x454676
push dword [ebp + 8]
lea edx, [ebp - 0x860]
push edx
call fcn.0066ce08
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4540ae
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 0x454091
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
jmp 0x454094
inc dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x760a15
lea ecx, [ebp - 0x860]
push ecx
call fcn.006712b0
add esp, 0x10
push 0x2e
lea eax, [ebp - 0x860]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x4540df
push 0x760a1b
lea ecx, [ebp - 0x860]
push ecx
call fcn.0066cd2c
add esp, 8
jmp 0x4540f1
push 0x760a20
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.0066ce08
add esp, 8
push 0
lea edx, [ebp - 0x860]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x45414a
lea ecx, [ebp - 0x860]
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 0x45414a
lea eax, [ebp - 0x38]
push eax
call fcn.0053a2e4
pop ecx
xor eax, eax
jmp 0x454676
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x86c]
push edx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x86c], 0xc
xor ecx, ecx
mov dword [ebp - 0x868], ecx
xor eax, eax
mov dword [ebp - 0x864], eax
push 0
push dword [ebp - 8]
push 2
lea edx, [ebp - 0x86c]
push edx
push 0
push 0x40000000
lea ecx, [ebp - 0x860]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x4541bb
lea edx, [ebp - 0x38]
push edx
call fcn.0053a2e4
pop ecx
xor eax, eax
jmp 0x454676
lea edx, [ebp - 0x860]
push edx
call fcn.004413f0
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x9c8]
push ecx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x9c8], 0x100
mov dword [ebp - 0x9c4], 1
mov dword [ebp - 0x9c0], 0x148
mov dword [ebp - 0x9bc], 0xac44
xor eax, eax
mov dword [ebp - 0x9b8], eax
xor edx, edx
mov dword [ebp - 0x9b4], edx
mov ecx, dword [0x770958]
mov dword [ebp - 0x9a8], ecx
mov eax, dword [0x77095c]
test eax, eax
jne 0x454239
mov edx, dword [0x770954]
mov dword [ebp - 0x9b0], edx
jmp 0x454254
mov ecx, dword [0x77095c]
cmp ecx, 3
jne 0x454254
imul eax, dword [0x770954], 0x3e8
mov dword [ebp - 0x97c], eax
mov dword [ebp - 0x9a4], 1
xor edx, edx
mov dword [ebp - 0x9a0], edx
xor ecx, ecx
mov dword [ebp - 0x99c], ecx
xor eax, eax
mov dword [ebp - 0x994], eax
xor edx, edx
mov dword [ebp - 0x990], edx
xor ecx, ecx
mov dword [ebp - 0x998], ecx
xor eax, eax
mov dword [ebp - 0x98c], eax
test byte [0x77095c], 1
je 0x4542a1
mov dword [ebp - 0x988], 1
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x9c8]
push edx
call dword [0x9008d0]
add esp, 0x10
test eax, eax
je 0x4542da
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [ebp - 0x38]
push ecx
call fcn.0053a2e4
pop ecx
xor eax, eax
jmp 0x454676
push dword [ebp - 0x48]
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x44]
add edx, edx
push edx
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x44]
add ecx, ecx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x880]
push eax
push dword [ebp + 8]
call fcn.0053a5f8
add esp, 8
mov edx, dword [ebp - 0x87c]
cmp edx, 0xac44
je 0x454329
push dword [ebp - 0x87c]
call fcn.0049881c
pop ecx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x4545f1
mov edx, dword [ebp - 0x87c]
cmp edx, 0xac44
jne 0x454474
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x454386
push dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x58]
add edx, ecx
push edx
push dword [ebp - 0x54]
call fcn.0066cc18
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
jmp 0x4545b4
mov edx, dword [ebp - 0x5c]
test edx, edx
jle 0x4543a4
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x58]
add ecx, eax
push ecx
push dword [ebp - 0x54]
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x5c]
sub edx, ecx
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x38]
push eax
push 0x12000
push dword [ebp - 0x2c]
call fcn.0053a33c
add esp, 0xc
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x4545ff
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 - 0x9d0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9cc], edx
fild qword [ebp - 0x9d0]
fadd qword [0x45467c]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x9d8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9d4], edx
fild qword [ebp - 0x9d8]
fadd qword [0x45467c]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jle 0x454464
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
add eax, edx
push eax
call fcn.0066cc18
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
jmp 0x4545b4
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
jb 0x4544b0
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
add eax, edx
push eax
push dword [ebp - 0x54]
call fcn.0066cc18
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
sub edx, ecx
mov dword [ebp - 0x5c], edx
jmp 0x4545b4
mov eax, dword [ebp - 0x5c]
test eax, eax
jle 0x4544ce
push dword [ebp - 0x5c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
add edx, ecx
push edx
push dword [ebp - 0x54]
call fcn.0066cc18
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
sub eax, edx
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x38]
push ecx
push 0x12000
push dword [ebp - 0x2c]
call fcn.0053a33c
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4545ff
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 - 0x9e0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9dc], edx
fild qword [ebp - 0x9e0]
fadd qword [0x45467c]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x9e8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9e4], edx
fild qword [ebp - 0x9e8]
fadd qword [0x45467c]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.004989a4
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x58]
test edx, edx
jle 0x4545a9
push dword [ebp - 0x58]
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
add ecx, eax
push ecx
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x58]
sub edx, ecx
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
call dword [0x9008d4]
add esp, 0x14
test eax, eax
je 0x4545dd
mov dword [0x6fb15c], 1
jmp 0x4545ff
push 0
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x454338
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
call dword [0x9008d8]
add esp, 0xc
push dword [ebp - 0x4c]
call dword [0x9008dc]
pop ecx
push dword [ebp - 0x50]
call fcn.0066be14
pop ecx
push dword [ebp - 0x54]
call fcn.0066be14
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea edx, [ebp - 0x38]
push edx
call fcn.0053a2e4
pop ecx
test byte [0x77095c], 1
je 0x454657
lea ecx, [ebp - 0x860]
push ecx
call dword [0x9008e4]
pop ecx
mov eax, dword [0x6fb15c]
test eax, eax
je 0x454671
lea edx, [ebp - 0x860]
push edx
call fcn.0045255c
pop ecx
xor eax, eax
jmp 0x454676
mov eax, 1
mov esp, ebp
pop ebp
ret