joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051b20
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, 0x14c0
call fcn.140075720
sub rsp, rax
mov rax, qword [0x1400ab140]
xor rax, rsp
mov qword [rsp + 0x14b0], 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, [0x1400b09a0]
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x68], r15b
mov rcx, r12
call fcn.1400565fc
test eax, eax
jne 0x140051d5b
cmp dword [0x1400b09ec], 0x7fffffff
je 0x140051d66
mov byte [rsp + 0x68], 1
lea r8, [0x1400b0960]
mov qword [rsp + 0x70], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, bpl
xor rdx, rax
imul rdx, rcx
movzx eax, sil
xor rdx, rax
imul rdx, rcx
mov eax, edi
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400b0990]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400b0978]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400b0968]
cmp rax, rdx
je 0x140051c28
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051c2b
cmp rax, rcx
je 0x140051c28
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051c18
jmp 0x140051c2b
mov rax, r15
test rax, rax
je 0x140051d0c
cmp rax, rdx
je 0x140051d0c
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.140053360
mov rbx, rax
mov dword [rsp + 0x80], r15d
lea rcx, [rsp + 0x88]
mov rdx, r14
mov r8d, 0xa08
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xa90], rbx
lea rcx, [rsp + 0xa98]
lea rdx, [rsp + 0x80]
mov r8d, 0xa10
call sub.msvcrt.dll_memcpy
mov ecx, 0xa18
call fcn.140075254
mov rbx, rax
test rax, rax
je 0x140051cb8
mov rcx, rax
lea rdx, [rsp + 0xa90]
mov r8d, 0xa18
call sub.msvcrt.dll_memcpy
jmp 0x140051cbb
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, [0x14004b710]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140051d4b
cmp dword [rsp + 0x48], 0
je 0x140051d40
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140056c3c
test eax, eax
jne 0x140051d40
mov rcx, r12
call fcn.140056620
mov rcx, qword [rsp + 0x14b0]
xor rcx, rsp
call fcn.1400753b0
lea r11, [rsp + 0x14c0]
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.140056894
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call fcn.140056894
nop
mov ecx, 5
call fcn.140056894
int3
mov dword [0x1400b09ec], 0x7ffffffe
mov ecx, 6
call fcn.140056894
int3
Function at 0x140051d80
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051d80
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400b09a0]
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], 0
mov rcx, r14
call fcn.1400565fc
test eax, eax
jne 0x140051f30
cmp dword [0x1400b09ec], 0x7fffffff
je 0x140051f3b
mov byte [rbp - 0x18], 1
lea r8, [0x1400b0960]
mov qword [rbp - 0x10], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x21]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x22]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x23]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400b0990]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400b0978]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400b0968]
cmp rax, rdx
je 0x140051e56
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051e58
cmp rax, rcx
je 0x140051e56
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051e46
jmp 0x140051e58
xor eax, eax
test rax, rax
je 0x140051ef8
cmp rax, rdx
je 0x140051ef8
lea rdx, [rbp + 0x20]
mov rcx, r8
call fcn.140053360
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 1
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x30], rdi
mov ecx, 0x18
call fcn.140075254
test rax, rax
je 0x140051eab
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rax + 0x10], xmm1
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b6c0]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140051f1e
cmp dword [rbp - 0x48], 0
je 0x140051f13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.140056c3c
test eax, eax
jne 0x140051f13
mov rcx, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
pop rdi
pop rbp
jmp fcn.140056620
mov ecx, 1
call fcn.140056894
nop
mov dword [rbp - 0x48], 0
mov ecx, 6
call fcn.140056894
nop
mov ecx, 5
call fcn.140056894
int3
mov dword [0x1400b09ec], 0x7ffffffe
mov ecx, 6
call fcn.140056894
int3
Function at 0x140052e90
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 0x140053041
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.140052730
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 0x140053006
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140052f80
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140052ff5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140052fbd
mov r10, qword [rdx]
cmp r10, rax
je 0x140052fb7
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 0x140052ff5
cmp r9, rdx
je 0x140052fd1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14005301b
cmp r9, rdx
jne 0x140052fc2
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 0x140052f30
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 0x140052ff5
lea rcx, str.invalid_hash_bucket_count
call fcn.140056208
int3
Function at 0x140053360
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 0x1400533e7
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x1400533de
nop
cmp rax, rdx
je 0x1400533e7
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400533d0
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14005622c
int3
Function at 0x140055970
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 0x140055b10
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.14001a2b0
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 0x140055ad5
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 0x140055a4a
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140055ac4
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x140055a89
mov r10, qword [rdx]
cmp r10, rax
je 0x140055a83
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 0x140055ac4
cmp r8, rdx
je 0x140055aa0
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x140055aea
cmp r8, rdx
jne 0x140055a90
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 0x140055a10
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 0x140055ac4
lea rcx, str.invalid_hash_bucket_count
call fcn.140056208
int3
Function at 0x140055b20
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 0x140055c26
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rdi
cmp rax, rcx
jbe 0x140055cc7
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x30], r14
mov r14, qword [rsi + 8]
mov rbp, qword [r14]
cmp rbp, r14
je 0x140055c12
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.140075290
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x140055c2c
cmp rbx, r14
jne 0x140055bd0
cmp qword [rsp + 0x60], rbp
jne 0x140055bfb
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 0x140055c3b
mov qword [r15], r14
mov rax, r14
jmp 0x140055c3e
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, r14
je 0x140055bfb
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.140075290
dec qword [rsi + 0x10]
cmp rdi, rbp
je 0x140055cb6
cmp rbx, r14
jne 0x140055c90
jmp 0x140055bf8
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp rbx, r14
jne 0x140055c50
jmp 0x140055bfb
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 0x140055cf5
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140075290
mov rcx, rbx
test rbx, rbx
jne 0x140055ce0
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.140018d30
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop rsi
ret
Function at 0x1400562a0
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 0x1400562da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400562df
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 0x140056328
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14008f0e0]
cmp byte [rcx + rax], 0
je 0x140056328
dec r8
sub rdx, 1
jne 0x14005630e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005a090
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 [0x1400ab0cc], 0x80000000
je 0x14005a0e5
mov ecx, dword [0x1400b1328]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14005a0ea
call fcn.140061358
mov qword [rbx], rax
mov r8b, 1
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.14005a2dc
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14005a140
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14005da0c
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x14005a1e2
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x14005a17e
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x14005a183
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x14005a1e2
dec eax
mov qword [rsp + 0x20], 0
imul eax, dword [0x1400ab0b8]
lea rcx, [0x14005b598]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x1400ab0b8]
jne 0x14005a1c1
mov dword [rsp + 0x28], 4
jmp 0x14005a1cd
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x14005a1e2
lea rcx, [rsp + 0x20]
call fcn.14005a6d0
test al, al
jne 0x14005a1cd
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.14005b790

Function at 0x14005b130
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005b143
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.14005b760
lea rdx, [0x1400a8650]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400633a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14, rcx
mov rsi, r8
mov ecx, dword [0x1400b1328]
mov rdi, rdx
xor ebx, ebx
call sub.KERNEL32.dll_TlsGetValue
mov r11, rax
lea r10, [rdi + 0x10]
mov rax, rdi
neg rax
sbb r9, r9
and r9, r10
cmp r11, r9
je 0x14006344d
call fcn.140065d68
mov ecx, dword [rbp - 0x20]
lea r9d, [rbx + 5]
mov eax, dword [rsi]
lea r8, [rbp - 0x20]
and ecx, 0xf0000000
mov dword [rbp - 0x30], ebx
mov edx, 0xfffffff
mov qword [rbp - 0x28], rbx
and eax, edx
or ecx, eax
mov rax, qword [rsi + 8]
xor ecx, dword [rsi]
and ecx, edx
mov qword [rbp - 0x18], rax
xor ecx, dword [rsi]
lea rdx, [rbp - 0x30]
mov eax, dword [rsi + 4]
mov dword [rbp - 0x1c], eax
mov rax, qword [rsi + 0x10]
mov dword [rbp - 0x20], ecx
mov rcx, r14
mov qword [rbp - 0x10], rax
call fcn.140061998
test al, al
je 0x140063448
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14006acbc
mov bl, 1
call fcn.140065d68
lea r11, [rsp + 0x50]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400653ac
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400b1328]
xor edx, edx
jmp fcn.14005b130

Function at 0x140065d24
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400b1328]
jmp fcn.14005b130
Function at 0x140066220
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r15
sub rsp, 0x20
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rcx], r15
or dword [rcx + 8], 0xfffffff
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov dword [rcx + 0x20], r15d
mov dword [rcx + 0x24], 0x80000000
mov qword [rcx + 0x28], r15
mov dword [rcx + 0x58], r15d
add rcx, 0x60
call fcn.140071784
nop
mov rax, qword [rsi + 0xa8]
mov qword [rbx + 0xa8], rax
mov qword [rbx + 0xb8], r15
mov dword [rbx + 0xc8], r15d
mov dword [rbx + 0xd4], r15d
mov qword [rbx + 0xd8], r15
test dword [0x1400ab0cc], 0x80000000
je 0x1400662b8
mov ecx, dword [0x1400b1328]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x1400662bd
call fcn.140061358
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
test rax, 0xfffffffffffffffd
je 0x1400662dc
lock inc dword [rax + 8]
mov dword [rbx + 0x50], r15d
mov dword [rbx + 0x54], r15d
mov dword [rbx + 0xcc], r15d
mov qword [rbx + 0x30], r15
lea rcx, [rbx + 0x38]
call fcn.140059fd0
lea rcx, [rbx + 0x60]
call fcn.140071d10
test bpl, bpl
je 0x140066347
mov rcx, qword [rbx + 0xa8]
mov rax, qword [rcx + 0xb0]
mov qword [rbx + 0xb0], rax
lock cmpxchg qword [rcx + 0xb0], rbx
je 0x14006635d
mov rdx, rax
mov qword [rbx + 0xb0], rax
mov rcx, qword [rbx + 0xa8]
lock cmpxchg qword [rcx + 0xb0], rbx
cmp rax, rdx
jne 0x140066326
jmp 0x14006635d
mov eax, dword [rbx + 0xc8]
or eax, 1
mov dword [rbx + 0xc8], eax
mov qword [rbx + 0xb0], r15
call fcn.1400614e0
mov rdi, rax
cmp qword [rax + 0x40], r15
jne 0x140066373
mov rcx, rax
call fcn.1400653bc
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 0xa0]
mov dword [rbx + 0xd0], ecx
and dword [rbx + 8], 0xfffffff
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x140067e98
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rdi, rcx
mov rdx, qword [rax + 0x18]
mov ebx, dword [rdx + 0xa8]
mov ecx, ebx
call sub.KERNEL32.dll_TlsGetValue
mov rdx, rdi
mov qword [rdi + 0x38], rax
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005b130

Function at 0x140069214
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
xor ebx, ebx
mov ecx, dword [rax + 0xa8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140069236
test al, 3
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140069800
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
mov rdi, rcx
mov ecx, dword [rax + 0xa8]
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
je 0x140069864
and eax, 3
je 0x14006984a
cmp rax, 1
jne 0x140069864
and rbx, 0xfffffffffffffffe
mov rbx, qword [rbx + 0x20]
add rbx, 0x10
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x14006984a
cmp byte [rax + 0x70], 0
jne 0x140069864
mov rcx, rbx
call fcn.140067cd4
test rbx, rbx
je 0x140069864
mov rdx, rbx
mov rcx, rdi
call fcn.1400692a8
jmp 0x140069866
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006a2d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
xor edx, edx
mov r8d, 0x800
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14006a33f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14006a3e6
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x14006a3e6
lea rdx, str.RegisterTraceGuidsW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx], rax
lea rdx, str.UnregisterTraceGuids
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx + 8], rax
lea rdx, str.TraceEvent
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx + 0x10], rax
lea rdx, str.GetTraceLoggerHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx + 0x18], rax
lea rdx, str.GetTraceEnableLevel
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx + 0x20], rax
lea rdx, str.GetTraceEnableFlags
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005b1a8
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret