Function at 0x100b9be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101309de
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x4c], ebx
push 0x11
push 0x1015f1e4
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
call fcn.10011990
call fcn.10058a90
test al, al
je 0x100b9c76
push 0xd
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x28]
push str.misc_autopeek
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.10011990
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
mov ebx, 1
mov ecx, 0x101e9590
push eax
mov dword [ebp - 0x4c], ebx
call fcn.100107b0
mov byte [ebp - 0x45], bl
cmp byte [eax], 0
jne 0x100b9c7a
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x100b9cbc
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100b9cbc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b9cb2
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
cmp byte [ebp - 0x45], 0
je 0x100b9f75
mov dword [ebp - 0x20], 0x41f1e0a
xor eax, eax
mov dword [ebp - 0x1c], 0xe0e1b
mov dword [ebp - 0x18], 0x7040834
mov byte [ebp - 0x14], 0x6b
xor byte [ebp + eax - 0x20], 0x6b
inc eax
cmp eax, 0xd
jb 0x100b9ce1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b9d10
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10011990
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x101e95f0
call fcn.10010770
movss xmm1, dword [0x10162960]
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
cvttss2si ebx, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
mov dword [ebp - 0x54], ebx
cvttss2si ecx, xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
cvttss2si eax, xmm0
mov dword [ebp - 0x50], eax
cmp edx, 0x10
jb 0x100b9daf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9da5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b9da5
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
movq xmm0, qword [0x1021e350]
xor edi, edi
mov eax, dword [0x1021e358]
xor esi, esi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 2
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x14], xmm0
nop
movaps xmm0, xmm1
mulss xmm0, dword [0x1016262c]
movss dword [ebp - 0x64], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
mulss xmm0, dword [0x10162844]
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x64]
call fcn.10004d40
mulss xmm0, dword [0x10162844]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
addss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x18], xmm0
call fcn.100bff50
test al, al
je 0x100b9f3f
cmp edi, esi
je 0x100b9e6b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
add edi, 0x10
mov dword [ebp - 0x5c], edi
jmp 0x100b9e7e
lea eax, [ebp - 0x6c]
push eax
push edi
lea ecx, [ebp - 0x60]
call fcn.100c0b00
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x44]
addss xmm1, dword [0x1016269c]
movss xmm0, dword [0x10162970]
comiss xmm0, xmm1
movss dword [ebp - 0x44], xmm1
ja 0x100b9df0
mov ecx, dword [0x101f46a0]
mov eax, dword [ebp - 0x50]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x43], al
mov eax, dword [ecx]
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x41], 0x64
push dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101f46a0]
mov ebx, dword [ebp - 0x60]
sub edi, ebx
push 0
push ebx
mov eax, dword [ecx]
sar edi, 4
push edi
mov eax, dword [eax + 0x1a8]
call eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x101f46a0]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x43], al
mov eax, dword [ebp - 0x54]
mov byte [ebp - 0x42], al
mov eax, dword [ecx]
mov byte [ebp - 0x41], 0xff
push dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101f46a0]
push edi
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a0]
call eax
test ebx, ebx
je 0x100b9f75
sub esi, ebx
mov eax, ebx
and esi, 0xfffffff0
cmp esi, 0x1000
jb 0x100b9f3b
mov ebx, dword [ebx - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9f65
push esi
push ebx
jmp 0x100b9f6d
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100b9f75
sub esi, ecx
mov eax, ecx
and esi, 0xfffffff0
cmp esi, 0x1000
jb 0x100b9f6b
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b9f6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.10128808
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret