Function at 0x7a6740
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5adef8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.007a4d40
test eax, eax
je 0x7a6967
mov eax, dword [esi + 0x54]
mov ebp, dword [esi + 0x4c]
sub eax, ebp
mov ebp, dword [esi + 0x48]
cdq
mov ecx, eax
mov eax, dword [esi + 0x50]
xor ecx, edx
sub eax, ebp
mov edi, dword [esi + 0x54]
sub ecx, edx
cdq
xor eax, edx
inc ecx
sub eax, edx
mov edx, dword [esi + 0x4c]
inc eax
cmp edx, edi
jl 0x7a6795
mov edx, edi
mov ebx, dword [esi + 0x48]
mov ebp, dword [esi + 0x50]
cmp ebx, ebp
jl 0x7a67a1
mov ebx, ebp
push ecx
push eax
push edx
lea eax, [esp + 0x54]
push esp
push ebx
push eax
mov ecx, esi
call fcn.007a7580
lea ecx, [esp + 0x28]
push eax
push ecx
call 0xc1c123
test al, 0x8d
push esp
and al, 0x28
push edx
call 0xc0c59d
mov byte [ebp - 0x687af040], 1
add byte [eax], al
push esi
lea ecx, [esp + 0x5c]
call fcn.00809d01
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
push eax
lea edx, [esp + 0x5c]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x80], ebp
call fcn.007bd4b0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push ecx
call 0xc0b83d
xor al, 0x8b
inc esp
and al, 0x60
lea edx, [esp + 0x38]
push 2
push edx
push eax
call 0xc10d83
jb 0x7a67a7
dec esp
and al, 0x20
push ecx
mov ecx, esi
call fcn.007a6690
mov esi, dword [eax]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
call 0xc200c2
cmp cl, byte [ebx + 0x448b0478]
and al, 0x60
add edx, esi
push 2
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x3c]
add ecx, edi
push edx
push eax
mov dword [esp + 0x48], ecx
call ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x843a18
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 1
push ecx
call 0xc1fbd6
mov byte [eax - 0x73], dl
dec esp
and al, 0x14
call fcn.00809fa9
lea edx, [esp + 0x10]
lea ecx, [esp + 0x58]
push edx
call fcn.00809643
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call 0xc0d2e7
cmpsb byte [esi], byte es:[edi]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x28]
push 2
push ecx
push edx
call ebx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc edx
inc ecx
mov dword [esp + 0x2c], ecx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], edx
call fcn.008097c0
push 0xffffff
push 2
push ebp
lea ecx, [esp + 0x24]
call fcn.0080a016
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0x78], 2
call fcn.008095fd
push 5
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.008095c1
push 7
lea ecx, [esp + 0x5c]
call fcn.00809735
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
call 0xc0e0ba
adc al, 0x56
lea ecx, [esp + 0x5c]
call fcn.008095fd
push ebp
lea ecx, [esp + 0x5c]
call fcn.00809a2a
mov esi, 0x843a00
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 3
call fcn.0080a000
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 4
call fcn.0080a000
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 0xffffffff
call fcn.00809d73
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret