Function at 0x62a9d5a4
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 0x62a9d85b
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
xor eax, eax
mov edx, dword [ebx + 0x58c]
cmp eax, edx
jge 0x62a9d5e3
imul ecx, eax, 0x14
inc eax
mov dword [ebx + ecx + 0x59c], 0
jmp 0x62a9d5ce
cmp edx, 4
je 0x62a9d757
cmp dword [ebp + 0x10], 3
jle 0x62a9db0a
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 0x62a9d61f
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
inc edi
cmp eax, dword [ebp + 0x10]
jg 0x62a9d609
jmp 0x62a9d754
mov dword [esp + 8], 4
mov dword [esp + 4], str.OggSvorbis
mov dword [esp], edi
call sym._memcmp
test eax, eax
jne 0x62a9d60e
mov esi, dword [ebp + 0x10]
add esi, 0x1a
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
jle 0x62a9d757
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 0x62a9d757
lea esi, [ecx + 0x1b]
xor edx, edx
mov dword [ebp - 0x30], esi
cmp ecx, edx
jle 0x62a9d67d
movzx esi, byte [edi + edx + 0x1b]
inc edx
add dword [ebp - 0x30], esi
jmp 0x62a9d66e
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 + 0x62b13de0]
cmp eax, 0x16
jne 0x62a9d67f
mov eax, 4
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edx, dword [ecx*4 + 0x62b13de0]
dec eax
jne 0x62a9d69f
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 0x62a9d733
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 0x62a9d60e
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 0x62a9dc3d
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 0x62a9d790
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 0x62a9d7c8
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 + 0x62b13de0]
jmp 0x62a9d7a5
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 0x62a9d853
cmp edx, dword [ecx + 0x590]
lea eax, [ecx + 0x590]
jne 0x62a9d831
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 0x62a9dc3d
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 0x62a9d75e
inc dword [ebp - 0x2c]
jmp 0x62a9d75e
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 0x62a9d88a
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x62a9dc3d
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5e4], 0
mov dword [ebx + 0x5e0], 0
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x62a9da70
cmp dword [ebx + 0x564], 0xffffffff
jne 0x62a9d947
mov eax, ebx
call sym._get8
cmp dword [ebx + 0x60], 0
jne 0x62a9da70
cmp al, 0x4f
je 0x62a9d8da
mov dword [ebx + 0x64], 0x1e
jmp 0x62a9da70
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x62a9d8ce
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x62a9d8ce
mov eax, ebx
call sym._get8
cmp al, 0x53
jne 0x62a9d8ce
mov eax, ebx
call sym._get8
test al, al
je 0x62a9d912
mov dword [ebx + 0x64], 0x1f
jmp 0x62a9da70
mov eax, ebx
call sym._start_page_no_capturepattern.part.0
test eax, eax
je 0x62a9da70
test byte [ebx + 0x55f], 1
je 0x62a9d947
mov dword [ebx + 0x568], 0
mov byte [ebx + 0x560], 0
mov dword [ebx + 0x64], 0x20
jmp 0x62a9da70
mov eax, ebx
call sym._start_packet
test eax, eax
je 0x62a9da70
mov edx, 1
mov eax, ebx
call sym._get_bits_1
test eax, eax
je 0x62a9d972
mov dword [ebx + 0x64], 0x23
jmp 0x62a9da70
cmp dword [ebx + 0x50], 0
je 0x62a9d99c
mov eax, dword [ebx + 0x5c]
cmp dword [ebx + 0x54], eax
je 0x62a9d99c
mov dword [esp + 8], 0xc50
mov dword [esp + 4], 0x62b239c8
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 0x62a9da70
cmp eax, dword [ebx + 0x198]
jge 0x62a9da70
imul eax, eax, 6
lea ecx, [ebx + eax + 0x19c]
cmp byte [ecx], 0
je 0x62a9d9fa
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 0x62a9da01
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 0x62a9da1f
test edi, edi
jne 0x62a9da1f
mov edx, esi
sub edx, dword [ebx + 0x70]
sar edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x62a9da2a
mov dword [ebp - 0x1c], 0
test dl, dl
je 0x62a9da46
test eax, eax
jne 0x62a9da46
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 0x62a9db16
mov edx, dword [ebx + 0x64]
cmp edx, 0x23
jne 0x62a9da91
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x62a9dab6
cmp dword [ebx + 0x60], 0
je 0x62a9da7f
jmp 0x62a9dab6
cmp edx, 0x20
jne 0x62a9dac1
cmp dword [ebx + 0x3e0], 0
jne 0x62a9dac1
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x62a9dab6
cmp dword [ebx + 0x60], 0
je 0x62a9daa6
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x62a9dafc
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 0x62a9dc3d
cmp dword [ebp + 0x14], 0
je 0x62a9daec
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 0x62a9dc3d
mov dword [ebp + 0x10], 0
jmp 0x62a9dc3d
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 0x62a9db45
mov eax, dword [ebp - 0x34]
mov esi, dword [ebx + 0x3e0]
sub eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3e0], eax
xor eax, eax
jmp 0x62a9dbca
lea eax, [esi + esi]
cmp eax, dword [ebx + 0x70]
jne 0x62a9db55
mov ecx, dword [ebx + 0x444]
jmp 0x62a9db67
cmp eax, dword [ebx + 0x74]
je 0x62a9db61
xor eax, eax
jmp 0x62a9dc0f
mov ecx, dword [ebx + 0x448]
test ecx, ecx
je 0x62a9db5a
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 0x62a9db2c
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 0x62a9dbc6
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 0x62a9db8f
inc eax
jmp 0x62a9db7c
inc eax
cmp eax, dword [ebx + 4]
jge 0x62a9dbf3
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x34], edx
jle 0x62a9dbc9
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 0x62a9dbd4
test esi, esi
je 0x62a9db5a
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jle 0x62a9dc06
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 0x62a9dae1
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 0x62a9dc1c
mov eax, dword [ebp + 0x10]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret