joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092453
cmp qword [rax], rbx
je 0x1400925d5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140092441
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xe0
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400929d0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x34]
mov dword [rbx + 0x6c], eax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
mov rax, qword [rdi + 0x58]
mov qword [rbx + 0x90], rax
mov rax, qword [rdi + 0x60]
mov qword [rbx + 0x98], rax
mov eax, dword [rdi + 0x68]
mov dword [rbx + 0xa0], eax
mov rax, qword [rdi + 0x70]
mov qword [rbx + 0xa8], rax
movups xmm0, xmmword [rdi + 0x78]
movups xmmword [rbx + 0xb0], xmm0
movups xmm0, xmmword [rdi + 0x88]
movups xmmword [rbx + 0xc0], xmm0
movups xmm0, xmmword [rdi + 0x98]
movups xmmword [rbx + 0xd0], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025320
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x1400925b7
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1400929d0
nop
lea rcx, [rsp + 0x28]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x140092453
mov rdx, rdi
mov rcx, rdi
call fcn.1400931f0
nop
jmp 0x1400925b7
Function at 0x1400925f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092643
cmp qword [rax], rbx
je 0x1400927d3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140092631
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xe8
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140092830]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x34]
mov dword [rbx + 0x6c], eax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
mov rax, qword [rdi + 0x58]
mov qword [rbx + 0x90], rax
mov rax, qword [rdi + 0x60]
mov qword [rbx + 0x98], rax
mov eax, dword [rdi + 0x68]
mov dword [rbx + 0xa0], eax
mov rax, qword [rdi + 0x70]
mov qword [rbx + 0xa8], rax
movups xmm0, xmmword [rdi + 0x78]
movups xmmword [rbx + 0xb0], xmm0
movups xmm0, xmmword [rdi + 0x88]
movups xmmword [rbx + 0xc0], xmm0
movups xmm0, xmmword [rdi + 0x98]
movups xmmword [rbx + 0xd0], xmm0
mov rax, qword [rdi + 0xa8]
mov qword [rbx + 0xe0], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025320
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x1400927b5
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.140092830
nop
lea rcx, [rsp + 0x28]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x140092643
mov rdx, rdi
mov rcx, rdi
call fcn.140093230
nop
jmp 0x1400927b5
Function at 0x140092c80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092cd3
cmp qword [rax], rbx
je 0x140092e4f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140092cc1
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xe0
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140092e70]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbx + 0x50], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbx + 0x60], xmm1
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x70], rax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov eax, dword [rdi + 0x4c]
mov dword [rbx + 0x84], eax
mov eax, dword [rdi + 0x50]
mov dword [rbx + 0x88], eax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0xa0], rax
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbx + 0xa8], xmm0
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rdi + 0x90]
movups xmmword [rbx + 0xc8], xmm0
mov rax, qword [rdi + 0xa0]
mov qword [rbx + 0xd8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025320
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x140092e31
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.140092e70
nop
lea rcx, [rsp + 0x28]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x140092cd3
mov rdx, rdi
mov rcx, rdi
call fcn.140093270
nop
jmp 0x140092e31
Function at 0x140092fb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x68], xmm0
mov rax, qword [rcx]
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x80], rax
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x78], xmm0
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x68], eax
mov eax, dword [rcx + 0x24]
mov dword [rbp - 0x64], eax
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rbp - 0x60], xmm0
mov rax, qword [rcx + 0x38]
mov qword [rbp - 0x50], rax
mov rax, qword [rcx + 0x40]
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rcx + 0x58]
movsd qword [rbp - 0x30], xmm1
mov eax, dword [rcx + 0x60]
mov dword [rbp - 0x28], eax
mov rax, qword [rcx + 0x68]
mov qword [rbp - 0x20], rax
mov rax, qword [rcx + 0x70]
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rcx + 0x80]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rcx + 0x90]
movups xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rcx + 0xa0]
movups xmmword [rbp + 0x18], xmm0
mov rax, qword [rcx + 0xb0]
mov qword [rbp + 0x28], rax
lea rdi, [rdx + 8]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400930a2
nop dword [rax]
cmp qword [rax], rbx
je 0x14009319d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140093090
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
mov ecx, 0x100
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140093500]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x68]
call fcn.140093930
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025320
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
test al, al
je 0x140093180
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, rbx
call fcn.140093500
nop
lea rcx, [rsp + 0x38]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400930a2
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140093a60
nop
jmp 0x140093180
Function at 0x1400932b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140093303
cmp qword [rax], rbx
je 0x140093498
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400932f1
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xf8
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400936b0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x34]
mov dword [rbx + 0x6c], eax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movsd xmm1, qword [rdi + 0x68]
movsd qword [rbx + 0xa0], xmm1
mov eax, dword [rdi + 0x70]
mov dword [rbx + 0xa8], eax
mov rax, qword [rdi + 0x78]
mov qword [rbx + 0xb0], rax
mov rax, qword [rdi + 0x80]
mov qword [rbx + 0xb8], rax
movups xmm0, xmmword [rdi + 0x90]
movups xmmword [rbx + 0xc8], xmm0
movups xmm0, xmmword [rdi + 0xa0]
movups xmmword [rbx + 0xd8], xmm0
movups xmm0, xmmword [rdi + 0xb0]
movups xmmword [rbx + 0xe8], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025320
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009347a
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.1400936b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x140093303
mov rdx, rdi
mov rcx, rdi
call fcn.140093a20
nop
jmp 0x14009347a
Function at 0x140099760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp byte [rcx + 0x18], 0
je 0x14009978c
mov rcx, rdx
add rsp, 0x80
pop rbx
jmp fcn.140056a10
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140099869
movups xmm0, xmmword [rdx]
cmp byte [rbx + 8], 0
je 0x1400997d1
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140056a10
add rsp, 0x80
pop rbx
ret
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400997ff
mov rdx, qword [rax + 8]
jmp 0x140099801
xor edx, edx
mov r8d, 0x40
call fcn.140055ea0
lea rcx, [0x1400576c0]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x28], xmm0
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x140099860
xor edx, edx
mov rcx, rax
call qword [rax]
nop
add rsp, 0x80
pop rbx
ret
lea rcx, [rsp + 0x48]
call fcn.140024000
nop
lea rcx, [rsp + 0x48]
call fcn.14003b430
int3
Function at 0x14009aae0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov r10, rdx
mov rbx, qword [rcx]
test rbx, rbx
je 0x14009accc
movups xmm0, xmmword [rdx + 8]
cmp byte [rbx + 8], 0
je 0x14009abd3
mov r9, qword [rdx]
mov qword [rsp + 0x70], r9
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [rdx + 0x18]
movsd qword [rbp - 0x78], xmm1
mov r8d, dword [rdx + 0x20]
mov dword [rbp - 0x70], r8d
mov rdx, qword [rdx + 0x28]
mov qword [rbp - 0x68], rdx
mov rcx, qword [r10 + 0x30]
mov qword [rbp - 0x60], rcx
movups xmm2, xmmword [r10 + 0x40]
movaps xmmword [rbp - 0x50], xmm2
movups xmm0, xmmword [r10 + 0x50]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [r10 + 0x60]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [r10 + 0x70]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [r10 + 0x50]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r9
movups xmm0, xmmword [r10 + 8]
movups xmmword [rbp + 8], xmm0
movsd qword [rbp + 0x18], xmm1
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], rcx
movups xmmword [rbp + 0x40], xmm2
movups xmm1, xmmword [r10 + 0x50]
movups xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [r10 + 0x60]
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x48]
movq rcx, xmm2
call fcn.14009b230
jmp 0x14009acb0
mov rdi, qword [rdx]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [rdx + 0x18]
movsd qword [rbp + 0xb0], xmm0
mov esi, dword [rdx + 0x20]
mov r14, qword [rdx + 0x28]
mov r15, qword [rdx + 0x30]
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rdx + 0x50]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rsp + 0x20], xmm0
mov r12, qword [rdx + 0x70]
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009ac29
mov rdx, qword [rax + 8]
jmp 0x14009ac2b
xor edx, edx
mov r8d, 0x88
call fcn.140055ea0
lea rcx, [0x14009ad00]
mov qword [rax], rcx
mov qword [rax + 8], rdi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [rbp + 0xb0]
movsd qword [rax + 0x20], xmm0
mov dword [rax + 0x28], esi
mov qword [rax + 0x30], r14
mov qword [rax + 0x38], r15
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x48], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x58], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x68], xmm0
mov qword [rax + 0x78], r12
mov qword [rbp + 0xc0], rax
mov rax, qword [rbx]
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x14009acb0
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140024000
nop
lea rcx, [rsp + 0x20]
call fcn.14003b430
int3
Function at 0x14009ae60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009aeb3
cmp qword [rax], rbx
je 0x14009b01a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009aea1
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009b090]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x68], r14
mov qword [rbx + 0x70], r14
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x68], xmm1
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x20], r14b
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x78], eax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x88], xmm0
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbx + 0x98], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbx + 0xa8], xmm0
mov rax, qword [rdi + 0x80]
mov qword [rbx + 0xb8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025320
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009affc
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.14009b090
nop
lea rcx, [rsp + 0x28]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x14009aeb3
mov rdx, rdi
mov rcx, rdi
call fcn.14009b200
nop
jmp 0x14009affc

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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x10
xor r9d, r9d
mov r8, qword [rcx + 0x70]
lea rdx, [rcx + 0x60]
add rsp, 0x28
jmp fcn.140098980