Function at 0x6407b800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x640a5350
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x30], ebp
cmp dword [ecx + 0x60], 1
jne 0x6407b873
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 0x78]
lea edx, [esp + 0x30]
push edx
push 9
push 0x29
push eax
mov dword [esp + 0x3c], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
mov esi, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x6407b9ef
mov ecx, dword [esp + 0x2c]
push ecx
push esi
call sym.QtNetwork4.dll_public:_static_class_QNetworkInterface___cdecl_QNetworkInterface::interfaceFromIndex_int_
add esp, 8
jmp 0x6407b9f6
mov ecx, dword [ecx + 0x78]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push 9
push ebp
mov esi, 4
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x6407b9eb
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x6407b9eb
cmp dword [esp + 0x24], esi
jl 0x6407b9eb
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [esp + 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_unsigned_int_
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x40], ebp
call sym.QtNetwork4.dll_public:_static_class_QList_class_QNetworkInterface____cdecl_QNetworkInterface::allInterfaces_void_
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x6407b9b9
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov edi, dword [eax]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call sym.QtNetwork4.dll_public:_class_QFlags_enum_QNetworkInterface::InterfaceFlag____thiscall_QNetworkInterface::flags_void_
mov ecx, dword [eax]
and ecx, 0x20
je 0x6407b9a6
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call sym.QtNetwork4.dll_public:_class_QList_class_QNetworkAddressEntry____thiscall_QNetworkInterface::addressEntries_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
xor esi, esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x6407b985
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QNetworkAddressEntry::ip_void_
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x40], 3
call sym.QtNetwork4.dll_public:_bool___thiscall_QHostAddress::operator_class_QHostAddress_const__const
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x3c], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
test bl, bl
jne 0x6407ba0e
lea ecx, [esp + 0x14]
inc esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp esi, eax
jl 0x6407b934
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3c], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407b9a6
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.64060c70
lea ecx, [esp + 0x18]
inc ebp
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp ebp, eax
jl 0x6407b8ef
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x3c], 0
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407b9da
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.640617d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esp + 0x44]
mov ecx, esi
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::constructor_void_
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov esi, dword [esp + 0x44]
push edi
mov ecx, esi
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::constructor_class_QAuthenticator_const__
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3c], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407ba3b
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x18]
call fcn.64060c70
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x3c], 0
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6407ba5c
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x1c]
call fcn.640617d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
jmp 0x6407b9f6