joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov ebx, ecx
mov qword [rsp + 0x50], rdx
call fcn.14004ffa0
mov ecx, ebx
call fcn.14004fe00
test al, al
je 0x1400528e6
mov dword [rsp + 0x58], ebx
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000a2d0
nop
mov ecx, 0x28
call fcn.140076d5c
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14005287c
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x60]
call fcn.14000a2d0
jmp 0x14005287e
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x14004c6b0]
xor edx, edx
xor ecx, ecx
call fcn.140089f4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005291a
cmp dword [rsp + 0x38], 0
je 0x14005290f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140058794
test eax, eax
jne 0x14005290f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x60]
call fcn.14000d7d0
nop
mov rcx, rdi
call fcn.14000d7d0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140076eb0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
mov ecx, 1
call fcn.1400584cc
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400584cc
int3
Function at 0x140052930
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x14b0
call fcn.140077220
sub rsp, rax
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rsp + 0x14a0], rax
mov r14, rdx
mov ebx, ecx
mov dword [rsp + 0x30], ebx
mov edi, ecx
shr edi, 0x18
mov esi, ecx
shr esi, 0x10
mov ebp, ecx
shr ebp, 8
xor r15d, r15d
lea r12, [0x1400da040]
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x68], r15b
mov rcx, r12
call fcn.140058250
test eax, eax
jne 0x140052b74
cmp dword [0x1400da08c], 0x7fffffff
je 0x140052b7f
movzx r8d, bl
movzx eax, bpl
movzx ecx, sil
movzx edx, dil
mov byte [rsp + 0x68], 1
lea r10, [0x1400da000]
mov qword [rsp + 0x70], r10
movabs r9, 0xcbf29ce484222325
xor r8, r9
movabs r9, 0x100000001b3
imul r8, r9
xor r8, rax
imul r8, r9
xor r8, rcx
imul r8, r9
xor r8, rdx
imul r8, r9
mov rcx, qword [0x1400da030]
and rcx, r8
shl rcx, 4
add rcx, qword [0x1400da018]
mov rax, qword [rcx + 8]
mov r8, qword [0x1400da008]
cmp rax, r8
je 0x140052a40
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140052a43
nop dword [rax + rax]
cmp rax, rcx
je 0x140052a40
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140052a30
jmp 0x140052a43
mov rax, r15
mov rdx, r8
test rax, rax
cmovne rdx, rax
cmp rdx, r8
je 0x140052b25
lea rdx, [rsp + 0x30]
mov rcx, r10
call fcn.140054f10
mov rbx, rax
mov dword [rsp + 0x80], r15d
lea rcx, [rsp + 0x88]
mov rdx, r14
mov r8d, 0xa00
call fcn.1400a09e0
mov qword [rsp + 0xa90], rbx
lea rcx, [rsp + 0xa98]
lea rdx, [rsp + 0x80]
mov r8d, 0xa08
call fcn.1400a09e0
mov ecx, 0xa10
call fcn.140076d5c
mov rbx, rax
test rax, rax
je 0x140052ad1
mov rcx, rax
lea rdx, [rsp + 0xa90]
mov r8d, 0xa10
call fcn.1400a09e0
jmp 0x140052ad4
mov rbx, r15
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x14004c610]
xor edx, edx
xor ecx, ecx
call fcn.140089f4c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140052b64
cmp dword [rsp + 0x48], 0
je 0x140052b59
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140058794
test eax, eax
jne 0x140052b59
mov rcx, r12
call fcn.140058258
mov rcx, qword [rsp + 0x14a0]
xor rcx, rsp
call fcn.140076eb0
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.1400584cc
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call fcn.1400584cc
nop
mov ecx, 5
call fcn.1400584cc
int3
mov dword [0x1400da08c], 0x7ffffffe
mov ecx, 6
call fcn.1400584cc
int3
Function at 0x140052ba0
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140052ba0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400da040]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.140058250
test eax, eax
jne 0x140052d61
cmp dword [0x1400da08c], 0x7fffffff
je 0x140052d6c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400da000]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400da030]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400da018]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400da008]
cmp rax, rdx
je 0x140052c80
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140052c82
nop dword [rax]
cmp rax, rcx
je 0x140052c80
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140052c70
jmp 0x140052c82
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140052d21
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140054f10
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140076d5c
test rax, rax
je 0x140052cd4
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004c7e0]
xor edx, edx
xor ecx, ecx
call fcn.140089f4c
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140052d4f
cmp dword [rbp - 0x11], 0
je 0x140052d44
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140058794
test eax, eax
jne 0x140052d44
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.140058258
mov ecx, 1
call fcn.1400584cc
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.1400584cc
nop
mov ecx, 5
call fcn.1400584cc
int3
mov dword [0x1400da08c], 0x7ffffffe
mov ecx, 6
call fcn.1400584cc
int3
Function at 0x140054930
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140054adf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140053be0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140054aa4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140054a1d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140054a93
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140054a5a
mov r10, qword [rdx]
cmp r10, rax
je 0x140054a54
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 [r11 + 8], rax
jmp 0x140054a93
cmp r9, rdx
je 0x140054a6f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140054ab9
cmp r9, rdx
jne 0x140054a60
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400549d0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
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 0x140054a93
lea rcx, str.invalid_hash_bucket_count
call fcn.140057d28
int3
Function at 0x140054f10
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x140054f97
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x140054f8e
nop
cmp rax, rdx
je 0x140054f97
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140054f80
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.140057d4c
int3
Function at 0x140057490
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140057630
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14001ab10
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1400575f5
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r9, rbp
mov r11, qword [rsi + 0x30]
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x14005756a
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400575e4
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x1400575a9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400575a3
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 [r11 + 8], rax
jmp 0x1400575e4
cmp r8, rdx
je 0x1400575c0
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x14005760a
cmp r8, rdx
jne 0x1400575b0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x140057530
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
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 0x1400575e4
lea rcx, str.invalid_hash_bucket_count
call fcn.140057d28
int3
Function at 0x140057640
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140057746
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rdi
cmp rax, rcx
jbe 0x1400577e7
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x30], r14
mov r14, qword [rsi + 8]
mov rbp, qword [r14]
cmp rbp, r14
je 0x140057732
movzx ecx, byte [rbp + 0x10]
movabs rax, 0xcbf29ce484222325
mov rdx, qword [rsi + 0x18]
xor rcx, rax
movzx eax, byte [rbp + 0x11]
movabs r8, 0x100000001b3
imul rcx, r8
mov qword [r11 - 0x20], r12
mov rbx, rbp
mov r12, qword [rbp + 8]
xor rcx, rax
imul rcx, r8
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x38], r15
mov r15, qword [rsi + 0x30]
and r15, rcx
mov qword [rsp + 0x68], rdx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x60], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140076d98
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x14005774c
cmp rbx, r14
jne 0x1400576f0
cmp qword [rsp + 0x60], rbp
jne 0x14005771b
mov qword [r15], rbx
mov r13, qword [rsp + 0x30]
mov r15, qword [rsp + 0x20]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop rsi
ret
cmp qword [rsp + 0x60], rbp
jne 0x14005775b
mov qword [r15], r14
mov rax, r14
jmp 0x14005775e
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, r14
je 0x14005771b
mov r13, qword [rsp + 0x68]
nop dword [rax]
movzx ecx, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [rbx + 0x11]
movabs rdx, 0x100000001b3
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, r13
mov rbp, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140076d98
dec qword [rsi + 0x10]
cmp rdi, rbp
je 0x1400577d6
cmp rbx, r14
jne 0x1400577b0
jmp 0x140057718
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp rbx, r14
jne 0x140057770
jmp 0x14005771b
mov rcx, qword [rsi + 8]
xor edi, edi
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rcx, qword [rcx]
test rcx, rcx
je 0x140057815
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140076d98
mov rcx, rbx
test rbx, rbx
jne 0x140057800
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x60], rax
call fcn.140019570
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop rsi
ret
Function at 0x140057dc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140057dfa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140057dff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140057e48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ad400]
cmp byte [rcx + rax], 0
je 0x140057e48
dec r8
sub rdx, 1
jne 0x140057e2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005bbb4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov qword [rcx], rdx
lea rbx, [rcx + 8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdi, rcx
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
and qword [rbx + 0x18], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], eax
test dword [0x1400d336c], 0x80000000
je 0x14005bc09
mov ecx, dword [0x1400da9b8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14005bc0e
call fcn.140062fc8
mov qword [rbx], rax
mov r8b, 1
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.14005be00
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14005bc64
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14005f5a8
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x14005bd06
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x14005bca2
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x14005bca7
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x14005bd06
dec eax
mov qword [rsp + 0x20], 0
imul eax, dword [0x1400d3358]
lea rcx, [0x14005d0b4]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x1400d3358]
jne 0x14005bce5
mov dword [rsp + 0x28], 4
jmp 0x14005bcf1
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x14005bd06
lea rcx, [rsp + 0x20]
call fcn.14005c1f4
test al, al
jne 0x14005bcf1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.14005d2ac
Function at 0x14005c638
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x10], 0
mov r14d, 1
test dword [0x1400d336c], 0x80000000
mov rbx, rcx
mov qword [rbp - 0x20], 0
mov dword [rbp - 0x18], r14d
mov dword [rbp - 8], 0
mov dword [rbp - 4], 0
je 0x14005c693
mov ecx, dword [0x1400da9b8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14005c698
call fcn.140062fc8
mov qword [rbp - 0x28], rax
cmp rax, qword [rbx]
je 0x14005c7a1
lea rdi, [rbp - 0x28]
xchg qword [rbx + 0x28], rdi
test rdi, rdi
jne 0x14005c723
prefetchw byte [rbx + 0x40]
mov eax, dword [rbx + 0x40]
lea edx, [rdi + 4]
mov ecx, eax
or ecx, edx
lock cmpxchg dword [rbx + 0x40], ecx
jne 0x14005c6bc
test al, 3
jne 0x14005c753
lock xadd dword [rbx + 0x40], edx
and dl, 3
cmp dl, r14b
jne 0x14005c6e1
lock or dword [rbx + 0x40], 2
xor ecx, ecx
lea rax, [rbp - 0x28]
xchg qword [rbx + 0x28], rcx
cmp rcx, rax
jne 0x14005c6fe
mov eax, dword [rcx + 0x10]
and eax, 0xfffffffe
mov dword [rcx + 0x10], eax
jmp 0x14005c78b
xor eax, eax
lock cmpxchg dword [rcx + 0x20], r14d
jne 0x14005c753
mov eax, dword [rcx + 0x10]
and eax, 0xfffffffe
mov dword [rcx + 0x10], eax
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400633a6.0]
jmp 0x14005c753
mov eax, dword [rdi + 0x10]
test r14b, al
je 0x14005c753
mov eax, dword [rdi + 0x10]
shr eax, 2
test r14b, al
jne 0x14005c74a
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400633a6.0]
test al, al
je 0x14005c753
mov eax, dword [rbp - 0x18]
or eax, 4
mov dword [rbp - 0x18], eax
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.14005bc64
test rdi, rdi
je 0x14005c78b
lock add dword [rbx + 0x40], 8
xor eax, eax
lock cmpxchg dword [rdi + 0x20], r14d
jne 0x14005c78b
mov eax, dword [rdi + 0x10]
mov rcx, qword [rdi]
and eax, 0xfffffffe
mov dword [rdi + 0x10], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400633a6.0]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.Lock_already_taken_as_a_writer
lea rcx, [rbp - 0x40]
call fcn.14005d114
lea rdx, [0x1400d08c0]
lea rcx, [rbp - 0x40]
call fcn.140078214
int3

Function at 0x14005cc4c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005cc5f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14005d27c
lea rdx, [0x1400d0920]
lea rcx, [rsp + 0x20]
call fcn.140078214
int3
Function at 0x1400633b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rdx + r10]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x1400633c8
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140063412
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x14006341a
mov rax, qword [rax]
test rax, rax
jne 0x140063405
xor eax, eax
mov rbx, qword [rsp + 8]
ret
test rax, rax
je 0x140063412
test r8, r8
je 0x140063414
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
jmp 0x140063414

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
mov r14, r8
xor ecx, ecx
mov rdi, rdx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rdi + rcx]
movabs rdx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdx
cmp rcx, 4
jb 0x140064806
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rsi, edx
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x14006484e
mov eax, dword [rdi]
cmp dword [rcx + 8], eax
je 0x140064878
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140064841
mov ecx, 0x10
call fcn.140076d5c
mov qword [rsp + 0x30], rax
mov r8, rax
test rax, rax
je 0x140064881
and qword [rax], 0
mov eax, dword [rdi]
mov dword [r8 + 8], eax
mov eax, dword [r14]
mov dword [r8 + 0xc], eax
jmp 0x140064884
test rcx, rcx
je 0x14006484e
xor eax, eax
jmp 0x14006489d
xor r8d, r8d
mov rcx, qword [rbx + 8]
mov rax, r8
mov rdx, qword [rcx + rsi*8]
mov qword [r8], rdx
mov rcx, qword [rbx + 8]
mov qword [rcx + rsi*8], r8
inc dword [rbx + 4]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140066ff8
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400da9b8]
xor edx, edx
jmp fcn.14005cc4c

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rdx + r10]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x1400672cd
movsxd rcx, dword [r11]
xor edx, edx
mov rdi, qword [r11 + 8]
mov rax, r9
div rcx
movsxd r10, edx
xor edx, edx
mov rcx, qword [rdi + r10*8]
test rcx, rcx
je 0x140067320
mov r9, qword [rbx]
mov rax, qword [rcx]
cmp qword [rcx + 8], r9
je 0x14006732d
mov rdx, rcx
mov rcx, rax
test rax, rax
jne 0x14006730c
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
jne 0x140067338
mov qword [rdi + r10*8], rax
jmp 0x14006733b
mov qword [rdx], rax
dec dword [r11 + 4]
test rcx, rcx
je 0x140067320
test r8, r8
je 0x140067350
mov rdx, qword [rcx + 0x10]
mov qword [r8], rdx
mov edx, 0x18
call fcn.140076d98
mov al, 1
jmp 0x140067322