Function at 0x701dc2e2
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov eax, 0x10ec
call fcn.703e0830
sub esp, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf0]
test eax, eax
jne 0x701dc33c
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 1
mov dword [esp], str.Please_call_twolame_init_params___before_starting_encoding._n
call sub.msvcrt.dll_fwrite
mov eax, 0xffffffff
jmp 0x701dcb68
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dbfea
mov dword [esp + 8], 0x1080
mov dword [esp + 4], 0
lea eax, [ebp - 0x10c4]
mov dword [esp], eax
call fcn.6fef7ef0
mov eax, dword [ebp + 8]
mov dword [eax + 0x12fc], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.avcodec_56.dll_available_bits
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10cc], eax
fild dword [ebp - 0x10cc]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10cc], eax
fild dword [ebp - 0x10cc]
fld qword [0x708445b0]
fmulp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x701dc3fa
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], str.Youre_trying_to_reserve_more_than_60___of_the_mpeg_frame_for_ancillary_data_n
mov dword [esp], eax
call fcn.6fef8058
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.This_is_probably_an_error._But_Ill_keep_going_anyway..._n
call sub.msvcrt.dll_fwrite
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0
jmp 0x701dc4db
mov dword [ebp - 0x2c], 0
jmp 0x701dc4cd
mov dword [ebp - 0x30], 0
jmp 0x701dc4bd
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1f88]
mov eax, dword [ebp - 0x28]
mov edx, eax
add edx, edx
add edx, eax
lea eax, [edx*4]
mov edx, eax
mov ecx, dword [ebp - 0x30]
mov eax, ecx
shl eax, 3
add eax, ecx
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
shl eax, 8
add ebx, eax
mov edx, dword [ebp - 0x28]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov ecx, eax
shl ecx, 5
mov edx, dword [ebp - 0x30]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 7
add eax, ecx
add eax, 0x78
lea edx, [eax + eax]
mov eax, dword [ebp + 8]
add eax, edx
lea ecx, [eax + 4]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1fb8]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.701e0f9d
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jl 0x701dc430
add dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0xb
jle 0x701dc424
add dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 2
jle 0x701dc418
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x4ffc]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1500]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f88]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.701de6dc
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1d80]
mov eax, dword [ebp + 8]
add eax, 0x1500
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701de91b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x701dc5a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4ffc]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1f84]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f88]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.701de84f
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x4ffc]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1800]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f84]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.701de6dc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
cmp eax, 1
jne 0x701dc645
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12f8]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x12f8], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12f8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3c]
mov ecx, edx
mov edx, 0
div ecx
mov eax, edx
test eax, eax
je 0x701dc645
mov dword [ebp - 0x20], 0
jmp 0x701dc638
mov dword [ebp - 0x1c], 0
jmp 0x701dc62e
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shl ecx, 5
mov edx, dword [ebp - 0x1c]
add edx, ecx
add edx, 0x330
fld qword [eax + edx*8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shl ecx, 5
mov edx, dword [ebp - 0x1c]
add edx, ecx
add edx, 0x370
fstp qword [eax + edx*8]
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x1f
jle 0x701dc5f8
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x34]
jl 0x701dc5ef
jmp 0x701dc80b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
add eax, 1
cmp eax, 5
ja case.default.0x701dc65e
mov eax, dword [eax*4 + 0x70844564]
jmp eax
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1b80]
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e182c
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1500]
mov eax, dword [ebp + 8]
add eax, 0x1b80
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e1933
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1b80]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1d80]
mov eax, dword [ebp + 8]
add eax, 0xf4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e3596
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
add eax, 0x1b80
mov edx, dword [ebp + 8]
add edx, 0xf4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c4]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e45eb
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1b80]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1d80]
mov eax, dword [ebp + 8]
add eax, 0xf4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e6c07
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
add eax, 0x1b80
mov edx, dword [ebp + 8]
add edx, 0xf4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c4]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e77a9
jmp 0x701dc7a6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov edx, dword [sym.imp.msvcrt.dll__iob]
add edx, 0x40
mov dword [esp + 8], eax
mov dword [esp + 4], str.Invalid_psy_model_specification:__i_n
mov dword [esp], edx
call fcn.6fef8058
mov eax, 0xffffffff
jmp 0x701dcb68
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
cmp eax, 1
jne 0x701dc80b
mov dword [ebp - 0x20], 0
jmp 0x701dc803
mov dword [ebp - 0x1c], 0
jmp 0x701dc7f9
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shl ecx, 5
mov edx, dword [ebp - 0x1c]
add edx, ecx
add edx, 0x370
fld qword [eax + edx*8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shl ecx, 5
mov edx, dword [ebp - 0x1c]
add edx, ecx
add edx, 0x330
fstp qword [eax + edx*8]
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x1f
jle 0x701dc7c3
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x34]
jl 0x701dc7ba
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1400]
mov eax, dword [ebp + 8]
add eax, 0x1500
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dea3f
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x1300]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1400]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1b80]
lea eax, [ebp - 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701dff1d
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701def98
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x701dc89f
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.701db458
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1300]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701df104
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x1500]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1400]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1300]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701df270
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1f80]
mov eax, dword [ebp + 8]
lea edi, [eax + 0x1300]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1f84]
mov eax, dword [ebp + 8]
lea esi, [eax + 0x1800]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f88]
mov ebx, dword [ebp + 8]
add ebx, 0x1500
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701df478
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1300]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1f80]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701df7d7
mov dword [ebp - 0x24], 0
jmp 0x701dc99c
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.701db380
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x24], eax
jl 0x701dc985
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4fd8]
test eax, eax
je 0x701dc9d6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x701dc9d6
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.701db458
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x701dca4a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
sub eax, 1
mov dword [ebp - 0x24], eax
jmp 0x701dca44
mov eax, dword [ebp - 0x24]
add eax, 0x1c
lea edx, [eax*4]
mov eax, dword [ebp + 8]
add eax, edx
lea esi, [eax + 4]
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x1500]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x1400]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x1300]
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701e8780
sub dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
jns 0x701dc9ee
mov dword [ebp - 0x24], 0
jmp 0x701dca6a
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.701db380
add dword [ebp - 0x24], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x24]
jg 0x701dca53
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
and eax, 7
test eax, eax
je 0x701dcb14
mov eax, dword [ebp - 0x3c]
mov ecx, eax
and ecx, 7
mov eax, dword [ebp - 0x3c]
shr eax, 3
mov edx, dword [sym.imp.msvcrt.dll__iob]
add edx, 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Sent__ld_bits___ld_slots_plus__ld_n
mov dword [esp], edx
call fcn.6fef8058
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x2f
mov dword [esp + 4], 1
mov dword [esp], str.If_you_are_reading_this__the_program_is_broken_n
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 8], str.support
mov dword [esp + 4], str.email__s_with_the_command_line_arguments_and_other_info_n
mov dword [esp], eax
call fcn.6fef8058
mov eax, 0xffffffff
jmp 0x701dcb68
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x701dcb30
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.701de1e4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x701dcb62
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
shr edx, 3
add eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12fc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.701e8a3e
mov eax, dword [ebp - 0x3c]
shr eax, 3
add esp, 0x10ec
pop ebx
pop esi
pop edi
pop ebp
ret