joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a5b60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x1800a5ba4
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_on_an_uninitialized_socket_device
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
mov rax, 0xffffffffffffffff
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x1800a5bc6
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_in_QAbstractSocket::UnconnectedState
jmp 0x1800a5b8e
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1800a8810
mov r11, rsp
push rbx
push rdi
sub rsp, 0x78
xor edi, edi
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], rdi
lea r8, [r11 + 0x20]
mov qword [r11 - 0x50], rdi
mov rbx, rcx
mov rcx, qword [rcx + 0xa8]
mov edx, 0x4004667f
mov qword [r11 - 0x58], rax
lea r9d, [rdi + 4]
lea rax, [r11 + 0x10]
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x68], rax
mov dword [r11 + 0x10], edi
mov dword [r11 + 0x20], edi
mov dword [r11 + 0x18], edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x1800a887a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rax, [rdi - 1]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
cmp eax, 1
jne 0x1800a891d
cmp dword [rbx + 0x6c], eax
jne 0x1800a891d
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1800a8919
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bc
test eax, 0xfffffffd
je 0x1800a890b
xor eax, eax
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x54]
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x1800a6290
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x1800a62cf
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_on_an_uninitialized_socket_device
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x1800a6300
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_in_QAbstractSocket::UnconnectedState
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x6c], 1
je 0x1800a6331
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1800a8b20
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 0xa8]
lea r9, [r11 - 0x4c]
xor eax, eax
mov dword [rsp + 0x54], 0x1c
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x48]
mov qword [r11 - 0x30], rax
mov r8d, 1
mov qword [r11 - 0x28], rax
mov dword [r11 - 0x20], eax
lea rax, [r11 - 0x58]
mov qword [r11 - 0x40], rax
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x5c], eax
lea rax, [r11 - 0x54]
mov qword [r11 - 0x78], rax
lea rax, [r11 - 0x38]
mov qword [r11 - 0x80], rax
lea rax, [r11 - 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp ebx, 0xffffffff
jne 0x1800a8bd4
cmp eax, 0x2738
je 0x1800a8bd4
add eax, 0xffffd8bc
test eax, 0xfffffffd
sete al
jmp 0x1800a8bd6
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800e64c0
add rsp, 0xa0
pop rbx
ret
Function at 0x1800a6fe0
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1800aa3f0
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ebx, edx
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax + 0x70]
test al, al
je 0x1800aa475
test ebx, ebx
je 0x1800aa482
cmp ebx, 0xe
ja 0x1800aa425
mov eax, 0x4808
bt eax, ebx
jb 0x1800aa475
mov edx, dword [rdi + 0x70]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x88]
mov ecx, ebx
call fcn.1800a7910
mov r8d, dword [rsp + 0x70]
cmp r8d, 0xffffffff
je 0x1800aa475
mov edx, dword [rsp + 0x88]
lea r9, [rsp + 0x80]
mov rcx, qword [rdi + 0xa8]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1800aa4e1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov eax, dword [rsp + 0x80]
lea r8, [rsp + 0x88]
mov rcx, qword [rdi + 0xa8]
mov r9d, 4
mov dword [rsp + 0x88], eax
mov edx, 0x8004667e
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800aa46f
mov rbx, qword [rsp + 0x78]
mov al, 1
add rsp, 0x60
pop rdi
ret
Function at 0x1800a77c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, r8
mov rbx, qword [rcx + 8]
mov rsi, rdx
call qword [rax + 0x70]
test al, al
jne 0x1800a781d
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::write___was_called_on_an_uninitialized_socket_device
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 0x68], 3
je 0x1800a783f
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::write___was_not_called_in_QAbstractSocket::ConnectedState
jmp 0x1800a77fd
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x1800a9db0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, qword [rcx + 8]
xor r13d, r13d
mov edi, r13d
mov rsi, r8
mov r15, rdx
mov rbp, rcx
mov rbx, r8
mov r12d, 0xc000
nop dword [rax + rax]
mov rcx, qword [rbp + 0xa8]
lea rax, [rdi + r15]
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r13
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x80], r13d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ecx, dword [rsp + 0x80]
add rdi, rcx
cmp eax, 0xffffffff
je 0x1800a9e6e
cmp rdi, rsi
je 0x1800a9e4d
cmp rbx, rcx
je 0x1800a9e82
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800a9e4d
cmp eax, 0x2747
jne 0x1800a9e94
mov rbx, rsi
sub rbx, rdi
cmp rbx, r12
cmovg rbx, r12
jmp 0x1800a9df0
add eax, 0xffffd8bb
cmp eax, 1
ja 0x1800a9e4d
mov edx, 7
mov rcx, rbp
lea r8d, [rdx + 0xd]
call fcn.1800a6c70
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0xa0]
mov rax, 0xffffffffffffffff
jmp 0x1800a9e50
Function at 0x1800a8810
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x1800a5ba4
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_on_an_uninitialized_socket_device
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
mov rax, 0xffffffffffffffff
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x1800a5bc6
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_in_QAbstractSocket::UnconnectedState
jmp 0x1800a5b8e
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1800a8810
mov r11, rsp
push rbx
push rdi
sub rsp, 0x78
xor edi, edi
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], rdi
lea r8, [r11 + 0x20]
mov qword [r11 - 0x50], rdi
mov rbx, rcx
mov rcx, qword [rcx + 0xa8]
mov edx, 0x4004667f
mov qword [r11 - 0x58], rax
lea r9d, [rdi + 4]
lea rax, [r11 + 0x10]
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x68], rax
mov dword [r11 + 0x10], edi
mov dword [r11 + 0x20], edi
mov dword [r11 + 0x18], edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x1800a887a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rax, [rdi - 1]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
cmp eax, 1
jne 0x1800a891d
cmp dword [rbx + 0x6c], eax
jne 0x1800a891d
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1800a8919
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bc
test eax, 0xfffffffd
je 0x1800a890b
xor eax, eax
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x54]
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x1800a8940
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
lea r9, [rsp + 0x50]
movzx eax, r8w
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov r8, rdx
xor r14d, r14d
mov rcx, rbx
mov dword [rsp + 0x40], r14d
movzx edx, ax
call fcn.1800aa4f0
mov eax, dword [rbx + 0x70]
dec eax
cmp eax, 1
ja 0x1800a89c7
mov rcx, rdi
call sym.Qt5Network.dll_public:_int___cdecl_QHostInfo::lookupId_void_const___ptr64
test eax, eax
je 0x1800a89c7
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x44]
lea edx, [r14 + 0x29]
mov dword [rsp + 0x44], r14d
lea r8d, [r14 + 0x1b]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x1800a8af3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
sub edx, 0x2733
je 0x1800a8a17
cmp edx, 0x3a
je 0x1800a8ae9
jmp 0x1800a8adf
mov qword [rsp + 0x88], rbp
mov edi, r14d
mov qword [rsp + 0x80], rsi
xor sil, sil
xor bpl, bpl
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 4
nop dword [rax]
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1800a8ab5
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1800a8aa6
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov dword [rsp + 0x48], r14d
mov r8d, 0x1007
mov dword [rsp + 0x20], 4
mov bpl, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [rsp + 0x40]
jmp 0x1800a8aad
test sil, sil
sete sil
mov rdx, rbx
call fcn.1800aa240
inc edi
test sil, sil
je 0x1800a8ac5
cmp edi, 2
jl 0x1800a8a40
mov rsi, qword [rsp + 0x80]
test bpl, bpl
mov rbp, qword [rsp + 0x88]
jne 0x1800a8ae9
mov eax, 0x2734
mov rdx, rbx
mov ecx, eax
call fcn.1800aa240
cmp dword [rbx + 0x68], 3
je 0x1800a8af3
xor al, al
jmp 0x1800a8afc
mov dword [rbx + 0x68], 3
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800e64c0
add rsp, 0x90
pop r14
pop rdi
pop rbx
ret
Function at 0x1800a8b20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x1800a62cf
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_on_an_uninitialized_socket_device
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x1800a6300
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_in_QAbstractSocket::UnconnectedState
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x6c], 1
je 0x1800a6331
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1800a8b20
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 0xa8]
lea r9, [r11 - 0x4c]
xor eax, eax
mov dword [rsp + 0x54], 0x1c
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x48]
mov qword [r11 - 0x30], rax
mov r8d, 1
mov qword [r11 - 0x28], rax
mov dword [r11 - 0x20], eax
lea rax, [r11 - 0x58]
mov qword [r11 - 0x40], rax
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x5c], eax
lea rax, [r11 - 0x54]
mov qword [r11 - 0x78], rax
lea rax, [r11 - 0x38]
mov qword [r11 - 0x80], rax
lea rax, [r11 - 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp ebx, 0xffffffff
jne 0x1800a8bd4
cmp eax, 0x2738
je 0x1800a8bd4
add eax, 0xffffd8bc
test eax, 0xfffffffd
sete al
jmp 0x1800a8bd6
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800e64c0
add rsp, 0xa0
pop rbx
ret
Function at 0x1800a9190
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov rcx, qword [rcx + 0xa8]
lea rax, [r11 + 0x10]
xor ebx, ebx
mov qword [r11 - 0x10], rdx
mov qword [r11 - 0x28], rbx
lea r9, [r11 + 8]
mov dword [r11 - 0x18], r8d
lea rdx, [r11 - 0x18]
mov qword [r11 - 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x38], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x1800a9212
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800a9205
lea ecx, [rax - 0x2745]
cmp ecx, 1
ja 0x1800a91f8
mov eax, ebx
add rsp, 0x50
pop rbx
ret
mov rax, 0xffffffffffffffff
add rsp, 0x50
pop rbx
ret
mov rax, 0xfffffffffffffffe
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov rax, 0xfffffffffffffffe
je 0x1800a922a
mov eax, dword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
Function at 0x1800a9550
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r12, qword [rsp + 0x6e0]
movzx r14d, r9b
mov r13, qword [rsp + 0x6e8]
movzx edi, r8b
mov r15d, edx
mov rbx, rcx
test r8b, r8b
je 0x1800a95c6
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1800a95c6
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QSocketNotifier::isEnabled_void_const___ptr64]
test al, al
je 0x1800a95c6
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov sil, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
jmp 0x1800a95c9
xor sil, sil
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
test dil, dil
je 0x1800a95fd
mov rax, qword [rbx + 0xa8]
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x250], 1
mov rbp, qword [rbx + 0xa8]
lea rcx, [rsp + 0x460]
xor edx, edx
mov r8d, 0x208
mov rdi, rbp
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
mov dword [rsp + 0x40], r8d
test r14b, r14b
je 0x1800a9649
mov dword [rsp + 0x460], 1
mov qword [rsp + 0x468], rbp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x40], 1
mov eax, 0x10624dd3
lea r9, [rsp + 0x40]
imul r15d
mov ecx, r15d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x250]
sub ecx, eax
imul eax, ecx, 0x3e8
lea ecx, [rdi + 1]
test r15d, r15d
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
cmovs rax, r8
lea r8, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
test eax, eax
jle 0x1800a96c0
mov rcx, qword [rbx + 0xa8]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800a96c0
dec edi
test sil, sil
je 0x1800a96d4
mov rcx, qword [rbx + 0xb0]
mov dl, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
test edi, edi
jle 0x1800a9712
mov rcx, qword [rbx + 0xa8]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
lea rdx, [rsp + 0x460]
setne al
mov byte [r12], al
mov rcx, qword [rbx + 0xa8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
setne al
mov byte [r13], al
mov eax, edi
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1800e64c0
mov rbx, qword [rsp + 0x6d0]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a9740
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rsp + 0x460], rax
movzx ebp, r8b
mov ebx, edx
mov rdi, rcx
test r8b, r8b
je 0x1800a9799
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1800a9799
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QSocketNotifier::isEnabled_void_const___ptr64]
test al, al
je 0x1800a9799
mov rcx, qword [rdi + 0xb0]
xor edx, edx
mov sil, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
jmp 0x1800a979c
xor sil, sil
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rdi + 0xa8]
mov eax, 0x10624dd3
imul ebx
mov ecx, ebx
mov dword [rsp + 0x40], 1
sar edx, 6
mov eax, edx
mov qword [rsp + 0x48], r8
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
test bpl, bpl
je 0x1800a9817
test ebx, ebx
lea rdx, [rsp + 0x40]
cmovs rax, rcx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
jmp 0x1800a986a
mov qword [rsp + 0x258], r8
lea r9, [rsp + 0x250]
test ebx, ebx
mov dword [rsp + 0x250], 1
lea r8, [rsp + 0x40]
cmovs rax, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jle 0x1800a986a
mov rcx, qword [rdi + 0xa8]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800a986a
dec ebx
test sil, sil
je 0x1800a987e
mov rcx, qword [rdi + 0xb0]
mov dl, 1
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSocketNotifier::setEnabled_bool____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800e64c0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret