Function at 0x100f6590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x30], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
push 0x90b
push 0
call fcn.1010351f
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
call fcn.10003a90
mov edx, dword [ebp - 0x2c]
xor edx, 0xfa
mov dword [ebp - 0x10], edx
mov eax, 0x1c0
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.100e6f90
add esp, 8
mov dword [ebp - 0x30], eax
imul eax, dword [ebp - 0x14], 0x2d9
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x1ea
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x28], 1
jle 0x100f6694
mov ecx, 0xc8
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x14]
test edx, edx
jne 0x100f6680
mov dword [ebp - 0x18], 0x3ff
mov dword [ebp - 0xc], 0x1fc
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
imul eax, dword [ebp - 0x18], 0x361
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
imul edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
imul ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x2c], 0
je 0x100f6747
mov edx, dword [ebp - 0x18]
add edx, 0x294
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
shl edx, 9
mov dword [ebp - 0x18], edx
jmp 0x100f66e8
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
xor ecx, 0x146
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
xor ecx, 0x25f
mov dword [ebp - 0x10], ecx
movzx edx, word [ebp - 8]
push edx
push 0x86
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.100e4ff0
add esp, 0x14
mov eax, dword [ebp - 0x2c]
sub eax, 0x44
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x3c
mov dword [ebp - 0x10], ecx
call fcn.100e66b0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
add edx, 0x22c
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.100e9360
add esp, 0xc
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x3c], 0xb1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x95
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x4af
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0xffffff9a
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
push 1
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 1]
push ecx
call fcn.101016f0
add esp, 0xc
push 1
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, 0x18d
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], 0x32e
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x3ad
jl 0x100f6832
imul eax, dword [ebp - 0xc], 0x92
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0x12d
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
push 0x86
mov edx, dword [ebp - 0x40]
push edx
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.100e4630
add esp, 0x10
call fcn.100033e0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.100015f0
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100fac90
add esp, 4
push 1
push 0x1597
call fcn.10103504
add esp, 8
mov dword [ebp - 0x24], eax
push 0x90b
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1010350f
add esp, 4
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
push 0xc8c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x90b
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
mov esp, ebp
pop ebp
ret