Function at 0x140050298
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1403768c0]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, rdx
movaps xmm7, xmm3
mov rdx, qword [rcx + 0x38]
mov rdi, r8
mov rsi, rcx
xor r12d, r12d
mov rax, qword [rdx + 8]
jmp 0x1400502f6
cmp qword [rax + 0x20], rbx
jae 0x1400502f0
mov rax, qword [rax + 0x10]
jmp 0x1400502f6
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1400502e4
cmp byte [rdx + 0x19], r12b
jne 0x1400505f9
cmp rbx, qword [rdx + 0x20]
jb 0x1400505f9
lea r14, [rdx + 0x28]
call fcn.1400137f8
mov rdx, qword [0x140377ca0]
mov r15, rax
mov rcx, qword [rdx + 0x4018]
mov byte [rcx + 0xc0], 1
lea rcx, [rbp - 0x39]
mov r13, qword [rdx + 0x4018]
call fcn.140012ca8
movss xmm1, dword [rbp - 0x35]
mov rdx, r14
movss xmm3, dword [rbp - 0x39]
movaps xmm2, xmm1
movss xmm0, dword [rbp - 0x39]
addss xmm2, dword [rdi + 4]
addss xmm3, dword [rdi]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x39], xmm0
movsd qword [rbp - 0x19], xmm0
movss dword [rbp - 0xd], xmm2
movss dword [rbp - 0x11], xmm3
cmp qword [r14 + 0x18], 0xf
jbe 0x140050380
mov rdx, qword [r14]
xor r8d, r8d
mov rcx, r13
call fcn.140012e34
xor r9d, r9d
lea rcx, [rbp - 0x19]
xor r8d, r8d
mov edx, eax
mov edi, eax
call fcn.1400154d0
test al, al
je 0x1400505c8
lea r9, [rbp - 0x31]
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x30]
mov edx, edi
lea rcx, [rbp - 0x19]
call fcn.14002e580
test al, al
je 0x1400503c6
mov qword [rsi + 8], rbx
mov al, byte [rbp - 0x30]
test al, al
je 0x1400503d1
mov qword [rsi + 0x28], rbx
movups xmm0, xmmword [r15 + 0xec]
movdqu xmmword [rbp - 0x29], xmm0
cmp rbx, qword [rsi + 8]
je 0x140050439
cmp byte [rbp - 0x31], r12b
je 0x1400503f4
movss xmm2, dword [0x1401ef7c8]
jmp 0x140050400
test al, al
je 0x14005042c
movss xmm2, dword [0x1401ef650]
movss xmm0, dword [rbp - 0x29]
movss xmm1, dword [rbp - 0x25]
mulss xmm0, xmm2
mulss xmm1, xmm2
movss dword [rbp - 0x29], xmm0
movss xmm0, dword [rbp - 0x21]
mulss xmm0, xmm2
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x21], xmm0
jmp 0x140050439
movups xmm0, xmmword [r15 + 0x10c]
movdqu xmmword [rbp - 0x29], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.140013808
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov r12, rax
call fcn.140013808
mov r8d, 0x1505
lea r9, [0x1402f9c79]
lea rdx, str.button_background
movzx ecx, byte [rdx]
inc rdx
imul r8d, r8d, 0x21
xor r8d, ecx
cmp rdx, r9
jne 0x140050464
movups xmm1, xmmword [rax]
lea rax, [rbp - 0x59]
mov edx, edi
movups xmm0, xmmword [r12]
mov rcx, r13
mov qword [rsp + 0x28], rax
movss xmm6, dword [0x1401ef66c]
lea rax, [rbp - 0x49]
movaps xmm3, xmm6
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x59], xmm0
movdqu xmmword [rbp - 0x49], xmm1
call fcn.14004ea60
movaps xmm1, xmm6
mov rcx, rax
mov rdi, rax
call fcn.1400334b4
cmp byte [rbp - 0x31], 0
jne 0x1400504ed
cmp rbx, qword [rsi + 8]
je 0x1400504ed
cmp byte [rbp - 0x30], 0
je 0x1400504e6
mov ecx, reloc.WS2_32.dll_socket
call fcn.140013808
mov rdx, rax
mov rcx, rdi
call fcn.14003379c
jmp 0x140050512
mov ecx, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400504d4
mov ecx, Ordinal_26
call fcn.140013808
mov rdx, rax
mov rcx, rdi
call fcn.14003379c
movss xmm1, dword [0x1401ef678]
mov rcx, rdi
call fcn.1400334b4
movss xmm6, dword [r15 + 0x44]
mov rcx, rdi
call fcn.140033780
mov rdx, qword [rbp - 0x11]
mov r9b, 1
mov rcx, qword [rbp - 0x19]
mov r8d, eax
movss dword [rsp + 0x20], xmm6
call fcn.14001aedc
lea rdx, [rbp - 0x29]
xor ecx, ecx
call fcn.14001a6a0
call fcn.140012c84
addss xmm0, xmm7
call fcn.14001d0c4
movaps xmm0, xmm7
call fcn.140014678
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
jbe 0x140050567
mov rdx, qword [r14]
lea rcx, [0x1401ef4e8]
call fcn.1400304bc
call fcn.140012f48
mov rdx, qword [rax + 0x30]
mov rcx, qword [rdx + 0x60]
mov rcx, qword [rcx + 8]
call fcn.14001a5bc
lea rdx, [r14 + 0x20]
cmp qword [rdx + 0x18], 0xf
jbe 0x140050597
mov rdx, qword [rdx]
lea rcx, [0x1401ef4e8]
call fcn.1400304bc
call fcn.14001a318
movaps xmm0, xmm7
call fcn.14001e690
call fcn.140012c84
addss xmm0, xmm7
call fcn.14001d0c4
mov ecx, 1
call fcn.14001a3d8
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14015a2d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3