joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eeab0
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 - 0x130]
sub rsp, 0x230
mov rbx, rcx
mov rax, qword [rdx]
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x80], rax
xor r14d, r14d
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
add rdx, 0x18
lea rcx, [rbp - 0x78]
call fcn.1400bc540
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400eeb36
cmp qword [rax], rbx
je 0x1400eeca0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400eeb24
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x1d8
call fcn.140062870
mov rbx, rax
mov qword [rax + 0x20], r14
lea rax, [fcn.14014d660]
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 [rsp + 0x70]
mov qword [rbx + 0x38], rcx
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r14
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x48], rax
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
lea rcx, [rbx + 0x50]
lea rdx, [rbp - 0x78]
call fcn.1400bc540
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x1400eec45
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14014d660
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x78]
call fcn.1400c4bd0
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1400eec83
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400eec83
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400eec83
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x230]
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 0x1400eeb36
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400f0330
nop
nop
jmp 0x1400eec45
Function at 0x1400f0370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x3a8], rax
mov rbx, rdx
mov rdi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.1400bd700
nop
lea rdx, [rbx + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.1400fa970
nop
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400f03f5
cmp qword [rax], rbx
je 0x1400f0545
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400f03e3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x460
call fcn.140062870
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.1400fe110]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bd700
nop
lea rcx, [rbx + 0xd0]
lea rdx, [rbp + 0x40]
call fcn.1400fa970
nop
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400f0500
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400fe110
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x230]
call fcn.1400c4670
lea rcx, [rbp + 0x68]
call fcn.1400c4670
lea rcx, [rsp + 0x70]
call fcn.1400c5160
mov rcx, qword [rbp + 0x3a8]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400f03f5
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.14010ea10
nop
nop
jmp 0x1400f0500
Function at 0x1400f0890
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 - 0x160]
sub rsp, 0x260
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bd620
lea rdx, [rbx + 0xa0]
lea rcx, [rbp + 0x10]
call fcn.1400bdad0
movups xmm0, xmmword [rbx + 0x1b8]
movups xmmword [rbp + 0x128], xmm0
mov rax, qword [rbx + 0x1c8]
mov qword [rbp + 0x138], rax
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400f0922
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400f0a67
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400f0910
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
mov ecx, 0x208
call fcn.140062870
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.14014cae0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x38]
call fcn.1400bd620
lea rdx, [rbp + 0x10]
lea rcx, [rdi + 0xd8]
call fcn.1400bdad0
movups xmm0, xmmword [rbp + 0x128]
movups xmmword [rdi + 0x1f0], xmm0
mov rax, qword [rbp + 0x138]
mov qword [rdi + 0x200], rax
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400f0a35
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.14014cae0
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0xf8]
call fcn.1400c0650
lea rcx, [rbp - 0x20]
call fcn.1400c0650
lea r11, [rsp + 0x260]
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 0x1400f0922
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400e80d0
nop
nop
jmp 0x1400f0a35
Function at 0x1400f5680
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x68], rbx
mov rdi, rcx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x30], r15
call fcn.14018e9e0
mov rbx, qword [rdi + 0x28]
cmp rbx, 0xffffffffffffffff
je 0x1400f56ce
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_shutdown]
mov ebx, eax
call fcn.14018e9e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x1400f56d3
call fcn.14018e9e0
xor r15d, r15d
cmp qword [rdi + 0x28], 0xffffffffffffffff
je 0x1400f57b7
mov rcx, qword [rdi + 0x88]
xor eax, eax
lock cmpxchg qword [rcx + 0x38], r15
je 0x1400f5705
mov rdx, qword [rdi + 0x28]
lea r8, [rdi + 0x48]
mov r9b, 1
mov rcx, rax
call fcn.140134830
mov rsi, qword [rdi + 0x28]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x38], r14
cmp rsi, 0xffffffffffffffff
je 0x1400f57a6
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 fcn.14018e9e0
mov r14, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
test ebx, ebx
je 0x1400f57a6
call fcn.14018e9e0
cmp r14, rax
jne 0x1400f5756
cmp ebp, 0x2733
je 0x1400f5768
call fcn.14018e9e0
cmp r14, rax
jne 0x1400f57ab
cmp ebp, 0x4d5
jne 0x1400f57ab
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rdi + 0x30], 0xfc
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 fcn.14018e9e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x1400f57ab
call fcn.14018e9e0
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
jmp 0x1400f57bc
call fcn.14018e9e0
mov byte [rdi + 0x30], r15b
mov rsi, 0xffffffffffffffff
mov qword [rdi + 0x28], rsi
mov rbx, qword [rdi + 0x40]
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], r15
mov r15, qword [rsp + 0x30]
test rbx, rbx
je 0x1400f5808
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400f5808
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400f5808
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
call fcn.14018e9e0
mov rcx, qword [rdi + 0xa0]
lea rdx, [rdi + 0x90]
call fcn.14015c170
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
test al, al
je 0x1400f586d
mov rax, qword [rdi + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x1400f5847
lock inc dword [rax + 8]
mov rcx, qword [rdi + 0x90]
lea rdx, [rsp + 0x20]
mov rax, qword [rdi + 0x98]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx + 0x18]
call fcn.140132e50
add rsp, 0x50
pop rdi
ret
Function at 0x1400f62f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x368], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bb720
lea rdx, [rbx + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.14010a5b0
nop
lea rsi, [rdi + 8]
mov r14, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400f6372
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400f64b0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400f6360
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x40]
mov ecx, 0x418
call fcn.140062870
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400e4a10]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x38]
call fcn.1400bb720
lea rcx, [rdi + 0xe8]
lea rdx, [rbp + 0x20]
call fcn.14010a5b0
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140156110
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x1400f6469
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400e4a10
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x2d8]
call fcn.1400c11c0
lea rcx, [rbp + 0x110]
call fcn.1400c11c0
lea rcx, [rbp - 0x40]
call fcn.1400c11c0
mov rcx, qword [rbp + 0x368]
xor rcx, rsp
call fcn.1402806f0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400f6372
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d2a40
nop
nop
jmp 0x1400f6469
Function at 0x1400f9500
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 - 0x2b0]
sub rsp, 0x3b0
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bc540
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400f9562
nop dword [rax]
cmp qword [rax], rbx
je 0x1400f9670
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400f9550
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x18]
mov ecx, 0x1c0
call fcn.140062870
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14014a7b0]
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 + 0x70]
call fcn.1400bc540
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x1400f9649
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14014a7b0
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x70]
call fcn.1400c4bd0
lea r11, [rsp + 0x3b0]
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 0x1400f9562
nop
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x100], rax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400f9698
lock inc dword [rcx + 8]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x118]
call fcn.1400bc540
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x28]
call fcn.1400eeab0
nop
lea rcx, [rbp + 0x118]
call fcn.1400c4bd0
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1400f971d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f971d
mov rbx, qword [rbp + 0x110]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400f971d
mov rcx, qword [rbp + 0x110]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
nop
jmp 0x1400f9649
Function at 0x1400fb690
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x758], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400e17e0
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400fb6f9
cmp qword [rax], rbx
je 0x1400fb826
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400fb6e7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x70]
mov ecx, 0x3b8
call fcn.140062870
mov rbx, rax
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.140107070]
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 + 0x70]
call fcn.1400e17e0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
test al, al
je 0x1400fb7ea
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.140107070
nop
lea rcx, [rsp + 0x50]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x188]
call fcn.1400c4670
lea rcx, [rbp - 0x68]
call fcn.1400c4670
mov rcx, qword [rbp + 0x758]
xor rcx, rsp
call fcn.1402806f0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400fb6f9
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x300]
call fcn.1400bd7a0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3d0]
call fcn.1400e17e0
nop
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 8]
call fcn.140101e20
nop
lea rcx, [rbp + 0x5e8]
call fcn.1400c4670
lea rcx, [rbp + 0x3f8]
call fcn.1400c4670
lea rcx, [rbp + 0x300]
call fcn.1400c5160
nop
nop
jmp 0x1400fb7ea
Function at 0x1400feb40
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 - 0x300]
sub rsp, 0x400
mov rbx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400bcca0
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400feba2
nop dword [rax]
cmp qword [rax], rbx
je 0x1400fecb0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400feb90
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x18]
mov ecx, 0x1e8
call fcn.140062870
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14014c7d0]
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 + 0x70]
call fcn.1400bcca0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x1400fec89
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
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 [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14014c7d0
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x70]
call fcn.1400c4e50
lea r11, [rsp + 0x400]
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 0x1400feba2
nop
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x130], rax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400fecd8
lock inc dword [rcx + 8]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x148]
call fcn.1400bcca0
nop
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x28]
call fcn.1400cdf00
nop
lea rcx, [rbp + 0x148]
call fcn.1400c4e50
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x1400fed5d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400fed5d
mov rbx, qword [rbp + 0x140]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400fed5d
mov rcx, qword [rbp + 0x140]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
nop
jmp 0x1400fec89