Function at 0x62a9ed1c
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 0x62a9efd3
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
xor eax, eax
mov edx, dword [ebx + 0x58c]
cmp eax, edx
jge 0x62a9ed5b
imul ecx, eax, 0x14
inc eax
mov dword [ebx + ecx + 0x59c], 0
jmp 0x62a9ed46
cmp edx, 4
je 0x62a9eecf
cmp dword [ebp + 0x10], 3
jle 0x62a9f282
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 0x62a9ed97
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
inc edi
cmp eax, dword [ebp + 0x10]
jg 0x62a9ed81
jmp 0x62a9eecc
mov dword [esp + 8], 4
mov dword [esp + 4], str.OggSvorbis
mov dword [esp], edi
call sym._memcmp
test eax, eax
jne 0x62a9ed86
mov esi, dword [ebp + 0x10]
add esi, 0x1a
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
jle 0x62a9eecf
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 0x62a9eecf
lea esi, [ecx + 0x1b]
xor edx, edx
mov dword [ebp - 0x30], esi
cmp ecx, edx
jle 0x62a9edf5
movzx esi, byte [edi + edx + 0x1b]
inc edx
add dword [ebp - 0x30], esi
jmp 0x62a9ede6
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 + 0x62b15de0]
cmp eax, 0x16
jne 0x62a9edf7
mov eax, 4
mov ecx, edx
shr ecx, 0x18
shl edx, 8
xor edx, dword [ecx*4 + 0x62b15de0]
dec eax
jne 0x62a9ee17
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 0x62a9eeab
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 0x62a9ed86
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 0x62a9f3b5
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 0x62a9ef08
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 0x62a9ef40
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 + 0x62b15de0]
jmp 0x62a9ef1d
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 0x62a9efcb
cmp edx, dword [ecx + 0x590]
lea eax, [ecx + 0x590]
jne 0x62a9efa9
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 0x62a9f3b5
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 0x62a9eed6
inc dword [ebp - 0x2c]
jmp 0x62a9eed6
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 0x62a9f002
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x62a9f3b5
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5e4], 0
mov dword [ebx + 0x5e0], 0
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x62a9f1e8
cmp dword [ebx + 0x564], 0xffffffff
jne 0x62a9f0bf
mov eax, ebx
call sym._get8
cmp dword [ebx + 0x60], 0
jne 0x62a9f1e8
cmp al, 0x4f
je 0x62a9f052
mov dword [ebx + 0x64], 0x1e
jmp 0x62a9f1e8
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x62a9f046
mov eax, ebx
call sym._get8
cmp al, 0x67
jne 0x62a9f046
mov eax, ebx
call sym._get8
cmp al, 0x53
jne 0x62a9f046
mov eax, ebx
call sym._get8
test al, al
je 0x62a9f08a
mov dword [ebx + 0x64], 0x1f
jmp 0x62a9f1e8
mov eax, ebx
call sym._start_page_no_capturepattern.part.0
test eax, eax
je 0x62a9f1e8
test byte [ebx + 0x55f], 1
je 0x62a9f0bf
mov dword [ebx + 0x568], 0
mov byte [ebx + 0x560], 0
mov dword [ebx + 0x64], 0x20
jmp 0x62a9f1e8
mov eax, ebx
call sym._start_packet
test eax, eax
je 0x62a9f1e8
mov edx, 1
mov eax, ebx
call sym._get_bits_1
test eax, eax
je 0x62a9f0ea
mov dword [ebx + 0x64], 0x23
jmp 0x62a9f1e8
cmp dword [ebx + 0x50], 0
je 0x62a9f114
mov eax, dword [ebx + 0x5c]
cmp dword [ebx + 0x54], eax
je 0x62a9f114
mov dword [esp + 8], 0xc50
mov dword [esp + 4], 0x62b25ca8
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 0x62a9f1e8
cmp eax, dword [ebx + 0x198]
jge 0x62a9f1e8
imul eax, eax, 6
lea ecx, [ebx + eax + 0x19c]
cmp byte [ecx], 0
je 0x62a9f172
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 0x62a9f179
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 0x62a9f197
test edi, edi
jne 0x62a9f197
mov edx, esi
sub edx, dword [ebx + 0x70]
sar edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x62a9f1a2
mov dword [ebp - 0x1c], 0
test dl, dl
je 0x62a9f1be
test eax, eax
jne 0x62a9f1be
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 0x62a9f28e
mov esi, dword [ebx + 0x64]
cmp esi, 0x23
jne 0x62a9f209
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x62a9f22e
cmp dword [ebx + 0x60], 0
je 0x62a9f1f7
jmp 0x62a9f22e
cmp esi, 0x20
jne 0x62a9f239
cmp dword [ebx + 0x3e0], 0
jne 0x62a9f239
mov dword [ebx + 0x64], 0
mov eax, ebx
call sym._get8_packet
inc eax
je 0x62a9f22e
cmp dword [ebx + 0x60], 0
je 0x62a9f21e
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x62a9f274
mov dword [esp], ebx
call sym._stb_vorbis_flush_pushdata
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x64], esi
mov dword [ebp + 0x10], 1
mov dword [eax], 0
jmp 0x62a9f3b5
cmp dword [ebp + 0x14], 0
je 0x62a9f264
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 0x62a9f3b5
mov dword [ebp + 0x10], 0
jmp 0x62a9f3b5
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 0x62a9f2bd
mov eax, dword [ebp - 0x34]
mov esi, dword [ebx + 0x3e0]
sub eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3e0], eax
xor eax, eax
jmp 0x62a9f342
lea eax, [esi + esi]
cmp eax, dword [ebx + 0x70]
jne 0x62a9f2cd
mov ecx, dword [ebx + 0x444]
jmp 0x62a9f2df
cmp eax, dword [ebx + 0x74]
je 0x62a9f2d9
xor eax, eax
jmp 0x62a9f387
mov ecx, dword [ebx + 0x448]
test ecx, ecx
je 0x62a9f2d2
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 0x62a9f2a4
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 0x62a9f33e
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 0x62a9f307
inc eax
jmp 0x62a9f2f4
inc eax
cmp eax, dword [ebx + 4]
jge 0x62a9f36b
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x34], edx
jle 0x62a9f341
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 0x62a9f34c
test esi, esi
je 0x62a9f2d2
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jle 0x62a9f37e
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 0x62a9f259
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 0x62a9f394
mov eax, dword [ebp + 0x10]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret