Function at 0x701db92f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x701db975
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2b
mov dword [esp + 4], 1
mov dword [esp], str.Already_called_twolame_init_params___once._n
call sub.msvcrt.dll_fwrite
mov eax, 1
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x701db9bd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 2
je 0x701db9bd
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x5f
mov dword [esp + 4], 1
mov dword [esp], str.twolame_init_params__:_must_specify_number_of_input_channels_using_twolame_set_num_channels__._n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jg 0x701db9d2
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x701dba36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.701ddbe5
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x88]
cmp eax, 2
jle 0x701dba36
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.701dda78
mov edx, dword [sym.imp.msvcrt.dll__iob]
add edx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Chosen_version__s_for_samplerate_of__d_Hz._n
mov dword [esp], edx
call fcn.6fef8058
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x701dbaa2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 2
jne 0x701dba58
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
jmp 0x701dba62
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x88]
cmp eax, 2
jle 0x701dbaa2
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dd3e3
mov edx, dword [sym.imp.msvcrt.dll__iob]
add edx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Chosen_mode_to_be__s_because_of__d_input_channels._n
mov dword [esp], edx
call fcn.6fef8058
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jg 0x701dbc18
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 3
jne 0x701dbb5b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 0x5dc0
je 0x701dbb2d
cmp eax, 0x5dc0
jg 0x701dbae6
cmp eax, 0x3e80
je 0x701dbb4b
cmp eax, 0x5622
je 0x701dbb3c
jmp 0x701dbbdd
cmp eax, 0xac44
je 0x701dbb0f
cmp eax, 0xbb80
je 0x701dbb00
cmp eax, 0x7d00
je 0x701dbb1e
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x60
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x60
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x50
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x30
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x30
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x20
nop
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 0x5dc0
je 0x701dbbba
cmp eax, 0x5dc0
jg 0x701dbb7f
cmp eax, 0x3e80
je 0x701dbbd2
cmp eax, 0x5622
je 0x701dbbc6
jmp 0x701dbbdd
cmp eax, 0xac44
je 0x701dbba2
cmp eax, 0xbb80
je 0x701dbb96
cmp eax, 0x7d00
je 0x701dbbae
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xc0
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xc0
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xa0
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x60
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x60
jmp 0x701dbbdd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x40
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x88]
cmp eax, 2
jle 0x701dbc18
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [sym.imp.msvcrt.dll__iob]
add ecx, 0x40
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Chosen_bitrate_of__dkbps_for_samplerate_of__d_Hz._n
mov dword [esp], ecx
call fcn.6fef8058
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x701dbc5e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x701dbc5e
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x37
mov dword [esp + 4], 1
mov dword [esp], str.Error:_Cant_do_DAB_and_Energy_Levels_at_the_same_time_n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
test eax, eax
jns 0x701dbc8f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x701dbc85
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701de1c8
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
jmp 0x701dbc8f
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x701dbce6
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701de1c8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0xc]
jge 0x701dbce6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov edx, dword [sym.imp.msvcrt.dll__iob]
lea ecx, [edx + 0x40]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Warning:_Too_few_ancillary_bits_to_store_energy_levels:__i__i_n
mov dword [esp], ecx
call fcn.6fef8058
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x701dbd36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x701dbd36
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x45
mov dword [esp + 4], 1
mov dword [esp], str.Warning:_Cant_do_Joint_Stereo_with_VBR__switching_to_normal_stereo._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dd390
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x701dbd7d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jne 0x701dbd7d
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.Error:_Cant_do_padding_and_VBR_at_same_time_n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 3
jne 0x701dbd8f
mov eax, 1
jmp 0x701dbd94
mov eax, 2
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701db798
test eax, eax
jns 0x701dbdb3
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701de5a5
test eax, eax
jns 0x701dbdcc
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dfd8e
test eax, eax
jns 0x701dbde5
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp edx, eax
je 0x701dbe26
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x48
mov dword [esp + 4], 1
mov dword [esp], str.twolame_init_params__:_sorry__twolame_doesnt_support_resampling__yet_._n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov dword [eax + 0x12f4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x12f8], 0
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_twolame.c
mov dword [esp + 4], 0x158
mov dword [esp], 0x2400
call fcn.701dd9e4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1f80], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_twolame.c
mov dword [esp + 4], 0x159
mov dword [esp], 0x2400
call fcn.701dd9e4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1f84], eax
mov dword [esp + 8], str..._.._source_twolame_0.3.13_libtwolame_twolame.c
mov dword [esp + 4], 0x15a
mov dword [esp], 0x4800
call fcn.701dd9e4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1f88], eax
mov eax, dword [ebp + 8]
add eax, 0xf4
mov dword [esp + 8], 0x1200
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1300
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1400
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1500
mov dword [esp + 8], 0x300
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1800
mov dword [esp + 8], 0x180
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1980
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1b80
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1d80
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
add eax, 0x1fb8
mov dword [esp], eax
call fcn.701e0f15
test eax, eax
jns 0x701dbfca
mov eax, 0xffffffff
jmp 0x701dbfe4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf0]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0xf0], edx
mov eax, 0
add esp, 0x24
pop ebx
pop ebp
ret