Function at 0x10096870
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015f4b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x2c]
push ebx
push ebp
xor ebx, ebx
push esi
dec eax
push edi
mov dword [esp + 0x24], ebx
je 0x10096a9b
dec eax
je 0x10096997
mov eax, 0xffa0
mov word [esp + 0x12], 0xff9f
mov word [esp + 0x10], ax
mov word [esp + 0x14], ax
mov word [esp + 0x18], ax
mov al, byte [0x101970f4]
test al, 1
mov word [esp + 0x16], 0xffa5
jne 0x10096934
or al, 1
push 0xc
mov byte [0x101970f4], al
call fcn.1013c2df
add esp, 4
mov dword [0x101970f8], eax
xor edi, edi
mov si, word [esp + edi + 0x10]
push 0xd0
mov eax, esi
mov ecx, 0x101970f8
and eax, 0xffff
push eax
call fcn.1002ea10
mov ecx, dword [0x101970f8]
sub esi, eax
add esi, 0xd0
mov word [edi + ecx], si
add edi, 2
cmp edi, 0xa
jb 0x100968e7
mov edx, dword [0x101970f8]
push 0x10096bb0
mov word [edx + 0xa], bx
call fcn.1013c36b
add esp, 4
mov ebp, dword [0x101970f8]
mov esi, dword [esp + 0x38]
mov al, byte [esp + 0x38]
push ebp
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1013c2c2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.1000c010
test al, al
je 0x1009698a
mov eax, dword [esi + 4]
cmp edi, ebx
mov ecx, ebp
jbe 0x10096980
mov edx, edi
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x10096971
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
mov word [ecx + edi*2], bx
mov dword [esp + 0x24], 1
jmp 0x10096b78
mov eax, 6
mov ecx, 0x13
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov al, byte [0x101970fc]
mov word [esp + 0x10], 0x19
test al, 1
mov word [esp + 0x12], bx
mov word [esp + 0x14], cx
mov word [esp + 0x16], 4
mov word [esp + 0x18], 0x1a
mov word [esp + 0x1a], 0x17
mov word [esp + 0x20], cx
mov word [esp + 0x22], 0x12
jne 0x10096a46
or al, 1
push 0x16
mov byte [0x101970fc], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197100], eax
xor esi, esi
mov di, word [esp + esi + 0x10]
push 0x76
mov edx, edi
mov ecx, 0x10197100
and edx, 0xffff
push edx
call fcn.100a8ee0
mov ecx, dword [0x10197100]
add eax, 0x76
xor eax, edi
mov word [esi + ecx], ax
add esi, 2
cmp esi, 0x14
jb 0x100969fe
mov edx, dword [0x10197100]
push 0x10096ba0
mov word [edx + 0x14], bx
call fcn.1013c36b
add esp, 4
mov ebp, dword [0x10197100]
mov esi, dword [esp + 0x38]
mov al, byte [esp + 0x38]
push ebp
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1013c2c2
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.1000c010
test al, al
je 0x10096a8e
mov ecx, dword [esi + 4]
push edi
push ebp
push ecx
call fcn.100017d0
add esp, 0xc
mov ecx, esi
push edi
call fcn.1000bff0
mov dword [esp + 0x24], 1
jmp 0x10096b78
mov eax, 0x1f
mov word [esp + 0x10], 0x40
mov word [esp + 0x12], ax
mov word [esp + 0x14], ax
mov al, byte [0x10197104]
mov word [esp + 0x16], 5
test al, 1
mov word [esp + 0x18], 0x1b
mov word [esp + 0x1a], 0xa
mov word [esp + 0x1c], 1
mov word [esp + 0x1e], 0x17
jne 0x10096b45
or al, 1
push 0x12
mov byte [0x10197104], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197108], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x10]
push edi
mov edx, ebp
mov ecx, 0x10197108
and edx, 0xffff
push edx
call fcn.1004a650
mov ecx, dword [0x10197108]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x10197108]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x10
jb 0x10096afa
push 0x10096b90
mov word [eax + 0x10], bx
call fcn.1013c36b
add esp, 4
mov edi, dword [0x10197108]
mov esi, dword [esp + 0x38]
mov dl, byte [esp + 0x38]
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 + 0x24], 1
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret