Function at 0x10090e20
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015ec3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov cl, byte [esp + 0x6c]
mov al, byte [0x1018c9bd]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov byte [esp + 0x30], cl
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebx
mov byte [0x1018c9c0], al
call fcn.1000bc70
push 0x101913e8
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x30]
push 1
push esi
call fcn.1000c010
test al, al
je 0x10090e9a
mov edx, dword [esp + 0x34]
push esi
push 0x101913e8
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x30]
push esi
call fcn.1000bff0
mov eax, 7
mov ecx, 0xc
mov word [esp + 0x4e], ax
mov word [esp + 0x64], ax
mov al, byte [0x101971bc]
mov edx, 2
mov ebp, 0xb
mov dword [esp + 0x74], 1
test al, 1
mov word [esp + 0x40], 0x53
mov word [esp + 0x42], cx
mov word [esp + 0x44], dx
mov word [esp + 0x46], bx
mov word [esp + 0x48], 0x32
mov word [esp + 0x4a], 0x3c
mov word [esp + 0x4c], 0x16
mov word [esp + 0x50], bx
mov word [esp + 0x52], 0x17
mov word [esp + 0x54], bp
mov word [esp + 0x56], 0x1a
mov word [esp + 0x58], 0x2b
mov word [esp + 0x5a], 0x3b
mov word [esp + 0x5c], bp
mov word [esp + 0x5e], dx
mov word [esp + 0x60], cx
mov word [esp + 0x62], 8
jne 0x10090f53
or al, 1
mov ecx, 0x101971c0
mov byte [0x101971bc], al
lea eax, [esp + 0x40]
push eax
call fcn.10044290
push 0x10093c60
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x7c]
mov edi, dword [0x101971c0]
mov byte [esp + 0x20], cl
push ebx
lea ecx, [esp + 0x24]
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x20]
push 1
push esi
call fcn.1000c010
test al, al
je 0x10090f9f
mov edx, dword [esp + 0x24]
push esi
push edi
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
call fcn.1000bff0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [0x10191a54]
push edx
mov byte [esp + 0x80], 2
call fcn.10058e60
mov ecx, eax
call fcn.10067fe0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call fcn.1000bc70
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 4
call fcn.1000bc70
cmp dword [esp + 0x18], ebx
jne 0x10091111
mov al, byte [0x101971ac]
mov word [esp + 0x40], 0x56
test al, 1
mov word [esp + 0x42], 0xa
mov word [esp + 0x44], 0x1a
mov word [esp + 0x46], 0x1b
mov word [esp + 0x48], 8
mov word [esp + 0x4a], 2
mov word [esp + 0x4c], 6
mov word [esp + 0x4e], 0xf
mov word [esp + 0x50], bp
mov word [esp + 0x52], 0x11
mov word [esp + 0x54], 3
mov word [esp + 0x56], 0x18
mov word [esp + 0x58], 0x1d
mov word [esp + 0x5a], 0x19
mov word [esp + 0x5c], 0x45
mov word [esp + 0x5e], 0x4c
mov word [esp + 0x60], bp
mov word [esp + 0x62], 0x13
jne 0x100910dc
or al, 1
push 0x26
mov byte [0x101971ac], al
call fcn.1013c2df
add esp, 4
mov dword [0x101971b0], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x40]
push edi
mov eax, ebp
mov ecx, 0x101971b0
and eax, 0xffff
push eax
call fcn.1004a650
mov ecx, dword [0x101971b0]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x101971b0]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x24
jb 0x10091092
push 0x100939e0
mov word [eax + 0x24], bx
call fcn.1013c36b
add esp, 4
mov edi, dword [0x101971b0]
mov esi, dword [esp + 0x7c]
mov dl, byte [esp + 0x7c]
push edi
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1013c2c2
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.1000bf40
mov dword [esp + 0x68], 1
jmp 0x10091140
mov esi, dword [esp + 0x7c]
mov al, byte [esp + 0x10]
lea edx, [esp + 0x10]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x1016a210]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.1000ba60
mov dword [esp + 0x68], 1
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x74], bl
cmp ecx, ebx
je 0x1009116a
mov al, byte [ecx - 1]
cmp al, bl
je 0x1009115e
cmp al, 0xff
je 0x1009115e
dec al
mov byte [ecx - 1], al
jmp 0x1009116a
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret