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

Disassembly:
push 0xffffffffffffffff
push 0x64097c49
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x640ed630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea ecx, [esp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
mov ecx, dword [esi + 8]
lea eax, [esp + 8]
push eax
push 1
mov dword [esp + 0x28], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::setSocketOption_enum_QAbstractSocket::SocketOption__class_QVariant_const__
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
cmp byte [esi + 0x38], 0
mov dword [esi + 0x60], 0
jne 0x6401f581
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
jne 0x6401f57a
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x6c]
push ecx
mov ecx, dword [edx + 4]
call fcn.6401d680
cmp dword [esi + 0x1c], 0
je 0x6401f581
mov ecx, esi
call fcn.6401ebf0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x6401f5d5
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x38], 0
jne 0x6401f5cd
push eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 4]
call fcn.6401d680
cmp dword [esi + 0x1c], 0
je 0x6401f5d5
mov ecx, esi
pop esi
jmp fcn.6401ebf0
pop esi
ret
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
cmp eax, 3
jne 0x640212aa
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
or eax, edx
jne 0x640212aa
mov ecx, dword [esi + 8]
push eax
push 1
lea eax, [esp + 0xf]
push eax
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::peek_char___long_long___int64__]
test edx, edx
jg 0x640212aa
jl 0x6402128a
test eax, eax
jae 0x640212aa
mov ecx, dword [esi + 8]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
push eax
mov ecx, esi
call fcn.6401f9c0
cmp dword [esi + 0x1c], 0
je 0x640212a7
mov ecx, esi
call fcn.64020c80
pop esi
pop ecx
ret
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 2
test cl, 1
jne 0x640212be
shr eax, 3
test al, 1
je 0x640212a7
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 8
je 0x640212a7
mov ecx, esi
pop esi
add esp, 4
jmp fcn.64020c80
cmp dword [esp + 8], 0
jne case.default.0x640215e0
mov eax, dword [esp + 0xc]
cmp eax, 0xa
ja case.default.0x640215e0
jmp dword [eax*4 + 0x64021680]
mov ecx, dword [esp + 4]
jmp fcn.64020c80
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
test al, 1
je case.default.0x640215e0
jmp fcn.6401ebf0
mov ecx, dword [esp + 4]
jmp 0x64021250
mov ecx, dword [esp + 4]
jmp fcn.640212e0
mov ecx, dword [esp + 4]
jmp 0x6401f4f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 4]
push eax
call fcn.6401f9c0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 4]
push edx
push eax
call fcn.6401e4f0
ret
mov ecx, dword [esp + 4]
jmp fcn.6401ebf0
mov ecx, dword [esp + 4]
jmp 0x6401f5a0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 4]
push edx
call fcn.6401e530
ret
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
test al, 1
je case.default.0x640215e0
jmp fcn.6401ebf0