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

Disassembly:
sub esp, 0x3c
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
cmp dword [esi + 0xd8], 3
jne 0x640733dd
pop edi
mov al, 1
pop esi
add esp, 0x3c
ret 4
mov al, byte [esi + 0x87]
lea ecx, [esp + 0x34]
mov byte [esi + 0x87], 0
push ebx
push ebp
mov byte [esp + 0x13], al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], bind
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], bind
call dword [0x640b051c]
push str._q_networksession
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call dword [0x640b0690]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.6406f5c0
add esp, 8
lea ecx, [esp + 0x24]
call dword [0x640b0154]
cmp dword [esi + 0xd8], 1
jne 0x6407351a
push dword [esi + 0xd0]
call sym.Qt5Network.dll_public:_static_void___cdecl_QHostInfo::abortHostLookup_int_
add esp, 4
mov dword [esi + 0xd0], 0xffffffff
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
lea ebx, [esi + 0x8c]
push ebx
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x640734f2
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::constructor_int_
mov eax, dword [0x640b0258]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
call fcn.6406faf0
push eax
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x640734d3
cmp eax, 0xffffffff
je 0x640734e0
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x640734e0
push dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.6405ce10
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.64070340
lea ecx, [esp + 0x18]
jmp 0x6407350c
lea eax, [esp + 0x20]
push ebx
push eax
call sym.Qt5Network.dll_public:_static_class_QHostInfo___cdecl_QHostInfo::fromName_class_QString_const__
add esp, 8
mov ecx, esi
push eax
call fcn.64070340
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::destructor_void_
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov eax, dword [edi + 4]
cmp dword [eax + 0xd8], 0
je 0x6407373f
mov ecx, 0x7530
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6407355e
lea eax, [esp + 0x20]
push eax
call sym.Qt5Network.dll_public:_class_QNetworkConfiguration___thiscall_QNetworkSession::configuration_void_
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_int___thiscall_QNetworkConfiguration::connectTimeout_void_const
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkConfiguration::destructor_void_
mov eax, dword [edi + 4]
mov byte [esp + 0x12], 1
cmp dword [eax + 0xd8], 2
jne 0x64073697
mov ebx, dword [esp + 0x50]
mov eax, dword [0x640b052c]
nop dword [eax]
cmp ebx, 0xffffffff
je 0x640735a9
lea ecx, [esp + 0x3c]
call eax
mov ebp, eax
mov ecx, edx
mov eax, ebx
cdq
cmp ecx, edx
jg 0x6407367e
jl 0x640735a4
cmp ebp, eax
jae 0x6407367e
mov eax, dword [0x640b052c]
lea ecx, [esp + 0x3c]
call eax
push eax
push ebx
call dword [0x640b0ac8]
add esp, 8
mov edx, eax
cmp ebx, 0xffffffff
je 0x640735ca
cmp edx, dword [esp + 0x1c]
cmovg edx, dword [esp + 0x1c]
mov byte [esp + 0x12], 0
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x64073662
mov eax, dword [ecx]
lea ebp, [esp + 0x12]
push ebp
push edx
mov eax, dword [eax + 0x90]
call eax
test al, al
je 0x64073662
cmp byte [esp + 0x12], 0
jne 0x64073662
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x64073608
call dword [0x640b0874]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x64073662
call fcn.6406f5a0
cmp eax, 3
jne 0x6407363d
mov ecx, esi
call fcn.64071980
cmp byte [esi + 0x87], 0
je 0x64073669
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov byte [esi + 0x87], 0
jmp 0x64073669
mov ecx, dword [esi + 0xac]
call fcn.6406f410
cmp eax, 0xc
je 0x64073657
cmp eax, 0xd
jle 0x64073662
cmp eax, 0x12
jg 0x64073662
lea ecx, [esi + 0x98]
call fcn.64070be0
mov ecx, esi
call fcn.64070020
mov eax, dword [edi + 4]
cmp dword [eax + 0xd8], 2
mov eax, dword [0x640b052c]
je 0x64073580
cmp byte [esp + 0x12], 0
jne 0x64073697
mov eax, dword [edi + 4]
cmp dword [eax + 0xd8], 2
jne 0x64073724
jmp 0x640736a7
mov eax, dword [edi + 4]
cmp dword [eax + 0xd8], 3
je 0x6407372d
push 0xffffffffffffffff
push 0
push str.Socket_operation_timed_out
lea eax, [esp + 0x5c]
mov ecx, sym.Qt5Network.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
push eax
call dword [0x640b0d6c]
lea eax, [esp + 0x50]
mov dword [esi + 0xdc], 5
push eax
lea ecx, [esi + 0x34]
call dword [0x640b0d90]
lea ecx, [esp + 0x50]
call dword [0x640b0d94]
lea eax, [esp + 0x50]
mov dword [esi + 0xd8], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 3
push sym.Qt5Network.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
push edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], 0
call dword [0x640b0cdc]
add esp, 0x10
mov ecx, esi
call fcn.640726f0
mov eax, dword [edi + 4]
cmp dword [eax + 0xd8], 3
jne 0x6407373f
cmp byte [esp + 0x13], 0
je 0x6407373b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov bl, 1
jmp 0x64073741
xor bl, bl
mov esi, dword [esp + 0x38]
test esi, esi
je 0x6407376e
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x6407375e
mov eax, dword [esi + 8]
push esi
call eax
add esp, 4
lock xadd dword [esi], ebp
dec ebp
jne 0x6407376e
push esi
call fcn.640ae324
add esp, 4
pop ebp
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x3c
ret 4