Function at 0x100a42f0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x101606f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov eax, 0xa1
push ebp
mov ebp, ecx
mov word [esp + 0x36], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x48], ax
mov al, byte [0x10196ea4]
mov ecx, 0xa2
xor ebx, ebx
push esi
push edi
test al, 1
mov dword [esp + 0x10], ebp
mov word [esp + 0x3c], 0xb2
mov word [esp + 0x40], 0xbe
mov word [esp + 0x44], cx
mov word [esp + 0x46], 0xb5
mov word [esp + 0x48], 0xb3
mov word [esp + 0x4a], 0xff
mov word [esp + 0x4c], 0xb0
mov word [esp + 0x4e], cx
jne 0x100a43ce
or al, 1
push 0x18
mov byte [0x10196ea4], al
call fcn.1013c2df
add esp, 4
mov dword [0x10196ea8], eax
xor esi, esi
mov di, word [esp + esi + 0x3c]
push 0xd1
mov eax, edi
mov ecx, 0x10196ea8
and eax, 0xffff
push eax
call fcn.100a8ee0
mov ecx, dword [0x10196ea8]
add eax, 0xd1
xor eax, edi
mov word [esi + ecx], ax
add esi, 2
cmp esi, 0x16
jb 0x100a4382
mov edx, dword [0x10196ea8]
push 0x100a81c0
mov word [edx + 0x16], bx
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10196ea8]
mov al, byte [esp + 0x64]
push esi
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x2c]
push eax
push esi
call fcn.1000bf40
mov al, byte [0x10196eac]
mov dword [esp + 0x5c], ebx
test al, 1
mov word [esp + 0x14], 0x4f
mov word [esp + 0x16], 0x5c
mov word [esp + 0x18], 0x5a
jne 0x100a447d
or al, 1
push 8
mov byte [0x10196eac], al
call fcn.1013c2df
add esp, 4
mov dword [0x10196eb0], eax
xor esi, esi
mov di, word [esp + esi + 0x14]
push 0x2c
mov ecx, edi
and ecx, 0xffff
push ecx
mov ecx, 0x10196eb0
call fcn.100a8ee0
mov edx, dword [0x10196eb0]
add eax, 0x2c
xor eax, edi
mov word [esi + edx], ax
add esi, 2
cmp esi, 6
jb 0x100a4436
mov eax, dword [0x10196eb0]
push 0x100a82e0
mov word [eax + 6], bx
call fcn.1013c36b
add esp, 4
mov edi, dword [0x10196eb0]
mov cl, byte [esp + 0x64]
push edi
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
push 1
push esi
call fcn.1000c010
test al, al
je 0x100a44cb
mov edx, dword [esp + 0x20]
push esi
push edi
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x1c]
push esi
call fcn.1000bff0
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x68], 1
call fcn.1009a220
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x5c], 4
cmp ecx, ebx
je 0x100a4511
mov al, byte [ecx - 1]
cmp al, bl
je 0x100a4505
cmp al, 0xff
je 0x100a4505
dec al
mov byte [ecx - 1], al
jmp 0x100a4511
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov byte [esp + 0x5c], 3
je 0x100a4548
mov al, byte [ecx - 1]
cmp al, bl
je 0x100a453c
cmp al, 0xff
je 0x100a453c
dec al
mov byte [ecx - 1], al
jmp 0x100a4548
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
mov dword [ebp], 0x1016a9d8
mov eax, ebp
pop esi
mov dword [esp + 0x54], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4