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

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov r9, qword [rcx + 0x38]
mov rbx, rdx
movaps xmmword [rsp + 0x80], xmm7
mov rdi, rcx
movaps xmm7, xmm3
mov rax, qword [r9 + 8]
cmp byte [rax + 0x19], 0
jne 0x14005c168
nop
cmp qword [rax + 0x20], rbx
jae 0x14005c15c
mov rax, qword [rax + 0x10]
jmp 0x14005c162
mov r9, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14005c150
cmp byte [r9 + 0x19], 0
jne 0x14005c811
cmp rbx, qword [r9 + 0x20]
jb 0x14005c811
mov qword [rsp + 0xd8], rsi
lea rsi, [r9 + 0x28]
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r13
mov r13, qword [0x1401b7290]
mov qword [rsp + 0xa8], r14
mov r14, rsi
mov qword [rsp + 0xa0], r15
mov rax, qword [r13 + 0x4018]
mov byte [rax + 0xc0], 1
mov r12, qword [r13 + 0x4018]
movss xmm1, dword [r12 + 0x110]
movss xmm2, dword [r12 + 0x114]
movaps xmm3, xmm1
addss xmm3, dword [r8]
movaps xmm0, xmm2
movss dword [rbp - 0x19], xmm1
addss xmm0, dword [r8 + 4]
movss dword [rbp - 0x15], xmm2
movss dword [rbp - 0x11], xmm3
movss dword [rbp - 0xd], xmm0
cmp qword [rsi + 0x18], 0xf
jbe 0x14005c20b
mov r14, qword [rsi]
movsxd rax, dword [r12 + 0x100]
xor edx, edx
mov r8, qword [r12 + 0x108]
mov rcx, r14
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000a440
mov rcx, qword [r12]
mov r15d, eax
cmp dword [rcx + 0x4064], eax
jne 0x14005c248
mov r8, r14
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, eax
call fcn.140022250
xor r9d, r9d
lea rcx, [rbp - 0x19]
mov edx, r15d
call fcn.14001aa60
test al, al
je 0x14005c7d6
xor r14d, r14d
movaps xmmword [rsp + 0x90], xmm6
lea r9, [rbp + 0x67]
mov dword [rsp + 0x20], r14d
lea r8, [rbp - 0x39]
mov edx, r15d
lea rcx, [rbp - 0x19]
call fcn.14002e9f0
test al, al
je 0x14005c28b
mov qword [rdi + 8], rbx
movzx eax, byte [rbp - 0x39]
test al, al
je 0x14005c297
mov qword [rdi + 0x28], rbx
movups xmm6, xmmword [r13 + 0x39d4]
movups xmmword [rbp - 0x29], xmm6
cmp rbx, qword [rdi + 8]
je 0x14005c2f2
cmp byte [rbp + 0x67], r14b
je 0x14005c3de
movss xmm0, dword [0x14019004c]
movss xmm1, dword [rbp - 0x29]
movss xmm2, dword [rbp - 0x25]
movss xmm3, dword [rbp - 0x21]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss xmm6, xmm1
mulss xmm3, xmm0
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm2
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm3
shufps xmm6, xmm6, 0xc9
movups xmmword [rbp - 0x29], xmm6
mov r9, qword [0x1401b7290]
lea rcx, str.button_background
add r9, 0x3b34
lea rdx, [0x14018f909]
mov r10, r9
mov r8d, 0x1505
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
imul r8d, r8d, 0x21
xor r8d, eax
cmp rcx, rdx
jne 0x14005c320
movups xmm0, xmmword [r9]
lea rax, [rbp - 0x29]
mov edx, r15d
movups xmm1, xmmword [r10]
mov rcx, r12
mov qword [rsp + 0x28], rax
movss xmm3, dword [0x140190084]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x29], xmm0
movaps xmmword [rbp - 9], xmm1
call fcn.14005d990
mov rcx, rax
mov dword [rax + 0x34], 0x40400000
cmp byte [rbp + 0x67], r14b
jne 0x14005c4c3
cmp rbx, qword [rdi + 8]
je 0x14005c4c3
mov rdx, qword [0x1401b7290]
cmp byte [rbp - 0x39], r14b
je 0x14005c45c
mov rax, qword [rdx + 0x3b44]
cmp rax, qword [rcx + 0x50]
jne 0x14005c3b4
mov rax, qword [rdx + 0x3b4c]
cmp rax, qword [rcx + 0x58]
je 0x14005c52f
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b44]
jmp 0x14005c49f
mov r9, qword [0x1401b7290]
lea rdx, [0x14018f909]
add r9, 0x3b34
lea rcx, str.button_background
mov r8d, 0x1505
mov r10, r9
test al, al
je 0x14005c44f
movss xmm0, dword [0x14019003c]
movss xmm1, dword [rbp - 0x29]
movups xmm6, xmmword [rbp - 0x29]
movss xmm2, dword [rbp - 0x25]
movss xmm3, dword [rbp - 0x21]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss xmm6, xmm1
mulss xmm3, xmm0
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm2
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm3
shufps xmm6, xmm6, 0xc9
movups xmmword [rbp - 0x29], xmm6
jmp 0x14005c320
movups xmm6, xmmword [r13 + 0x39f4]
jmp 0x14005c320
mov rax, qword [rdx + 0x3b34]
cmp rax, qword [rcx + 0x50]
jne 0x14005c47a
mov rax, qword [rdx + 0x3b3c]
cmp rax, qword [rcx + 0x58]
je 0x14005c52f
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b34]
movss xmm1, dword [rcx + 0x28]
ucomiss xmm1, dword [rcx + 0x2c]
movss dword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x50], xmm0
jp 0x14005c4bc
jne 0x14005c4bc
mov al, 1
mov byte [rcx + 8], al
jmp 0x14005c52f
xor al, al
mov byte [rcx + 8], al
jmp 0x14005c52f
mov rdx, qword [0x1401b7290]
mov rax, qword [rdx + 0x3b54]
cmp rax, qword [rcx + 0x50]
jne 0x14005c4e4
mov rax, qword [rdx + 0x3b5c]
cmp rax, qword [rcx + 0x58]
je 0x14005c528
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movss xmm1, dword [rcx + 0x28]
ucomiss xmm1, dword [rcx + 0x2c]
movups xmmword [rcx + 0x40], xmm2
movups xmm0, xmmword [rdx + 0x3b54]
movss dword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x50], xmm0
jp 0x14005c523
jne 0x14005c523
mov al, 1
jmp 0x14005c525
xor al, al
mov byte [rcx + 8], al
mov dword [rcx + 0x34], 0x40c00000
movups xmm1, xmmword [rcx + 0x40]
movups xmm2, xmmword [rcx + 0x50]
movss xmm0, dword [rcx + 0x30]
lea rcx, [rbp - 9]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rbp - 9], xmm2
call fcn.14000a9e0
movss xmm0, dword [r13 + 0x392c]
mov r8d, eax
mov rdx, qword [rbp - 0x11]
mov r9b, 1
mov rcx, qword [rbp - 0x19]
movss dword [rsp + 0x20], xmm0
call fcn.14000bce0
mov rbx, qword [0x1401b7290]
lea rdx, [rbp - 9]
mov dword [rbp - 9], r14d
movups xmm0, xmmword [rbx + 0x39d4]
lea rcx, [rbx + 0x4a90]
movups xmmword [rbp - 5], xmm0
call fcn.140022d40
cmp dword [rbx + 0x4a8c], r14d
je 0x14005c5ae
movups xmmword [rbx + 0x39d4], xmm6
mov rcx, qword [0x1401b7290]
xorps xmm6, xmm6
ucomiss xmm7, xmm6
mov rax, qword [rcx + 0x4018]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4018]
addss xmm1, xmm7
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
mov rax, qword [rcx + 0x4018]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4018]
jp 0x14005c62c
jne 0x14005c62c
movss xmm0, dword [rcx + 0x3954]
jmp 0x14005c62f
movaps xmm0, xmm7
addss xmm0, dword [rax + 0x154]
mov rdx, rsi
movss dword [rax + 0x154], xmm0
addss xmm0, dword [rax + 0x28]
addss xmm0, dword [rax + 0x158]
movss dword [rax + 0x110], xmm0
cmp qword [rsi + 0x18], 0xf
jbe 0x14005c661
mov rdx, qword [rsi]
lea rcx, [0x14008b2c8]
call fcn.14002e890
mov rbx, qword [0x1401b7290]
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x29], rcx
mov rdi, rcx
test rcx, rcx
jne 0x14005c6a3
mov rcx, qword [rbx + 0x48]
test rcx, rcx
jne 0x14005c69c
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
mov qword [rbp - 0x29], rcx
mov rdi, rcx
call fcn.1400176b0
lea rdx, [rbp - 0x29]
lea rcx, [rbx + 0x4ab0]
call fcn.140022f60
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x4018]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.140025590
cmp qword [rsi + 0x38], 0xf
lea rdx, [rsi + 0x20]
jbe 0x14005c6e1
mov rdx, qword [rdx]
lea rcx, [0x14008b2c8]
call fcn.14002e890
call fcn.140017750
mov r8, qword [0x1401b7290]
ucomiss xmm7, xmm6
mov rax, qword [r8 + 0x4018]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4018]
movaps xmm6, xmmword [rsp + 0x90]
jp 0x14005c728
jne 0x14005c728
movss xmm1, dword [r8 + 0x3954]
jmp 0x14005c72b
movaps xmm1, xmm7
movss xmm0, dword [rax + 0x154]
subss xmm0, xmm1
movss dword [rax + 0x154], xmm0
addss xmm0, dword [rax + 0x28]
addss xmm0, dword [rax + 0x158]
movss dword [rax + 0x110], xmm0
mov rax, qword [r8 + 0x4018]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4018]
addss xmm1, xmm7
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
movsxd rax, dword [r8 + 0x4a90]
cmp eax, 1
jl 0x14005c7d6
mov rcx, qword [r8 + 0x4a98]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x39d4], xmm0
dec dword [r8 + 0x4a90]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3