Function at 0x100f2e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
push 0x14ed
call fcn.10103514
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
call fcn.10001da0
movzx edx, word [ebp - 8]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.10045450
add esp, 0xc
mov dword [ebp - 0x28], eax
imul edx, dword [ebp - 0x14], 0x1ae
mov dword [ebp - 0x10], edx
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10006ef0
add esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x29a
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x28]
push edx
call fcn.1004b0f0
add esp, 4
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x6d5c8
imul ecx, dword [ebp - 0x14], 0x104
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x14e
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x28]
push eax
movzx ecx, byte [ebp - 1]
push ecx
call fcn.10046e00
add esp, 8
mov dword [ebp - 0x2c], eax
mov edx, 0x271
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x393
mov eax, dword [ebp - 0x10]
add eax, 0x1b0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1004b160
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 1
jle 0x100f2feb
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x1c]
test edx, edx
jne 0x100f2fd0
mov dword [ebp - 0x20], 0x18134
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x18]
add edx, 0xc1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
xor eax, 0xb4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x20]
xor edx, 0x263
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jl 0x100f2ff5
mov edx, 0x42
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], 0x15b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0x3c6
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x18]
push edx
call fcn.1004b1d0
add esp, 4
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
movzx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1004a350
add esp, 0x10
mov dword [ebp - 0x24], 0x4b5a0
mov dword [ebp - 0xc], 0x584
mov dword [ebp - 0x14], 0x13f
lea edx, [ebp - 0x18]
push edx
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.10049940
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
xor eax, 0x246
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0x3f3
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax + 0x11a3]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100f324f
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0xd2
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x14], 0
je 0x100f31c5
mov eax, dword [ebp - 0xc]
add eax, 0x1b3
mov dword [ebp - 0x1c], eax
imul ecx, dword [ebp - 0x28], 0xc2
mov dword [ebp - 0x20], ecx
push 1
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x24]
xor edx, 0x141
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x100f316f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x100f3235
mov eax, dword [ebp - 0x1c]
xor eax, 0x11d
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push 1
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x100f31d8
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0x20661
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x24], 0xffffff56
mov dword [ebp - 0x10], 0x40a
mov edx, dword [ebp - 0x34]
push edx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
add eax, 0x2c4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
xor ecx, 0x20f
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10044520
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x2da
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0xffffffc8
mov dword [ebp - 0x20], 0x68c
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
xor eax, 0x2d1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x100f341e
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x10]
jge 0x100f335f
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
push 1
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
xor edx, 0x120
mov dword [ebp - 0xc], edx
imul eax, dword [ebp - 0x20], 0x368
mov dword [ebp - 0x24], eax
jmp 0x100f32f5
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jge 0x100f340d
mov dword [ebp - 0x24], 0xffffff6c
mov ecx, dword [ebp - 0x18]
xor ecx, 5
mov dword [ebp - 0x24], ecx
push 1
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x1f8
mov dword [ebp - 0x24], edx
imul eax, dword [ebp - 0x20], 0x1b6
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
xor ecx, 0xc8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
xor ecx, 0x26f
mov dword [ebp - 0xc], ecx
jmp 0x100f3375
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
imul eax, dword [ebp - 0x20], 0x5e
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x10]
xor edx, 0x288
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.10043020
add esp, 8
mov dword [ebp - 0x20], 0x97
imul edx, dword [ebp - 0x10], 0xf
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, 0x2a9
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.10045fe0
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x322
mov dword [ebp - 0x28], 0xfffffd35
mov dword [ebp - 0xc], 0xffffffec
mov dword [ebp - 0x1c], 0xcf
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax + 0xce]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x2c]
add eax, 0xce
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
xor ecx, 0x32b
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
xor edx, 0x68
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x1c8
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
xor edx, 0x33f
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
jne 0x100f34b8
mov ecx, dword [ebp - 0x28]
xor ecx, 0x35f
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0x3b3
mov dword [ebp - 0x24], 0xffffffc4
mov edx, dword [ebp - 0x10]
sub edx, 0x1b0
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, 0x1ea
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1004b230
add esp, 0xc
mov eax, dword [ebp - 0x20]
xor eax, 0x1ee
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.10048930
add esp, 0x14
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1004b290
add esp, 0x10
imul edx, dword [ebp - 0x24], 0x1d8
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add eax, 0x69
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10047c90
add esp, 8
mov eax, dword [ebp - 0xc]
add eax, 0x39d
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.10005830
add esp, 8
call fcn.10001da0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.100f6bc0
add esp, 0xc
push 0x3706
call fcn.10103514
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x14ed
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x44]
push edx
call fcn.1010350f
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
push 0x2219
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x44]
add edx, 0x14ed
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret