Function at 0x701e3bd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xb0
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x63
mov dword [esp], 0x1b1b8
call fcn.701dd9e4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x701e3c13
mov eax, 0
jmp 0x701e45e1
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x67
mov dword [esp], 0x200
call fcn.701dd9e4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xeb44], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x68
mov dword [esp], 0x8000
call fcn.701dd9e4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xeb48], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x69
mov dword [esp], 0x2010
call fcn.701dd9e4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xeb4c], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x6a
mov dword [esp], 0x4020
call fcn.701dd9e4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xeb50], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_psycho_2.c
mov dword [esp + 4], 0x6b
mov dword [esp], 0x4020
call fcn.701dd9e4
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xeb54], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0xc], 0x240
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x14], 0x420
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
sub edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x34]
add eax, 0xe18
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
add eax, 0x1018
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
add eax, 0x7218
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
add eax, 0x9218
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
add eax, 0xe240
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
add eax, 0xe340
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
add eax, 0xc230
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x5dc0
je 0x701e3dbe
cmp eax, 0x5dc0
jg 0x701e3d97
cmp eax, 0x3e80
je 0x701e3dac
cmp eax, 0x5622
je 0x701e3db5
jmp 0x701e3dc7
cmp eax, 0xac44
je 0x701e3db5
cmp eax, 0xbb80
je 0x701e3dbe
cmp eax, 0x7d00
jne 0x701e3dc7
mov dword [ebp - 0x2c], 0
jmp 0x701e3df0
mov dword [ebp - 0x2c], 1
jmp 0x701e3df0
mov dword [ebp - 0x2c], 2
jmp 0x701e3df0
mov eax, dword [sym.imp.msvcrt.dll__iob]
lea edx, [eax + 0x40]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.error__invalid_sampling_frequency:__d_Hz_n
mov dword [esp], edx
call fcn.6fef8058
mov eax, 0
jmp 0x701e45e1
mov eax, dword [sym.imp.msvcrt.dll__iob]
lea edx, [eax + 0x40]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.absthr_____sampling_frequency_index:__d_n
mov dword [esp], edx
call fcn.6fef8058
mov eax, dword [ebp - 0x34]
lea edx, [eax + 0xd238]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.701e3b5c
mov dword [ebp - 0xc], 0
jmp 0x701e3e75
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x40]
lea ebx, [edx + eax]
fild dword [ebp - 0xc]
fld qword [0x708509e0]
fsubp st(1)
fld qword [0x708509e8]
fmulp st(1)
fld qword [0x708509f0]
fdivp st(1)
fstp qword [esp]
call fcn.6feee590
fld1
fsubrp st(1)
fld qword [0x708509e0]
fmulp st(1)
fstp qword [ebx]
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3ff
jle 0x701e3e30
mov dword [ebp - 0xc], 0
jmp 0x701e3f99
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0xeb50]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb50]
lea edx, [eax + 0x2010]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb50]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0xeb50]
add ecx, 0x2010
mov esi, dword [ebp - 0xc]
add esi, 0x201
fldz
fstp qword [ecx + esi*8]
mov esi, dword [ebp - 0xc]
add esi, 0x201
fld qword [ecx + esi*8]
mov ecx, dword [ebp - 0xc]
add ecx, 0x201
fstp qword [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
add ecx, 0x201
fld qword [eax + ecx*8]
mov eax, dword [ebp - 0xc]
fstp qword [edx + eax*8]
mov eax, dword [ebp - 0xc]
fld qword [edx + eax*8]
mov eax, dword [ebp - 0xc]
fstp qword [ebx + eax*8]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xeb54]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb54]
add eax, 0x2010
mov ecx, dword [ebp - 0xc]
fldz
fstp qword [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
fld qword [eax + ecx*8]
mov eax, dword [ebp - 0xc]
fstp qword [edx + eax*8]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xeb54]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb54]
add eax, 0x2010
mov ecx, dword [ebp - 0xc]
add ecx, 0x201
fldz
fstp qword [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
add ecx, 0x201
fld qword [eax + ecx*8]
mov eax, dword [ebp - 0xc]
add eax, 0x201
fstp qword [edx + eax*8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb4c]
mov edx, dword [ebp - 0xc]
fld qword [0x708509f8]
fstp qword [eax + edx*8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xeb4c]
lea edx, [eax + 0x1008]
mov eax, dword [ebp - 0xc]
fld qword [0x708509f8]
fstp qword [edx + eax*8]
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x200
jle 0x701e3e8a
fild dword [ebp + 0xc]
fld qword [0x708509f0]
fdivp st(1)
fstp qword [ebp - 0x60]
mov dword [ebp - 0xc], 0
jmp 0x701e4036
fild dword [ebp - 0xc]
fmul qword [ebp - 0x60]
fstp qword [ebp - 0x68]
mov dword [ebp - 0x10], 1
jmp 0x701e3fd3
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
fld qword [eax*8 + 0x7084c6e0]
fld qword [ebp - 0x68]
fucompi st(1)
fstp st(0)
ja 0x701e3fcf
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x58]
add edx, eax
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
mov eax, dword [ebp - 0x10]
sub eax, 1
fld qword [eax*8 + 0x7084c6e0]
fld qword [ebp - 0x68]
fsubrp st(1)
mov eax, dword [ebp - 0x10]
fld qword [eax*8 + 0x7084c6e0]
mov eax, dword [ebp - 0x10]
sub eax, 1
fld qword [eax*8 + 0x7084c6e0]
fsubp st(1)
fdivp st(1)
faddp st(1)
fstp qword [edx]
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x200
jle 0x701e3fbd
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x58]
fld qword [eax]
mov eax, dword [ebp - 0x38]
fstp qword [eax]
mov eax, dword [ebp - 0x58]
fld qword [eax]
fstp qword [ebp - 0x28]
mov dword [ebp - 0xc], 1
jmp 0x701e41f8
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x58]
add eax, edx
fld qword [eax]
fsub qword [ebp - 0x28]
fld qword [0x70850a00]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x701e417a
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov edx, dword [ebp - 0xc]
sub edx, 1
lea ecx, [edx*4]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov edx, dword [edx]
add edx, 1
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
mov edx, dword [ebp - 0xc]
sub edx, 1
lea ecx, [edx*4]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov edx, dword [edx]
lea ecx, [edx*8]
mov edx, dword [ebp - 0x38]
add edx, ecx
fld qword [edx]
fild dword [ebp - 0x14]
fdivp st(1)
fstp qword [eax]
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
mov edx, dword [ebp - 0xc]
lea ecx, [edx*8]
mov edx, dword [ebp - 0x58]
add edx, ecx
fld qword [edx]
fstp qword [eax]
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x58]
add eax, edx
fld qword [eax]
fstp qword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
sub eax, 1
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [ebp - 0x14], 1
jmp 0x701e41f4
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ebp - 0xc]
sub eax, 1
lea ecx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
mov edx, dword [ebp - 0xc]
lea ecx, [edx*4]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov edx, dword [edx]
lea ecx, [edx*8]
mov edx, dword [ebp - 0x38]
add edx, ecx
fld qword [edx]
mov edx, dword [ebp - 0xc]
lea ecx, [edx*8]
mov edx, dword [ebp - 0x58]
add edx, ecx
fld qword [edx]
faddp st(1)
fstp qword [eax]
add dword [ebp - 0x14], 1
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x200
jle 0x701e4071
mov eax, dword [ebp - 0xc]
sub eax, 1
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
mov edx, dword [ebp - 0xc]
sub edx, 1
lea ecx, [edx*4]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov edx, dword [edx]
lea ecx, [edx*8]
mov edx, dword [ebp - 0x38]
add edx, ecx
fld qword [edx]
fild dword [ebp - 0x14]
fdivp st(1)
fstp qword [eax]
mov dword [ebp - 0x10], 0
jmp 0x701e43bd
mov dword [ebp - 0xc], 0
jmp 0x701e43af
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
fld qword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
fld qword [eax]
fsubp st(1)
fld qword [0x70850a08]
fmulp st(1)
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fld qword [0x708509e0]
fxch st(1)
fucompi st(1)
fstp st(0)
jb 0x701e4304
fld qword [0x70850a10]
fld qword [ebp - 0x68]
fxch st(1)
fucompi st(1)
fstp st(0)
jb 0x701e4304
fld qword [ebp - 0x68]
fld qword [0x708509e0]
fsubp st(1)
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd st(0)
fsubp st(1)
fld qword [0x70850a18]
fmulp st(1)
fstp qword [ebp - 0x20]
jmp 0x701e4309
fldz
fstp qword [ebp - 0x20]
fld qword [ebp - 0x68]
fld qword [0x70850a20]
faddp st(1)
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fld qword [0x70850a28]
fmulp st(1)
fld qword [0x70850a30]
faddp st(1)
fstp qword [ebp - 0x88]
fld qword [ebp - 0x68]
fmul qword [ebp - 0x68]
fld1
faddp st(1)
fstp qword [esp]
call fcn.6feee4a0
fld qword [0x70850a38]
fmulp st(1)
fsubr qword [ebp - 0x88]
fstp qword [ebp - 0x70]
fld qword [0x70850a40]
fld qword [ebp - 0x70]
fxch st(1)
fucompi st(1)
fstp st(0)
jb 0x701e437b
mov eax, dword [ebp - 0xc]
mov edx, eax
shl edx, 9
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x10]
fldz
fstp qword [edx + eax*8]
jmp 0x701e43ab
fld qword [ebp - 0x20]
fadd qword [ebp - 0x70]
fld qword [0x70850a48]
fmulp st(1)
fstp qword [ebp - 0x70]
mov eax, dword [ebp - 0xc]
mov edx, eax
shl edx, 9
mov eax, dword [ebp - 0x50]
lea ebx, [edx + eax]
fld qword [ebp - 0x70]
fstp qword [esp]
call fcn.6feee770
mov eax, dword [ebp - 0x10]
fstp qword [ebx + eax*8]
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3f
jle 0x701e428b
add dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0x3f
jle 0x701e427f
mov dword [ebp - 0x10], 0
jmp 0x701e447d
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
fld qword [eax]
fld qword [0x70850a50]
faddp st(1)
fstp qword [ebp - 0x68]
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 0x54]
add eax, edx
fld qword [ebp - 0x68]
fld qword [0x70850a58]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x701e4414
fld qword [ebp - 0x68]
jmp 0x701e441a
fld qword [0x70850a58]
fstp qword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 0x3c]
add eax, edx
fldz
fstp qword [eax]
mov dword [ebp - 0xc], 0
jmp 0x701e4473
mov eax, dword [ebp - 0x10]
lea edx, [eax*8]
mov eax, dword [ebp - 0x3c]
add edx, eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax*8]
mov eax, dword [ebp - 0x3c]
add eax, ecx
fld qword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl ecx, 9
mov eax, dword [ebp - 0x50]
add ecx, eax
mov eax, dword [ebp - 0xc]
fld qword [ecx + eax*8]
faddp st(1)
fstp qword [edx]
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3f
jle 0x701e4438
add dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0x3f
jle 0x701e43d3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x88]
cmp eax, 5
jle 0x701e45de
mov dword [ebp - 0x30], 0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x11
mov dword [esp + 4], 1
mov dword [esp], str.psy_model_2_init_n
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 1
mov dword [esp], 0x7084c958
call sub.msvcrt.dll_fwrite
mov dword [ebp - 0xc], 0
jmp 0x701e45d4
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x74]
add eax, edx
sub eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x54]
add eax, edx
fld qword [eax]
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
fld qword [eax]
fld qword [0x708509e0]
faddp st(1)
fnstcw word [ebp - 0x7a]
movzx eax, word [ebp - 0x7a]
mov ah, 0xc
mov word [ebp - 0x7c], ax
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x80]
fldcw word [ebp - 0x7a]
mov eax, dword [ebp - 0x80]
fld qword [eax*8 + 0x7084c7c0]
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x38]
add eax, edx
fld qword [eax]
fxch st(2)
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
lea ebx, [edx + 1]
mov edx, dword [sym.imp.msvcrt.dll__iob]
lea ecx, [edx + 0x40]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x7084c988
mov dword [esp], ecx
call fcn.6fef8058
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3f
jle 0x701e44fc
mov eax, dword [ebp - 0x34]
add esp, 0xb0
pop ebx
pop esi
pop ebp
ret