Function at 0x140179080
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rbp + 0x200], rax
movzx edi, r9b
mov r15, r8
mov qword [rsp + 0x70], r8
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov byte [rbp + 0x30], r12b
lea rax, [rbp + 0x38]
mov qword [rsp + 0x40], rax
lea rcx, vtable.fmt::v6::internal::buffer_char_.0
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
lea rax, vtable.fmt::v6::basic_memory_buffer_char__128__class_std::allocator_char__.0
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x58]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x50], 0x80
lea rax, vtable.eax::StringBuffer_128_.0
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], r12
lea rax, vtable.fmt::v6::basic_memory_buffer_char__256__class_std::allocator_char__.0
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xf8]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xf0], 0x100
lea rax, vtable.eax::StringBuffer_256_.0
mov qword [rbp + 0xd8], rax
lea r13, str.eax::services::settings::ConfigSystem::get
cmp byte [0x14051bc90], r12b
je 0x1401792df
mov qword [rbp + 0x48], r12
mov qword [rbp], r13
mov qword [rsp + 0x50], reloc.WS2_32.dll_listen
lea rax, [rbp]
mov qword [rsp + 0x58], rax
lea rbx, [0x140369998]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 2
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], r12d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], r12d
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x38], r12d
mov dword [rbp - 0x28], r12d
movdqa xmmword [rsp + 0x50], xmm1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140033730
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp - 0x50]
call fcn.140233b10
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140179220
mov rax, qword [r14]
mov qword [rbp + 0xe8], r12
mov qword [rbp], rax
mov qword [rbp - 0x20], reloc.WS2_32.dll_listen
lea rax, [rbp]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 2
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], r12d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0xd8]
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], r12d
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x38], r12d
mov dword [rbp - 0x28], r12d
movdqa xmmword [rsp + 0x50], xmm1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140033730
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp - 0x50]
call fcn.140233b10
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x58], rax
cmp byte [0x14051bc90], 0
je 0x1401792db
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1401df800
mov byte [rbp + 0x30], 1
lea rbx, [rsi + 0x2f8]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14017966b
cmp dword [rbx + 0x4c], 0x7fffffff
je 0x14017965d
test dil, dil
je 0x140179446
cmp byte [rsi + 0x2d8], al
jne 0x140179446
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov rdi, 0xffffffffffffffff
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
lea edx, [rax + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140022250
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0x1a
mov qword [rbp - 8], 0x1f
movups xmm0, xmmword [str.Cloud_config_is_not_loaded]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14036a1c0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14036a1c8]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
mov dword [rsp + 0x60], 1
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rax, qword [rbp - 0x20]
mov qword [rsp + 0x50], rax
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1401793a0
mov qword [rsp + 0x58], rdi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
mov qword [rsp + 0x30], r12
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0xa
lea r8, [0x1403680c8]
lea rdx, str.mCloudConfigLoaded
xor ecx, ecx
call fcn.1401dac00
movzx edi, al
mov ecx, 1
and ecx, 0xfffffffe
mov dword [rsp + 0x60], ecx
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140179430
inc rdx
mov rcx, qword [rbp - 0x20]
cmp rdx, 0x1000
jb 0x14017942b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401794e2
mov rcx, r8
call fcn.140233b10
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
test dil, dil
je 0x140179446
int3
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.140194f80
nop
lea rcx, [rsi + 0xc0]
lea rdx, [rbp + 0x10]
call fcn.1401e5d20
test al, al
lea r14, [rsi + 0xc0]
jne 0x140179472
lea r14, [rsi + 0x68]
lea r8, [rbp + 0x10]
mov r12, qword [rbp + 0x10]
mov r13, qword [rbp + 0x28]
cmp r13, 0x10
cmovae r8, r12
movabs rcx, 0xcbf29ce484222325
xor edx, edx
mov rsi, qword [rbp + 0x20]
test rsi, rsi
je 0x1401794c4
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, rsi
jb 0x1401794b0
mov rdx, qword [r14 + 0x30]
and rdx, rcx
lea rcx, [rdx + rdx]
mov rax, qword [r14 + 0x18]
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, qword [r14 + 8]
jne 0x1401794e9
xor edi, edi
jmp 0x14017953e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
add rdx, rdx
mov r15, qword [rax + rdx*8]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140179502
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
cmp r13, 0x10
cmovae rcx, r12
cmp rsi, rax
jne 0x140179526
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140179526
mov eax, 1
jmp 0x140179528
xor eax, eax
test al, al
jne 0x140179539
cmp rdi, r15
je 0x140179537
mov rdi, qword [rdi + 8]
jmp 0x1401794f0
xor edi, edi
mov r15, qword [rsp + 0x70]
test rdi, rdi
jne 0x140179547
mov rdi, qword [r14 + 8]
cmp rdi, qword [r14 + 8]
je 0x1401795cc
lea r9, [rdi + 0x30]
cmp qword [r9 + 0x18], 0x10
jb 0x14017955b
mov r9, qword [r9]
mov r10, qword [rdi + 0x40]
add r10, r9
xor r15d, r15d
mov rdx, r9
xor ecx, ecx
xor r11b, r11b
cmp r9, r10
je 0x1401795c0
lea rsi, [0x140369490]
movabs rdi, 0x1999999999999999
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
movzx r8d, byte [rax + rsi]
cmp r8b, 0xa
jae 0x1401795c0
cmp rcx, rdi
jb 0x1401795b0
jne 0x1401795ab
cmp r8b, 5
jbe 0x1401795b0
mov r11b, 1
jmp 0x1401795b8
lea rcx, [rcx + rcx*4]
lea rcx, [r8 + rcx*2]
inc rdx
cmp rdx, r10
jne 0x140179590
cmp rdx, r9
je 0x1401795cc
test r11b, r11b
cmove r15, rcx
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140179603
inc rdx
mov rcx, qword [rbp + 0x10]
cmp rdx, 0x1000
jb 0x1401795fe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140179656
mov rcx, r8
call fcn.140233b10
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
mov rcx, rbx
call fcn.1402334f8
nop
lea rcx, [rbp + 0x30]
call fcn.140039bc0
mov rax, r15
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140233ef0
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
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
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_
int3