Function at 0x7a15eaa5
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa0
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x800]
mov edx, dword [eax + 0x81c]
and dword [ebp + 0x38], 0
push ebx
mov ebx, dword [eax + 0x80c]
push esi
push edi
xor edi, edi
inc edi
cmp word [ecx + 2], 0
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x34], edx
jbe 0x7a15f386
mov eax, ecx
add eax, 4
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x40]
movzx esi, word [eax + 4]
movzx eax, word [eax]
add esi, dword [ebp + 0x3c]
push 0x10
lea ecx, [ebp + 0x60]
push ecx
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
push esi
push dword [ebp + 0x74]
call fcn.7a15e71d
test eax, eax
je 0x7a15f36f
mov eax, dword [ebp + 0x40]
movzx eax, word [eax]
movzx eax, word [esi + eax*2 - 2]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x10]
and eax, 3
push 0
mov dword [ebp + 0x60], eax
pop eax
setne al
push eax
push edi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
movzx esi, ax
mov eax, dword [ebp + 0x74]
imul esi, dword [eax + 0x818]
push edi
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x48], esi
call fcn.7a15da80
test eax, eax
je 0x7a15ed6f
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 2
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 2
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 5
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 6
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 5
inc esi
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
push 0
lea eax, [ebp + 0x4c]
mov word [ebx + esi*4], 4
inc esi
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 0x9804
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
mov word [ebx + esi*4], 0xa000
lea esi, [ebx + esi*4 + 4]
call fcn.7a15e671
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x7a15ed5b
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
cmp eax, 4
je 0x7a15ed3b
push edi
cmp eax, 8
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
je 0x7a15ed25
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15ecfe
mov dword [ebp + 0x64], 2
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.7a15e671
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
jmp 0x7a15ed5b
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15ecfe
mov dword [ebp + 0x64], 5
jmp 0x7a15ecfe
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.7a15e671
mov word [esi + 2], ax
mov word [esi], 5
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x7a15ec9c
jmp 0x7a15f36f
cmp dword [ebp + 0x60], 0
je 0x7a15f0be
movzx eax, word [ebp + 0x14]
test byte [eax + 0x7a1f0ff0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
je 0x7a15edb6
push 0
push eax
call fcn.7a15e356
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2]
push eax
push ecx
call fcn.7a15e671
mov word [ebx + esi*4], 2
jmp 0x7a15eddf
push 3
push eax
call fcn.7a15e356
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.7a15e671
mov word [ebx + esi*4], di
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
inc esi
test byte [eax + 0x7a1f0ff0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.7a15e356
mov ecx, dword [ebp + 0x74]
movzx eax, word [ebp + 0x14]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2]
push edi
push eax
push ecx
mov dword [ebp + 0x68], eax
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 2
push dword [ebp + 0x74]
inc esi
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 5
push dword [ebp + 0x74]
inc esi
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
mov word [ebx + esi*4], 6
and word [ebx + esi*4 + 6], 0
inc esi
mov word [ebx + esi*4], 0x6003
inc esi
test byte [eax + 0x7a1f0ff0], 4
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
je 0x7a15ee9e
push 0
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
jmp 0x7a15eebe
push 3
push eax
call fcn.7a15e356
mov ecx, dword [ebp + 0x74]
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
movzx eax, word [ebp + 0x14]
mov word [ebx + esi*4], 4
inc esi
test byte [eax + 0x7a1f0ff0], 4
lea eax, [ebp + 0x4c]
je 0x7a15ef06
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4], 4
jmp 0x7a15ef26
mov ecx, dword [ebp + 0x74]
push 0
push eax
movzx eax, word [ebp + 0x14]
push edi
push edi
lea eax, [ecx + eax*2 + 0x600]
push eax
push ecx
call fcn.7a15e671
mov word [ebx + esi*4], 0x9804
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.7a15e671
push 0
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
mov word [ebx + esi*4], 0xa000
push dword [ebp + 0x74]
lea esi, [ebx + esi*4 + 4]
call fcn.7a15e671
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x7a15f0aa
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
dec eax
dec eax
je 0x7a15f059
dec eax
dec eax
je 0x7a15f029
sub eax, 4
je 0x7a15f017
push 0
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15efe5
mov dword [ebp + 0x64], edi
movzx edx, word [ebp + 0x14]
test byte [edx + 0x7a1f0ff0], 4
jne 0x7a15f059
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x74]
push edi
push edi
lea ecx, [eax + edx*2 + 0x600]
push ecx
push eax
jmp 0x7a15f094
lea esi, [ebx + esi*4]
and word [esi + 2], 0
mov word [esi], 0x6003
jmp 0x7a15f0aa
lea eax, [ebp + 0x4c]
push eax
push 0
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
mov word [esi], 5
jmp 0x7a15f0aa
push edi
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15f077
mov dword [ebp + 0x64], 2
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.7a15e671
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x7a15ef7f
jmp 0x7a15f36f
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp + 0x74]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2 + 0x400]
push edi
push eax
push ecx
mov dword [ebp + 0x60], eax
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], di
push eax
inc esi
call fcn.7a15e356
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp + 0x74]
push 0
lea edx, [ebp + 0x4c]
push edx
push edi
lea eax, [ecx + eax*2 + 0x200]
push edi
push eax
push ecx
mov dword [ebp + 0x68], eax
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 2
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 5
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
mov word [ebx + esi*4], 6
and word [ebx + esi*4 + 6], 0
inc esi
lea eax, [ebp + 0x4c]
mov word [ebx + esi*4], 0x6003
inc esi
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 4
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 0x9804
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [ebx + esi*4 + 2], ax
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
mov word [ebx + esi*4], 0xa000
push eax
inc esi
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.7a15e671
and word [esi], 0
mov word [esi + 2], ax
mov dword [ebp + 0x44], 0x600
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x34]
movzx eax, dh
xor ecx, ecx
mov ch, byte [esi + eax*2]
mov cl, dl
add edx, 0xfffffa00
mov dword [ebp + 0x5c], edx
movzx ecx, word [esi + ecx*2]
mov eax, ecx
and eax, 0x3ff
cmp ax, 9
jb 0x7a15f360
movzx esi, ax
add esi, dword [ebp + 0x48]
movzx eax, cx
shr eax, 0xa
dec eax
dec eax
je 0x7a15f310
dec eax
dec eax
je 0x7a15f2e1
sub eax, 4
je 0x7a15f2d2
push 0
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15f2b6
mov dword [ebp + 0x64], edi
lea eax, [ebp + 0x4c]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x60]
jmp 0x7a15f347
lea esi, [ebx + esi*4]
and word [esi + 2], 0
mov word [esi], 0x6003
jmp 0x7a15f360
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
lea esi, [ebx + esi*4]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
mov word [esi], 5
jmp 0x7a15f360
push edi
push edi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
test ax, ax
mov dword [ebp + 0x64], eax
jne 0x7a15f32e
mov dword [ebp + 0x64], 2
lea eax, [ebp + 0x4c]
push eax
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
push 0
lea eax, [ebp + 0x4c]
push eax
push edi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x74]
lea esi, [ebx + esi*4]
call fcn.7a15e671
mov word [esi + 2], ax
mov eax, dword [ebp + 0x64]
and ax, 0x7ff
mov word [esi], ax
inc dword [ebp + 0x44]
cmp word [ebp + 0x44], 0x700
jb 0x7a15f254
mov eax, dword [ebp + 0x3c]
movzx eax, word [eax + 2]
inc dword [ebp + 0x38]
add dword [ebp + 0x40], 6
cmp dword [ebp + 0x38], eax
jl 0x7a15eae8
mov eax, dword [ebp + 0x3c]
and dword [ebp + 0x38], 0
cmp word [eax + 2], 0
jbe 0x7a15f93a
add eax, 4
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x68]
movzx eax, word [ecx + 4]
movzx ecx, word [ecx]
add eax, dword [ebp + 0x3c]
push 0x10
lea edx, [ebp + 0x60]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp + 0x14]
push edx
push ecx
push eax
push dword [ebp + 0x74]
mov dword [ebp + 0xc], eax
call fcn.7a15e71d
test eax, eax
je 0x7a15f923
mov ecx, dword [ebp + 0x68]
push 2
pop eax
cmp word [ecx], ax
mov dword [ebp + 0x64], eax
jb 0x7a15f923
mov eax, dword [ebp + 0x10]
and al, 3
neg al
sbb eax, eax
neg eax
mov dword [ebp + 0x44], eax
push dword [ebp + 0x44]
movzx edi, word [ebp + 0x64]
push edi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.7a15d9ac
movzx esi, ax
mov eax, dword [ebp + 0x74]
imul esi, dword [eax + 0x818]
push edi
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x60], esi
call fcn.7a15da80
test eax, eax
je 0x7a15f520
mov ax, word [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
cmp ax, word [ecx]
lea eax, [ebp + 0x4c]
push 0
push eax
lea eax, [ebp + 0x14]
jne 0x7a15f4ac
push 1
push edi
push eax
call fcn.7a15e37b
mov eax, dword [ebp + 0x68]
add eax, 2
and dword [ebp + 0x40], 0
mov dword [ebp + 0x60], eax
lea esi, [ebx + esi*4]
push 1
lea eax, [ebp + 0x4c]
push eax
push edi
push 1
push dword [ebp + 0x60]
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
mov eax, dword [ebp + 0x40]
add dword [ebp + 0x40], 4
lea eax, [eax + 0x7a1f11ec]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov cx, word [esi]
mov dx, word [eax]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add esi, 4
cmp dword [ebp + 0x40], 0x24
jb 0x7a15f457
jmp 0x7a15f910
push 0
push edi
push eax
call fcn.7a15e37b
lea esi, [ebx + esi*4]
xor edi, edi
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.7a15e293
test eax, eax
jne 0x7a15f510
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
lea eax, [edi + 0x7a1f11ec]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov cx, word [esi]
mov dx, word [eax]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x7a15f4ba
jmp 0x7a15f910
mov eax, dword [ebp + 0x68]
xor ecx, ecx
mov cx, word [eax]
lea eax, [edi + edi]
mov dword [ebp + 0x48], eax
xor esi, esi
mov si, word [ebp + eax + 0x12]
movzx eax, cx
mov dword [ebp + 0x40], ecx
mov ecx, dword [ebp + 0xc]
sub eax, edi
movzx eax, word [ecx + eax*2]
push eax
push esi
push dword [ebp + 0x74]
call fcn.7a15e2bf
movzx edx, si
test byte [edx + 0x7a1f0ff0], 6
mov dword [ebp + 0x34], eax
je 0x7a15f56e
mov ax, word [ebp + 0x40]
cmp word [ebp + 0x64], ax
jne 0x7a15f56e
mov dword [ebp + 0x34], 1
mov ecx, dword [ebp + 0x48]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x74]
mov ax, word [eax + edx*2 + 0x200]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x48]
mov word [ebp + ecx - 0x36], ax
mov eax, dword [ebp + 0x68]
mov ax, word [eax]
xor edi, edi
cmp word [ebp + 0x64], ax
mov eax, dword [ebp + 0x60]
lea esi, [ebx + eax*4]
jne 0x7a15f7d3
cmp word [ebp + 0x34], 1
jne 0x7a15f683
movzx eax, word [edi + 0x7a1f1236]
sub eax, 0
je 0x7a15f642
dec eax
je 0x7a15f60a
dec eax
jne 0x7a15f66f
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 0
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e37b
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.7a15e293
test eax, eax
jne 0x7a15f66f
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
jmp 0x7a15f633
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 1
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e37b
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x68]
push 1
add eax, 2
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
jmp 0x7a15f647
and word [esi + 2], 0
lea eax, [edi + 0x7a1f1234]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x7a15f5bb
jmp 0x7a15f910
mov dword [ebp + 0x60], edi
movzx eax, word [edi + 0x7a1f1212]
sub eax, 0
je 0x7a15f78f
dec eax
je 0x7a15f74f
dec eax
jne 0x7a15f7bc
movzx eax, word [ebp + 0x64]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
xor edx, edx
inc edx
cmp dword [ebp + 0x5c], 2
jbe 0x7a15f6ee
lea eax, [ebp + 0x16]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffe
mov dword [ebp + 0x48], eax
dec dword [ebp + 0x5c]
lea eax, [ebp + edx + 0x4c]
push eax
push 2
push dword [ebp + 0x60]
call fcn.7a15e356
add dword [ebp + 0x60], 2
inc edx
dec dword [ebp + 0x48]
jne 0x7a15f6d2
cmp dword [ebp + 0x5c], 1
jbe 0x7a15f71b
lea eax, [ebp + edx + 0x4c]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
dec eax
lea edx, [ebp + edx*2 + 0x14]
mov dword [ebp + 0x48], eax
push dword [ebp + 0x60]
push 1
push edx
call fcn.7a15e356
inc dword [ebp + 0x60]
inc edx
inc edx
dec dword [ebp + 0x48]
jne 0x7a15f706
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.7a15e293
test eax, eax
jne 0x7a15f7bc
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
jmp 0x7a15f794
movzx edi, word [ebp + 0x64]
push 1
lea eax, [ebp + 0x4c]
push eax
push 1
push edi
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e37b
push 0
lea eax, [ebp + 0x4c]
push eax
mov eax, dword [ebp + 0x68]
push edi
push 1
add eax, 2
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
mov edi, dword [ebp + 0x60]
mov word [esi + 2], ax
mov eax, dword [ebp + 0x60]
lea eax, [eax + 0x7a1f1210]
jmp 0x7a15f79a
and word [esi + 2], 0
lea eax, [edi + 0x7a1f1210]
mov cx, word [esi]
xor cx, word [eax]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
mov dword [ebp + 0x60], edi
jb 0x7a15f686
jmp 0x7a15f910
movzx eax, word [edi + 0x7a1f1236]
sub eax, 0
je 0x7a15f8d4
dec eax
je 0x7a15f88e
dec eax
jne 0x7a15f901
movzx eax, word [ebp + 0x64]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x4c]
push eax
push 3
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e356
xor edx, edx
inc edx
cmp dword [ebp + 0x5c], 2
jbe 0x7a15f83b
lea eax, [ebp + 0x16]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffe
mov dword [ebp + 0x48], eax
dec dword [ebp + 0x5c]
lea eax, [ebp + edx + 0x4c]
push eax
push 2
push dword [ebp + 0x60]
call fcn.7a15e356
add dword [ebp + 0x60], 2
inc edx
dec dword [ebp + 0x48]
jne 0x7a15f81f
mov eax, dword [ebp + 0x5c]
cmp eax, 1
jbe 0x7a15f867
lea ecx, [ebp + edx + 0x4c]
dec eax
mov dword [ebp + 0x60], ecx
lea edx, [ebp + edx*2 + 0x14]
mov dword [ebp + 0x48], eax
push dword [ebp + 0x60]
push 1
push edx
call fcn.7a15e356
inc dword [ebp + 0x60]
inc edx
inc edx
dec dword [ebp + 0x48]
jne 0x7a15f852
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.7a15e293
test eax, eax
jne 0x7a15f901
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x14]
jmp 0x7a15f8c5
push 0
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push 0
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.7a15e37b
xor eax, eax
mov ax, word [esi + 2]
push eax
push dword [ebp + 0x74]
call fcn.7a15e293
test eax, eax
jne 0x7a15f901
push eax
lea eax, [ebp + 0x4c]
push eax
movzx eax, word [ebp + 0x64]
push eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x74]
call fcn.7a15e671
mov word [esi + 2], ax
jmp 0x7a15f8d9
and word [esi + 2], 0
lea eax, [edi + 0x7a1f1234]
mov cx, word [eax]
xor cx, word [esi]
and cx, 0x7ff
xor word [esi], cx
mov dx, word [eax]
mov cx, word [esi]
xor dx, cx
and dx, 0x7ff
xor dx, word [eax]
mov word [esi], dx
add edi, 4
add esi, 4
cmp edi, 0x24
jb 0x7a15f7d3
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
mov cx, word [ebp + 0x64]
cmp cx, word [eax]
jbe 0x7a15f3f2
mov eax, dword [ebp + 0x3c]
movzx eax, word [eax + 2]
inc dword [ebp + 0x38]
add dword [ebp + 0x68], 6
cmp dword [ebp + 0x38], eax
jl 0x7a15f39e
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add ebp, 0x6c
leave
ret 0xc