joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6404e450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6407c5e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0
mov dword [esi], vtable.QHostInfoLookupManager.0
call fcn.6404e2c0
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov ecx, eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x2c], eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov byte [esp + 0x18], 2
mov dword [esi + 0x30], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov edx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov ecx, edx
mov byte [esp + 0x18], 3
mov dword [esi + 0x34], edx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov ecx, eax
mov byte [esp + 0x18], 4
mov dword [esi + 0x38], eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov byte [esp + 0x18], 5
mov dword [esi + 0x3c], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea edi, [esi + 0x40]
push 0
mov ecx, edi
mov byte [esp + 0x1c], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QThreadPool::constructor_class_QObject__]
push 1
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMutex::constructor_enum_QMutex::RecursionMode_]
mov byte [esp + 0x18], 8
mov byte [esi + 0x4c], 0
call dword [sym.imp.QtCore4.dll_public:_static_class_QThread____cdecl_QCoreApplicationPrivate::mainThread_void_]
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::moveToThread_class_QThread__]
push 1
push str.1waitForThreadPoolDone__
push 0x64088954
call dword [sym.imp.QtCore4.dll_public:_static_class_QCoreApplication____cdecl_QCoreApplication::instance_void_]
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
push 5
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QThreadPool::setMaxThreadCount_int_]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x6404eff0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6407c7eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x28
mov dword [esi], vtable.QUrlInfo.0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x6404f03e
mov ecx, eax
call fcn.6404eec0
jmp 0x6404f040
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edi, dword [reloc.QtCore4.dll___4QString__QAEAAV0_ABV0__Z]
push ecx
mov ecx, eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ecx
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
add ecx, 8
call edi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
push edx
add ecx, 0xc
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
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 + 0x38]
mov ecx, dword [esi + 4]
push eax
add ecx, 0x18
call edi
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esi + 4]
add ecx, 0x1c
call edi
mov edx, dword [esi + 4]
mov al, byte [esp + 0x40]
mov byte [edx + 0x20], al
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x44]
mov byte [ecx + 0x21], dl
mov eax, dword [esi + 4]
mov cl, byte [esp + 0x48]
mov byte [eax + 0x22], cl
mov edx, dword [esi + 4]
mov al, byte [esp + 0x4c]
mov byte [edx + 0x23], al
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x50]
mov byte [ecx + 0x24], dl
mov eax, dword [esi + 4]
mov cl, byte [esp + 0x54]
mov byte [eax + 0x25], cl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x38
Function at 0x6404f110
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6407c836
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x640ba34c]
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.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x6404f160
mov ecx, eax
call fcn.6404eec0
jmp 0x6404f162
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 0x6404fc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6407cb14
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x6404fd2a
sub eax, 1
je 0x6404fcc1
sub eax, 1
je 0x6404fc60
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 0x6404fc71
xor esi, esi
xor edx, edx
jmp 0x6404fc77
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x6404fc86
xor ecx, ecx
jmp 0x6404fc8c
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, eax
jl 0x6404fcad
jg 0x6404fc96
cmp esi, ecx
jbe 0x6404fcad
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 0x6404fdc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6407cb54
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x6404fed8
sub eax, 1
je 0x6404fe6f
sub eax, 1
je 0x6404fe10
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 0x6404fe21
xor edx, edx
xor esi, esi
jmp 0x6404fe27
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x6404fe36
xor ecx, ecx
jmp 0x6404fe3c
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edx, ecx
jne 0x6404fe5b
cmp esi, eax
jne 0x6404fe5b
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 0x64050400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6407cc74
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x640ba34c]
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]
test edi, edi
mov byte [esp + 0x18], 2
mov eax, edi
jl 0x6405047a
cmp edi, 5
jle 0x6405047c
xor eax, eax
mov eax, dword [eax*4 + 0x64088a84]
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 0x64052ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6407d683
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ba34c]
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 0x64052b3a
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 0x64052ba9
lea ebx, [ebx]
test esi, esi
je 0x64052b63
push 0x640845f0
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.640528c0
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 0x64052b50
mov ecx, dword [esp + 0x34]
push 0x29
call ebp
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x14], 0
je 0x64052bc3
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 0x64055050
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x6407dd9e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x640ba34c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov eax, dword [0x640ba34c]
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.6406a690
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 0x640550cd
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
jmp 0x640550e5
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.6406fa0a
add esp, 0x21c
ret
Function at 0x640699a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64080fab
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [ecx + 4]
lea ecx, [esi + 0x5c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x640699f9
push str.QLocalServer::listen___called_when_already_listening
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
mov edi, dword [esp + 0x2c]
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x64069ad1
push str.QLocalServer::listen
lea ecx, [esp + 0x1c]
mov dword [esi + 0x70], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
mov byte [esp + 0x2c], 0x20
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea ecx, [esp + 0x18]
push str._1:_Name_error
push ecx
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalServer::tr_char_const___char_const__
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x34], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esi + 0x6c]
mov byte [esp + 0x28], 2
call dword [0x64082178]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
push edi
mov ecx, esi
call fcn.6406d920
test al, al
lea ecx, [esi + 0x5c]
jne 0x64069b05
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::clear_void_]
lea ecx, [esi + 0x60]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::clear_void_]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
push edi
call dword [0x64082178]
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
Function at 0x6406a690
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x640ba34c]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
push 2
mov dword [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x6406a6e4
push 0x6408bb84
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.6406fa0a
add esp, 0x194
ret
mov ecx, dword [esp + 0x194]
mov dword [esi], 0x20
mov eax, esi
pop esi
xor ecx, esp
call fcn.6406fa0a
add esp, 0x194
ret

Function at 0x6406a933
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [ecx + 4]
jmp 0x6406a930
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 0x6406a9f3
mov edx, dword [esp + 0x10]
xor eax, eax
cmp edx, 8
mov ecx, 0xffff
ja case.default.0x6406a958
jmp dword [edx*4 + 0x6406a9fc]
mov eax, 0x1002
jmp case.default.0x6406a958
mov eax, 0x1001
jmp case.default.0x6406a958
mov eax, 0x20
jmp case.default.0x6406a958
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 0x6406a9ed
mov al, 1
pop esi
add esp, 8
ret 8
mov eax, 4
jmp case.default.0x6406a958
mov eax, 0xfffffffb
jmp case.default.0x6406a958
mov eax, 0x100
jmp case.default.0x6406a958
mov ecx, 6
lea eax, [ecx - 5]
jmp case.default.0x6406a958
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 0x6406a9a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
pop esi
add esp, 8
ret 8