Function at 0x100fac90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 1
push 0x6ee
call fcn.10103504
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
call fcn.10003a90
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.100eaaf0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x165
mov dword [ebp - 0x18], 0x4c4
mov ecx, dword [ebp - 0x18]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.100ec800
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor eax, 0x214
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x596
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x20]
xor edx, 0x301
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0x48a
cmp dword [ebp - 0xc], 1
jle 0x100fade0
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
test edx, edx
jne 0x100fadb6
mov ecx, dword [ebp - 0x20]
sub ecx, 0x1fa
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jge 0x100fae54
mov eax, dword [ebp - 8]
add eax, 0x25d
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 0x298
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0xffffff4b
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xd
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x100fadea
mov ecx, dword [ebp - 0x20]
xor ecx, 0x254
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x12d
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.100ea100
add esp, 8
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 8], 0x1ca
mov dword [ebp - 0xc], eax
mov ecx, 0xd6
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, 0x3a8
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x1da
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
lea ecx, [edx + eax - 1]
mov dword [ebp - 0x2c], ecx
mov edx, 0x2dd
sub edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x2a1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx - 1]
mov dword [ebp - 0x28], eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 1]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 1
lea ecx, [ebp - 1]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
imul ecx, dword [ebp - 0xc], 0x7d
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], 0xfffffcbf
mov eax, dword [ebp - 0x24]
xor eax, 0x316
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x100faefb
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.100ec860
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
add edx, 0x7c
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
xor ecx, 0x386
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.100e96a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
xor ecx, 0x35c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100ebaf0
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0x485
imul edx, dword [ebp - 0xc], 0x150
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x24], 0xffffffef
mov dword [ebp - 0x1c], 0
mov eax, 0x34
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0x18], 1
jle 0x100fb040
mov dword [ebp - 0x24], 0x591
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xc]
test edx, edx
jne 0x100fb02c
imul edx, dword [ebp - 0x10], 0x2ca
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x24], 0x534
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x6be
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
imul ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0x13092
mov dword [ebp - 8], 0x93c1
mov edx, dword [ebp - 0x1c]
sub edx, 1
imul edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x20], 0
je 0x100fb0f0
mov eax, dword [ebp - 8]
add eax, 0x1da
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x214
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
jmp 0x100fb099
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
call fcn.10003a90
call fcn.10003a90
lea eax, [ebp - 0x28]
push eax
call fcn.100ef410
add esp, 4
push 0xc8c
push 0
call fcn.1010351f
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x6ee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.1010350f
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 0x59e
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 0x6ee
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret