Function at 0x100f89f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x4c], 0
push 0xca4
call fcn.10103514
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
call fcn.10005d70
mov dword [ebp - 0x20], 0x3c7
mov ecx, dword [ebp - 0x4c]
push ecx
movzx edx, word [ebp - 8]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.100d3ae0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx - 1]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx - 1]
mov dword [ebp - 0x38], eax
imul ecx, dword [ebp - 0x28], 0x178
mov dword [ebp - 0x1c], ecx
push 1
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 1]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, 0x25e
mov dword [ebp - 0x18], ecx
push 1
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, 0xef
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0x1c9
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
jne 0x100f8af3
mov dword [ebp - 0x20], 0x5c
mov edx, 0x2e7
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x20]
xor ecx, 0xf0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x4492e
mov edx, dword [ebp - 0x44]
push edx
push 0x3fa
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 8]
push ecx
movzx edx, byte [ebp - 1]
push edx
movzx eax, word [ebp - 8]
push eax
call fcn.100d5fe0
add esp, 0x18
mov ecx, dword [ebp - 0x34]
xor ecx, 0x36f
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.100d6990
add esp, 0x10
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0x128
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
movzx eax, word [ebp - 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.100cfe60
add esp, 0xc
mov dword [ebp - 0x34], eax
imul eax, dword [ebp - 0x18], 0x109
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x1d1f0
mov dword [ebp - 0x1c], 0x5b
mov ecx, dword [ebp - 0x18]
add ecx, 0xf0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
sub eax, 0x47
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
imul edx, dword [ebp - 0xc], 0x1b4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x28], 1
jle 0x100f8cbc
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, 0x3e7
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0x1ece2
mov edx, dword [ebp - 0xc]
xor edx, 0xde
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x18]
test edx, edx
jne 0x100f8c8a
mov dword [ebp - 0x10], 0x399
mov eax, dword [ebp - 0x14]
add eax, 0x3b8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0xc0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2bc
mov dword [ebp - 0x14], ecx
imul edx, dword [ebp - 0xc], 0x2ee
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x28]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x100f8e95
mov ecx, dword [ebp - 0xc]
sub ecx, 0x104
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1ae
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100f8e8b
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x1e
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jge 0x100f8dde
mov edx, dword [ebp - 0x10]
xor edx, 0x2ae
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.101016f0
add esp, 0xc
imul eax, dword [ebp - 0x14], 0x247
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x3b8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], 0xffffffa1
imul eax, dword [ebp - 0xc], 0x278
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x298
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0xb0d52
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x100f8d57
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
sub ecx, 0xb0
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x100f8e61
imul ecx, dword [ebp - 0x10], 0x12b
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], 0x38de4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0xc]
add eax, 0x31e
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x2cb
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
jmp 0x100f8df7
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
add eax, 0x18b
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xca
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x18]
xor ecx, 0xc
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x21f
mov dword [ebp - 0x20], eax
imul ecx, dword [ebp - 0x28], 0x38d
mov dword [ebp - 0x1c], ecx
movzx edx, byte [ebp - 1]
push edx
lea eax, [ebp - 0x2c]
push eax
movzx ecx, word [ebp - 8]
push ecx
movzx edx, word [ebp - 8]
push edx
movzx eax, byte [ebp - 1]
push eax
call fcn.100d2330
add esp, 0x14
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0xcf
mov dword [ebp - 0xc], 0x23f
mov dword [ebp - 0x20], 0x1f1
call fcn.100d6a00
mov dword [ebp - 0x1c], eax
mov ecx, 0x3e7
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x34]
push eax
movzx ecx, word [ebp - 8]
push ecx
call fcn.100069c0
add esp, 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x3cb
mov edx, dword [ebp - 0x10]
sub edx, 0x65
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x2c], 0
call fcn.100033e0
call fcn.10005d70
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100f5740
add esp, 8
mov dword [ebp - 0x30], eax
push 0x1ad2
call fcn.10103514
add esp, 4
mov dword [ebp - 0x2c], eax
push 0xca4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1010350f
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
push 0xe2e
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 0xca4
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x48]
push edx
call fcn.10002d30
add esp, 4
push 0x10f1
push 0
call fcn.1010351f
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
push eax
call fcn.10002d30
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.100f05e0
add esp, 4
push 0x2bc3
call fcn.10103514
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x1ad2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.1010350f
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [ecx], edx
push 0x10f1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 0x1ad2
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
call fcn.10005d70
call fcn.100033e0
call fcn.100f6590
mov dword [ebp - 0x24], eax
push 0x415a
push 0
call fcn.1010351f
add esp, 8
mov dword [ebp - 0x40], eax
push 0x2bc3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.1010350f
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
push 0x1597
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 0x2bc3
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret