Function at 0x100f7ea0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10164f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, byte [0x10195478]
push ebx
push ebp
push esi
test al, 1
push edi
mov ebx, ecx
mov byte [0x1018cc9d], 0xc8
mov word [esp + 0x10], 0x15
mov word [esp + 0x12], 0x58
jne 0x100f7f47
or al, 1
push 6
mov byte [0x10195478], al
call fcn.1013c2df
add esp, 4
mov dword [0x1019547c], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x10]
push edi
mov eax, ebp
mov ecx, 0x1019547c
and eax, 0xffff
push eax
call fcn.1004a650
mov ecx, dword [0x1019547c]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x1019547c]
mov di, word [esi + eax]
add esi, 2
cmp esi, 4
jb 0x100f7ef9
xor ebp, ebp
push 0x100f8190
mov word [eax + 4], bp
call fcn.1013c36b
add esp, 4
jmp 0x100f7f49
xor ebp, ebp
mov esi, dword [0x1019547c]
mov dl, byte [esp + 0x64]
push esi
mov byte [esp + 0x28], dl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x24]
push eax
push esi
call fcn.1000bf40
mov al, byte [0x10195480]
mov dword [esp + 0x5c], ebp
test al, 1
mov word [esp + 0x10], 0x4b
mov word [esp + 0x12], 0x5e
jne 0x100f7ffd
or al, 1
push 6
mov byte [0x10195480], al
call fcn.1013c2df
add esp, 4
mov dword [0x10195484], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x10]
push edi
mov eax, ebp
mov ecx, 0x10195484
and eax, 0xffff
push eax
call fcn.1004a650
mov ecx, dword [0x10195484]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x10195484]
mov di, word [esi + eax]
add esi, 2
cmp esi, 4
jb 0x100f7faf
push 0x100f8180
mov word [eax + 4], 0
call fcn.1013c36b
add esp, 4
xor ebp, ebp
mov esi, dword [0x10195484]
mov dl, byte [esp + 0x64]
push esi
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call fcn.1000bf40
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x64]
xor esi, esi
mov byte [esp + 0x5c], 1
mov eax, dword [edi + 8]
cmp eax, ebp
jbe 0x100f811e
mov bl, 3
jmp 0x100f804b
xor ebp, ebp
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x100f8058
mov eax, 0x1016a1d8
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push eax
mov ecx, edi
call fcn.10023f20
cmp eax, 0xffffffff
je 0x100f811e
mov edx, dword [esp + 0x1c]
lea esi, [edx + eax]
mov eax, dword [edi + 8]
cmp esi, eax
jae 0x100f811e
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x100f808e
mov eax, 0x1016a1d8
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push eax
mov ecx, edi
call fcn.10023f20
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100f811c
mov edx, ebp
lea eax, [esp + 0x44]
sub edx, esi
mov ecx, edi
push edx
push esi
push eax
call fcn.10015220
lea ecx, [esp + 0x44]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.100f81a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
sub esi, edx
lea eax, [esp + 0x34]
sub ecx, esi
push eax
add ecx, ebp
mov byte [esp + 0x60], bl
push ecx
push esi
mov ecx, edi
call fcn.10067360
mov edx, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0x38]
add esi, edx
mov byte [esp + 0x60], 2
call fcn.1000bc70
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
call fcn.1000bc70
cmp esi, dword [edi + 8]
jb 0x100f8049
xor ebp, ebp
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call fcn.1000bc70
mov ecx, dword [esp + 0x28]
pop edi
pop esi
cmp ecx, ebp
pop ebp
mov dword [esp + 0x50], 0xffffffff
pop ebx
je 0x100f8160
mov al, byte [ecx - 1]
test al, al
je 0x100f8154
cmp al, 0xff
je 0x100f8154
dec al
mov byte [ecx - 1], al
jmp 0x100f8160
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x44]
mov byte [0x1018cc9d], 0xab
mov dword fs:[0], ecx
add esp, 0x50
ret 4