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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x44], r9d
mov r14, r8
mov rbp, rdx
mov qword [rsp + 0x48], rcx
mov rsi, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
mov qword [rsp + 0x78], rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x1400af208
mov rdx, qword [rax + 8]
jmp 0x1400af20b
mov rdx, r15
mov r9d, 8
mov r8d, 0x150
movzx ecx, byte [rsp + 0x40]
call fcn.1400aa650
mov rbx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r15
mov rax, qword [rbp + 0x18]
mov rdi, r15
mov rcx, r15
test rax, rax
je 0x1400af24e
mov rcx, qword [rbp + 0x10]
mov rdi, rax
lock inc dword [rax + 0xc]
mov qword [rbx + 0x20], r15
lea rax, [0x1401193d0]
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
mov qword [rbx + 0x38], r15
mov qword [rbx + 0x40], r15
test rdi, rdi
je 0x1400af289
mov qword [rbx + 0x38], rcx
mov qword [rbx + 0x40], rdi
lock inc dword [rdi + 0xc]
movups xmm0, xmmword [r14]
movups xmmword [rbx + 0x48], xmm0
mov rax, qword [rsi + 8]
mov qword [rbx + 0x60], rax
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x68], xmm0
movsd xmm1, qword [rsi + 0x20]
movsd qword [rbx + 0x78], xmm1
mov eax, dword [rsi + 0x28]
mov dword [rbx + 0x80], eax
lea rdx, [rsi + 0x30]
lea rcx, [rbx + 0x88]
call fcn.1400d5180
mov r9, r12
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0xe0]
call fcn.1400d4c90
nop
cmp qword [rbx + 0xb0], 0
je 0x1400af318
mov rcx, qword [rbx + 0xa8]
mov qword [rsp + 0xa8], rcx
mov rax, qword [rbx + 0xb8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx + 8]
lea rdx, [rbx + 0x90]
lea rcx, [rsp + 0x90]
call rax
jmp 0x1400af330
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], 0
mov rax, qword [rbx + 0xc0]
mov qword [rsp + 0xc0], rax
cmp qword [rbx + 0x100], 0
setne dl
mov r9, r12
lea r8, [rsp + 0x90]
lea rcx, [rbx + 0x118]
call fcn.1400d4af0
nop
cmp qword [rsp + 0xb0], 0
je 0x1400af383
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax]
lea rcx, [rsp + 0x90]
call rdx
nop
test rdi, rdi
je 0x1400af3a0
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400af3a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [r14]
movq qword [rsp + 0x58], xmm0
movq xmm0, qword [r14 + 8]
movd dword [rsp + 0x50], xmm0
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rax
test byte [rbp + 8], 0x10
je 0x1400af3ce
test rax, rax
jne 0x1400af3ce
mov al, 1
jmp 0x1400af3d0
xor eax, eax
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, 1
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, qword [rsp + 0x48]
call fcn.140132700
nop
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400afc60
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], r8
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r13d, r13d
test rax, rax
je 0x1400afcb1
mov rdx, qword [rax + 8]
jmp 0x1400afcb4
mov rdx, r13
mov r9d, 8
mov r8d, 0x108
movzx ecx, byte [rsp + 0x30]
call fcn.1400aa650
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r13
mov qword [rax + 0x20], r13
lea rax, [0x140115e10]
mov qword [rdi + 0x28], rax
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov dword [rdi + 0x30], r13d
mov dword [rdi + 0x38], r13d
lea rax, [0x1403275b8]
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], r13
mov rdx, r14
lea rcx, [rdi + 0x50]
call fcn.1400d7820
mov rax, qword [r14 + 0x30]
mov qword [rdi + 0x80], rax
lea rax, [0x14020a7c0]
mov qword [r14 + 0x30], rax
mov qword [rdi + 0x88], r13
mov qword [rdi + 0x90], r13
mov rax, qword [r14 + 0x38]
mov qword [rdi + 0x88], rax
mov rax, qword [r14 + 0x40]
mov qword [rdi + 0x90], rax
mov qword [r14 + 0x38], r13
mov qword [r14 + 0x40], r13
mov r9, r15
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x98]
call fcn.1400d4c90
nop
cmp qword [rdi + 0x70], 0
je 0x1400afd99
mov rcx, qword [rdi + 0x68]
mov qword [rsp + 0x68], rcx
mov rax, qword [rdi + 0x78]
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 8]
lea rdx, [rdi + 0x50]
lea rcx, [rsp + 0x50]
call rax
jmp 0x1400afda7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov rax, qword [rdi + 0x80]
mov qword [rsp + 0x80], rax
cmp qword [rdi + 0xb8], 0
setne dl
mov r9, r15
lea r8, [rsp + 0x50]
lea rcx, [rdi + 0xd0]
call fcn.1400d4af0
nop
cmp qword [rsp + 0x70], 0
je 0x1400afdee
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call rdx
nop
mov qword [rsp + 0x48], rdi
mov byte [rsi + 8], 1
lea r9, [rsi + 0x10]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rcx, qword [rbp + 0x58]
call fcn.1400cfd10
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401ae6a0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b6a60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rbx, rdx
xor edi, edi
cmp qword [rcx + 0x20], rdi
jne 0x1400b6ab2
cmp qword [rcx + 0x58], rdi
jne 0x1400b6ab2
movups xmm0, xmmword [rdx + 0x1d8]
movaps xmmword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400fcb20
mov rbx, qword [rsp + 0x258]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
lea rsi, [rcx + 0x38]
cmp qword [rsi + 0x20], rdi
je 0x1400b6c02
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400b6af5
lea rcx, [0x1400b4e10]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call rax
jmp 0x1400b6a9f
mov rbp, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400d5d30
movups xmm0, xmmword [rbx + 0x1d8]
movups xmmword [rsp + 0x218], xmm0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x268], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b6b34
mov rdi, qword [rax + 8]
mov r9d, 8
mov r8d, 0x1f8
mov rdx, rdi
movzx ecx, byte [rsp + 0x250]
call fcn.1400aa770
mov rdi, rax
lea rdx, [rsp + 0x40]
lea rcx, [rax + 8]
call fcn.1400d5d30
movups xmm0, xmmword [rsp + 0x218]
movups xmmword [rdi + 0x1e0], xmm0
lea rax, [0x1400b4e40]
mov qword [rdi], rax
mov qword [rsp + 0x250], rdi
cmp byte [rsp + 0x1f0], 0
je 0x1400b6bad
cmp qword [rsp + 0x1d8], 0
je 0x1400b6bad
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1b8]
call rdx
nop
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400b6bcf
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400b6bcf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.1400ddf00
nop
lea rdx, [rsp + 0x250]
mov rcx, rsi
call rbp
nop
mov rcx, qword [rsp + 0x250]
test rcx, rcx
je 0x1400b6bfd
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400b6a9f
lea rcx, [rsp + 0x20]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x20]
call fcn.1400d01d0
int3
Function at 0x1400b6c20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, rdx
cmp qword [rcx + 0x20], 0
jne 0x1400b6c71
cmp qword [rcx + 0x58], 0
jne 0x1400b6c71
movups xmm0, xmmword [rdx + 0x48]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400fd080
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rbp, [rcx + 0x38]
cmp qword [rbp + 0x20], 0
je 0x1400b6dbd
mov rcx, qword [rbp + 0x28]
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x1400b6cb6
lea rcx, [0x1400b6de0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call r8
jmp 0x1400b6c5a
mov r14, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400d2aa0
mov rsi, rax
mov qword [rsp + 0xe8], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x1400b6ce9
mov rdx, qword [rax + 8]
jmp 0x1400b6cec
mov rdx, r15
mov r9d, 8
mov r8d, 0x68
movzx ecx, byte [rsp + 0xd0]
call fcn.1400aa770
mov rdi, rax
mov rdx, rsi
lea rcx, [rax + 8]
call fcn.1400d7820
mov rcx, qword [rsi + 0x30]
mov qword [rdi + 0x38], rcx
lea rax, [0x14020a7c0]
mov qword [rsi + 0x30], rax
mov qword [rdi + 0x40], r15
mov qword [rdi + 0x48], r15
mov rax, qword [rsi + 0x38]
mov qword [rdi + 0x40], rax
mov rax, qword [rsi + 0x40]
mov qword [rdi + 0x48], rax
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], r15
movups xmm0, xmmword [rsi + 0x48]
movups xmmword [rdi + 0x50], xmm0
lea rax, [0x1400b6e00]
mov qword [rdi], rax
mov qword [rsp + 0xd0], rdi
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x1400b6d80
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400b6d80
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
cmp qword [rsi + 0x20], 0
je 0x1400b6d94
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax]
mov rcx, rsi
call rdx
nop
lea rdx, [rsp + 0xd0]
mov rcx, rbp
call r14
nop
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1400b6db8
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400b6c5a
lea rcx, [rsp + 0x20]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x20]
call fcn.1400d01d0
int3
Function at 0x1400b70d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov r9, rdx
mov rsi, rcx
cmp qword [rcx + 0x20], 0
jne 0x1400b7143
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rdx + 0x68]
test rax, rax
je 0x1400b7108
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rdx + 0x50]
movaps xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.1400f05d0
jmp 0x1400b7249
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400b717b
lea rcx, [0x1400b7270]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], r9
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call rax
jmp 0x1400b7249
mov r14, qword [rcx + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400d2b80
mov rbp, rax
mov qword [rsp + 0xf8], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b71ab
mov rdx, qword [rax + 8]
jmp 0x1400b71ad
xor edx, edx
mov r9d, 8
mov r8d, 0x88
movzx ecx, byte [rsp + 0xe0]
call fcn.1400aa770
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, rbp
call fcn.1400d2b80
lea rax, [0x1400b72d0]
mov qword [rbx], rax
mov qword [rsp + 0xe0], rbx
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x1400b721c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b721c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b721c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rbp
call fcn.1400dcad0
nop
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call r14
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1400b7249
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b7cc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1d0
mov rbx, rdx
cmp qword [rcx + 0x20], 0
jne 0x1400b7d16
cmp qword [rcx + 0x58], 0
jne 0x1400b7d16
movups xmm0, xmmword [rdx + 0x170]
movaps xmmword [rsp + 0x20], xmm0
mov r9b, 1
mov r8, qword [rdx + 0x180]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400fa070
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret
lea rsi, [rcx + 0x38]
cmp qword [rsi + 0x20], 0
je 0x1400b7e5b
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400b7d5a
lea rcx, [0x1400b7e80]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call rax
jmp 0x1400b7d03
mov rbp, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400d5840
movups xmm0, xmmword [rbx + 0x170]
movups xmmword [rsp + 0x1b0], xmm0
mov rax, qword [rbx + 0x180]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x208], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7daa
mov rdx, qword [rax + 8]
jmp 0x1400b7dac
xor edx, edx
mov r9d, 8
mov r8d, 0x198
movzx ecx, byte [rsp + 0x1f0]
call fcn.1400aa770
mov rdi, rax
lea rdx, [rsp + 0x40]
lea rcx, [rax + 8]
call fcn.1400d5840
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rdi + 0x178], xmm0
mov rcx, qword [rsp + 0x1c0]
mov qword [rdi + 0x188], rcx
lea rax, [0x1400b7eb0]
mov qword [rdi], rax
mov qword [rsp + 0x1f0], rdi
mov rcx, qword [rsp + 0x158]
test rcx, rcx
je 0x1400b7e28
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400b7e28
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x40]
call fcn.1400ddf00
nop
lea rdx, [rsp + 0x1f0]
mov rcx, rsi
call rbp
nop
mov rcx, qword [rsp + 0x1f0]
test rcx, rcx
je 0x1400b7e56
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400b7d03
lea rcx, [rsp + 0x20]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x20]
call fcn.1400d01d0
int3
Function at 0x1400bfec0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x1400bff14
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bff14
cmp qword [rax], rbx
je 0x1400bff32
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400bff06
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bffba
mov rdx, qword [rax + 8]
jmp 0x1400bffbd
cmp qword [rax + 8], rdi
je 0x1400bff14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
nop
mov rdi, qword [rax + 0x48]
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 0x68], eax
je 0x1400bff63
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rdi + 0x68], eax
nop
test rbx, rbx
je 0x1400bff95
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bff95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400bff95
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c0038
mov rdx, rdi
mov r9d, 8
mov r8d, 0x58
movzx ecx, byte [rsp + 0x40]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], rdi
lea rax, [0x14010fe40]
mov qword [rdx + 0x28], rax
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x30], edi
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x40], rdi
mov qword [rdx + 0x48], rdi
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400c0050
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x50
mov rdi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor ebx, ebx
test al, 1
jne 0x1400c00ae
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0x28]
test rax, rax
cmove rsi, rbx
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c00ae
nop
cmp qword [rax], rsi
je 0x1400c00cc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c00a0
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0164
mov rdx, qword [rax + 8]
jmp 0x1400c0167
cmp qword [rax + 8], rbx
je 0x1400c00ae
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
nop
lea rcx, [rsp + 0x20]
call fcn.1400f37f0
nop
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c0147
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c0147
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0147
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c01e9
mov rdx, rbx
mov r9d, 8
mov r8d, 0x60
movzx ecx, byte [rsp + 0x60]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], rbx
lea rax, [0x14010fef0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rbx
mov dword [rdx + 0x30], ebx
mov rcx, qword [rdi]
mov qword [rdx + 0x38], rcx
mov rcx, qword [rdi + 8]
mov qword [rdx + 0x40], rcx
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rbx
mov rax, qword [rdi + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x50], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400c0200
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x40
mov rdi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor ebx, ebx
test al, 1
jne 0x1400c025e
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0x28]
test rax, rax
cmove rsi, rbx
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c025e
nop
cmp qword [rax], rsi
je 0x1400c027c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c0250
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0313
mov rdx, qword [rax + 8]
jmp 0x1400c0316
cmp qword [rax + 8], rbx
je 0x1400c025e
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
nop
lea rcx, [rsp + 0x20]
call fcn.1400f59f0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c02f6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c02f6
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c02f6
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c0399
mov rdx, rbx
mov r9d, 8
mov r8d, 0x60
movzx ecx, byte [rsp + 0x50]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], rbx
lea rax, [0x14010ffc0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rbx
mov dword [rdx + 0x30], ebx
mov rcx, qword [rdi]
mov qword [rdx + 0x38], rcx
mov rcx, qword [rdi + 8]
mov qword [rdx + 0x40], rcx
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rbx
mov rax, qword [rdi + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x50], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
nop
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400c03b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x1400c0404
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0404
cmp qword [rax], rbx
je 0x1400c041b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c03f6
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0446
mov rdx, qword [rax + 8]
jmp 0x1400c0449
cmp qword [rax + 8], rdi
je 0x1400c0404
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
nop
lea rcx, [rsp + 0x60]
call fcn.1400f3f20
nop
nop
jmp 0x1400c04a4
mov rdx, rdi
mov r9d, 8
mov r8d, 0x48
movzx ecx, byte [rsp + 0x50]
call fcn.1400aa650
mov qword [rax + 0x20], rdi
lea rcx, [0x140110090]
mov qword [rax + 0x28], rcx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], rdi
mov dword [rax + 0x30], edi
mov rcx, qword [r14]
mov qword [rax + 0x38], rcx
mov rcx, qword [rsi + 8]
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1401257a0
nop
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret