joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093a10
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 [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140093a63
cmp qword [rax], rbx
je 0x140093bf8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140093a51
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xf8
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140093e10]
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.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x140093bda
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
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 [0x140336660]
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.140093e10
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
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 0x140093a63
mov rdx, rdi
mov rcx, rdi
call fcn.140094070
nop
jmp 0x140093bda
Function at 0x14009b290
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 0x14009b47c
movups xmm0, xmmword [rdx + 8]
cmp byte [rbx + 8], 0
je 0x14009b383
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.14009b9d0
jmp 0x14009b460
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 [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009b3d9
mov rdx, qword [rax + 8]
jmp 0x14009b3db
xor edx, edx
mov r8d, 0x88
call fcn.140056980
lea rcx, [0x14009b4a0]
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 0x14009b460
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.140023e60
nop
lea rcx, [rsp + 0x20]
call fcn.14003b290
int3
Function at 0x14009b600
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 [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009b653
cmp qword [rax], rbx
je 0x14009b7ba
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009b641
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009b830]
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.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009b79c
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
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 [0x140336660]
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.14009b830
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
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 0x14009b653
mov rdx, rdi
mov rcx, rdi
call fcn.14009b9a0
nop
jmp 0x14009b79c

Function at 0x14009b9a0
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.140098f70
Function at 0x14009b9d0
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 [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009ba23
cmp qword [rax], rbx
je 0x14009bb71
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009ba11
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14009bb90]
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.140025180
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14009bb53
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140336660]
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 [0x140336660]
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.14009bb90
nop
lea rcx, [rsp + 0x28]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x140336660]
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 0x14009ba23
mov rdx, rdi
mov rcx, rdi
call fcn.14009bcb0
nop
jmp 0x14009bb53

Function at 0x14009bcb0
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.14009a5c0
Function at 0x1400b3d30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [rcx + 8]
xor r14d, r14d
mov dword [rbp - 0x10], r14d
xorps xmm0, xmm0
mov qword [rbp - 0x28], 2
mov rdi, rdx
movdqu xmmword [rbp - 0x20], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x1400b3dd4
mov dword [rbp - 0x40], 0x2719
lea rax, [0x1402c41e8]
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x3c], 1
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov dword [rdi + 0x18], r14d
mov qword [rdi], 2
cmp dword [rbp - 0x40], r14d
jne 0x1400b3e81
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402225a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
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 rsi, dword [rbp - 0x30]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x40], eax
test eax, eax
lea rax, [0x1402c41e8]
setne byte [rbp - 0x3c]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
test ebx, ebx
jne 0x1400b3d94
mov dword [rbp - 0x40], r14d
mov byte [rbp - 0x3c], r14b
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
cmp rsi, 0x80
ja 0x1400b3e5f
movups xmm0, xmmword [rbp - 0x28]
mov eax, dword [rbp - 0x10]
movsd xmm1, qword [rbp - 0x18]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov dword [rdi + 0x18], eax
jmp 0x1400b3da7
mov dword [rbp - 0x40], 0x2726
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
call fcn.140022180
int3
lea rdx, str.local_endpoint
lea rcx, [rbp - 0x40]
call fcn.1400221d0
int3
Function at 0x1400b56e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400b58d3
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x10]
xor ebx, ebx
cmp byte [rsi + 8], bl
je 0x1400b57a7
movaps xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x21], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x19], rax
mov rax, qword [rdx + 0x28]
mov qword [rbp - 0x11], rax
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], rbx
movups xmm0, xmmword [rdx + 0x30]
movaps xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400b55c0
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400b58c0
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b58c0
mov rbx, qword [rbp - 0x11]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b58c0
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400b58c0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x61], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x59], rax
mov rax, qword [rdx + 0x28]
mov qword [rbp - 0x51], rax
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], rbx
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rbp - 0x49], xmm0
lea rax, [rbp - 0x79]
mov qword [rbp + 0x7f], rax
mov qword [rbp + 7], r8
mov ecx, dword [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b57fa
mov rdx, qword [rax + 8]
jmp 0x1400b57fd
mov rdx, rbx
mov r8d, 0x50
call fcn.140056980
mov rdx, rax
mov qword [rbp + 0x17], rbx
lea rax, [0x1400b5be0]
mov qword [rdx], rax
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rdx + 8], xmm0
mov rcx, qword [rbp - 0x69]
mov qword [rdx + 0x18], rcx
mov rcx, qword [rbp - 0x61]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rbx
mov qword [rdx + 0x30], rbx
mov rax, qword [rbp - 0x59]
mov qword [rdx + 0x28], rax
mov rax, qword [rbp - 0x51]
mov qword [rdx + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx + 0x38], xmm0
mov qword [rbp + 0x67], rdx
mov qword [rbp + 0xf], rbx
lea rcx, [rbp + 7]
call fcn.1400b5900
nop
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x1400b58a1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b58a1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b58a1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsi]
lea rdx, [rbp + 0x67]
mov rcx, rsi
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0x67]
test rax, rax
je 0x1400b58c0
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov rbx, qword [rsp + 0x108]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x27]
call fcn.140023e60
nop
lea rcx, [rbp + 0x27]
call fcn.14003b290
int3
Function at 0x1400b5900
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x1400b595d
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1400b5955
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b5950
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400b5950
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400b59b4
mov ecx, dword [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b59a4
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400b59a4
cmp qword [rcx + 0x10], 0
jne 0x1400b59a4
movzx eax, byte [rbx + 0x50]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140222cd4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b5f50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
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
mov r8, rdx
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x39], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov rdx, qword [rcx + 0x28]
test rdx, rdx
je 0x1400b5fa3
lock inc dword [rdx + 8]
mov rdx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdx
movups xmm0, xmmword [r8]
movups xmmword [rbp - 0x19], xmm0
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b5fe4
cmp qword [rax], rbx
je 0x1400b6130
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b5fd2
lea rax, [rbp - 0x39]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x39]
mov ecx, 0x68
call fcn.140022380
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400b6de0]
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 [rbp - 0x39]
mov qword [rbx + 0x38], rcx
mov rax, qword [rbp - 0x31]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x48], rax
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x58], xmm0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025180
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x1400b60de
mov rax, qword [rdi]
mov qword [rbp - 9], rax
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp + 0xf], rcx
mov rax, qword [rdi]
mov qword [rbp + 0x17], rax
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
call fcn.1400b6de0
nop
lea rcx, [rbp + 0xf]
call fcn.140024f40
nop
mov rdx, qword [rbp + 7]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x1400b6113
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b6113
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b6113
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xb0]
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 0x1400b5fe4
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400b7620
nop
jmp 0x1400b60de
Function at 0x1400b6480
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r11, rdx
mov rbx, qword [rcx]
test rbx, rbx
je 0x1400b6639
cmp byte [rbx + 8], 0
je 0x1400b6562
mov r10, qword [rdx]
mov qword [rsp + 0x60], r10
mov r9, qword [rdx + 8]
mov qword [rsp + 0x68], r9
mov r8, qword [rdx + 0x10]
mov qword [rsp + 0x70], r8
mov edx, dword [rdx + 0x18]
mov dword [rsp + 0x78], edx
mov rcx, qword [r11 + 0x20]
mov qword [rbp - 0x80], rcx
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp - 0x58], xmm0
mov rax, qword [r11 + 0x58]
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r10
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r8
mov dword [rbp - 0x18], edx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [r11 + 0x38]
movups xmmword [rbp + 8], xmm1
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x40]
call fcn.1400b7930
jmp 0x1400b6618
mov rdi, qword [rdx]
mov rsi, qword [rdx + 8]
mov r14, qword [rdx + 0x10]
mov r15d, dword [rdx + 0x18]
mov r12, qword [rdx + 0x20]
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rsp + 0x20], xmm0
mov r13, qword [rdx + 0x58]
mov ecx, dword [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b65ab
mov rdx, qword [rax + 8]
jmp 0x1400b65ad
xor edx, edx
mov r8d, reloc.WS2_32.dll_WSASetLastError
call fcn.140056980
lea rcx, [0x1400b6650]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], r15d
mov qword [rax + 0x28], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x50], xmm0
mov qword [rax + 0x60], r13
mov qword [rbp + 0x70], rax
mov rax, qword [rbx]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x1400b6618
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140023e60
nop
lea rcx, [rsp + 0x20]
call fcn.14003b290
int3