Function at 0x7023268c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x58c], 0
js 0x70232943
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
xor eax, eax
mov edx, dword [ebx + 0x58c]
cmp eax, edx
jge 0x702326cb
imul ecx, eax, 0x14
inc eax
mov dword [ebx + ecx + 0x59c], 0
jmp 0x702326b6
cmp edx, 4
je 0x7023283f
cmp dword [ebp + 0x10], 3
jle 0x70232bf2
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
sub eax, 3
mov dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
cmp byte [edi], 0x4f
je 0x70232707
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
inc edi
cmp eax, dword [ebp + 0x10]
jg 0x702326f1
jmp 0x7023283c
mov dword [esp + 8], 4
mov dword [esp + 4], 0x702aa360
mov dword [esp], edi
call sym._memcmp
test eax, eax
jne 0x702326f6
mov esi, dword [ebp + 0x10]
add esi, 0x1a
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
jle 0x7023283f
movzx ecx, byte [edi + 0x1a]
mov esi, dword [ebp + 0x10]
add esi, 0x1b
mov dword [ebp - 0x34], esi
lea edx, [ecx + esi]
cmp dword [ebp - 0x2c], edx
jle 0x7023283f
lea esi, [ecx + 0x1b]
xor edx, edx
mov dword [ebp - 0x30], esi
cmp ecx, edx
jle 0x70232765
movzx esi, byte [edi + edx + 0x1b]
inc edx
add dword [ebp - 0x30], esi
jmp 0x70232756
xor edx, edx
movzx esi, byte [edi + eax]
mov ecx, edx
inc eax
shr ecx, 0x18
shl edx, 8
xor ecx, esi
xor edx, dword [ecx*4 + 0x702a9f60]
cmp eax, 0x16
jne 0x70232767
mov eax, 4
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edx, dword [ecx*4 + 0x702a9f60]
dec eax
jne 0x70232787
mov esi, dword [ebx + 0x58c]
imul ecx, esi, 0x14
lea eax, [esi + 1]
add ecx, ebx
mov dword [ebx + 0x58c], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x598], edx
sub eax, 0x1a
mov dword [ecx + 0x594], eax
movzx eax, byte [edi + 0x17]
movzx edx, byte [edi + 0x16]
shl eax, 8
add edx, eax
movzx eax, byte [edi + 0x18]
shl eax, 0x10
add eax, edx
movzx edx, byte [edi + 0x19]
shl edx, 0x18
add eax, edx
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x590], eax
add edx, dword [ebp + 0xc]
movzx ecx, byte [edi + 0x1a]
or eax, 0xffffffff
cmp byte [ecx + edx - 1], 0xff
je 0x7023281b
movzx edx, byte [edi + 7]
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 8]
shl edx, 8
shl eax, 0x10
add ecx, edx
lea edx, [ecx + eax]
movzx eax, byte [edi + 9]
shl eax, 0x18
add eax, edx
imul esi, esi, 0x14
add esi, ebx
cmp dword [ebp - 0x3c], 4
mov dword [esi + 0x5a0], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x59c], eax
jne 0x702326f6
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x58c]
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
jge 0x70232d25
imul eax, dword [ebp - 0x2c], 0x14
add eax, ebx
mov edi, dword [ebp + 0x10]
mov esi, dword [eax + 0x59c]
mov eax, dword [eax + 0x594]
sub edi, esi
mov dword [ebp - 0x30], eax
cmp edi, eax
jle 0x70232878
mov edi, eax
imul eax, dword [ebp - 0x2c], 0x14
mov ecx, dword [ebp + 0xc]
add ecx, esi
mov edx, dword [ebx + eax + 0x598]
mov dword [ebp - 0x3c], ecx
xor eax, eax
cmp edi, eax
jle 0x702328b0
mov ecx, dword [ebp - 0x3c]
movzx ecx, byte [ecx + eax]
mov dword [ebp - 0x38], ecx
mov ecx, edx
shr ecx, 0x18
inc eax
shl edx, 8
xor ecx, dword [ebp - 0x38]
xor edx, dword [ecx*4 + 0x702a9f60]
jmp 0x7023288d
imul ecx, dword [ebp - 0x2c], 0x14
mov eax, dword [ebp - 0x30]
add ecx, ebx
sub eax, edi
mov dword [ecx + 0x594], eax
mov dword [ecx + 0x598], edx
jne 0x7023293b
cmp edx, dword [ecx + 0x590]
lea eax, [ecx + 0x590]
jne 0x70232919
lea eax, [esi + edi]
mov dword [ebx + 0x58c], 0xffffffff
mov dword [ebx + 0x3e0], 0
mov dword [ebx + 0x564], 0xffffffff
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 0x5a0]
mov dword [ebx + 0x424], eax
inc eax
setne al
movzx eax, al
mov dword [ebx + 0x428], eax
jmp 0x70232d25
mov edx, dword [ebp - 0x34]
mov ecx, 5
dec edx
mov edi, eax
mov dword [ebx + 0x58c], edx
imul edx, edx, 0x14
lea esi, [ebx + edx + 0x590]
rep movsd dword es:[edi], dword [esi]
jmp 0x70232846
inc dword [ebp - 0x2c]
jmp 0x70232846
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x20], eax
add eax, dword [ebp + 0x10]
mov dword [ebx + 0x28], eax
mov eax, ebx
call sym._is_whole_packet_present
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x70232972
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x70232d25
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5e4], 0
mov dword [ebx + 0x5e0], 0
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x70232b58
cmp dword [ebx + 0x564], 0xffffffff
jne 0x70232a2f
mov eax, ebx
call sym._get8
cmp dword [ebx + 0x60], 0
jne 0x70232b58
cmp al, 0x4f
je 0x702329c2
mov dword [ebx + 0x64], 0x1e
jmp 0x70232b58
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x702329b6
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x702329b6
mov eax, ebx
call sym._get8
cmp al, 0x53
jne 0x702329b6
mov eax, ebx
call sym._get8
test al, al
je 0x702329fa
mov dword [ebx + 0x64], 0x1f
jmp 0x70232b58
mov eax, ebx
call sym._start_page_no_capturepattern.part.0
test eax, eax
je 0x70232b58
test byte [ebx + 0x55f], 1
je 0x70232a2f
mov dword [ebx + 0x568], 0
mov byte [ebx + 0x560], 0
mov dword [ebx + 0x64], 0x20
jmp 0x70232b58
mov eax, ebx
call sym._start_packet
test eax, eax
je 0x70232b58
mov edx, 1
mov eax, ebx
call sym._get_bits_1
test eax, eax
je 0x70232a5a
mov dword [ebx + 0x64], 0x23
jmp 0x70232b58
cmp dword [ebx + 0x50], 0
je 0x70232a84
mov eax, dword [ebx + 0x5c]
cmp dword [ebx + 0x54], eax
je 0x70232a84
mov dword [esp + 8], 0xc50
mov dword [esp + 4], 0x702bb448
mov dword [esp], str.f__alloc.alloc_buffer_length_in_bytes__f__temp_offset
call sym.__assert
mov eax, dword [ebx + 0x198]
dec eax
call sym._ilog
mov edx, eax
mov eax, ebx
call sym._get_bits_1
cmp eax, 0xffffffff
je 0x70232b58
cmp eax, dword [ebx + 0x198]
jge 0x70232b58
imul eax, eax, 6
lea ecx, [ebx + eax + 0x19c]
cmp byte [ecx], 0
je 0x70232ae2
mov edx, 1
mov eax, ebx
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebx + 0x74]
call sym._get_bits_1
mov edx, 1
mov edi, eax
mov eax, ebx
call sym._get_bits_1
mov ecx, dword [ebp - 0x2c]
jmp 0x70232ae9
mov esi, dword [ebx + 0x70]
xor eax, eax
xor edi, edi
mov edx, esi
sar edx, 1
mov dword [ebp - 0x2c], edx
mov dl, byte [ecx]
test dl, dl
je 0x70232b07
test edi, edi
jne 0x70232b07
mov edx, esi
sub edx, dword [ebx + 0x70]
sar edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x70232b12
mov dword [ebp - 0x1c], 0
test dl, dl
je 0x70232b2e
test eax, eax
jne 0x70232b2e
lea esi, [esi + esi*2]
mov edx, dword [ebx + 0x70]
mov eax, esi
sub eax, edx
sar eax, 2
mov dword [ebp - 0x2c], eax
lea eax, [esi + edx]
sar eax, 2
mov esi, eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call sym._vorbis_decode_packet_rest.isra.0
test eax, eax
jne 0x70232bfe
mov edx, dword [ebx + 0x64]
cmp edx, 0x23
jne 0x70232b79
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x70232b9e
cmp dword [ebx + 0x60], 0
je 0x70232b67
jmp 0x70232b9e
cmp edx, 0x20
jne 0x70232ba9
cmp dword [ebx + 0x3e0], 0
jne 0x70232ba9
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x70232b9e
cmp dword [ebx + 0x60], 0
je 0x70232b8e
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x70232be4
mov dword [esp], ebx
call sym._stb_vorbis_flush_pushdata
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x64], edx
mov dword [ebp + 0x10], 1
mov dword [eax], 0
jmp 0x70232d25
cmp dword [ebp + 0x14], 0
je 0x70232bd4
mov esi, dword [ebp + 0x14]
mov dword [esi], ecx
mov edi, dword [ebp + 0x1c]
lea edx, [ebx + 0x360]
mov dword [edi], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
jmp 0x70232d25
mov dword [ebp + 0x10], 0
jmp 0x70232d25
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x3e0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x70232c2d
mov eax, dword [ebp - 0x34]
mov esi, dword [ebx + 0x3e0]
sub eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3e0], eax
xor eax, eax
jmp 0x70232cb2
lea eax, [esi + esi]
cmp eax, dword [ebx + 0x70]
jne 0x70232c3d
mov ecx, dword [ebx + 0x444]
jmp 0x70232c4f
cmp eax, dword [ebx + 0x74]
je 0x70232c49
xor eax, eax
jmp 0x70232cf7
mov ecx, dword [ebx + 0x448]
test ecx, ecx
je 0x70232c42
mov eax, dword [ebp - 0x38]
shl eax, 2
mov dword [ebp - 0x48], eax
lea eax, [ecx + esi*4]
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp eax, dword [ebx + 4]
jge 0x70232c14
mov edi, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], edi
sub dword [ebp - 0x3c], 4
cmp esi, edx
jle 0x70232cae
mov edi, dword [ebp - 0x44]
add edi, dword [ebx + eax*4 + 0x320]
mov dword [ebp - 0x40], edi
mov edi, dword [ebx + eax*4 + 0x3a0]
add dword [ebp - 0x44], 4
fld dword [edi + edx*4]
mov edi, dword [ebp - 0x3c]
fmul dword [edi]
mov edi, dword [ebp - 0x40]
fld dword [edi]
fmul dword [ecx + edx*4]
inc edx
faddp st(1)
fstp dword [edi]
jmp 0x70232c77
inc eax
jmp 0x70232c64
inc eax
cmp eax, dword [ebx + 4]
jge 0x70232cdb
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x34], edx
jle 0x70232cb1
mov edi, dword [ebx + eax*4 + 0x320]
fld dword [edi + edx*4]
mov edi, dword [ebx + eax*4 + 0x3a0]
inc edx
fstp dword [edi + ecx]
add ecx, 4
jmp 0x70232cbc
test esi, esi
je 0x70232c42
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jle 0x70232cee
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x38]
add dword [ebx + 0x588], eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
lea edx, [edi*4]
cmp ecx, dword [ebp - 0x30]
jle 0x70232bc9
mov edi, dword [ebp - 0x30]
mov esi, edx
inc dword [ebp - 0x30]
add esi, dword [ebx + edi*4 + 0x320]
mov dword [ebx + edi*4 + 0x360], esi
jmp 0x70232d04
mov eax, dword [ebp + 0x10]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret