joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007c450
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007c4a3
cmp qword [rax], rbx
je 0x14007c641
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14007c491
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xf8
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14007c850]
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.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14007c623
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14007c850
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
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 0x14007c4a3
mov rdx, rdi
mov rcx, rdi
call fcn.14007cab0
nop
jmp 0x14007c623
Function at 0x140081500
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r15, r8
mov r12, rdx
mov rbp, rcx
lea r14, [rcx + 8]
xor r13d, r13d
cmp qword [r14], 0xffffffffffffffff
jne 0x14008164e
mov dword [rsp + 0x40], r13d
call fcn.1400a9490
mov qword [rsp + 0x48], rax
mov eax, 0x17
mov ecx, 2
cmp word [r12], cx
cmove eax, ecx
mov dword [rsp + 0x100], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
mov r8, r14
lea rdx, [rsp + 0x80]
mov rcx, qword [rbp]
call fcn.140072230
lea rax, [fcn.140010b90]
cmp dword [rsp + 0x40], r13d
cmove rax, r13
test rax, rax
je 0x14008164e
mov rax, qword [rbp]
mov rbx, qword [rax + 0x18]
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
mov ecx, dword [0x1402d3924]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400815eb
mov rcx, qword [rax + 8]
jmp 0x1400815ee
mov rcx, r13
mov edx, 0x78
call fcn.14001a020
mov qword [rax + 0x20], r13
lea rcx, [0x140082170]
mov qword [rax + 0x28], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x30], r13d
mov byte [rax + 0x39], 1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x60], xmm0
mov rcx, qword [rbx + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.14001ad40
jmp 0x140081705
mov rbp, qword [rbp]
mov qword [rsp + 0x50], r15
lea rdx, [r15 + 0x10]
mov ecx, 0x88
call fcn.14001a0a0
mov rsi, rax
mov qword [rsp + 0x58], rax
mov rbx, qword [r14]
mov qword [rax + 0x20], r13
lea rax, [0x140081cb0]
mov qword [rsi + 0x28], rax
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov dword [rsi + 0x30], r13d
mov dword [rsi + 0x38], r13d
call fcn.1400a9490
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], r13
lea rax, [0x140061040]
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x58], rbx
mov byte [rsi + 0x60], 0
movups xmm0, xmmword [r15]
movups xmmword [rsi + 0x68], xmm0
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsi + 0x78], xmm0
mov qword [rsp + 0x60], rsi
mov eax, reloc.WS2_32.dll_recv
mov ecx, 0x1c
cmp word [r12], 2
cmovne eax, ecx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8d, dword [r14 + 0x38]
mov rdx, r14
call fcn.140061530
nop
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140081fd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 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 [rbp - 0x21], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rbp + 0xf], xmm1
lea rdi, [rdx + 8]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140082043
cmp qword [rax], rbx
je 0x14008214b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140082031
lea rax, [rbp - 0x21]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x21]
mov ecx, 0x78
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400473e0]
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 [rbp - 0x21]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x48], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbx + 0x58], xmm1
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx + 0x68], xmm0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x14008212e
mov rax, qword [rdi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rbp - 0x31], rax
mov rax, qword [rdi]
mov qword [rbp - 0x29], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.1400473e0
nop
lea rcx, [rbp - 0x31]
call fcn.14001c760
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xc0]
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 0x140082043
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140047be0
nop
jmp 0x14008212e
Function at 0x140082820
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, rdx
lea rsi, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [rsi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140082874
cmp qword [rax], rbx
je 0x1400829bb
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140082862
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xa8
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400829e0]
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 rax, qword [rdi + 0x20]
mov qword [rbx + 0x58], rax
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x60], eax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x68], rax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
movups xmm0, xmmword [rdi + 0x48]
movups xmmword [rbx + 0x80], xmm0
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0xa0], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14008299d
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400829e0
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
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 0x140082874
mov rdx, rdi
mov rcx, rdi
call fcn.140082af0
nop
jmp 0x14008299d

Function at 0x140082af0
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
mov r8, qword [rcx + 0x68]
add rcx, 0x10
xor r9d, r9d
lea rdx, [rcx + 0x48]
add rsp, 0x28
jmp fcn.140081800
Function at 0x140082b20
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140082b73
cmp qword [rax], rbx
je 0x140082cca
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140082b61
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140082cf0]
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
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.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x140082cac
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.140082cf0
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
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 0x140082b73
mov rdx, rdi
mov rcx, rdi
call fcn.140082e10
nop
jmp 0x140082cac

Function at 0x140082e10
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.1400823a0
Function at 0x14009a110
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1400a9490
mov rbx, qword [rbx + 8]
xor r15d, r15d
mov dword [rbp - 0x10], r15d
xorps xmm0, xmm0
mov qword [rbp - 0x28], 2
movdqu xmmword [rbp - 0x20], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x14009a1b8
mov dword [rbp - 0x40], 0x2719
call fcn.1400a9490
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov dword [rsi + 0x18], r15d
mov qword [rsi], 2
cmp dword [rbp - 0x40], r15d
jne 0x14009a272
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401e4940
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp - 0x30]
mov dword [rbp - 0x30], 0x1c
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd r14, dword [rbp - 0x30]
mov edi, eax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x38], rbx
test edi, edi
mov rdi, qword [rsp + 0xa0]
mov dword [rbp - 0x40], eax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
jne 0x14009a177
mov dword [rbp - 0x40], r15d
call fcn.1400a9490
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
cmp r14, 0x80
ja 0x14009a24f
movups xmm0, xmmword [rbp - 0x28]
mov eax, dword [rbp - 0x10]
movsd xmm1, qword [rbp - 0x18]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
mov dword [rsi + 0x18], eax
jmp 0x14009a18a
mov dword [rbp - 0x40], 0x2726
call fcn.1400a9490
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
call fcn.140019e00
int3
lea rdx, str.local_endpoint
lea rcx, [rbp - 0x40]
call fcn.140019e50
int3
Function at 0x14009b630
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009b683
cmp qword [rax], rbx
je 0x14009b7ec
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009b671
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x98
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009b870]
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
mov rcx, qword [rdi]
mov qword [rbx + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], r14
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov qword [rdi + 0x40], r14
mov qword [rdi + 0x48], r14
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x88], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009b7ce
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14009b870
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
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 0x14009b683
mov rdx, rdi
mov rcx, rdi
call fcn.14009bcb0
nop
jmp 0x14009b7ce
Function at 0x14009bdb0
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, rdx
lea rsi, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [rsi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009be04
cmp qword [rax], rbx
je 0x14009bf2c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009bdf2
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x68
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009bf60]
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
mov rcx, qword [rdi]
mov qword [rbx + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009bf0e
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
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 [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14009bf60
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
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 0x14009be04
mov rdx, rdi
mov rcx, rdi
call fcn.14009c4e0
nop
jmp 0x14009bf0e