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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x51], xmm0
mov rax, qword [rcx]
mov qword [rbp - 0x41], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x39], rax
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x31], eax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x29], rax
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbp - 1], xmm0
mov rax, qword [rcx + 0x50]
mov qword [rbp + 0xf], rax
mov rsi, qword [rdx]
lea rdi, [rdx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140093433
cmp qword [rax], rbx
je 0x14009355e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140093421
lea rax, [rbp - 0x51]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x51]
mov ecx, 0xa0
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400935c0]
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 - 0x51]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rbp - 0x41]
mov qword [rbx + 0x48], rax
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x50], rax
mov eax, dword [rbp - 0x31]
mov dword [rbx + 0x58], eax
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x60], rax
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x78], xmm1
movups xmm0, xmmword [rbp - 1]
movups xmmword [rbx + 0x88], xmm0
mov rax, qword [rbp + 0xf]
mov qword [rbx + 0x98], rax
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025350
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x140093541
mov rax, qword [rdi]
mov qword [rbp - 0x69], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x69]
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp + 0x17], rcx
mov rax, qword [rdi]
mov qword [rbp + 0x1f], rax
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
call fcn.1400935c0
nop
lea rcx, [rbp + 0x17]
call fcn.140025130
nop
mov rdx, qword [rbp - 0x59]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xe0]
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 0x140093433
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x51]
call fcn.1400936a0
nop
nop
jmp 0x140093541
Function at 0x14009e7b0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rcx
add rcx, 0x28
mov qword [rsp + 0x68], rcx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14009e7da
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
xor edi, edi
cmp qword [rbx + 0x78], rdi
je 0x14009e7f1
mov eax, 3
lock cmpxchg dword [rbx + 0x80], edi
jmp 0x14009e86e
mov eax, edi
xchg dword [rbx + 0x80], eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140219078
mov rsi, rax
mov qword [rsp + 0x60], rax
mov ecx, 8
call fcn.140219078
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea r14, [rsi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14009ecd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14009e90c
mov rcx, qword [rbx + 0x78]
mov qword [rbx + 0x78], rsi
test rcx, rcx
je 0x14009e86e
cmp dword [rcx + 8], 0
je 0x14009e864
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1402193dc
mov eax, dword [rbx + 0x80]
nop
test eax, eax
jne 0x14009e8f6
movabs rbp, 0x7fffffffffffb1df
movabs rsi, 0x7fffffffffffffff
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14009e8af
imul rax, rax, 0x64
jmp 0x14009e8ca
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbp
jge 0x14009e8dc
add rax, 0x4e20
mov qword [rsp + 0x60], rax
jmp 0x14009e8e1
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
call fcn.140062020
mov eax, dword [rbx + 0x80]
nop
test eax, eax
je 0x14009e891
mov rcx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov dword [r14], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14009edb0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov rsi, rcx
cmp rdi, 0xffffffffffffffff
je 0x14009ee34
xor ecx, ecx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x38]
je 0x14009ee2d
cmp eax, 0x2733
je 0x14009edfb
cmp eax, 0x4d5
jne 0x14009ee2d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsi], 0xffffffffffffffff
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a28b0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
sub rsp, 0x48
mov rdi, rcx
lea r8, [rcx + 0x50]
mov rcx, qword [rcx + 0x48]
lea rax, [0x1402b2c88]
xor ebp, ebp
mov qword [rsp + 0x28], rax
add rcx, 0x28
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0x20]
mov byte [rsp + 0x24], bpl
lea rdx, [rsp + 0x30]
call fcn.14006b830
cmp dword [rsp + 0x20], ebp
jne 0x1400a2a23
mov qword [rsp + 0x70], rbx
mov rbx, qword [rdi + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x1400a29fc
xor ecx, ecx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea edx, [rbp + 2]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_shutdown]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp qword [rdi + 0x50], 0xffffffffffffffff
mov rcx, qword [rdi + 0x48]
je 0x1400a29b0
xor eax, eax
lock cmpxchg qword [rcx + 0x38], rbp
je 0x1400a2949
mov rdx, qword [rdi + 0x50]
mov rcx, rax
call fcn.140024410
mov rsi, qword [rdi + 0x50]
cmp rsi, 0xffffffffffffffff
je 0x1400a29b0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x1400a29b0
cmp eax, 0x2733
je 0x1400a297e
cmp eax, 0x4d5
jne 0x1400a29b0
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rdi + 0x58], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov byte [rdi + 0x58], bpl
mov rsi, 0xffffffffffffffff
mov qword [rdi + 0x50], rsi
mov rbx, qword [rdi + 0x68]
mov qword [rdi + 0x60], rbp
mov qword [rdi + 0x68], rbp
test rbx, rbx
je 0x1400a29f7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a29f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400a29f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x38]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400a2a1c
mov eax, dword [rdi + 0x40]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
add rsp, 0x48
pop rdi
pop rbp
ret
lea rdx, str.cancel
lea rcx, [rsp + 0x20]
call fcn.1400226b0
int3
Function at 0x1400ab6c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rcx + 8]
xor ebp, ebp
mov dword [rsp + 0x50], ebp
xorps xmm0, xmm0
mov qword [rsp + 0x38], 2
mov rdi, rdx
movdqu xmmword [rsp + 0x40], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x1400ab76b
mov dword [rsp + 0x20], 0x2719
lea rax, [0x1402b2c88]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x24], 1
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov qword [rdi], 2
cmp dword [rsp + 0x20], ebp
jne 0x1400ab82e
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140218dc0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd rsi, dword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
test eax, eax
lea rax, [0x1402b2c88]
setne byte [rsp + 0x24]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
test ebx, ebx
jne 0x1400ab72a
mov dword [rsp + 0x20], ebp
mov byte [rsp + 0x24], bpl
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
cmp rsi, 0x80
ja 0x1400ab806
movups xmm0, xmmword [rsp + 0x38]
mov eax, dword [rsp + 0x50]
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov dword [rdi + 0x18], eax
jmp 0x1400ab73c
mov dword [rsp + 0x20], 0x2726
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.140022670
int3
lea rdx, str.local_endpoint
lea rcx, [rsp + 0x20]
call fcn.1400226b0
int3
Function at 0x1400aced0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400acf22
nop dword [rax]
cmp qword [rax], rbx
je 0x1400ad08e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400acf10
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x68
call fcn.1400227f0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x1400ad0c0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbx + 0x48], xmm1
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbx + 0x50], xmm0
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x60], rax
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025350
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x1400ad071
mov rax, qword [rsi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp - 0x19], rdi
mov rax, qword [rsi]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbx + 0x48]
movsd qword [rbp + 7], xmm1
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rbp + 0xf], xmm0
mov rax, qword [rbx + 0x60]
mov qword [rbp + 0x1f], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
test rbx, rbx
je 0x1400ad02b
mov qword [rbp - 0x21], r15
lea r8, [rbp - 9]
lea edx, [r15 + 0x68]
mov rcx, rbx
call fcn.140022880
mov ebx, r15d
mov qword [rbp - 0x29], rbx
test rdi, rdi
je 0x1400ad03f
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400adb20
nop
nop
test rbx, rbx
je 0x1400ad056
lea r8, [rbp - 9]
mov edx, 0x68
mov rcx, rbx
call fcn.140022880
nop
lea rcx, [rbp - 0x19]
call fcn.140025130
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400acf22
nop
mov rdx, rdi
mov rcx, rdi
call fcn.1400adb20
nop
nop
jmp 0x1400ad071
Function at 0x1400ad170
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 0x1400ad1cd
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1400ad1c5
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ad1c0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400ad1c0
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 0x1400ad224
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ad214
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ad214
cmp qword [rcx + 0x10], 0
jne 0x1400ad214
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.1402193d4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ad310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
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 0x1400ad35d
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
mov rsi, qword [rcx]
lea rdi, [rcx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ad3a2
nop dword [rax]
cmp qword [rax], rbx
je 0x1400ad4ee
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ad390
lea rax, [rbp - 0x39]
mov qword [rbp + 0x1f], rax
lea rdx, [rbp - 0x39]
mov ecx, 0x68
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400ae1b0]
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.140025350
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x27], r14
test al, al
je 0x1400ad49c
mov rax, qword [rdi]
mov qword [rbp - 9], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
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 + 0x37]
mov rdx, rbx
call fcn.1400ae1b0
nop
lea rcx, [rbp + 0xf]
call fcn.140025130
nop
mov rdx, qword [rbp + 7]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x1400ad4d1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ad4d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400ad4d1
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 0x1400ad3a2
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400ae5c0
nop
nop
jmp 0x1400ad49c
Function at 0x1400adb50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400adba2
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400add02
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400adb90
mov qword [rsp + 0x58], rdi
mov rdx, rdi
mov ecx, 0x98
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400adfe0]
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.140025350
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
test al, al
je 0x1400adce4
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.1400adfe0
nop
lea rcx, [rsp + 0x20]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x140312360]
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 0x1400adba2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.1400ae690
nop
nop
jmp 0x1400adce4
Function at 0x1400ae690
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, 0x20
lea rdx, [rcx + 0x30]
add rsp, 0x28
jmp fcn.1400ad310

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rdi, rdx
mov rbp, qword [r8]
lea rsi, [r8 + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ae712
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400ae87d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ae700
mov qword [rsp + 0x58], rdi
mov rdx, rdi
mov ecx, 0xd0
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400ae8e0]
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
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbx + 0x48], xmm1
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rbx + 0x68], xmm1
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x70], eax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rdi + 0x68]
movups xmmword [rbx + 0xa0], xmm0
movsd xmm1, qword [rdi + 0x78]
movsd qword [rbx + 0xb0], xmm1
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rbx + 0xb8], xmm0
mov rax, qword [rdi + 0x90]
mov qword [rbx + 0xc8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025350
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
test al, al
je 0x1400ae85f
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.1400ae8e0
nop
lea rcx, [rsp + 0x20]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x140312360]
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 0x1400ae712
nop
mov rdx, rdi
mov rcx, rdi
call fcn.1400aea00
nop
nop
jmp 0x1400ae85f