joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a2a10
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov eax, r9d
mov rdi, r8
mov rbx, rdx
mov r15, rcx
cmp qword [r8], 0xffffffffffffffff
je 0x1400a2aa5
mov dword [rsp + 0x20], 1
movabs rcx, 0x8fafd21e25c5e09b
lea rdi, [0x1403b9110]
mov rax, qword [0x1403b9118]
cmp rax, rcx
je 0x1400a2a82
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400a2a82
mov edx, 1
mov rcx, rdi
mov rax, qword [0x1403b9110]
call qword [rax + 0x30]
jmp 0x1400a2a84
mov al, 1
mov byte [rsp + 0x24], al
mov qword [rsp + 0x28], rdi
mov rax, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rbx], xmm0
jmp 0x1400a2be0
mov rbp, qword [rsp + 0x80]
mov r9, rbp
mov r8d, dword [rsp + 0x78]
mov esi, dword [rsp + 0x70]
mov edx, esi
mov ecx, eax
call fcn.1400a0b50
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a2ad4
movups xmm0, xmmword [rbp]
jmp 0x1400a2bdd
mov rdx, qword [r15 + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x1400a2b03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
test eax, eax
setne byte [rsp + 0x24]
jmp 0x1400a2b10
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x24], 0
lea r15, [0x14035ccc8]
mov qword [rsp + 0x28], r15
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp], xmm0
mov rax, qword [rbp]
shr rax, 0x20
test al, al
je 0x1400a2b8d
movups xmmword [rbx], xmm0
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400a2be0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400a2b5d
cmp eax, 0x4d5
jne 0x1400a2be0
mov dword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400a2be0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1400a2be0
mov qword [rsp + 0x60], 0xffffffffffffffff
mov qword [rdi], r14
sub esi, 1
je 0x1400a2baf
cmp esi, 1
je 0x1400a2ba9
mov byte [rdi + 8], 0
jmp 0x1400a2bb3
mov byte [rdi + 8], 0x20
jmp 0x1400a2bb3
mov byte [rdi + 8], reloc.WS2_32.dll_recv
lea rcx, [rdi + 0x10]
movzx r8d, byte [rsp + 0x60]
call fcn.1400b3370
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x24], 0
mov qword [rsp + 0x28], r15
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp], xmm0
movups xmmword [rbx], xmm0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400a2c00
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x1400a2c3a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.1400a00d0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1400a2c62
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.1400a00d0
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov r8d, r10d
mov eax, dword [rsp + 0x70]
mov rdx, r11
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
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 0x1400a2ce1
cmp eax, 0x3e5
je 0x1400a2ce1
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.1400a00d0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.1400a0030
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x1400a2d3a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.1400a00d0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1400a2d62
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.1400a00d0
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x78]
xor edx, edx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x78], edx
mov r8d, r10d
mov qword [rsp + 0x58], rsi
mov rdx, r11
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x1400a2dbb
mov eax, 0x2746
jmp 0x1400a2dc8
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x1400a2df7
cmp eax, 0x3e5
je 0x1400a2df7
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400a00d0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400a0030
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x1400a6480
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rsi, rcx
mov ecx, dword [0x1403caaf0]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a64be
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400a64be
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a64b0
lea rdx, [rdi + 0x10]
mov ecx, 0x60
call fcn.140034dd0
xor edx, edx
lea rcx, [0x14008fe80]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rax + 0x48], xmm0
mov rcx, qword [rsi + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140035df0
Function at 0x1400b19d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
xor r14d, r14d
lea rsi, [0x14035ccc8]
mov rdi, rcx
mov dword [rbp - 0x10], r14d
mov rcx, qword [rcx]
mov byte [rbp - 0xc], r14b
mov qword [rbp - 8], rsi
cmp qword [rdi + 8], 0xffffffffffffffff
je 0x1400b1ab1
xor eax, eax
lock cmpxchg qword [rcx + 0x38], r14
je 0x1400b1a22
mov rdx, qword [rdi + 8]
mov rcx, rax
call fcn.1400a1d00
mov rbx, qword [rdi + 8]
cmp rbx, 0xffffffffffffffff
je 0x1400b1ac6
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400b1ac6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rbp - 0x10], eax
mov qword [rbp - 8], rsi
setne byte [rbp - 0xc]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
cmp eax, 0x2733
je 0x1400b1a6b
cmp eax, 0x4d5
jne 0x1400b1ac6
lea r8, [rbp + 0x20]
mov dword [rbp + 0x20], r14d
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rdi + 0x10], 0xfc
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x1400b1aa0
mov dword [rbp - 0x10], r14d
mov byte [rbp - 0xc], r14b
mov qword [rbp - 8], rsi
jmp 0x1400b1ac6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rbp - 0x10], eax
setne byte [rbp - 0xc]
jmp 0x1400b1ab9
mov dword [rbp - 0x10], r14d
mov byte [rbp - 0xc], r14b
mov qword [rbp - 8], rsi
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
mov rbx, qword [rdi + 0x20]
mov rsi, 0xffffffffffffffff
mov qword [rdi + 8], rsi
mov byte [rdi + 0x10], r14b
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
test rbx, rbx
je 0x1400b1b0d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b1b0d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400b1b0d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
cmp byte [rbp - 0xc], r14b
jne 0x1400b1b26
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
lea rdx, str.close
lea rcx, [rbp - 0x10]
call fcn.140034c00
int3

Function at 0x1400b38f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400b390d
mov dword [rsp + 0x30], 0x2719
mov byte [rsp + 0x34], 1
jmp 0x1400b3954
mov r9, rdx
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400b3943
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
lea rax, [0x14035ccc8]
mov qword [rsp + 0x38], rax
jmp 0x1400b396b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
setne byte [rsp + 0x34]
lea rax, [0x14035ccc8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x30]
shr rax, 0x20
test al, al
jne 0x1400b397d
add rsp, 0x48
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140034c00
int3
Function at 0x1400b3990
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400b39ad
mov dword [rsp + 0x30], 0x2719
mov byte [rsp + 0x34], 1
jmp 0x1400b39f2
mov r9, rdx
mov dword [rsp + 0x20], 4
mov edx, 6
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400b39e1
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
lea rax, [0x14035ccc8]
mov qword [rsp + 0x38], rax
jmp 0x1400b3a09
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
setne byte [rsp + 0x34]
lea rax, [0x14035ccc8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x30]
shr rax, 0x20
test al, al
jne 0x1400b3a1b
add rsp, 0x48
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140034c00
int3

Function at 0x1400b5c90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rsp + 0x48], xmm1
mov rax, qword [r8]
mov qword [rsp + 0x58], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b5ce5
cmp qword [rax], rbx
je 0x1400b5d6a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b5cd3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x68
call fcn.140034dd0
mov r8, rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x1400b9b30]
mov qword [r8 + 0x28], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rcx
mov dword [r8 + 0x30], ecx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r8 + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r8 + 0x48], xmm1
mov rax, qword [rsp + 0x58]
mov qword [r8 + 0x58], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x1400b5ce5
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400bc410
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400b5da0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rsp + 0x48], xmm1
mov rax, qword [r8]
mov qword [rsp + 0x58], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b5df5
cmp qword [rax], rbx
je 0x1400b5e7a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b5de3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x68
call fcn.140034dd0
mov r8, rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x1400b9a90]
mov qword [r8 + 0x28], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rcx
mov dword [r8 + 0x30], ecx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r8 + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r8 + 0x48], xmm1
mov rax, qword [rsp + 0x58]
mov qword [r8 + 0x58], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x1400b5df5
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140063010
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400b74c0
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
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x51], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x49], rax
add rdx, 0x20
lea rcx, [rbp - 0x41]
call sym.ethminer.exe_public:_void___cdecl_Json::Value::constructor_class_Json::Value_const____ptr64____ptr64
nop
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x19], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rbp - 9], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 1], rax
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 7]
call sym.ethminer.exe_public:_void___cdecl_Json::Value::constructor_class_Json::Value____ptr64____ptr64
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7552
nop
cmp qword [rax], rbx
je 0x1400b75f3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b7540
lea rax, [rbp - 0x51]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 9]
mov ecx, 0xc0
call fcn.140034dd0
mov rbx, rax
mov qword [rbp - 0x61], rax
xor r14d, r14d
mov qword [rbp - 0x59], r14
mov rcx, qword [rdi + 0x28]
mov qword [rbp + 0x2f], rcx
mov dword [rbp + 0x3b], r14d
mov qword [rax + 0x20], r14
lea rax, [0x1400ba9a0]
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, [rbp - 0x51]
call fcn.1400baad0
nop
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x61], r14
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140037050
nop
lea rcx, [rbp + 7]
call sym.ethminer.exe_public:_void___cdecl_Json::Value::destructor_void____ptr64
lea rcx, [rbp - 0x41]
call sym.ethminer.exe_public:_void___cdecl_Json::Value::destructor_void____ptr64
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 0x1400b7552
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x51]
call fcn.1400bcea0
nop
jmp 0x1400b75c9
Function at 0x1400b7ac0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rsp + 0x48], xmm1
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7b12
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1400b7b8a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b7b00
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.140034dd0
nop
xor edx, edx
mov qword [rax + 0x20], rdx
lea rcx, [0x140062f80]
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rax + 0x48], xmm1
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
cmp qword [rax + 8], 0
je 0x1400b7b12
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140063010
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b7c40
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
movups xmm0, xmmword [r8]
mov r15, qword [rdx]
mov rax, qword [r8 + 8]
mov rbx, qword [rbp + 0x200]
movzx r12d, byte [rdx + 8]
movq qword [rbp - 0x80], xmm0
psrldq xmm0, 8
movd dword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
cmp r15, 0xffffffffffffffff
jne 0x1400b7cc7
lea rsi, [0x14035ccc8]
mov dword [rsp + 0x48], 0x2719
mov qword [rsp + 0x50], rsi
xor edi, edi
mov byte [rsp + 0x4c], 1
mov eax, edi
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x1400b7e41
test rax, rax
jne 0x1400b7ce7
test r12b, 0x10
je 0x1400b7ce7
mov r8, qword [rbx + 8]
mov rcx, rbx
call fcn.140095fe0
xor edi, edi
mov eax, edi
jmp 0x1400b7e41
mov qword [rsp + 0x2e0], r13
lea rsi, [0x14035ccc8]
mov qword [rsp + 0x2f0], r14
movabs r13, 0x8fafd21e25c5e09b
xor edi, edi
nop word [rax + rax]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x78]
mov r8d, 1
mov dword [rsp + 0x20], edi
mov rcx, r15
mov dword [rsp + 0x40], edi
call qword [sym.imp.WS2_32.dll_WSASend]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rsi
setne byte [rsp + 0x4c]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x1400b7d7c
mov dword [rsp + 0x68], 0x2746
mov byte [rsp + 0x6c], 1
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [rsp + 0x68]
jmp 0x1400b7d9b
cmp ecx, 0x4d2
jne 0x1400b7d9e
mov dword [rsp + 0x58], 0x274d
mov byte [rsp + 0x5c], 1
mov qword [rsp + 0x60], rsi
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
test r14d, r14d
jne 0x1400b7db8
mov r8, qword [rbx + 8]
mov rcx, rbx
call fcn.140095fe0
movsxd rax, dword [rsp + 0x40]
test eax, eax
jns 0x1400b7e31
test r12b, 1
jne 0x1400b7e2e
mov eax, dword [rbx]
cmp eax, 0x2733
je 0x1400b7dce
cmp eax, 0x4d5
jne 0x1400b7e2e
mov rax, qword [rbx + 8]
cmp qword [rax + 8], r13
jne 0x1400b7e2e
lea ecx, [r15 + 1]
mov qword [rbp - 0x68], r15
xor r9d, r9d
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x1400b7e10
mov r8, qword [rbx + 8]
mov rcx, rbx
call fcn.140095fe0
jmp 0x1400b7d10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rsi
setne byte [rsp + 0x5c]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
mov rax, rdi
mov r13, qword [rsp + 0x2e0]
mov r14, qword [rsp + 0x2f0]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2b0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b7e70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x68], xmm1
lea rdi, [rdx + 8]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b7ed2
cmp qword [rax], rbx
je 0x1400b7f61
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b7ec0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov ecx, 0x80
call fcn.140034dd0
nop
xor edx, edx
mov qword [rax + 0x20], rdx
lea rcx, [0x1400bc2f0]
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rax + 0x58], xmm1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rax + 0x68], xmm0
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x1400b7ed2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400bd5d0
nop
jmp 0x1400b7f4c
Function at 0x1400b82c0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x90
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [r11 - 0x38], xmm8
mov rbx, rdx
mov rax, qword [rdx + 0x20]
mov r9, qword [rax + 0x18]
test r9, r9
je 0x1400b8317
lea rax, [0x1400ba190]
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], r8
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [r11 - 0x78]
mov rcx, rbx
call r9
jmp 0x1400b83ba
movups xmm6, xmmword [r8]
movups xmm7, xmmword [r8 + 0x10]
movups xmm8, xmmword [r8 + 0x20]
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b8365
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400b8365
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b8365
mov qword [rcx + 0x10], 0
movzx ecx, byte [rax]
cmp cl, 0x10
jb 0x1400b835d
mov byte [rax + 0x40], cl
jmp 0x1400b8373
mov rcx, rax
call fcn.1400e9a90
mov ecx, 0x41
call fcn.140250dd4
mov byte [rax + 0x40], reloc.WS2_32.dll_recv
movups xmmword [rax + 8], xmm6
movups xmmword [rax + 0x18], xmm7
movups xmmword [rax + 0x28], xmm8
lea rcx, [0x1400bb090]
mov qword [rax], rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x20]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x1400b83ba
xor edx, edx
mov rcx, rax
call qword [rax]
nop
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
add rsp, 0x90
pop rbx
ret