Function at 0x10080ae0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015db40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
call fcn.1007fc30
mov cl, al
mov eax, 0x367
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
mov word [esp + 0x1e], 0x1d
mov word [esp + 0x20], 0x12
mov word [esp + 0x24], 6
mov word [esp + 0x26], 0x38
mov word [esp + 0x2a], 9
mov word [esp + 0x2c], 6
mov word [esp + 0x2e], 5
mov word [esp + 0x34], 3
mov bl, byte [edx + eax]
mov al, byte [0x1018c955]
add bl, al
mov eax, 0xb
mov word [esp + 0x22], ax
mov word [esp + 0x30], ax
mov al, byte [0x1019732c]
sub bl, cl
mov ecx, 2
test al, 1
mov word [esp + 0x1c], cx
mov word [esp + 0x28], cx
mov word [esp + 0x32], cx
jne 0x10080be6
or al, 1
push 0x1c
mov byte [0x1019732c], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197330], eax
xor esi, esi
mov di, word [esp + esi + 0x1c]
push 0x67
mov ecx, edi
and ecx, 0xffff
push ecx
mov ecx, 0x10197330
call fcn.100a8ee0
mov edx, dword [0x10197330]
add eax, 0x67
xor eax, edi
mov word [esi + edx], ax
add esi, 2
cmp esi, 0x1a
jb 0x10080b9b
mov eax, dword [0x10197330]
xor edi, edi
push 0x10088050
mov word [eax + 0x1a], di
call fcn.1013c36b
add esp, 4
jmp 0x10080be8
xor edi, edi
mov esi, dword [0x10197330]
mov cl, byte [esp + 0x58]
push esi
mov byte [esp + 0x10], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0xc]
push eax
push esi
call fcn.1000bf40
mov edx, dword [esp + 0x58]
lea eax, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x58], edi
call fcn.1006a110
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, edi
mov dword [esp + 0x50], 0xffffffff
je 0x10080c5a
mov al, byte [ecx - 1]
test al, al
je 0x10080c4e
cmp al, 0xff
je 0x10080c4e
dec al
mov byte [ecx - 1], al
jmp 0x10080c5a
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov al, byte [esp + 0x58]
mov byte [0x1018c952], 0x14
test al, al
jne 0x10080e05
mov eax, 0x3e
mov edx, 0xd
mov word [esp + 0x26], ax
mov word [esp + 0x28], ax
mov eax, 0x11
mov ecx, 0x3b
mov word [esp + 0x30], ax
mov word [esp + 0x3c], ax
mov al, byte [0x10197334]
mov byte [0x1018c952], bl
test al, 1
mov word [esp + 0x1c], 0x55
mov word [esp + 0x1e], 0x1f
mov word [esp + 0x20], 0xf
mov word [esp + 0x22], 0x19
mov word [esp + 0x24], dx
mov word [esp + 0x2a], 5
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], 0x2b
mov word [esp + 0x32], 8
mov word [esp + 0x34], 0x1d
mov word [esp + 0x36], 0x1c
mov word [esp + 0x38], dx
mov word [esp + 0x3a], 0x15
mov word [esp + 0x3e], 0x16
mov word [esp + 0x40], 0x2c
mov word [esp + 0x42], cx
mov word [esp + 0x44], 6
jne 0x10080d83
mov bl, al
push 0x2c
or bl, 1
mov byte [0x10197334], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197338], eax
mov edi, 0x30
xor esi, esi
mov bx, word [esp + esi + 0x1c]
push edi
mov ecx, ebx
and ecx, 0xffff
push ecx
mov ecx, 0x10197338
call fcn.1004a650
mov edx, dword [0x10197338]
xor eax, ebx
xor eax, edi
xor edi, edi
mov word [esi + edx], ax
mov eax, dword [0x10197338]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x2a
jb 0x10080d34
push 0x100880d0
mov word [eax + 0x2a], 0
call fcn.1013c36b
add esp, 4
xor edi, edi
mov esi, dword [0x10197338]
mov al, byte [esp + 0x58]
push esi
mov byte [esp + 0x10], al
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0xc]
push eax
push esi
call fcn.1000bf40
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 1
push ecx
mov ecx, dword [0x10191a54]
call fcn.10058e60
mov ecx, eax
call fcn.100686b0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
cmp ecx, edi
je 0x10080dfe
mov al, byte [ecx - 1]
test al, al
je 0x10080df2
cmp al, 0xff
je 0x10080df2
dec al
mov byte [ecx - 1], al
jmp 0x10080dfe
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov byte [0x1018c954], 0x67
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret