Function at 0x7a0a0476
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x30]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
xor esi, esi
mov dword [eax], esi
cmp dword [ebx + 0x1c], 3
push edi
jne 0x7a0a051a
mov eax, dword [ebx + 0xc]
cmp eax, esi
jne 0x7a117deb
mov esi, dword [ebp + 0x10]
push 9
add esi, 4
lea edi, [ebx + 0x90]
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea eax, [ebx + 0x22]
push eax
mov eax, dword [ebx + 0x8c]
add eax, 0x28
push eax
push dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x10]
push eax
xor eax, eax
mov ax, word [ebx + 0x20]
push eax
push dword [ebp + 8]
call fcn.7a0a0688
cmp eax, esi
jne 0x7a0a065f
lea eax, [ebx + 0xb8]
push eax
lea eax, [ebx + 0x30]
push eax
lea eax, [ebx + 0x2e]
push eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x2a]
push eax
xor eax, eax
mov ax, word [ebx + 0x20]
push eax
push dword [ebp + 8]
call fcn.7a0a0826
cmp eax, esi
jne 0x7a0a065f
xor eax, eax
cmp dword [ebp - 0x14], esi
setne al
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
cmp ecx, esi
jne 0x7a117e4e
push dword [ebp + 0x38]
mov eax, dword [ebx + 0x8c]
push dword [ebp + 0x34]
lea esi, [ebx + 0x88]
push esi
xor edx, edx
mov dx, word [eax + 0x28]
lea edi, [ebx + 0x86]
push edi
push dword [eax + 0x20]
lea ecx, [ebx + 0x10]
push dword [eax + 0x1c]
mov dword [ebp + 0x14], esi
push edx
mov edx, dword [ebp + 0x30]
push dword [edx]
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
mov dword [ebp + 0x20], ecx
push ecx
push dword [eax + 0x10]
push dword [eax + 0x14]
push dword [eax + 0x18]
call fcn.7a09cb94
test eax, eax
jne 0x7a0a065f
push dword [ebx + 0x8c]
call fcn.7a09ce78
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x1e]
push eax
push dword [esi]
xor eax, eax
mov ax, word [edi]
lea esi, [ebx + 0x90]
push eax
lea eax, [ebx + 0x22]
push eax
sub esp, 0x24
push 9
xor eax, eax
mov ax, word [ebx + 0xb8]
pop ecx
mov edi, esp
push dword [ebx + 0xb4]
rep movsd dword es:[edi], dword [esi]
push eax
xor eax, eax
mov ax, word [ebx + 0x30]
mov esi, dword [ebp + 0x10]
push eax
xor eax, eax
mov ax, word [ebx + 0x2e]
push eax
xor eax, eax
mov ax, word [ebx + 0x2c]
push eax
xor eax, eax
mov ax, word [ebx + 0x2a]
push eax
xor eax, eax
mov ax, word [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x2c]
push dword [ebx + 0x8c]
push dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.7a0a099e
test eax, eax
jne 0x7a0a065f
push dword [esi + 0x38]
push dword [ebp - 4]
call fcn.7a09b7e7
test eax, eax
je 0x7a0b91ef
mov ax, word [ebp + 0x1e]
mov word [ebx + 0x84], ax
push dword [ebx + 0x54]
push dword [ebx + 0x44]
call fcn.7a09d364
push dword [ebx + 0x50]
mov edi, eax
push dword [ebx + 0x48]
call fcn.7a09d364
sub edi, eax
js 0x7a117e01
xor edi, edi
cmp dword [ebx + 0xc], edi
jne 0x7a117e3a
push dword [ebp + 0x20]
push dword [ebp + 8]
call fcn.7a0a0666
cmp eax, edi
jne 0x7a0a065f
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
mov word [eax], di
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x34
mov word [ebx + 0x84], 2
jmp 0x7a0a0618
test eax, eax
jne 0x7a0a065f
jmp 0x7a0a065d
push dword [eax + 0x8c]
push dword [ebx + 0x8c]
call fcn.7a1a2782
jmp 0x7a0a04b1
mov edx, dword [ebx + 0x8c]
xor eax, eax
xor ecx, ecx
cmp word [edx + 0x28], ax
jle 0x7a0a0638
mov edx, dword [ebx + 0x8c]
mov edx, dword [edx + 0x2c]
add eax, edx
xor byte [eax], 1
mov edx, dword [ebx + 0x8c]
movsx edx, word [edx + 0x28]
inc ecx
movzx eax, cx
cmp eax, edx
jl 0x7a117e15
jmp 0x7a0a0638
xor eax, eax
mov ax, word [esi]
push eax
push ebx
push dword [ebp + 0x18]
call fcn.7a19dc5a
jmp 0x7a0a0643
push 2
pop eax
cmp ecx, eax
jne 0x7a117f5b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x1e]
push eax
push dword [ebx + 0x88]
xor eax, eax
mov ax, word [ebx + 0x86]
lea esi, [ebx + 0x90]
push eax
lea eax, [ebx + 0x22]
push eax
sub esp, 0x24
push 9
xor eax, eax
mov ax, word [ebx + 0xb8]
pop ecx
mov edi, esp
push dword [ebx + 0xb4]
rep movsd dword es:[edi], dword [esi]
push eax
xor eax, eax
mov ax, word [ebx + 0x30]
mov esi, dword [ebp + 0x10]
push eax
xor eax, eax
mov ax, word [ebx + 0x2e]
push eax
xor eax, eax
mov ax, word [ebx + 0x2c]
push eax
xor eax, eax
mov ax, word [ebx + 0x2a]
push eax
xor eax, eax
mov ax, word [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x2c]
push dword [ebx + 0x8c]
push dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.7a19d603
xor edi, edi
cmp eax, edi
jne 0x7a0a065f
cmp dword [ebx + 0x68], edi
je 0x7a117ef7
lea eax, [ebx + 0x7c]
push eax
lea eax, [ebx + 0x74]
push eax
push dword [ebx + 0x8c]
call fcn.7a1a26e4
cmp dword [ebp - 8], edi
je 0x7a117f21
push dword [esi + 0x38]
push dword [ebp - 4]
call fcn.7a09b7e7
test eax, eax
jne 0x7a117f16
mov word [ebx + 0x84], 2
jmp 0x7a117f21
mov ax, word [ebp + 0x1e]
mov word [ebx + 0x84], ax
cmp dword [ebx + 0xc], edi
je 0x7a117f35
xor eax, eax
mov ax, word [esi]
push eax
push ebx
push dword [ebp + 0x18]
call fcn.7a19dc5a
lea eax, [ebx + 0x10]
push eax
push dword [ebp + 8]
call fcn.7a0a0666
cmp eax, edi
jne 0x7a0a065f
mov dword [ebx + 0x88], edi
mov word [ebx + 0x86], di
jmp 0x7a0a065d
cmp ecx, 1
jne 0x7a0a065d
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], esi
mov dword [ebx + 0x1c], eax
mov dword [ebp + 0x18], esi
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 0x1e]
cmp cx, 1
jbe 0x7a117f85
movzx ecx, cx
jmp 0x7a117f88
xor ecx, ecx
inc ecx
movzx edx, word [ebx + 0x32]
inc edx
cmp edx, ecx
ja 0x7a11806e
mov ax, word [eax + 0x1c]
inc dword [ebp + 0x18]
cmp ax, 3
jbe 0x7a117fa7
movzx eax, ax
jmp 0x7a117faa
push 3
pop eax
movzx ecx, word [ebp + 0x18]
cmp ecx, eax
ja 0x7a11806e
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
call fcn.7a09b169
cmp eax, esi
jne 0x7a0a065f
xor eax, eax
mov ax, word [ebx + 0x32]
inc ax
push eax
push esi
push dword [ebp + 0x20]
mov esi, dword [ebp + 0x30]
push esi
call fcn.7a09b19c
push esi
push ebx
call fcn.7a19d740
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edi, [esi + 0x44]
push edi
lea eax, [esi + 0x42]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3e]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x6c]
push eax
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x34]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.7a19c511
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 0x10], eax
je 0x7a11804d
lea eax, [esi + 0x90]
push eax
push edi
call fcn.7a19c125
push edi
call fcn.7a19c21b
test eax, eax
jne 0x7a11804d
and dword [esi + 0xb4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x7a0a065f
mov eax, dword [ebp + 8]
or eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov dword [ebp + 8], eax
jne 0x7a118078
xor esi, esi
jmp 0x7a117f73
mov eax, 0x140b
jmp 0x7a0a065f
test eax, eax
je 0x7a0a065d
lea eax, [ebx + 0x86]
push eax
lea eax, [ebx + 0x88]
push eax
add ebx, 0x10
push ebx
call fcn.7a19c6e7
jmp 0x7a0b91fd