joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c04c0
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 0x1400c0514
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 0x1400c0514
cmp qword [rax], rbx
je 0x1400c052f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c0506
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c05aa
mov rdx, qword [rax + 8]
jmp 0x1400c05ad
cmp qword [rax + 8], rdi
je 0x1400c0514
mov rcx, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
nop
mov rcx, qword [rcx + 0x20]
call fcn.14010bcd0
nop
test rbx, rbx
je 0x1400c0585
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0585
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0585
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c0628
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, [0x140110130]
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 0x1400c0640
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 rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 8]
xor r14d, r14d
test al, 1
jne 0x1400c069e
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, r14
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c069e
nop
cmp qword [rax], rbx
je 0x1400c06bc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c0690
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0795
mov rdx, qword [rax + 8]
jmp 0x1400c0798
cmp qword [rax + 8], r14
je 0x1400c069e
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x30], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsi + 0x20]
mov qword [rsp + 0x40], rdi
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
nop
lea rcx, [rsp + 0x20]
call fcn.1400f45a0
nop
mov esi, 0xffffffff
test rdi, rdi
je 0x1400c073d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c073d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400c073d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test rbx, rbx
je 0x1400c0769
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0769
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400c0769
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c0834
mov rdx, r14
mov r9d, 8
mov r8d, 0x68
movzx ecx, byte [rsp + 0x60]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], r14
lea rax, [0x1401101d0]
mov qword [rdx + 0x28], rax
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], r14
mov dword [rdx + 0x30], r14d
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x40], r14
mov qword [rdx + 0x48], r14
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov qword [rdx + 0x50], r14
mov qword [rdx + 0x58], r14
mov rax, qword [rsi + 0x18]
mov qword [rdx + 0x50], rax
mov rax, qword [rsi + 0x20]
mov qword [rdx + 0x58], rax
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
mov rax, qword [rdi + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
nop
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400c0850
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 0x1400c08a4
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 0x1400c08a4
cmp qword [rax], rbx
je 0x1400c08c2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c0896
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0947
mov rdx, qword [rax + 8]
jmp 0x1400c094a
cmp qword [rax + 8], rdi
je 0x1400c08a4
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x50], rbx
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
nop
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [r14 + 0x68], eax
je 0x1400c08f0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [r14 + 0x68], eax
nop
test rbx, rbx
je 0x1400c0922
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0922
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0922
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c09bc
mov rdx, rdi
mov r9d, 8
mov r8d, 0x50
movzx ecx, byte [rsp + 0x40]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], rdi
lea rax, [0x140110320]
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 qword [rdx + 0x38], rdi
mov qword [rdx + 0x40], rdi
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov qword [rsi], rdi
mov qword [rsi + 8], 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 0x1400c09d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c0b4b
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400c0a3e
lea rcx, [0x1400b38d0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call rax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rbp, qword [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400d2a30
mov r14, rax
mov qword [rsp + 0x130], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
test rax, rax
je 0x1400c0a70
mov rdx, qword [rax + 8]
jmp 0x1400c0a73
mov rdx, rbx
mov r9d, 8
mov r8d, 0xd0
movzx ecx, byte [rsp + 0x120]
call fcn.1400aa770
mov rdi, rax
mov rcx, qword [r14]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rcx, qword [r14 + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [r14 + 0x10]
mov qword [rax + 0x18], rcx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
lea rcx, [rax + 0x20]
lea rdx, [r14 + 0x18]
call fcn.1400d46c0
movups xmm0, xmmword [r14 + 0xb0]
movups xmmword [rdi + 0xb8], xmm0
lea rax, [0x1400b38f0]
mov qword [rdi], rax
mov qword [rsp + 0x120], rdi
lea rcx, [r14 + 0x18]
call fcn.1400df840
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x1400c0b23
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0b23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0b23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rsp + 0x120]
mov rcx, rsi
call rbp
nop
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x1400c0b46
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400c0a26
lea rcx, [rsp + 0x20]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x20]
call fcn.1400d01d0
int3
Function at 0x1400c0b70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c0d65
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400c0bde
lea rcx, [0x1400b4350]
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rsi
call rax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 9], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 1], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp + 7], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp + 0xf], rax
xor ebx, ebx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
mov rax, qword [rdx + 0x20]
mov qword [rbp + 0x17], rax
mov rax, qword [rdx + 0x28]
mov qword [rbp + 0x1f], rax
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], rbx
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rbp + 0x27], xmm0
movsd xmm1, qword [rdx + 0x40]
movsd qword [rbp + 0x37], xmm1
lea rax, [rbp - 9]
mov qword [rbp + 0x77], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0c54
mov rdx, qword [rax + 8]
jmp 0x1400c0c57
mov rdx, rbx
mov r9d, 8
mov r8d, 0x58
movzx ecx, byte [rbp + 0x67]
call fcn.1400aa770
mov rdx, rax
mov rcx, qword [rbp - 9]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 1]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov rcx, qword [rbp + 7]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0xf]
mov qword [rax + 0x20], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov rax, qword [rbp + 0x17]
mov qword [rdx + 0x28], rax
mov rax, qword [rbp + 0x1f]
mov qword [rdx + 0x30], rax
movdqu xmmword [rbp + 0x17], xmm0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rdx + 0x38], xmm0
movsd xmm1, qword [rbp + 0x37]
movsd qword [rdx + 0x48], xmm1
lea rax, [0x1400b4370]
mov qword [rdx], rax
mov qword [rbp + 0x67], rdx
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x1f]
test rbx, rbx
je 0x1400c0d13
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0d13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400c0d13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x1400c0d44
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0d44
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0d44
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x67]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x1400c0d60
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400c0bc6
lea rcx, [rbp - 0x29]
call fcn.1400d7910
nop
lea rcx, [rbp - 0x29]
call fcn.1400d01d0
int3
Function at 0x1400c0d80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c0f6f
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400c0dee
lea rcx, [0x1400b45a0]
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rsi
call rax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 9], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 1], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp + 7], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp + 0xf], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp + 0x17], rax
xor ebx, ebx
mov qword [rdx + 0x18], rbx
mov qword [rdx + 0x20], rbx
movzx eax, byte [rdx + 0x28]
mov byte [rbp + 0x1f], al
mov byte [rdx + 0x28], bl
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rbp + 0x27], xmm0
movsd xmm1, qword [rdx + 0x40]
movsd qword [rbp + 0x37], xmm1
lea rax, [rbp - 9]
mov qword [rbp + 0x77], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c0e5e
mov rdx, qword [rax + 8]
jmp 0x1400c0e61
mov rdx, rbx
mov r9d, 8
mov r8d, 0x58
movzx ecx, byte [rbp + 0x67]
call fcn.1400aa770
mov rdx, rax
mov rcx, qword [rbp - 9]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 1]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 7]
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov rcx, qword [rbp + 0xf]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0x17]
mov qword [rdx + 0x28], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
movzx eax, byte [rbp + 0x1f]
mov byte [rdx + 0x30], al
mov byte [rbp + 0x1f], 0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rdx + 0x38], xmm0
movsd xmm1, qword [rbp + 0x37]
movsd qword [rdx + 0x48], xmm1
lea rax, [0x1400b45c0]
mov qword [rdx], rax
mov qword [rbp + 0x67], rdx
movzx edx, byte [rbp + 0x1f]
test dl, dl
je 0x1400c0f18
mov rax, qword [rbp + 7]
lea rcx, [rax + 0x58]
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x21], rax
mov rax, qword [rbp + 0x17]
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 0x11], dl
mov byte [rbp + 0x1f], 0
lea rdx, [rbp - 0x29]
call fcn.1400c9ba0
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x1400c0f4e
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c0f4e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c0f4e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x67]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x1400c0f6a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400c0dd6
lea rcx, [rbp - 0x29]
call fcn.1400d7910
nop
lea rcx, [rbp - 0x29]
call fcn.1400d01d0
int3
Function at 0x1400c11b0
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 rbx, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor esi, esi
test al, 1
jne 0x1400c1212
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rdi, [rax + 0x28]
test rax, rax
cmove rdi, rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c1212
nop
cmp qword [rax], rdi
je 0x1400c12bf
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c1200
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x408], eax
test eax, eax
je 0x1400c1231
mov ecx, 0x68
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rsi
lea rax, [0x1401103d0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rcx, qword [rbx]
mov qword [rdx + 0x38], rcx
mov rax, qword [rbx + 8]
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rsi
mov qword [rdx + 0x50], rsi
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rdx + 0x50], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov rax, qword [rbx + 0x20]
mov qword [rdx + 0x58], rax
mov rax, qword [r14]
mov qword [rdx + 0x60], rax
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
cmp qword [rax + 8], rsi
je 0x1400c1212
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x40], rax
nop
lea rcx, [rsp + 0x20]
call fcn.140088930
nop
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c1347
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c1347
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 0x1400c1347
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c12a9
Function at 0x1400c15d0
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, 0xd0
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x1400c1633
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 0x1400c1633
cmp qword [rax], rbx
je 0x1400c16c7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c1621
mov rbx, qword [rsi]
mov eax, 1
xchg dword [rbx + 0x408], eax
test eax, eax
je 0x1400c1652
mov ecx, 0xd8
call fcn.1401ae1f0
mov rbx, rax
mov qword [rbx + 0x20], rdi
lea rax, [0x1401105e0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x30], edi
mov rcx, qword [r14]
mov qword [rbx + 0x38], rcx
lea rdx, [r14 + 8]
lea rcx, [rbx + 0x40]
call fcn.1400d1e30
mov rax, qword [rsi]
mov qword [rbx + 0xd0], rax
mov rax, qword [rsi + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rbx
call fcn.1401257a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], rdi
je 0x1400c1633
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x28]
call fcn.1400d1e30
nop
nop
lea rcx, [rsp + 0x28]
call fcn.1400eee50
nop
nop
lea rcx, [rsp + 0x50]
call fcn.1400e0200
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c173c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c173c
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c173c
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c16ad
Function at 0x1400c1750
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, 0x60
mov rbx, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x1400c17b2
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0x28]
test rax, rax
cmove rsi, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c17b2
nop
cmp qword [rax], rsi
je 0x1400c1878
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c17a0
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x408], eax
test eax, eax
je 0x1400c17d1
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rdi
lea rax, [0x140110970]
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 [rbx]
mov qword [rdx + 0x38], rcx
mov rax, qword [rbx + 8]
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rdi
mov qword [rdx + 0x50], rdi
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rdx + 0x50], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov qword [rdx + 0x58], rdi
mov qword [rdx + 0x60], rdi
mov rax, qword [rbx + 0x20]
mov qword [rdx + 0x58], rax
mov rax, qword [rbx + 0x28]
mov qword [rdx + 0x60], rax
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
mov rax, qword [r14]
mov qword [rdx + 0x68], rax
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], rdi
je 0x1400c17b2
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
nop
lea rcx, [rsp + 0x28]
call fcn.1400ef400
nop
nop
mov rcx, qword [rsp + 0x48]
mov edi, 0xffffffff
test rcx, rcx
je 0x1400c1913
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c1913
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400c1913
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c194b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c194b
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 0x1400c194b
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c1861