joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b0370
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x120
mov rdi, rdx
mov rsi, rcx
mov rbp, qword [rdx + 0x10]
mov r8, rdx
mov r15, qword [rdx + 0x18]
cmp r15, 0xf
jbe 0x1400b03a5
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rbp, rbp
je 0x1400b03d4
movabs r9, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rbp
jb 0x1400b03c0
mov rcx, qword [0x1401460e0]
and rcx, rdx
add rcx, rcx
mov rax, qword [0x1401460c8]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x1401460b8]
je 0x1400b043a
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400b0412
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x1400b041e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x1400b042f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b043c
cmp rbx, r14
je 0x1400b043a
mov rbx, qword [rbx + 8]
jmp 0x1400b0400
xor ebx, ebx
mov rdx, qword [0x1401460b8]
test rbx, rbx
cmovne rdx, rbx
cmp rdx, qword [0x1401460b8]
je 0x1400b0464
add rdx, 0x30
mov rcx, rsi
call fcn.140093210
jmp 0x1400b055d
mov rcx, rdi
call fcn.1400c3a60
test al, al
je 0x1400b0480
mov rdx, rdi
mov rcx, rsi
call fcn.140093210
jmp 0x1400b055d
cmp dword [0x140140580], 2
jg 0x1400b051c
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140093160
mov eax, 2
mov dword [rsp + 0x110], eax
mov ecx, dword [0x140140580]
cmp ecx, eax
jg 0x1400b04d0
lea rdx, str.Unable_to_interpret_mime_type_for_content_type_
lea rcx, [rsp + 0x28]
call fcn.14007b3b0
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400b0512
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400b04e2
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140086320
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400b0512
lea rdx, str.._Defaulting_to_text_plain.
lea rcx, [rsp + 0x28]
call fcn.14007b3b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400995c0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
mov qword [rsi + 0x10], 0xa
mov qword [rsi + 0x18], reloc.WSOCK32.dll_ntohs
movsd xmm0, qword [str.text_plain]
movsd qword [rsi], xmm0
movzx eax, word [0x14010f658]
mov word [rsi + 8], ax
mov byte [rsi + 0xa], 0
mov rax, rsi
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400b5680
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x68]
xor eax, eax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r8d, 1
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x68], eax
call qword [sym.imp.WS2_32.dll_WSASend]
call fcn.1400b0a10
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x1400b56e0
cmp eax, 0x4d2
jne 0x1400b56e5
call fcn.1400b0a10
add rsp, 0x58
ret

Function at 0x1400b5960
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rbx, rcx
mov rax, qword [rcx + 8]
mov r9d, 0xffffffff
mov ecx, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x140146114], eax
test eax, eax
mov rax, qword [rbx + 8]
je 0x1400b59c1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
xor r8d, r8d
lea rcx, [fcn.14008a460]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x1400b5b20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, 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 rcx, 0xffffffffffffffff
jne 0x1400b5b79
mov esi, 0x2719
mov dword [rsp + 0x20], esi
call fcn.1400b0a10
mov qword [rsp + 0x28], rax
jmp 0x1400b5c1b
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x38]
call qword [sym.imp.WSOCK32.dll_getsockname]
movsxd rcx, dword [rsp + 0x30]
test eax, eax
jne 0x1400b5bf2
mov dword [rsp + 0x20], ebp
lea rax, [0x1401405e8]
mov qword [rsp + 0x28], rax
cmp rcx, 0x80
ja 0x1400b5c3e
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
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140105ae0
mov rbp, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x90], rbx
call fcn.1400b0a10
mov rbx, rax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov esi, eax
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x20], eax
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
test esi, esi
jne 0x1400b5c66
jmp 0x1400b5bd1
mov dword [rsp + 0x20], 0x2726
call fcn.1400b0a10
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400aba70
int3
lea rdx, str.local_endpoint
lea rcx, [rsp + 0x20]
call fcn.1400abaa0
int3
Function at 0x1400b73f0
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, 0x50
mov rdi, rcx
mov rcx, qword [rcx + 0x320]
test rcx, rcx
je 0x1400b7523
mov rax, qword [rcx]
call qword [rax + select]
imul rax, qword [rdi + 0x2e0], 0xf4240
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x1f8]
call fcn.1400ae980
mov qword [rsp + 0x70], rdi
mov rsi, qword [rdi + 0x1f8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r14d, r14d
test rax, rax
je 0x1400b746c
mov rdx, qword [rax + 8]
jmp 0x1400b746f
mov rdx, r14
mov r9d, 8
mov r8d, 0x90
movzx ecx, byte [rsp + 0x70]
call fcn.140088a70
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r14
lea rax, [0x1400aa440]
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 dword [rbx + 0x38], r14d
lea rax, [0x1401405e8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r14
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x50], rax
lea rcx, [rbx + 0x58]
lea r9, [rdi + 0x238]
xor r8d, r8d
xor edx, edx
call fcn.140093bb0
mov qword [rsp + 0x40], rbx
mov byte [rdi + 0x208], 1
lea r9, [rdi + 0x210]
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [rdi + 0x200]
mov rcx, qword [rsi + 0x58]
call fcn.140090ea0
nop
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
Function at 0x1400b7be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400b7c0d
xor eax, eax
jmp 0x1400b7d76
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400b7c4d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400b7c4d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400b7d6e
cmp qword [rdi + 0x80], 0
je 0x1400b7d69
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400b7c87
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400b7cb2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400b7d6e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400b7d21
sub eax, 1
je 0x1400b7d21
cmp eax, 2
jne 0x1400b7d69
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400b7d6e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1400b7d4f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400b7d69
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1400b7d6e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105ae0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bbb50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x1400bbbad
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x1400bbba5
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bbba0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400bbba0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400bbbf7
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bbbe6
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bbbe6
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400bbc02
inc ecx
inc rax
cmp rax, 2
jl 0x1400bbbd4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x50]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret

Function at 0x1400bbc30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bbc5f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x1400bbc57
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bbca9
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bbc98
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bbc98
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400bbcb4
inc ecx
inc rax
cmp rax, 2
jl 0x1400bbc86
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bbd80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x1400bbddd
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x1400bbdd5
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bbdd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400bbdd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400bbe2a
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bbe19
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bbe19
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1400bbe35
inc ecx
inc rax
cmp rax, 6
jl 0x1400bbe07
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret

Function at 0x1400bbf00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x1400bbf5d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1400bbf55
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bbf50
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400bbf50
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400bbfaa
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bbf99
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bbf99
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1400bbfb5
inc ecx
inc rax
cmp rax, 6
jl 0x1400bbf87
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x38]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
Function at 0x1400bc080
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bc0a7
add rcx, 8
call fcn.1400980f0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bc0f4
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc0e3
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc0e3
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1400bc0ff
inc ecx
inc rax
cmp rax, 6
jl 0x1400bc0d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x88]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400bc130
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bc163
add rcx, 0x60
cmp qword [rcx + 0x20], 0
je 0x1400bc15b
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bc1b3
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc1a2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc1a2
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x1400bc1be
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc190
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x98]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bc1f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bc223
add rcx, 0x58
cmp qword [rcx + 0x20], 0
je 0x1400bc21b
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bc273
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc262
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc262
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x1400bc27e
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc250
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x90]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc2b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bc2e3
add rcx, 0x68
cmp qword [rcx + 0x20], 0
je 0x1400bc2db
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bc333
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc322
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc322
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x1400bc33e
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc310
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xa0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bc370
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1400bc3f1
lea rcx, [rdi + 0x1c8]
cmp qword [rcx + 0x20], 0
je 0x1400bc3a8
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov rbx, qword [rdi + 0x1b0]
test rbx, rbx
je 0x1400bc3e0
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bc3e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400bc3e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
lea rcx, [rdi + 0x48]
call fcn.140099cd0
mov qword [rbp + 0x10], 0
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400bc43b
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc42a
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc42a
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400bc450
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc418
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbp + 8], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x200]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x1400bc433
Function at 0x1400bc470
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400bc4fd
lea rcx, [rsi + 0x70]
cmp qword [rcx + 0x20], 0
je 0x1400bc4a5
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov rbx, qword [rsi + 0x68]
mov edi, 0xffffffff
test rbx, rbx
je 0x1400bc4dc
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bc4dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400bc4dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x1400bc4f5
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x1400bc4f5
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov qword [rbp + 0x10], 0
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400bc547
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc536
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc536
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400bc55c
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc524
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbp + 8], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xa8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x1400bc53f

Function at 0x1400bc570
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x1400bc5d0
lea rcx, [rbx + 0x1b0]
cmp qword [rcx + 0x20], 0
je 0x1400bc59e
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
lea rcx, [rbx + 0x150]
call fcn.1400980f0
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400bc5c8
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400bc5c8
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400bc61a
mov ecx, dword [0x140146110]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bc609
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400bc609
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400bc625
inc ecx
inc rax
cmp rax, 2
jl 0x1400bc5f7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1e8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret