Function at 0x100f80f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
call fcn.10003a90
mov edx, dword [ebp - 0x38]
push edx
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.1008b0b0
add esp, 0x14
mov ecx, dword [ebp - 0x14]
xor ecx, 0xd0
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], 0x443
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
movzx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.100858a0
add esp, 0x18
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2bf
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x4a
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.10103504
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100f8271
cmp dword [ebp - 0xc], 0
je 0x100f8224
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx - 1]
mov byte [eax - 1], dl
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100f8201
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x100f825b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx - 1]
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dl, byte [edx - 1]
mov byte [eax + ecx], dl
mov dword [ebp - 0x14], 0x180
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100f822a
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1010350f
add esp, 4
imul edx, dword [ebp - 0x20], 0x1c9
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
sub eax, 0x81
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x2fdf0
lea eax, [ebp - 0xc]
push eax
call fcn.1008b110
add esp, 4
imul ecx, dword [ebp - 0x14], 0x1f9
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0x293
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1008a0c0
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
movzx eax, byte [ebp - 1]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.1008b160
add esp, 8
mov edx, dword [ebp - 0x18]
add edx, 0xea
mov dword [ebp - 0x10], edx
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10006a80
add esp, 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x488
mov eax, dword [ebp - 0x18]
add eax, 0x123
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0xc]
add edx, 0x2b4
mov dword [ebp - 0x1c], edx
push 0x10e
movzx eax, word [ebp - 8]
push eax
movzx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100866d0
add esp, 0x10
mov eax, 0x332
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x353
mov dword [ebp - 0x10], ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.10083fb0
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, 0x254
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x10]
push edx
call fcn.1008b1a0
add esp, 4
mov dword [ebp - 0x20], 0x1d0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10007000
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
push eax
movzx ecx, word [ebp - 8]
push ecx
push 0x5c5
call fcn.10088b90
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x244
movzx edx, word [ebp - 8]
push edx
call fcn.100897e0
add esp, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x774b7
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
xor ecx, 0x1d7
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0x24c
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push 1
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 1]
push edx
call fcn.101016f0
add esp, 0xc
mov dword [ebp - 0x1c], 0x5a2
push 1
lea eax, [ebp - 1]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.101016f0
add esp, 0xc
imul edx, dword [ebp - 0x14], 0x142
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
xor eax, 0x37f
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x244
jl 0x100f846a
mov dword [ebp - 0x1c], 0x853f0
mov edx, dword [ebp - 0x28]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
movzx eax, byte [ebp - 1]
push eax
movzx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.1008b1f0
add esp, 0x10
mov dword [ebp - 0x18], 0x2c4
mov ecx, dword [ebp - 0x18]
xor ecx, 0x251
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
imul eax, dword [ebp - 0x20], 0x269
mov dword [ebp - 0x18], eax
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x480
call fcn.10087180
add esp, 0x14
mov dword [ebp - 0x10], 0x3b2
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0x15c
call fcn.10085210
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0xe7
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x24]
push eax
movzx ecx, word [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.1008ab00
add esp, 0xc
mov eax, dword [ebp - 0x1c]
xor eax, 0x4c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x272
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x3b8
mov dword [ebp - 0x20], edx
imul eax, dword [ebp - 0x10], 0x2f2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x29b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 0x29a]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x29a
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x43
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3b920
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
jne 0x100f85e3
mov dword [ebp - 0x18], 0xa6108
mov dword [ebp - 0x1c], 0xffffff2d
mov eax, dword [ebp - 0x18]
add eax, 0x397
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x34]
mov esp, ebp
pop ebp
ret