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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1400e75c0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1400e75e8]
js 0x140032524
cvtsi2ss xmm0, rcx
jmp 0x140032539
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1400e75b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400a6714]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003256b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003256b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14003259d
cmp rbx, 0x200
jae 0x14003259a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003259d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x140032f60
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140032f91
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400e75b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400e75c8]
lea rdx, [rdi + rdi]
call fcn.140028870
mov rax, qword [0x1400e75b8]
lea r9, [rdi - 1]
mov qword [0x1400e75e0], r9
mov qword [0x1400e75e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140033104
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400e75c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140033050
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400330c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003308d
mov r10, qword [rdx]
cmp r10, rax
je 0x140033087
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400330c5
cmp r9, rdx
je 0x1400330a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400330d9
cmp r9, rdx
jne 0x140033092
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400330ff
mov r9, qword [0x1400e75e0]
jmp 0x140033001
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400330c5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140032f60
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1400e75c0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1400e75e8]
js 0x140032524
cvtsi2ss xmm0, rcx
jmp 0x140032539
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1400e75b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400a6714]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003256b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003256b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14003259d
cmp rbx, 0x200
jae 0x14003259a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003259d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x140032f60
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140032f91
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400e75b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400e75c8]
lea rdx, [rdi + rdi]
call fcn.140028870
mov rax, qword [0x1400e75b8]
lea r9, [rdi - 1]
mov qword [0x1400e75e0], r9
mov qword [0x1400e75e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140033104
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400e75c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140033050
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400330c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003308d
mov r10, qword [rdx]
cmp r10, rax
je 0x140033087
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400330c5
cmp r9, rdx
je 0x1400330a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400330d9
cmp r9, rdx
jne 0x140033092
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400330ff
mov r9, qword [0x1400e75e0]
jmp 0x140033001
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400330c5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140033610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov rcx, rax
mov qword [rsp + 0x28], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140033667
mov rdx, qword [rbx]
mov r8, rdx
mov rsi, rdx
jmp 0x14003366d
mov rsi, rbx
mov r8, rbx
mov rbp, qword [rbx + 0x10]
add rbp, r8
cmp rdx, rbp
je 0x1400336de
movabs r14, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov r12d, 0x9e3779b9
movzx ebx, byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.14002df60
movzx edx, bl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::ctype_char_::toupper_char_const___ptr64]
movzx ecx, al
xor rcx, r14
imul rcx, r15
mov rax, rdi
shl rax, 6
mov rdx, rdi
shr rdx, 2
add rcx, rax
lea rax, [rdx + r12]
add rcx, rax
xor rdi, rcx
inc rsi
cmp rsi, rbp
jne 0x140033693
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400336fc
mov rdx, qword [rcx]
call qword [rdx + select]
test rax, rax
je 0x1400336fc
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008cbe0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003a3f0
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 0x14003a44d
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x14003a445
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003a440
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14003a440
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14003a497
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003a486
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003a486
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14003a4a2
inc ecx
inc rax
cmp rax, 2
jl 0x14003a474
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 0x14003a5a0
Capabilities:
Get thread local storage value
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x40], r9d
mov rbp, r8
mov r15, rdx
mov rdi, rcx
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003a5fe
mov rdx, qword [rax + 8]
jmp 0x14003a600
xor edx, edx
mov r8d, 0xa8
call fcn.14002e690
mov rbx, rax
mov rax, qword [r15 + 0x18]
xor r8d, r8d
mov r14d, r8d
mov ecx, r8d
test rax, rax
je 0x14003a62b
mov rcx, qword [r15 + 0x10]
mov r14, rax
lock inc dword [rax + 0xc]
movzx eax, byte [r15 + 8]
mov qword [rbx + 0x20], r8
lea rdx, [0x14003b3b0]
mov qword [rbx + 0x28], rdx
mov qword [rbx], r8
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
mov dword [rbx + 0x30], r8d
mov byte [rbx + 0x38], al
mov qword [rbx + 0x40], r8
mov qword [rbx + 0x48], r8
test r14, r14
je 0x14003a66f
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x48], r14
lock inc dword [r14 + 0xc]
movups xmm0, xmmword [rbp]
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r8
mov qword [rbx + 0x68], r8
mov rax, qword [r12]
mov qword [rbx + 0x60], rax
mov rax, qword [r12 + 8]
mov qword [rbx + 0x68], rax
mov qword [r12], r8
mov qword [r12 + 8], r8
lea rcx, [rbx + 0x70]
mov r9, r13
call fcn.14003c4a0
test r14, r14
je 0x14003a6c3
mov eax, 0xffffffff
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x14003a6c3
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x48], xmm0
movq qword [rsp + 0x60], xmm0
movq xmm0, qword [rbp + 8]
movd dword [rsp + 0x58], xmm0
mov rax, qword [rbp + 8]
mov qword [rsp + 0x68], rax
test byte [r15 + 8], 0x10
je 0x14003a711
test rax, rax
jne 0x14003a711
mov rax, qword [rdi + 8]
lock inc dword [rax + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call fcn.140009a00
jmp 0x14003a7c9
mov rax, qword [rdi + 8]
lock inc dword [rax + 0x30]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
jne 0x14003a73c
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rbx
mov rcx, qword [rdi + 8]
call fcn.140009a00
jmp 0x14003a7c9
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 1
lea rdx, [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x14003a78e
mov eax, 0x2746
jmp 0x14003a79b
mov ecx, 0x274d
cmp eax, 0x4d2
cmove eax, ecx
test esi, esi
je 0x14003a7bc
cmp eax, 0x3e5
je 0x14003a7bc
mov r9d, dword [rsp + 0x48]
mov r8d, eax
mov rdx, rbx
mov rcx, qword [rdi + 8]
call fcn.140009a00
jmp 0x14003a7c9
mov rdx, rbx
mov rcx, qword [rdi + 8]
call fcn.140009970
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008cbe0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003b2b0
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 0x14003b33d
lea rcx, [rsi + 0x70]
cmp qword [rcx + 0x20], 0
je 0x14003b2e5
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov rbx, qword [rsi + 0x68]
mov edi, 0xffffffff
test rbx, rbx
je 0x14003b31c
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003b31c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003b31c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x14003b335
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x14003b335
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rbp + 0x10], 0
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14003b387
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003b376
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003b376
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14003b39c
inc ecx
inc rax
cmp rax, 2
jl 0x14003b364
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 0x14003b37f

Function at 0x14003b5e0
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 0x14003b613
add rcx, 0x58
cmp qword [rcx + 0x20], 0
je 0x14003b60b
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 0x14003b663
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003b652
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003b652
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14003b66e
inc ecx
inc rax
cmp rax, 2
jl 0x14003b640
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 0x14003b850
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, 0x40
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rcx
mov rdi, qword [rcx + 0x10]
xor r14d, r14d
test rdi, rdi
je 0x14003b909
lea rcx, [rdi + 0x1c8]
cmp qword [rcx + 0x20], r14
je 0x14003b89b
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov rbx, qword [rdi + 0x1b0]
test rbx, rbx
je 0x14003b8d3
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003b8d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14003b8d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x14003b905
mov qword [rsp + 0x28], r14
lea rax, [0x1400bc0c0]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x28]
mov r8b, 1
lea rdx, [rsp + 0x20]
call fcn.14000a290
mov qword [rbp + 0x10], r14
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14003b951
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003b944
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003b944
mov ecx, r14d
mov rax, r14
cmp qword [rdx + rax*8], 0
je 0x14003b971
inc ecx
inc rax
cmp rax, 2
jl 0x14003b932
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbp + 8], r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008cbe0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
movzx eax, byte [rbx + 0x200]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14003b94d

Function at 0x14003bf50
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 0x14003bf83
add rcx, 0x60
cmp qword [rcx + 0x20], 0
je 0x14003bf7b
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 0x14003bfd3
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003bfc2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003bfc2
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14003bfde
inc ecx
inc rax
cmp rax, 2
jl 0x14003bfb0
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 0x14003c1d0
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 0x14003c203
add rcx, 0x68
cmp qword [rcx + 0x20], 0
je 0x14003c1fb
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 0x14003c253
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003c242
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003c242
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14003c25e
inc ecx
inc rax
cmp rax, 2
jl 0x14003c230
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 0x14003d830
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 0x14003d85f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14003d857
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14003d8a9
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003d898
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003d898
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14003d8b4
inc ecx
inc rax
cmp rax, 2
jl 0x14003d886
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 0x14003da60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003da7c
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x14003dac9
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003dab8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003dab8
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003dad4
inc ecx
inc rax
cmp rax, 6
jl 0x14003daa6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x38]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003db00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003db1c
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x14003db69
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003db58
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003db58
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003db74
inc ecx
inc rax
cmp rax, 6
jl 0x14003db46
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x28]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003dba0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003dbbc
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x14003dc09
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003dbf8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003dbf8
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003dc14
inc ecx
inc rax
cmp rax, 6
jl 0x14003dbe6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x30]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003dc40
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 0x14003dc9d
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x14003dc95
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003dc90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14003dc90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14003dcea
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003dcd9
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003dcd9
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003dcf5
inc ecx
inc rax
cmp rax, 6
jl 0x14003dcc7
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