Function at 0x140092880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
mov r13d, r12d
mov dword [rsp + 0x28], r12d
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
movabs rax, 0x7878787878787879
imul rcx
mov rbx, rdx
sar rbx, 7
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov dword [rsp + 0x20], r12d
mov eax, r12d
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
lea ecx, [r12 + 0x30]
call fcn.14012fc1c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x18], 8
mov dword [rbp - 0x50], 0x3f800000
mov r8, qword [rbp - 0x48]
lea edx, [r12 + 0x10]
lea rcx, [rbp - 0x38]
call fcn.14002be10
nop
add rbx, rbx
xorps xmm0, xmm0
js 0x14009295b
cvtsi2ss xmm0, rbx
jmp 0x140092970
mov rax, rbx
shr rax, 1
and ebx, 1
or rax, rbx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rbp - 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor eax, eax
movabs rdi, 0x8000000000000000
movss xmm6, dword [0x140190d40]
comiss xmm0, xmm6
jb 0x14009299f
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x14009299f
mov rax, rdi
cvttss2si rbx, xmm0
add rbx, rax
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp - 0x40]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400929bf
cvtsi2ss xmm0, rcx
jmp 0x1400929d4
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rbp - 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor eax, eax
comiss xmm0, xmm6
jb 0x1400929f1
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x1400929f1
mov rax, rdi
cvttss2si rcx, xmm0
add rcx, rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x20]
lea rdx, [rsp + 0x30]
cmp rcx, rbx
cmovae rax, rdx
mov rdx, qword [rax]
cmp rdx, qword [rbp - 0x18]
jbe 0x140092a21
lea rcx, [rbp - 0x50]
call fcn.14002c420
mov rdi, qword [rsi + 8]
mov rbx, qword [rsi]
cmp rbx, rdi
je 0x140092a64
nop dword [rax]
lea r8, [rbx + 0xd0]
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.140036150
lea r8, [rbx + 0xf0]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140036150
add rbx, 0x110
cmp rbx, rdi
jne 0x140092a30
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x78], 6
mov qword [rbp + 0x80], 0xf
mov eax, dword [str..eadl]
mov dword [rbp + 0x68], eax
movzx eax, word [0x1401972f8]
mov word [rbp + 0x6c], ax
mov byte [rbp + 0x6e], 0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.14001b900
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
add rax, 0x20
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea rax, [rsp + 0x50]
mov qword [rbp - 0x58], rax
lea rdx, [rbp + 0x68]
mov rcx, rbx
call fcn.140019bb0
add rbx, 0x20
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], r12
mov rdx, r14
lea rcx, [rbp + 0xc8]
call fcn.140019bb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14001b900
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
add rax, 0x20
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x38]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x38]
mov qword [rbp - 0x70], rax
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call fcn.140019bb0
add rbx, 0x20
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], r12
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x10]
call fcn.14010d3e0
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140092c2d
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x140092be6
nop dword [rax + rax]
mov rcx, rbx
call fcn.14001b600
add rbx, 0x20
cmp rbx, rdi
jne 0x140092bd0
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140092c17
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140092d5f
mov rbx, rcx
mov rcx, rbx
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
lea r9, [fcn.14001a2b0]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0xc8]
call fcn.14012fddc
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140092cbd
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x140092c76
nop
mov rcx, rbx
call fcn.14001b600
add rbx, 0x20
cmp rbx, rdi
jne 0x140092c60
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140092ca7
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140092d66
mov rbx, rcx
mov rcx, rbx
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
lea r9, [fcn.14001a2b0]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x68]
call fcn.14012fddc
mov rdi, qword [rbp + 0x18]
mov rbx, qword [rdi]
mov r15, qword [rsp + 0x70]
cmp rbx, rdi
je 0x140092e50
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
mov qword [rsp + 0x20], r15
mov r13, qword [rbp - 0x48]
nop dword [rax + rax]
mov r9, qword [rbx + 0x20]
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x140092d23
mov r8, qword [rbx + 0x10]
mov rdx, rax
mov rcx, r12
test r9, r9
je 0x140092d44
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x140092d30
and rdx, qword [rbp - 0x20]
lea rcx, [rdx + rdx]
mov rax, qword [rbp - 0x38]
mov rsi, qword [rax + rcx*8 + 8]
cmp rsi, r13
jne 0x140092d6d
mov rsi, r12
jmp 0x140092dda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
add rdx, rdx
mov rax, qword [rbp - 0x38]
mov r12, qword [rax + rdx*8]
mov r15, r9
nop dword [rax + rax]
lea rdx, [rsi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140092d92
mov rdx, qword [rdx]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x140092da1
mov rcx, qword [rbx + 0x10]
cmp r15, rax
jne 0x140092db9
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140092db9
mov eax, 1
jmp 0x140092dbb
xor eax, eax
test al, al
jne 0x140092dd2
cmp rsi, r12
je 0x140092dca
mov rsi, qword [rsi + 8]
jmp 0x140092d80
xor r12d, r12d
mov esi, r12d
jmp 0x140092dd5
xor r12d, r12d
mov r15, qword [rsp + 0x20]
mov rax, r13
test rsi, rsi
cmovne rax, rsi
cmp rax, r13
jne 0x140092e2b
cmp r15, qword [rsp + 0x78]
je 0x140092e0c
lea rdx, [rbx + 0x10]
mov rcx, r15
call fcn.140019bb0
mov r15, qword [rsp + 0x70]
add r15, 0x20
mov qword [rsp + 0x70], r15
jmp 0x140092e22
lea r8, [rbx + 0x10]
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140053140
mov r15, qword [rsp + 0x70]
mov r13, qword [rbp - 0x48]
mov qword [rsp + 0x20], r15
mov rbx, qword [rbx]
cmp rbx, rdi
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
jne 0x140092d10
mov r13d, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x68]
cmp rsi, r15
je 0x140093259
lea r14, str._anonymous_namespace::cleanupOldFiles
nop word [rax + rax]
mov r8d, 0x3e8
mov dl, 0xa
lea rcx, [rbp + 0x50]
call fcn.14010cb40
mov qword [rbp + 0x128], r12
mov r8, rax
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call fcn.1400fed90
movzx ebx, al
mov r9, qword [rbp + 0x128]
test r9, r9
je 0x140092eca
mov rcx, qword [r9]
mov r8, qword [rcx + 0x20]
lea rax, [rbp + 0xf0]
cmp r9, rax
setne dl
mov rcx, r9
call r8
mov qword [rbp + 0x128], r12
test bl, bl
mov rbx, qword [0x14029c7d8]
je 0x140093095
test rbx, rbx
je 0x14009324c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test al, al
je 0x14009324c
mov r8, rsi
lea rdx, str.Deleted_old_downloader_temp_file._invalidFile__
lea rcx, [rbp + 0x88]
call fcn.140021e10
nop
mov rax, qword [rbx]
lea r9, [rbp + 0x88]
mov r8, r14
mov edx, 4
mov rcx, rbx
call qword [rax + 0x38]
add rbx, 8
mov qword [rbp - 0x10], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140093400
cmp dword [rbx + 0x4c], 0x7fffffff
je 0x1400933f2
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140028d20
or r13d, 2
mov dword [rsp + 0x28], r13d
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
cmp rbx, rdi
je 0x140092fb0
add rbx, 0x38
cmp qword [rbx], 0
je 0x140092fa3
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x20], 4
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r9, [rbp + 0x88]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, rdi
jne 0x140092f76
and r13d, 0xfffffffd
mov dword [rsp + 0x28], r13d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140093036
lea r8, [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
call fcn.1400206a0
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x80]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
cmp rdx, 0x1000
jb 0x140093022
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x1400933b6
mov r8, rcx
mov rcx, r8
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140093077
inc rdx
mov rcx, qword [rbp + 0x88]
cmp rdx, 0x1000
jb 0x140093072
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400933bd
mov rcx, r8
call fcn.14012fc60
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], 0
jmp 0x14009324c
test rbx, rbx
je 0x14009324c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test al, al
je 0x14009324c
mov r8, rsi
lea rdx, str.Failed_to_delete_old_downloader_temp_file._invalidFile__
lea rcx, [rbp + 0xa8]
call fcn.140021e10
nop
mov rax, qword [rbx]
lea r9, [rbp + 0xa8]
mov r8, r14
mov edx, 2
mov rcx, rbx
call qword [rax + 0x38]
add rbx, 8
mov qword [rbp], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400933e7
cmp dword [rbx + 0x4c], 0x7fffffff
je 0x14009340b
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140028d20
or r13d, 1
mov dword [rsp + 0x28], r13d
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rdi, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x68]
cmp rbx, rdi
je 0x14009316c
add rbx, 0x38
cmp qword [rbx], 0
je 0x14009315f
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x20], 2
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r9, [rbp + 0xa8]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, rdi
jne 0x140093132
and r13d, 0xfffffffe
mov dword [rsp + 0x28], r13d
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400931f2
lea r8, [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
call fcn.1400206a0
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x68]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
cmp rdx, 0x1000
jb 0x1400931de
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x1400933c4
mov r8, rcx
mov rcx, r8
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140093233
inc rdx
mov rcx, qword [rbp + 0xa8]
cmp rdx, 0x1000
jb 0x14009322e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400933cb
mov rcx, r8
call fcn.14012fc60
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
add rsi, 0x20
cmp rsi, r15
jne 0x140092e70
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400932ab
mov rax, qword [rbp + 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14009329a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400933d2
mov rcx, r8
call fcn.14012fc60
mov qword [rbp + 0x28], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0x18]
call fcn.140029b80
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14009332d
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x1400932e6
nop dword [rax]
mov rcx, rbx
call fcn.14001b600
add rbx, 0x20
cmp rbx, rdi
jne 0x1400932d0
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140093317
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400933d9
mov rbx, rcx
mov rcx, rbx
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14009337b
mov rax, qword [rbp - 0x28]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14009336a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400933e0
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 0x38], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x48]
call fcn.140029b80
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14012fd90
mov rbx, qword [rsp + 0x2a0]
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
dec dword [rbx + 0x4c]
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
dec dword [rbx + 0x4c]
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3