Function at 0x79838c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea edx, [ebp - 0x35]
mov ecx, 0x1d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [ebp - 0x1d]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x1d], eax
lea edx, [ebp - 0x35]
mov ecx, 0x1d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx]
dec eax
sub eax, 0x1d
jl 0x798489
inc eax
mov dword [ebp - 0x18], eax
mov ebx, 0x1d
mov eax, ebx
imul ebx
push ecx
mov ecx, 3
cdq
idiv ecx
pop ecx
mov ecx, ebx
lea edx, [ecx + ecx*4]
add dx, cx
add ax, dx
movzx edx, byte [ebp - 0x19]
add edx, edx
add edx, edx
add edx, edx
add ax, dx
add ax, 0xdb
mov ecx, eax
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, byte [eax]
mov byte [ebp - 1], al
mov eax, edi
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 1]
imul ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, eax
xor cl, byte [ebp - 1]
not cl
mov byte [ebp - 1], cl
mov eax, ebx
mov ecx, 0xf
cdq
idiv ecx
movzx eax, byte [edx + 0x8c0048]
xor byte [ebp - 1], al
rol byte [ebp - 1], 3
mov eax, 1
mov edx, dword [esi + 4]
add edx, ebx
lea ecx, [ebp - 1]
xchg ecx, eax
call fcn.00407394
inc ebx
dec dword [ebp - 0x18]
jne 0x7983fc
xor ebx, ebx
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, byte [eax]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
imul ebx
add edi, eax
inc ebx
cmp ebx, 0x1d
jne 0x79848b
cmp edi, dword [ebp - 8]
sete byte [ebp - 2]
cmp byte [ebp - 2], 0
je 0x7985d8
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x7985ca
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x7985b9
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x481c74]
call fcn.00408a94
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x481c74]
call fcn.00408a94
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x639cc0]
call fcn.0063abbc
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, 0x1d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
sub eax, 0x1d
sbb edx, 0
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.004a26f4
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0065ab5c
mov edx, 0x1d
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004a26f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7985c0
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0xc], edx
call fcn.00408ac4
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.00408ac4
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408ac4
ret
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret