joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64050fc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6408dc46
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0x28
mov dword [esi], vtable.QUrlInfo.0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x64051010
mov ecx, eax
call fcn.64050d70
jmp 0x64051012
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QUrl::path_void_]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x20], 2
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::fileName_void_]
mov ecx, dword [esi + 4]
mov edi, dword [reloc.QtCore4.dll___4QString__QAEAAV0_ABV0__Z]
push eax
mov byte [esp + 0x20], 3
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
add ecx, 8
call edi
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 4]
push edx
add ecx, 0xc
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QDateTime____thiscall_QDateTime::operator_class_QDateTime_const__]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
push eax
add ecx, 0x18
call edi
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esi + 4]
add ecx, 0x1c
call edi
mov edx, dword [esi + 4]
mov al, byte [esp + 0x44]
mov byte [edx + 0x20], al
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x48]
mov byte [ecx + 0x21], dl
mov eax, dword [esi + 4]
mov cl, byte [esp + 0x4c]
mov byte [eax + 0x22], cl
mov edx, dword [esi + 4]
mov al, byte [esp + 0x50]
mov byte [edx + 0x23], al
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x54]
mov byte [ecx + 0x24], dl
mov eax, dword [esi + 4]
mov cl, byte [esp + 0x58]
mov byte [eax + 0x25], cl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x38
Function at 0x64051ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6408dce4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x64051bda
sub eax, 1
je 0x64051b71
sub eax, 1
je 0x64051b10
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x64051b21
xor esi, esi
xor edx, edx
jmp 0x64051b27
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x64051b36
xor ecx, ecx
jmp 0x64051b3c
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, eax
jl 0x64051b5d
jg 0x64051b46
cmp esi, ecx
jbe 0x64051b5d
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
call sym.QtNetwork4.dll_public:_class_QDateTime___thiscall_QUrlInfo::lastModified_void_
mov esi, eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 2
call sym.QtNetwork4.dll_public:_class_QDateTime___thiscall_QUrlInfo::lastModified_void_
push eax
mov ecx, esi
mov byte [esp + 0x24], 3
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDateTime::operator__class_QDateTime_const__const]
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_]
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x20], 2
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call esi
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QUrlInfo::name_void_
mov esi, eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x24], 0
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QUrlInfo::name_void_
push esi
mov ecx, eax
mov byte [esp + 0x24], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator__class_QString_const__const]
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x64051c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6408dce4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x64051d98
sub eax, 1
je 0x64051d2f
sub eax, 1
je 0x64051cd0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x64051ce1
xor edx, edx
xor esi, esi
jmp 0x64051ce7
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x64051cf6
xor ecx, ecx
jmp 0x64051cfc
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, ecx
jne 0x64051d1b
cmp esi, eax
jne 0x64051d1b
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
call sym.QtNetwork4.dll_public:_class_QDateTime___thiscall_QUrlInfo::lastModified_void_
mov esi, eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 2
call sym.QtNetwork4.dll_public:_class_QDateTime___thiscall_QUrlInfo::lastModified_void_
push esi
mov ecx, eax
mov byte [esp + 0x24], 3
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDateTime::operator_class_QDateTime_const__const]
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDateTime::destructor_void_]
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x20], 2
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call esi
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QUrlInfo::name_void_
mov esi, eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x24], 0
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QUrlInfo::name_void_
push esi
mov ecx, eax
mov byte [esp + 0x24], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x640522c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6408ddd4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSharedData::constructor_void_]
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x1c], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov edi, dword [esp + 0x20]
mov byte [esp + 0x18], 2
mov eax, edi
test edi, edi
jl 0x6405233a
cmp edi, 5
jle 0x6405233c
xor eax, eax
mov eax, dword [eax*4 + 0x640a6df0]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFlag::constructor_int_]
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QFlag::operator_int_void_const]
mov cx, word [esp + 0x28]
mov dword [esi + 0x10], eax
mov word [esi + 0x14], cx
mov dword [esi + 0x18], edi
mov byte [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x640548b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6408e503
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x34]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_]
mov byte [eax + 0x14], 0
mov ecx, dword [esp + 0x34]
mov ebx, 1
push 0x28
mov dword [esp + 0x2c], ebx
call ebp
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x14], 0
je 0x6405490a
push 0x20
call ebp
mov edi, dword [esp + 0x38]
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x64054979
lea ebx, [ebx]
test esi, esi
je 0x64054933
push 0x6409770c
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push esi
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, esp
mov dword [ecx], edx
mov ecx, dword [esp + 0x38]
add dword [ecx + 0xc], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esp
push ecx
mov ecx, eax
call fcn.64054690
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, edi
add esi, ebx
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp esi, eax
jl 0x64054920
mov ecx, dword [esp + 0x34]
push 0x29
call ebp
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x14], 0
je 0x64054993
push 0x20
call ebp
mov ecx, dword [esp + 0x34]
mov byte [ecx + 0x14], bl
mov ecx, dword [esp + 0x34]
push 0x20
call ebp
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esi], eax
add dword [eax + 0xc], ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x28], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x64056950
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x6408ea7e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x640df444]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
call fcn.6406ba80
push 0x200
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x22c], 1
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x640569cd
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
jmp 0x640569e5
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
push esi
mov byte [esp + 0x223], bl
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 1
mov byte [esp + 0x224], bl
call sub.WS2_32.dll_WSACleanup
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.64082938
add esp, 0x21c
ret
Function at 0x6405b680
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
push esi
mov esi, dword [ecx + 4]
call edx
test al, al
jne 0x6405b6a4
push str.QNativeSocketEngine::bytesAvailable___was_called_on_an_uninitialized_socket_device
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
or eax, 0xffffffff
or edx, eax
pop esi
ret
cmp dword [esi + 0x5c], 0
jne 0x6405b6be
push str.QNativeSocketEngine::bytesAvailable___was_called_in_QAbstractSocket::UnconnectedState
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor eax, eax
xor edx, edx
pop esi
ret
mov ecx, esi
pop esi
jmp 0x6406c360
sub esp, 0x1c
push esi
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 4
mov esi, ecx
mov eax, dword [esi + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push 0x4004667f
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x6406c3b9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 0x1c
ret
mov eax, 1
cmp dword [esp + 8], eax
jne 0x6406c40a
cmp dword [esi + 0x60], eax
jne 0x6406c40a
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
push eax
lea ecx, [esp + 0x23]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x7c]
push eax
push ecx
mov dword [esp + 0x38], 2
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x6406c40a
xor eax, eax
xor edx, edx
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 8]
xor edx, edx
pop esi
add esp, 0x1c
ret
Function at 0x6405b6d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
push esi
mov esi, dword [ecx + 4]
call edx
test al, al
jne 0x6405b6f1
push str.QNativeSocketEngine::hasPendingDatagrams___was_called_on_an_uninitialized_socket_device
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor al, al
pop esi
ret
cmp dword [esi + 0x5c], 0
jne 0x6405b709
push str.QNativeSocketEngine::hasPendingDatagrams___was_called_in_QAbstractSocket::UnconnectedState
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor al, al
pop esi
ret
cmp dword [esi + 0x60], 1
je 0x6405b721
push str.QNativeSocketEngine::hasPendingDatagrams___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor al, al
pop esi
ret
mov ecx, esi
pop esi
jmp 0x6406c420
sub esp, 0x9c
mov eax, dword [0x640df444]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
push 0x80
xor ebx, ebx
lea eax, [esp + 0x2c]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x24], 0x80
call sub.MSVCR90.dll_memset
mov ebp, dword [sym.imp.WS2_32.dll_WSARecvFrom]
add esp, 0xc
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1f]
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x30]
push edx
push 1
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 2
call ebp
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, 0xffffffff
jne 0x6406c4f9
cmp eax, 0x2738
je 0x6406c4f9
cmp eax, 0x2746
jne 0x6406c4de
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x30]
push edx
push 1
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x38], ebx
call ebp
mov al, bl
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.64082938
add esp, 0x9c
ret
mov al, 1
jmp 0x6406c4e0
Function at 0x6405b730
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
push esi
mov esi, dword [ecx + 4]
call edx
test al, al
jne 0x6405b754
push str.QNativeSocketEngine::pendingDatagramSize___was_called_on_an_uninitialized_socket_device
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
or eax, 0xffffffff
or edx, eax
pop esi
ret
cmp dword [esi + 0x60], 1
je 0x6405b76e
push str.QNativeSocketEngine::pendingDatagramSize___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor eax, eax
xor edx, edx
pop esi
ret
mov ecx, esi
pop esi
jmp 0x6406c500
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_WSARecv]
push esi
push edi
mov dword [esp + 0x18], ecx
mov edi, 5
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.64082926
mov esi, eax
add esp, 4
xor eax, eax
test edi, edi
jbe 0x6406c554
lea esp, [esp]
mov dword [esi + eax*8 + 4], 0x640df5a0
mov dword [esi + eax*8], 0x2000
inc eax
cmp eax, edi
jb 0x6406c540
mov edx, dword [esp + 0x18]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x7c]
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
push eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x2c], 0
call ebp
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp ebx, 0xffffffff
jne 0x6406c5a3
cmp eax, 0x2738
jne 0x6406c5ab
push esi
add edi, 5
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x6406c516
mov edi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x6406c5b0
or edi, 0xffffffff
or ebx, edi
test esi, esi
je 0x6406c5bd
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
mov edx, ebx
pop ebx
add esp, 0xc
ret
Function at 0x6405c060
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [ecx + 4]
jmp 0x6406bd10
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
call edx
test al, al
je 0x6406bdd3
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, 0xffff
cmp edx, 8
ja case.default.0x6406bd38
jmp dword [edx*4 + 0x6406bddc]
mov eax, 0x1002
jmp case.default.0x6406bd38
mov eax, 0x1001
jmp case.default.0x6406bd38
mov eax, 0x20
jmp case.default.0x6406bd38
mov ecx, dword [esp + 0x14]
push eax
push eax
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x7c]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 4
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0x8004667e
push edx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x6406bdcd
mov al, 1
pop esi
add esp, 8
ret 8
mov eax, 4
jmp case.default.0x6406bd38
mov eax, 0xfffffffb
jmp case.default.0x6406bd38
mov eax, 0x100
jmp case.default.0x6406bd38
mov ecx, 6
lea eax, [ecx - 5]
jmp case.default.0x6406bd38
mov eax, 8
push 4
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esi + 0x7c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x6406bd89
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x6405cd00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6408f922
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x84]
test ecx, ecx
je 0x6405cdd1
mov eax, dword [esp + 0x38]
cmp eax, 7
jne 0x6405cd85
push 0
lea eax, [esp + 0xc]
push eax
call sym.QtNetwork4.dll_public:_class_QVariant___thiscall_QAbstractSocket::socketOption_enum_QAbstractSocket::SocketOption_
push 0
mov ecx, eax
mov dword [esp + 0x34], 0
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QVariant::toInt_bool__const]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
cmp eax, 8
jne 0x6405cdd1
push 1
lea edx, [esp + 0x1c]
push edx
call sym.QtNetwork4.dll_public:_class_QVariant___thiscall_QAbstractSocket::socketOption_enum_QAbstractSocket::SocketOption_
push 0
mov ecx, eax
mov dword [esp + 0x34], 1
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QVariant::toInt_bool__const]
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4