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

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x14049b838]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140134847
nop word [rax + rax]
cmp qword [rax], rbx
je 0x140134733
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140134720
jmp 0x140134847
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140134847
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x14013480c
cmp ecx, 1
jne 0x140134847
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rsp + 0x20]
call fcn.140357df0
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
call fcn.140357df0
lea rcx, [rsp + 0x20]
call fcn.140357ed0
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
call fcn.140357e44
lea r8, [0x1404874a0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140357e18
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140357df0
lea rcx, [rsp + 0x68]
call fcn.140357ed0
lea rcx, [rsp + 0x58]
call fcn.140357ed0
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.14035d288
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x58]
call fcn.140357de8
lea rcx, [rsp + 0x30]
jmp 0x140134842
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
call fcn.140357e44
lea rcx, [rsp + 0x68]
call fcn.140357e50
lea rcx, [rbx + 0x58]
lea rdx, [rsp + 0x68]
call fcn.140357de8
lea rcx, [rsp + 0x68]
call fcn.140357ed0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14035b0c0
add rsp, 0x80
pop rbx
ret
Function at 0x140137aa0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0xa0]
mov r11, r9
mov rax, qword [rcx + 8]
mov r10, r8
mov rsi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x98], 0
je 0x140137af0
mov rcx, qword [rcx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call fcn.140134a60
jmp 0x140137b88
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140137b10
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
call fcn.140134a60
jmp 0x140137b88
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov r8d, r11d
mov eax, dword [rsp + 0x90]
mov rdx, r10
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x50]
je 0x140137b7c
cmp eax, 0x3e5
je 0x140137b7c
mov r9d, dword [rsp + 0x40]
mov r8d, eax
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.140134a60
jmp 0x140137b88
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.1401349d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14035b0c0
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x140137ba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0xa0]
mov r11, r9
mov rax, qword [rcx + 8]
mov r10, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x98], 0
je 0x140137bf0
mov rcx, qword [rcx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.140134a60
jmp 0x140137ca1
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140137c13
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rbx
call fcn.140134a60
jmp 0x140137ca1
mov eax, dword [rsp + 0x90]
lea r9, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], edx
mov r8d, r11d
mov qword [rsp + 0x28], rbx
mov rdx, r10
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x140137c62
mov eax, 0x2746
jmp 0x140137c6f
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x50]
je 0x140137c95
cmp eax, 0x3e5
je 0x140137c95
mov r9d, dword [rsp + 0x40]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.140134a60
jmp 0x140137ca1
mov rcx, qword [rdi + 8]
mov rdx, rbx
call fcn.1401349d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14035b0c0
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x14013ec90
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x14049b818], eax
inc eax
cmp eax, 1
jne 0x14013ecdd
lea ecx, [rax + 1]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14049b81c], eax
test bl, bl
je 0x14013ed81
xor ebx, ebx
lock xadd dword [0x14049b81c], ebx
test ebx, ebx
je 0x14013ed81
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x210], rsi
add rcx, qword [0x1404926f0]
lea rsi, [0x1404926e8]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x14013ed36
mov rax, qword [0x1404926e8]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14013ed38
mov al, 1
lea rcx, str.C:_vcpkg_masterinstalledx64_windows_staticinclude_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.throw_on_error
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x14013eda5
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14035b0c0
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.1401314e0
int3
Function at 0x14015b550
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x40], r8
mov rbp, qword [rcx + 0x158]
mov rbx, qword [rcx + 0x160]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov qword [rsp + 0x80], r14
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x14015b5a7
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xa0]
call fcn.140151ee0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14015b5ea
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x80], r14
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0xa0]
mov ecx, 0x90
call fcn.140131790
mov rbx, rax
mov qword [rax + 0x20], r14
lea rax, [0x140173a60]
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
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rbx + 0x38], xmm0
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0xa0]
call fcn.140151ee0
mov rcx, qword [rbp + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rbx
call fcn.140134860
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x28]
call fcn.1401739f0
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x14015b69d
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov dword [rsi], r14d
lea rax, [0x1404927e8]
mov qword [rsi + 8], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14015b6c5
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r14
mov rax, rsi
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401673a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rsp + 8], rax
cmp qword [r8 + 0x18], 0x10
mov r10, r8
mov dword [rsp], r9d
jb 0x1401673c4
mov r10, qword [r8]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1401673d7
add rax, qword [rdx]
mov rdx, qword [rdx]
jmp 0x1401673da
add rax, rdx
xor r8d, r8d
cmp rdx, rax
je 0x14016740a
sub r10, rdx
nop word [rax + rax]
movzx ecx, byte [rsp + r8]
xor cl, byte [rdx]
inc r8
mov byte [r10 + rdx], cl
and r8d, 3
inc rdx
cmp rdx, rax
jne 0x1401673f0
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14035b0c0
add rsp, 0x18
ret

Function at 0x140167420
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0x19], 0
mov r12, r9
mov rdi, r8
mov r10, rdx
mov rbp, rcx
jge 0x140167494
mov rax, qword [rcx + 0x80]
xor ecx, ecx
mov rdx, qword [rax + 0x10]
mov dword [rsp + 0x20], edx
test r8, r8
je 0x14016747e
nop word [rax + rax]
mov rax, rcx
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
xor byte [r10 + rcx], al
inc rcx
cmp rcx, rdi
jb 0x140167460
mov rax, qword [rbp + 0x80]
mov rcx, rdi
and ecx, 3
je 0x140167490
lea ecx, [rcx*8]
ror rdx, cl
mov qword [rax + 0x10], rdx
mov rax, qword [rbp + 0x80]
mov rdx, r10
mov rbx, qword [rax]
add rbx, 0x50
mov r15, qword [rbx + 0x10]
lea r14, [rbx + 0x10]
mov rcx, rbx
call fcn.1401407a0
mov r10, qword [rbp + 0x80]
mov rax, qword [r10]
cmp dword [rax + 0x70], 1
jne 0x14016754b
cmp qword [rbx + 0x18], 0x10
jb 0x1401674db
mov rdx, qword [rbx]
mov rbx, rdx
add rdx, qword [r14]
jmp 0x1401674e1
mov rdx, qword [r14]
add rdx, rbx
lea rax, [r15 + rbx]
cmp rax, rdx
je 0x14016754b
lea rbx, [0x140456730]
cmp dword [r10 + 0x18], 0
movzx r8d, byte [rax]
mov r9d, r8d
movzx r11d, byte [r8 + rbx]
je 0x140167514
mov ecx, dword [r10 + 0x1c]
and r9d, 0x3f
shl ecx, 6
or r9d, ecx
jmp 0x140167523
mov r8d, 0xff
mov ecx, r11d
sar r8d, cl
and r9d, r8d
mov dword [r10 + 0x1c], r9d
mov ecx, dword [r10 + 0x18]
add ecx, 0x10
shl ecx, 4
add ecx, r11d
movzx r8d, byte [rcx + rbx]
mov dword [r10 + 0x18], r8d
cmp r8d, 1
je 0x140167561
inc rax
cmp rax, rdx
jne 0x1401674f1
sub qword [rbp + 0x30], rdi
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
call fcn.14013b8f0
mov qword [rsp + 0x30], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r12], xmm0
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140169580
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 rbx, r8
mov rbp, rdx
mov rsi, rcx
xor r14d, r14d
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rcx + 0x18]
lea rcx, [rsp + 0x48]
call fcn.14016ada0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsi + 0x78]
test rax, rax
je 0x1401695d1
lock inc dword [rax + 8]
mov rax, qword [rsi + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsi + 0x78]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0xb8], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rsp + 0xc8], xmm1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
mov rax, qword [rbx + 8]
test rax, rax
je 0x14016962b
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rsp + 0xd0], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xe0], rax
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140169678
cmp qword [rax], rbx
je 0x14016976f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140169666
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov ecx, 0xe8
call fcn.140131790
mov rbx, rax
mov qword [rax + 0x20], r14
lea rax, [0x14017ca60]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.14017ce20
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov r8, rbx
lea rdx, [rsi + 8]
mov rcx, rdi
call fcn.140138550
nop
mov edi, 0xffffffff
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
je 0x140169719
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140169719
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140169719
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14016974d
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14016974d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14016974d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14013b150
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x140169678
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1401804a0
nop
jmp 0x1401696de
Function at 0x140173030
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1f0
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rcx + 0x48], r9d
cmp r9d, 1
je 0x140173208
lea r9, [rcx + 0x10]
mov rdx, rbx
add qword [r9 + 0x20], rbx
mov r11, qword [r9 + 8]
mov rcx, qword [r9 + 0x28]
shl rcx, 4
mov rax, qword [r9]
add rax, rcx
cmp rax, r11
je 0x1401730bf
nop word [rax + rax]
test rdx, rdx
je 0x1401730bf
mov r10, qword [r9 + 0x30]
mov r8, qword [rax + 8]
mov rcx, r8
cmp r10, r8
cmovb rcx, r10
sub r8, rcx
cmp rdx, r8
jae 0x1401730a8
lea rcx, [r10 + rdx]
mov rdx, rbp
jmp 0x1401730b6
sub rdx, r8
inc qword [r9 + 0x28]
add rax, 0x10
mov rcx, rbp
mov qword [r9 + 0x30], rcx
cmp rax, r11
jne 0x140173080
mov rcx, qword [rsi + 0x10]
mov rdx, rcx
and edx, 1
je 0x1401730d5
cmp rcx, 1
jne 0x1401730da
cmp dword [rsi], ebp
jne 0x1401730da
test rbx, rbx
je 0x140173111
lea rbx, [rdi + 0x30]
mov rax, qword [rdi + 0x28]
cmp qword [rbx], rax
jae 0x140173115
test rdx, rdx
je 0x140173106
cmp rcx, 1
jne 0x140173115
mov r8, rbp
cmp dword [rsi], ebp
sete r8b
test r8, r8
jne 0x14017322b
jmp 0x140173115
mov r8d, 1
jmp 0x14017322b
lea rbx, [rdi + 0x30]
mov rbx, qword [rbx]
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14016ada0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x10]
movsd qword [rsp + 0xc0], xmm1
mov qword [rsp + 0xc8], rbx
mov rsi, qword [rdi + 0x50]
mov rbx, qword [rdi + 0x58]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14017317e
nop dword [rax]
cmp qword [rax], rbx
je 0x1401731ef
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140173170
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xc0
call fcn.140131790
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [0x14017e370]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x50]
call fcn.14017e7f0
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov r8, rbx
lea rdx, [rdi + 0x58]
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rsp + 0x58]
call fcn.14013b150
jmp 0x140173267
cmp qword [rax + 8], 0
je 0x14017317e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1401836c0
nop
jmp 0x1401731e3
mov rax, qword [rdx + 0x10]
test al, 1
je 0x140173221
mov r8, rbp
cmp rax, 1
jne 0x140173227
cmp dword [rdx], ebp
sete r8b
jmp 0x140173227
mov r8d, 1
lea r9, [rcx + 0x10]
mov rbx, qword [rdi + 8]
shl r8, 0x10
lea rdx, [rsp + 0xd0]
mov rcx, r9
call fcn.1401735e0
lea r8, [rbx + 0x68]
lea rdx, [rbx + 8]
mov rcx, qword [rbx]
add rcx, 0x28
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rax
call fcn.14017d050
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140173bc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x59], rax
movzx eax, byte [rcx + 0x18]
mov byte [rbp - 0x51], al
lea rax, [rbp - 0x49]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x11], r14
mov rcx, qword [rcx + 0x58]
test rcx, rcx
je 0x140173c14
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax]
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140173c29
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x60]
mov qword [rbp - 9], rax
mov rax, qword [rbx + 0x68]
mov qword [rbp - 1], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 7], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbp + 0x17], xmm1
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140173c77
cmp qword [rax], rbx
je 0x140173d4a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140173c65
lea rax, [rbp - 0x59]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x59]
mov ecx, 0xb8
call fcn.140131790
mov rbx, rax
mov qword [rax + 0x20], r14
lea rax, [0x14017e6a0]
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 rax, qword [rbp - 0x59]
mov qword [rbx + 0x38], rax
movzx eax, byte [rbp - 0x51]
mov byte [rbx + 0x40], al
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x49]
call fcn.140151ee0
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x90], r14
mov rax, qword [rbp - 9]
mov qword [rbx + 0x88], rax
mov rax, qword [rbp - 1]
mov qword [rbx + 0x90], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
movaps xmm1, xmmword [rbp + 7]
movups xmmword [rbx + 0x98], xmm1
movsd xmm0, qword [rbp + 0x17]
movsd qword [rbx + 0xa8], xmm0
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rbp - 0x51]
call fcn.14013b150
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140173c77
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1401836c0
nop
jmp 0x140173d29
Function at 0x140173d70
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, 0xb0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r14
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x140173db5
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rsp + 0x80], xmm1
mov rbp, qword [rbx]
lea rsi, [rbx + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140173df8
cmp qword [rax], rbx
je 0x140173ec1
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140173de6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x30]
mov ecx, 0x98
call fcn.140131790
mov rdi, rax
mov qword [rax + 0x20], r14
lea rax, [0x14017e540]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.140151ee0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x78], xmm0
movsd xmm1, qword [rsp + 0x80]
movsd qword [rdi + 0x88], xmm1
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.140138550
nop
lea rcx, [rsp + 0x90]
call fcn.14017e4d0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140173ea9
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x140173df8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140183720
nop
jmp 0x140173e8e
Function at 0x1401762c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x40], rax
add rdx, 0x18
lea rcx, [rsp + 0x48]
call fcn.14016ada0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x140176305
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xc0], rax
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0xc8]
call fcn.140151e60
movups xmm0, xmmword [rsi + 0x80]
movaps xmmword [rsp + 0x130], xmm0
movsd xmm1, qword [rsi + 0x90]
movsd qword [rsp + 0x140], xmm1
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140176392
cmp qword [rax], rbx
je 0x140176418
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140176380
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xc0]
mov ecx, 0x148
call fcn.140131790
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x140180080]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1401803a0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rsp + 0x40]
call fcn.1401786f0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140176392
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140183a80
nop
jmp 0x1401763fb
Function at 0x140176440
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rdi, rdx
mov rbx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x40]
call fcn.140178f20
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call fcn.140179360
nop
mov rbp, qword [rdi]
lea rsi, [rdi + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401764a7
cmp qword [rax], rbx
je 0x14017658e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140176495
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xc8]
mov ecx, 0x170
call fcn.140131790
mov rdi, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [0x14017ff10]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140151f60
lea rcx, [rdi + 0xb0]
lea rdx, [rsp + 0xb8]
call fcn.140179360
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.140138550
nop
lea rcx, [rsp + 0xb8]
call fcn.14016e110
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14017656c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14017656c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14017656c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14013b150
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x1401764a7
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140183ab0
nop
jmp 0x140176526