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

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov rdi, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x1400fbfbd
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rbx
test r8b, r8b
je 0x1400fbe62
movzx eax, byte [rdx]
test al, 8
je 0x1400fbe62
or al, 8
mov dword [rsp + 0x60], r15d
mov byte [rdx], al
lea r9, [rsp + 0x60]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1400fbe62
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edx, eax
call fcn.1400ad280
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
test eax, eax
jne 0x1400fbe9b
mov rcx, rdi
call fcn.1400ad2a0
mov qword [rdi + 8], rax
mov dword [rdi], r15d
mov eax, esi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edx, eax
call fcn.1400ad280
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x2733
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x30]
mov rcx, rdi
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fbf1c
mov rcx, rdi
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.1400ad290
cmp ebx, eax
je 0x1400fbf82
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x4d5
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x30]
mov rcx, rdi
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fbe80
mov rcx, rdi
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.1400ad290
cmp ebx, eax
jne 0x1400fbe80
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.1400f8900
mov eax, ebx
jmp 0x1400fbe82
mov rbp, qword [rsp + 0x78]
mov eax, r15d
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400fbfd0
Capabilities:
Connect socket

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r9
cmp rcx, 0xffffffffffffffff
jne 0x1400fc009
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x20]
mov edx, 0x2719
call fcn.1400ad280
movups xmm0, xmmword [rsp + 0x20]
mov eax, 0xffffffff
movups xmmword [rdi], xmm0
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x48], rsi
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
test eax, eax
jne 0x1400fc035
mov rcx, rdi
call fcn.1400ad2a0
mov qword [rdi + 8], rax
mov eax, esi
mov dword [rdi], esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.1400ad280
mov rbx, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
mov eax, esi
mov rsi, qword [rsp + 0x48]
movups xmmword [rdi], xmm0
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rdi
sub rsp, 0x50
xor esi, esi
lea r9, [rsp + 0x78]
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rsi
mov dword [rax + 0x20], esi
mov dword [rax + 0x18], esi
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1400ad280
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
call fcn.1400ad290
cmp eax, 0x40
jne 0x1400fc0ee
call fcn.1400af580
mov edx, 0x2746
jmp 0x1400fc107
mov rcx, rbx
call fcn.1400ad290
cmp eax, 0x4d2
jne 0x1400fc11e
call fcn.1400af580
mov edx, 0x274d
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.1400ad280
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x1400fc13c
mov rcx, rbx
call fcn.1400ad290
cmp eax, 0x2738
je 0x1400fc155
mov rcx, rbx
call fcn.1400ad290
cmp eax, 0xea
je 0x1400fc155
test edi, edi
je 0x1400fc155
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, rbx
call fcn.1400ad2a0
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x78]
mov dword [rbx], esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400fc180
Capabilities:
Get socket status

Disassembly:
push rsi
push r12
push r13
push r15
sub rsp, 0x278
mov r12, r9
mov r13, r8
movzx r15d, dl
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400fc1da
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x2719
call fcn.1400ad280
mov rax, qword [rsp + 0x2d0]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
xor eax, eax
add rsp, 0x278
pop r15
pop r13
pop r12
pop rsi
ret
mov qword [rsp + 0x2a0], rbx
mov qword [rsp + 0x2a8], rbp
mov qword [rsp + 0x270], r14
movzx r14d, r15b
and r14b, 0x10
cmp byte [rsp + 0x2c8], 0
je 0x1400fc228
test r14b, r14b
je 0x1400fc228
mov rbx, qword [rsp + 0x2d0]
mov rcx, rbx
call fcn.1400ad2a0
xor ebp, ebp
mov qword [rbx + 8], rax
mov dword [rbx], ebp
xor eax, eax
jmp 0x1400fc3c7
mov rbx, qword [rsp + 0x2d0]
xor ebp, ebp
mov qword [rsp + 0x2b0], rdi
nop word [rax + rax]
mov r8, r12
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov rcx, rsi
call fcn.1400fc070
test r14b, r14b
je 0x1400fc260
test eax, eax
je 0x1400fc373
test eax, eax
jns 0x1400fc3bd
test r15b, 1
jne 0x1400fc3b9
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x2733
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x50]
mov rcx, rbx
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rdi
call fcn.1400ad220
test al, al
je 0x1400fc2d0
mov rcx, rbx
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov edi, eax
call fcn.1400ad290
cmp edi, eax
je 0x1400fc336
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x4d5
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x40]
mov rcx, rbx
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rdi
call fcn.1400ad220
test al, al
je 0x1400fc3b9
mov rcx, rbx
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov edi, eax
call fcn.1400ad290
cmp edi, eax
jne 0x1400fc3b9
lea ecx, [rsi + 1]
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov dword [rsp + 0x60], 1
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x1400fc396
mov rcx, rbx
call fcn.1400ad2a0
mov qword [rbx + 8], rax
mov dword [rbx], ebp
jmp 0x1400fc240
call fcn.1400af640
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 2
call fcn.1400ad280
movups xmm0, xmmword [rsp + 0x40]
xor eax, eax
movups xmmword [rbx], xmm0
jmp 0x1400fc3bf
call fcn.1400af580
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1400ad280
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
xor eax, eax
jmp 0x1400fc3bf
cdqe
mov rdi, qword [rsp + 0x2b0]
mov rbp, qword [rsp + 0x2a8]
mov rbx, qword [rsp + 0x2a0]
mov r14, qword [rsp + 0x270]
add rsp, 0x278
pop r15
pop r13
pop r12
pop rsi
ret
Function at 0x1400fc4f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rdi
sub rsp, 0x50
xor esi, esi
lea r9, [rax + 0x20]
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rsi
mov dword [rax - 0x38], esi
mov dword [rax + 0x20], esi
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1400ad280
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
call fcn.1400ad290
cmp eax, 0x40
jne 0x1400fc564
call fcn.1400af580
mov edx, 0x2746
jmp 0x1400fc57d
mov rcx, rbx
call fcn.1400ad290
cmp eax, 0x4d2
jne 0x1400fc592
call fcn.1400af580
mov edx, 0x274d
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.1400ad280
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
test edi, edi
je 0x1400fc5ab
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, rbx
call fcn.1400ad2a0
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x78]
mov dword [rbx], esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400fc5d0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r14
push r15
sub rsp, 0x270
mov r14, r9
mov r15, r8
movzx ebx, dl
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400fc621
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x2719
call fcn.1400ad280
mov rax, qword [rsp + 0x2c0]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
xor eax, eax
jmp 0x1400fc7b2
cmp byte [rsp + 0x2b8], 0
mov qword [rsp + 0x290], rbp
je 0x1400fc657
test bl, 0x10
je 0x1400fc657
mov rbx, qword [rsp + 0x2c0]
mov rcx, rbx
call fcn.1400ad2a0
xor ebp, ebp
mov qword [rbx + 8], rax
mov dword [rbx], ebp
xor eax, eax
jmp 0x1400fc7aa
mov qword [rsp + 0x298], rdi
mov r8, r14
mov rdi, qword [rsp + 0x2c0]
mov rdx, r15
mov qword [rsp + 0x20], rdi
call fcn.1400fc4f0
test eax, eax
jns 0x1400fc7a0
test bl, 1
jne 0x1400fc7ea
xor ebp, ebp
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x2733
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x50]
mov rcx, rdi
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fc6e8
mov rcx, rdi
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.1400ad290
cmp ebx, eax
je 0x1400fc74e
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x4d5
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x40]
mov rcx, rdi
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fc7ea
mov rcx, rdi
call fcn.1400ad290
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.1400ad290
cmp ebx, eax
jne 0x1400fc7ea
lea ecx, [rsi + 1]
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov dword [rsp + 0x60], 1
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x1400fc7c7
mov rcx, rdi
call fcn.1400ad2a0
mov r8, r14
mov dword [rdi], ebp
mov rdx, r15
mov qword [rdi + 8], rax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.1400fc4f0
test eax, eax
js 0x1400fc68a
mov eax, eax
mov rdi, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r15
pop r14
pop rsi
ret
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1400ad280
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
xor eax, eax
jmp 0x1400fc7a2
Function at 0x1400fcfa0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x60
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x78]
xor eax, eax
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 1
lea r8d, [rax + 1]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.1400ad280
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
call fcn.1400ad290
cmp eax, 0x40
jne 0x1400fd03a
call fcn.1400af580
mov edx, 0x2746
lea rcx, [rsp + 0x50]
mov r8, rax
call fcn.1400ad280
add rsp, 0x60
pop rbx
ret
cmp eax, 0x4d2
jne 0x1400fd058
call fcn.1400af580
mov edx, 0x274d
lea rcx, [rsp + 0x50]
mov r8, rax
call fcn.1400ad280
add rsp, 0x60
pop rbx
ret
Function at 0x1400fd060
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
lea rax, [rbp - 0x70]
mov dword [rsp + 0x70], 0x400
mov qword [rsp + 0x78], rax
mov rsi, rcx
xor r14d, r14d
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsi]
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x30], r14
lea r9, [rbp + 0x3b0]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x70]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x3b0], r14d
mov dword [rbp + 0x3b8], r14d
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
lea rcx, [rbp - 0x80]
mov edx, eax
call fcn.1400ad280
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
call fcn.1400ad290
cmp eax, 0x40
jne 0x1400fd138
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x2746
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x1400fd171
cmp eax, 0x4d2
jne 0x1400fd163
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x60]
mov edx, 0x274d
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x1400fd171
cmp eax, 0x2738
je 0x1400fd175
cmp eax, 0xea
je 0x1400fd175
test edi, edi
jne 0x1400fd1a8
lea rcx, [rsp + 0x40]
call fcn.1400ad2a0
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x3b0]
mov dword [rsp + 0x40], r14d
cmp eax, 0x400
je 0x1400fd0a0
test eax, eax
jg 0x1400fd263
je 0x1400fd25f
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x60]
mov edx, 0x2733
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.1400ad2a0
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rdi
call fcn.1400ad220
test al, al
je 0x1400fd20a
lea rcx, [rsp + 0x50]
call fcn.1400ad290
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.1400ad290
cmp eax, ebx
je 0x1400fd263
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x60]
mov edx, 0x4d5
call fcn.1400ad280
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rdi
call fcn.1400ad220
test al, al
je 0x1400fd25f
lea rcx, [rsp + 0x50]
call fcn.1400ad290
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.1400ad290
cmp eax, ebx
je 0x1400fd263
xor al, al
jmp 0x1400fd265
mov al, 1
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400fe000
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 0x1400fe03a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.1400fb9f0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1400fe062
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.1400fb9f0
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 0x1400fe0e1
cmp eax, 0x3e5
je 0x1400fe0e1
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.1400fb9f0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.1400fb970
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400fe100
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 0x1400fe13a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.1400fb9f0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1400fe162
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.1400fb9f0
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 0x1400fe1bb
mov eax, 0x2746
jmp 0x1400fe1c8
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x1400fe1f7
cmp eax, 0x3e5
je 0x1400fe1f7
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400fb9f0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400fb970
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x140105880
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdi, rdx
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov r8, qword [rax + 0x18]
call r8
lea r8, [rbp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x70], rcx
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x60], rax
lea rax, fcn.1400af360
mov qword [rsp + 0x58], rax
lea rax, [0x140302eb8]
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [0x140302ee0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
lea rax, [fcn.1400af360]
cmp rdx, rax
je 0x140105932
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140105961
lea rcx, [0x140107520]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call rax
jmp 0x140105a04
mov rsi, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140106950
mov rdi, rax
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403386c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140105998
mov rdx, qword [rax + 8]
jmp 0x14010599a
xor edx, edx
mov r8d, 0x80
call fcn.140106180
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov rdx, rax
mov ecx, 0x80
call fcn.1400accf0
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.140106950
lea rax, [0x140108410]
mov qword [rbx], rax
mov qword [rbp + 0x58], rbx
lea rcx, [rdi + 0x40]
call fcn.1400c8cb0
nop
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x78]
call rsi
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140105a04
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
lea rcx, [rsp + 0x78]
call rdx
nop
mov rbx, qword [rsp + 0x148]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
Function at 0x140105a30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rdi, rdx
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov r8, qword [rax + 0x18]
call r8
lea r8, [rbp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x70], rcx
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x60], rax
lea rax, fcn.1400af360
mov qword [rsp + 0x58], rax
lea rax, [0x140302eb8]
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [0x140302ee0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
lea rax, [fcn.1400af360]
cmp rdx, rax
je 0x140105ae2
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140105b11
lea rcx, [0x140107550]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call rax
jmp 0x140105bb4
mov rsi, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1401068d0
mov rdi, rax
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403386c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140105b48
mov rdx, qword [rax + 8]
jmp 0x140105b4a
xor edx, edx
mov r8d, 0x88
call fcn.140106180
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov rdx, rax
mov ecx, 0x88
call fcn.1400accf0
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.1401068d0
lea rax, [0x1401084e0]
mov qword [rbx], rax
mov qword [rbp + 0x68], rbx
lea rcx, [rdi + 0x40]
call fcn.1400c8cb0
nop
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x78]
call rsi
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140105bb4
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
lea rcx, [rsp + 0x78]
call rdx
nop
mov rbx, qword [rsp + 0x158]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret