Function at 0x1008de00
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015e902
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov bl, byte [0x1018c9c0]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
mov dword [esp + 0x8c], 0
call fcn.10090e20
add esp, 4
mov al, bl
mov cl, 0x13
mov dl, byte [0x1018c9bc]
imul cl
push 0x76
push 0x13
push 0xffffffffffffffc2
push 0x71
mov esi, 1
dec bl
push edx
push 0xffffffffffffffff
mov dword [esp + 0xac], esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x32], bl
call fcn.1008d0a0
add esp, 0x14
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.1008d090
mov edi, dword [esp + 0x26]
mov cl, byte [0x1018c9c0]
push edi
push 0x26
push ecx
mov bl, al
call fcn.1008d090
mov cl, al
mov eax, 0x30
cdq
idiv dword [0x1018c998]
mov eax, dword [0x1018c994]
mov byte [esp + 0x2b], cl
mov cl, byte [0x1018c9c0]
push edi
mov dl, byte [edx + eax]
mov al, byte [esp + 0x2f]
add dl, cl
imul dl
add al, bl
sub al, 0x3d
inc cl
push eax
mov byte [0x1018c9c0], cl
call fcn.1008d0f0
mov byte [0x1018c9c0], al
mov eax, dword [esp + 0x44]
add esp, 0x20
test eax, eax
je 0x1008df0a
mov cl, byte [eax - 1]
test cl, cl
je 0x1008defa
cmp cl, 0xff
je 0x1008defa
mov ecx, dword [esp + 0x28]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.1000c010
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1008df0a
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1008df0e
xor edi, edi
jmp 0x1008df3d
mov edx, dword [esp + 0x28]
mov cl, byte [eax - 1]
test cl, cl
lea edi, [eax + edx*2]
je 0x1008df31
cmp cl, 0xff
je 0x1008df31
push 0
push edx
lea ecx, [esp + 0x28]
call fcn.1000c010
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1008df3d
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x24]
cmp eax, edi
mov ecx, edi
jae 0x1008df5a
mov di, word [ecx - 2]
mov dx, word [eax]
sub ecx, 2
mov word [eax], di
add eax, 2
cmp eax, ecx
mov word [ecx], dx
jb 0x1008df43
mov dl, byte [0x1018c9bd]
mov eax, 9
mov word [esp + 0x40], ax
mov word [esp + 0x42], ax
mov eax, 6
mov ebp, 4
mov word [esp + 0x56], ax
mov word [esp + 0x62], ax
mov word [esp + 0x7a], ax
mov al, byte [0x1019721c]
mov byte [0x1018c9be], dl
mov word [esp + 0x44], bp
mov word [esp + 0x48], si
mov word [esp + 0x6c], bp
mov edi, 0x55
mov edx, 0x50
mov ecx, 0x52
mov esi, 0xb
mov ebx, 0x5c
mov ebp, 0x18
test al, 1
mov word [esp + 0x46], 0xc
mov word [esp + 0x4a], 0x5d
mov word [esp + 0x4c], di
mov word [esp + 0x4e], dx
mov word [esp + 0x50], 0x4c
mov word [esp + 0x52], 0x4b
mov word [esp + 0x54], cx
mov word [esp + 0x58], si
mov word [esp + 0x5a], 0x14
mov word [esp + 0x5c], 0x19
mov word [esp + 0x5e], cx
mov word [esp + 0x60], dx
mov word [esp + 0x64], 0x1d
mov word [esp + 0x66], 0x15
mov word [esp + 0x68], bx
mov word [esp + 0x6a], di
mov word [esp + 0x6e], bp
mov word [esp + 0x70], bp
mov word [esp + 0x72], 0xd
mov word [esp + 0x74], bx
mov word [esp + 0x76], dx
mov word [esp + 0x78], 0x56
mov word [esp + 0x7c], 0x57
mov word [esp + 0x7e], cx
mov word [esp + 0x80], 7
mov word [esp + 0x82], 0x5e
mov word [esp + 0x84], si
mov word [esp + 0x86], di
jne 0x1008e0e3
mov bl, al
push 0x4a
or bl, 1
mov byte [0x1019721c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197220], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x40]
push edi
mov eax, ebp
mov ecx, 0x10197220
and eax, 0xffff
push eax
call fcn.1004a650
mov ecx, dword [0x10197220]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x10197220]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x48
jb 0x1008e097
push 0x1008e1f0
mov word [eax + 0x48], 0
call fcn.1013c36b
add esp, 4
mov edi, dword [0x10197220]
mov dl, byte [esp + 0x13]
xor esi, esi
push edi
mov byte [esp + 0x34], dl
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x30]
push eax
push edi
call fcn.1000bf40
sub esp, 0x10
lea ecx, [esp + 0x30]
mov eax, esp
mov dword [esp + 0x24], esp
push 3
push 1
lea edx, [esp + 0x48]
push ecx
push edx
push eax
mov byte [esp + 0xb8], 2
call fcn.1008cce0
add esp, 0x14
mov edi, dword [esp + 0xac]
mov byte [esp + 0xa4], 2
push edi
call fcn.10023280
add esp, 0x14
mov dword [esp + 0x88], 1
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x94], 1
cmp ecx, esi
je 0x1008e18c
mov al, byte [ecx - 1]
test al, al
je 0x1008e180
cmp al, 0xff
je 0x1008e180
dec al
mov byte [ecx - 1], al
jmp 0x1008e18c
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
cmp ecx, esi
mov byte [esp + 0x94], 0
je 0x1008e1c6
mov al, byte [ecx - 1]
test al, al
je 0x1008e1ba
cmp al, 0xff
je 0x1008e1ba
dec al
mov byte [ecx - 1], al
jmp 0x1008e1c6
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x8c]
mov eax, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret