joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004e2b4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rdx + r8]
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
inc rdx
cmp rdx, 8
jb 0x18004e2e5
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x18004e32b
mov rbx, r12
mov r14, r12
jmp 0x18004e374
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x18004e33d
cmp rbx, rdx
je 0x18004e36a
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18004e334
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
je 0x18004e4bd
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800a4bc4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r13]
mov qword [rax + 0x10], rcx
xor r13d, r13d
mov qword [rax + 0x18], r13
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18004e3c8
cvtsi2ss xmm0, rcx
jmp 0x18004e3dd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004e3f0
cvtsi2ss xmm1, rcx
jmp 0x18004e405
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18004e45f
mov rcx, rbp
call fcn.18003ace4
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18004e452
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18004e449
mov rbx, rax
cmp rax, r8
je 0x18004e493
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18004e43d
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18004e49a
mov qword [rcx + rax*8], rdi
jmp 0x18004e4ac
mov qword [rsp + 0x20], rax
jmp 0x18004e457
cmp r8, r14
jne 0x18004e4a5
mov qword [rcx + rax*8], rdi
jmp 0x18004e4b1
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18004e4b1
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18004e34a
lea rcx, str.unordered_map_set_too_long
call fcn.1800a1734
int3
Function at 0x18004e6c4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 8
jb 0x18004e6f5
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x18004e73b
mov rbx, r12
mov r14, r12
jmp 0x18004e784
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x18004e74d
cmp rbx, rdx
je 0x18004e77a
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18004e744
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
je 0x18004e8c6
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1800a4bc4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r13]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18004e7d1
cvtsi2ss xmm0, rcx
jmp 0x18004e7e6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004e7f9
cvtsi2ss xmm1, rcx
jmp 0x18004e80e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18004e868
mov rcx, rbp
call fcn.18004e94c
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18004e85b
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18004e852
mov rbx, rax
cmp rax, r8
je 0x18004e89c
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18004e846
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18004e8a3
mov qword [rcx + rax*8], rdi
jmp 0x18004e8b5
mov qword [rsp + 0x20], rax
jmp 0x18004e860
cmp r8, r14
jne 0x18004e8ae
mov qword [rcx + rax*8], rdi
jmp 0x18004e8ba
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18004e8ba
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18004e75a
lea rcx, str.unordered_map_set_too_long
call fcn.1800a1734
int3
Function at 0x18004e94c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18004e97c
cvtsi2ss xmm0, rdx
jmp 0x18004e991
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1800ce4a4
movss xmm1, dword [0x18014f000]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18004e9bf
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18004e9bf
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18004e9ed
cmp rbx, 0x200
jae 0x18004e9ea
shl rbx, 3
cmp rbx, rcx
jae 0x18004e9ed
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18004eb58
mov rsi, qword [rdi + 8]
lea rax, [rbx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rsi
inc ecx
shl rbx, cl
lea rcx, [rdi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180015ee4
mov qword [rdi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rdi + 0x30], rax
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
cmp rcx, rsi
je 0x18004eb1c
mov rax, rcx
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 8
jb 0x18004ea65
and r11, qword [rdi + 0x30]
mov rbx, qword [rdi + 0x18]
add r11, r11
cmp qword [rbx + r11*8], rsi
jne 0x18004eaa1
mov qword [rbx + r11*8], rax
mov qword [rbx + r11*8 + 8], rax
jmp 0x18004eb10
mov r10, qword [rbx + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x18004eae5
mov r10, qword [r10]
cmp r10, rax
je 0x18004ea9a
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18004ea9a
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x18004eb32
cmp qword [rbx + r11*8], r10
jne 0x18004eadb
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rbx + r11*8], rax
mov rax, rcx
cmp rcx, rsi
jne 0x18004ea55
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18004eb10
lea rcx, str.invalid_hash_bucket_count
call fcn.1800a1734
int3
Function at 0x180054b68
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180163140]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor edi, edi
mov dword [rbp - 0x40], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], edi
mov dword [rsp + 0x38], edi
mov qword [r11 - 0x58], rdi
mov qword [r11 - 0x60], rdi
mov qword [r11 - 0x68], rdi
lea r9, [rbp - 0x3c]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18012bd6c]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x180054bfb
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x18014f040]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], dil
jmp 0x180054c32
mov edx, dword [rbp - 0x3c]
lea rcx, str._08X
call fcn.1800667dc
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x180054c1d
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.180014074
mov dword [rbp - 0x40], 3
mov rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmovbe rdx, rax
mov r8, qword [rbp - 0x20]
mov rcx, rbx
call fcn.180021a54
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x180054c92
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054c8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054d14
call fcn.1800a4700
cmp qword [rbx + 0x10], rdi
jne 0x180054cf0
lea rdx, str.generating_random_xuid
mov ecx, 1
call fcn.180043c6c
mov edx, 0x20
cmp qword [rbx + 0x10], rdx
jb 0x180054ccb
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180054cc5
mov rax, qword [rbx]
mov byte [rax + 0x20], dil
jmp 0x180054cda
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.180038bd8
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180054ce7
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
call fcn.1800721e8
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800a46e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800aabb4
int3
Function at 0x180054d1c
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ecx, dword [0x180168b6c]
mov edi, 0x10
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rdi]
cmp dword [0x180179a40], eax
jg 0x180054d72
cmp byte [0x180179a44], 0
mov rbx, qword [rsp + 0x30]
sete al
add rsp, 0x20
pop rdi
ret
lea rcx, [0x180179a40]
mov byte [0x180179a44], al
call fcn.1800a4744
jmp 0x180054d49
lea rcx, [0x180179a40]
call fcn.1800a47b0
cmp dword [0x180179a40], 0xffffffff
jne 0x180054d49
mov eax, dword [rbx + rdi]
cmp dword [0x180179a30], eax
jle 0x180054dd7
lea rcx, [0x180179a30]
call fcn.1800a47b0
cmp dword [0x180179a30], 0xffffffff
jne 0x180054dd7
lea r8, str.shield_mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
lea rcx, [0x1800d6530]
mov qword [0x180179a38], rax
call fcn.1800a4b80
lea rcx, [0x180179a30]
call fcn.1800a4744
cmp qword [0x180179a38], 0
je 0x180054df5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180054df5
mov al, 1
jmp 0x180054d5e
xor al, al
jmp 0x180054d5e
Function at 0x18005ae20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x18005ae39
xor eax, eax
jmp 0x18005af07
mov rcx, qword [rcx]
movabs rax, 0x7fffffffffffffff
and rcx, rax
movabs rdx, 0xcbf29ce484222325
mov qword [rsp + 0x30], rcx
xor r8d, r8d
movzx eax, byte [rsp + r8 + 0x30]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 8
jb 0x18005ae5b
mov r8, qword [0x180177920]
mov r9, qword [0x180177908]
and r8, rdx
mov rdx, qword [0x1801778f8]
add r8, r8
mov rax, qword [r9 + r8*8 + 8]
cmp rax, rdx
je 0x18005aeb7
mov r9, qword [r9 + r8*8]
jmp 0x18005aeaf
cmp rax, r9
je 0x18005aeb7
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18005aea6
jmp 0x18005aeb9
xor eax, eax
test rax, rax
mov rbx, rdx
cmovne rbx, rax
cmp rbx, rdx
je 0x18005af04
mov rbx, qword [rbx + 0x18]
mov r9d, 0x1550
mov rdx, rbx
mov rcx, rdi
lea r8, [rbx + 0x2760]
call fcn.1800655a0
mov rcx, qword [rdi + 0xa58]
lea r8, [rbx + 0xd1e0]
lea rdx, [rbx + 0x1550]
mov r9d, 0x1210
call fcn.1800655a0
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18005bf28
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov r13, rcx
cmp rdx, r8
je 0x18005c037
mov rax, qword [rcx + 8]
mov rbx, rdx
mov r14, qword [rdx + 8]
movabs rdi, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
movabs rdx, 0x100000001b3
mov qword [rsp + 0x90], rax
xor ecx, ecx
mov qword [rsp + 0x30], r14
movzx eax, byte [rcx + rbp + 0x10]
inc rcx
xor rdi, rax
imul rdi, rdx
cmp rcx, 8
jb 0x18005bf80
and rdi, qword [r13 + 0x30]
add rdi, rdi
mov rax, qword [r12 + rdi*8]
mov qword [rsp + 0x88], rax
mov rax, qword [r12 + rdi*8 + 8]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x98], rbx
mov rbx, qword [rbx]
mov r15, qword [rdx + 0x20]
test r15, r15
je 0x18005bffb
or eax, 0xffffffff
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18005bffb
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
or eax, 0xffffffff
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
jne 0x18005bffb
mov rax, qword [r15]
mov rcx, r15
call qword [rax + htons]
mov rcx, qword [rsp + 0x98]
mov edx, 0x28
call fcn.1800a4700
mov rax, qword [rsp + 0x20]
dec qword [r13 + 0x10]
cmp qword [rsp + 0x28], rax
je 0x18005c052
cmp rbx, rsi
jne 0x18005bfb2
cmp qword [rsp + 0x88], rbp
jne 0x18005c030
mov qword [r12 + rdi*8], rbx
mov qword [r14], rbx
mov qword [rbx + 8], r14
mov rbx, qword [rsp + 0x80]
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rsp + 0x88], rbp
jne 0x18005c070
mov rdx, qword [rsp + 0x90]
mov qword [r12 + rdi*8], rdx
mov rax, rdx
jmp 0x18005c129
mov rax, r14
jmp 0x18005c129
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
movabs r14, 0x100000001b3
movzx eax, byte [rbx + rcx + 0x10]
inc rcx
xor rdi, rax
imul rdi, r14
cmp rcx, 8
jb 0x18005c08e
and rdi, qword [r13 + 0x30]
mov r14, qword [rsp + 0x30]
add rdi, rdi
mov rax, qword [r12 + rdi*8 + 8]
mov qword [rsp + 0x88], rax
mov rbp, rbx
mov rbx, qword [rbx]
mov r15, qword [rbp + 0x20]
test r15, r15
je 0x18005c0f8
or eax, 0xffffffff
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18005c0f8
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
or eax, 0xffffffff
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
jne 0x18005c0f8
mov rax, qword [r15]
mov rcx, r15
call qword [rax + htons]
mov edx, 0x28
mov rcx, rbp
call fcn.1800a4700
dec qword [r13 + 0x10]
cmp rbp, qword [rsp + 0x88]
je 0x18005c11d
cmp rbx, rsi
jne 0x18005c0bc
jmp 0x18005c02c
mov rax, qword [rsp + 0x90]
mov qword [r12 + rdi*8], rax
mov qword [r12 + rdi*8 + 8], rax
cmp rbx, rsi
jne 0x18005c078
jmp 0x18005c030
Function at 0x18005c13c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 8
jb 0x18005c16b
mov rax, qword [0x180177920]
and rax, r15
add rax, rax
mov rcx, qword [0x180177908]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x1801778f8]
cmp rbx, r14
jne 0x18005c1b7
mov rbx, r14
mov rbp, r14
jmp 0x18005c1fe
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x18005c1c9
cmp rbx, rdx
je 0x18005c1f8
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18005c1c0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x666666666666666
cmp qword [0x180177900], rax
je 0x18005c381
lea rax, [0x1801778f8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.1800a4bc4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
and qword [rax + 0x20], 0
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
mov r8, qword [0x180177900]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18005c26a
cvtsi2ss xmm0, rcx
jmp 0x18005c27f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180177928]
xorps xmm1, xmm1
test rcx, rcx
js 0x18005c295
cvtsi2ss xmm1, rcx
jmp 0x18005c2aa
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1801778f0]
jbe 0x18005c314
call fcn.18005c414
mov rcx, qword [0x180177920]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x180177908]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1801778f8]
cmp rax, rbx
je 0x18005c300
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18005c2f7
mov rbx, rax
cmp rax, r8
je 0x18005c357
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18005c2eb
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x180177900]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180177900], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x180177920]
and rax, r15
add rax, rax
mov rcx, qword [0x180177908]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1801778f8]
jne 0x18005c35e
mov qword [rcx + rax*8], rdi
jmp 0x18005c370
mov qword [rsp + 0x20], rax
jmp 0x18005c305
cmp r8, rbp
jne 0x18005c369
mov qword [rcx + rax*8], rdi
jmp 0x18005c375
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18005c375
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18005c1d6
lea rcx, str.unordered_map_set_too_long
call fcn.1800a1734
int3
Function at 0x18005c414
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x180177900]
xorps xmm0, xmm0
add rcx, 1
js 0x18005c435
cvtsi2ss xmm0, rcx
jmp 0x18005c44a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801778f0]
call fcn.1800ce4a4
movss xmm1, dword [0x18014f000]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18005c47c
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18005c47c
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x180177928]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18005c4b1
cmp rdx, 0x200
jae 0x18005c4ae
shl rdx, 3
cmp rdx, rcx
jae 0x18005c4b1
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x18005c62a
mov rbx, qword [0x1801778f8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180177908]
lea rdx, [rdi + rdi]
call fcn.180031380
mov rax, qword [0x1801778f8]
lea r9, [rdi - 1]
mov qword [0x180177920], r9
mov qword [0x180177928], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18005c61f
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 8
jb 0x18005c538
mov rdi, qword [0x180177908]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18005c576
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18005c5e5
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x18005c5ba
mov r10, qword [r10]
cmp r10, rax
je 0x18005c56f
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18005c56f
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x18005c5f9
cmp qword [rdi + r11*8], r10
jne 0x18005c5b0
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18005c61f
mov r9, qword [0x180177920]
jmp 0x18005c528
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18005c5e5
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800a1734
int3
Function at 0x18005d044
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rcx
movabs rsi, 0xcbf29ce484222325
mov rdx, rsi
xor ebx, ebx
mov r8d, ebx
movzx eax, byte [rsp + r8 + 0x40]
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
inc r8
cmp r8, 8
jb 0x18005d06d
mov rcx, qword [0x1801779a0]
and rcx, rdx
add rcx, rcx
mov r8, qword [0x180177988]
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [0x180177978]
cmp rax, rdx
je 0x18005d0c9
mov r8, qword [r8 + rcx*8]
jmp 0x18005d0c1
cmp rax, r8
je 0x18005d0c9
mov rax, qword [rax + 8]
cmp rdi, qword [rax + 0x10]
jne 0x18005d0b8
jmp 0x18005d0cc
mov rax, rbx
mov rcx, rdx
test rax, rax
cmovne rcx, rax
cmp rcx, rdx
je 0x18005d0e4
mov rax, qword [rcx + 0x18]
jmp 0x18005d164
mov ecx, dword [0x180168b6c]
mov rax, qword gs:[0x58]
mov r8d, 0x10
mov rax, qword [rax + rcx*8]
mov eax, dword [r8 + rax]
cmp dword [0x180179ad0], eax
jg 0x18005d17a
mov rax, qword [0x180178298]
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [0x180179ad8]
mov cl, 0x2b
call rax
test rax, rax
je 0x18005d162
cmp dword [rax + 0x10], 2
jl 0x18005d162
movsxd rdx, dword [rax + 0x14]
test rdx, rdx
je 0x18005d162
movsxd rcx, dword [rax + 0x10]
lea r8, [rcx + rcx*2]
shl r8, 3
mov rax, qword [rax + 0x28]
cmp byte [rax + 0x14], 4
jne 0x18005d157
cmp byte [rax + 0x2c], 1
jne 0x18005d157
cmp qword [rax], rdi
je 0x18005d174
inc rbx
add rax, r8
cmp rbx, rdx
jb 0x18005d146
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rax + 0x18]
jmp 0x18005d164
lea rcx, [0x180179ad0]
call fcn.1800a47b0
cmp dword [0x180179ad0], 0xffffffff
jne 0x18005d109
mov rdx, rsi
lea rcx, str.gamedata_shield_custom_errors.csv
call fcn.18005d634
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [0x180179ad8], xmm0
lea rcx, [0x180179ad0]
call fcn.1800a4744
jmp 0x18005d109