Function at 0x1008aed0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015e640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
call fcn.100883b0
mov cl, byte [str.x4_b_]
mov dl, 0x7a
sub cl, 0x7a
mov edi, 0x43
add al, cl
mov esi, 0x40
imul byte [0x1018c986]
imul dl
inc al
mov edx, 0x5b
mov byte [0x1018c986], al
mov eax, 0x71
mov word [esp + 0x34], ax
mov word [esp + 0x3c], ax
mov word [esp + 0x46], ax
mov word [esp + 0x4e], ax
mov al, byte [0x1019723c]
mov ecx, 0x5c
test al, 1
mov word [esp + 0x2c], 0x46
mov word [esp + 0x2e], 0x5a
mov word [esp + 0x30], di
mov word [esp + 0x32], 0x42
mov word [esp + 0x36], 0x47
mov word [esp + 0x38], si
mov word [esp + 0x3a], 0x44
mov word [esp + 0x3e], 0x4d
mov word [esp + 0x40], dx
mov word [esp + 0x42], cx
mov word [esp + 0x44], cx
mov word [esp + 0x48], si
mov word [esp + 0x4a], dx
mov word [esp + 0x4c], di
jne 0x1008aff9
mov bl, al
push 0x26
or bl, 1
mov byte [0x1019723c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197240], eax
xor esi, esi
mov di, word [esp + esi + 0x2c]
push 0x2e
mov eax, edi
mov ecx, 0x10197240
and eax, 0xffff
push eax
call fcn.100a8ee0
mov ecx, dword [0x10197240]
add eax, 0x2e
xor eax, edi
mov word [esi + ecx], ax
add esi, 2
cmp esi, 0x24
jb 0x1008afb0
mov edx, dword [0x10197240]
push 0x1008c3b0
mov word [edx + 0x24], 0
call fcn.1013c36b
add esp, 4
mov eax, dword [0x10197240]
push ebp
mov ebp, dword [esp + 0x68]
lea ecx, [esp + 0x20]
push ebp
push eax
push ecx
call fcn.1000cdb0
add esp, 0xc
mov ebx, eax
mov eax, 0xffed
mov edi, 2
mov word [esp + 0x38], ax
mov word [esp + 0x40], ax
mov word [esp + 0x4a], ax
mov word [esp + 0x54], ax
mov al, byte [0x10197244]
mov esi, 0xfffb
mov edx, 0xfffa
mov ecx, 0xfff7
test al, 1
mov dword [esp + 0x60], 0
mov word [esp + 0x30], 0xfff6
mov word [esp + 0x32], di
mov word [esp + 0x34], si
mov word [esp + 0x36], dx
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], 0xfffc
mov word [esp + 0x3e], 0xfff8
mov word [esp + 0x42], dx
mov word [esp + 0x44], 0xffef
mov word [esp + 0x46], 1
mov word [esp + 0x48], di
mov word [esp + 0x4c], di
mov word [esp + 0x4e], cx
mov word [esp + 0x50], si
mov word [esp + 0x52], 0xfff3
jne 0x1008b10a
or al, 1
push 0x28
mov byte [0x10197244], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197248], eax
xor edi, edi
mov si, word [esp + edi + 0x30]
push 0x72
mov edx, esi
mov ecx, 0x10197248
and edx, 0xffff
push edx
call fcn.1002ea10
sub esi, eax
mov eax, dword [0x10197248]
add esi, 0x72
mov word [edi + eax], si
add edi, 2
cmp edi, 0x26
jb 0x1008b0c1
mov ecx, dword [0x10197248]
push 0x1008c3c0
mov word [ecx + 0x26], 0
call fcn.1013c36b
add esp, 4
mov edx, dword [0x10197248]
push ebp
lea eax, [esp + 0x14]
push edx
push eax
call fcn.1000cdb0
mov ecx, dword [ebp + 0x34]
mov byte [esp + 0x6c], 1
push ecx
mov ecx, dword [ebp + 0x38]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx*4]
shl edx, 2
push edx
push ebx
push eax
call fcn.1006abe0
mov bl, al
mov eax, dword [esp + 0x30]
add esp, 0x1c
xor esi, esi
cmp eax, esi
mov byte [esp + 0x60], 0
pop ebp
je 0x1008b16d
mov cl, byte [eax - 1]
test cl, cl
je 0x1008b161
cmp cl, 0xff
je 0x1008b161
dec cl
mov byte [eax - 1], cl
jmp 0x1008b16d
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x5c], 0xffffffff
je 0x1008b1a7
mov al, byte [ecx - 1]
test al, al
je 0x1008b19b
cmp al, 0xff
je 0x1008b19b
dec al
mov byte [ecx - 1], al
jmp 0x1008b1a7
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4