Function at 0x100cb340
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131a16
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
mov eax, dword [0x101f4860]
test eax, eax
je 0x100cb390
and dword [eax + 0x14], 0xffffffed
mov eax, dword [0x101f4864]
test eax, eax
je 0x100cb39d
and dword [eax + 0x14], 0xffffffed
mov eax, dword [0x101f4868]
test eax, eax
je 0x100cb3aa
and dword [eax + 0x14], 0xffffffed
mov eax, dword [0x101f486c]
test eax, eax
je 0x100cb3b7
and dword [eax + 0x14], 0xffffffed
mov eax, dword [0x101f4860]
test eax, eax
je 0x100cb3c7
mov dword [eax + 0x50], 0
mov eax, dword [0x101f4864]
test eax, eax
je 0x100cb3d7
mov dword [eax + 0x50], 0
mov eax, dword [0x101f4868]
test eax, eax
je 0x100cb3e7
mov dword [eax + 0x50], 0
mov eax, dword [0x101f486c]
test eax, eax
je 0x100cb3f7
mov dword [eax + 0x50], 0
push 0xf
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.other_viewmodel
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10011990
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101e9590
call fcn.100107b0
mov al, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x61], al
cmp edx, 0x10
jb 0x100cb479
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb46c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cb46c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
mov al, byte [ebp - 0x61]
add esp, 8
test al, al
je 0x100cb623
push 0x11
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.other_viewmodel_x
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10011990
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x101e95b0
call fcn.10010790
mov edx, dword [0x101f4860]
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100cb50d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cb503
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x11
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.other_viewmodel_y
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10011990
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x101e95b0
call fcn.10010790
mov ecx, dword [0x101f4864]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100cb597
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb58d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cb58d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x11
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.other_viewmodel_z
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10011990
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x101e95b0
call fcn.10010790
mov ecx, dword [0x101f4868]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100cb664
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb617
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cb617
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
jmp 0x100cb664
mov eax, dword [0x101f4854]
mov ecx, dword [0x101f4860]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101f4854]
mov ecx, dword [0x101f4864]
mov edx, dword [eax + 4]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101f4854]
mov ecx, dword [0x101f4868]
mov edx, dword [eax + 8]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
movaps xmm0, xmmword [0x10162c60]
mov eax, 0x10
pxor xmm0, xmmword [0x10163740]
mov dword [ebp - 0x34], 0x6b04021f
movups xmmword [ebp - 0x44], xmm0
xor byte [ebp + eax - 0x44], 0x6b
inc eax
cmp eax, 0x14
jb 0x100cb683
lea edx, [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
lea ecx, [edx + 1]
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100cb6b0
sub edx, ecx
lea eax, [ebp - 0x44]
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.10011990
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 4
push eax
mov ecx, 0x101e9590
call fcn.100107b0
cmp byte [eax], 0
je 0x100cb781
movaps xmm0, xmmword [0x10162c60]
mov eax, 0x10
pxor xmm0, xmmword [0x10163740]
mov dword [ebp - 0x38], 0x3404021f
mov dword [ebp - 0x34], 0x1e070a1d
mov word [ebp - 0x30], 0x6b0e
movups xmmword [ebp - 0x48], xmm0
xor byte [ebp + eax - 0x48], 0x6b
inc eax
cmp eax, 0x1a
jb 0x100cb710
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cb740
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10011990
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x101e95b0
mov dword [ebp - 0x68], 1
call fcn.10010790
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x10162748]
jmp 0x100cb789
movsd xmm0, qword [0x101627a8]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 4], 4
test byte [ebp - 0x68], 1
movss dword [ebp - 0x6c], xmm0
je 0x100cb7e1
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100cb7cf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb7c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cb80e
push edx
push ecx
call fcn.10128808
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100cb81e
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cb814
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cb814
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov ecx, dword [0x101f486c]
movss xmm0, dword [ebp - 0x6c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret