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

Disassembly:
push 0xffffffffffffffff
push 0x640990a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x640ee650]
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 0x6401fb81
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
jne 0x6401fb7a
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x6c]
push ecx
mov ecx, dword [edx + 4]
call fcn.6401dc50
cmp dword [esi + 0x1c], 0
je 0x6401fb81
mov ecx, esi
call fcn.6401f1f0
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 0x6401fbd5
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x38], 0
jne 0x6401fbcd
push eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 4]
call fcn.6401dc50
cmp dword [esi + 0x1c], 0
je 0x6401fbd5
mov ecx, esi
pop esi
jmp fcn.6401f1f0
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 0x64021e9a
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
or eax, edx
jne 0x64021e9a
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 0x64021e9a
jl 0x64021e7a
test eax, eax
jae 0x64021e9a
mov ecx, dword [esi + 8]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
push eax
mov ecx, esi
call fcn.640217e0
cmp dword [esi + 0x1c], 0
je 0x64021e97
mov ecx, esi
call fcn.64020f20
pop esi
pop ecx
ret
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 2
test cl, 1
jne 0x64021eae
shr eax, 3
test al, 1
je 0x64021e97
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x10], 8
je 0x64021e97
mov ecx, esi
pop esi
add esp, 4
jmp fcn.64020f20
cmp dword [esp + 8], 0
jne case.default.0x64021ee0
mov eax, dword [esp + 0xc]
cmp eax, 0xa
ja case.default.0x64021ee0
jmp dword [eax*4 + 0x64021f80]
mov ecx, dword [esp + 4]
jmp fcn.64020f20
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
test al, 1
je case.default.0x64021ee0
jmp fcn.6401f1f0
mov ecx, dword [esp + 4]
jmp 0x64021e40
mov ecx, dword [esp + 4]
jmp fcn.640214f0
mov ecx, dword [esp + 4]
jmp 0x6401faf0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 4]
push eax
call fcn.640217e0
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.6401eaf0
ret
mov ecx, dword [esp + 4]
jmp fcn.6401f1f0
mov ecx, dword [esp + 4]
jmp 0x6401fba0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 4]
push edx
call fcn.6401eb30
ret
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
test al, 1
je case.default.0x64021ee0
jmp fcn.6401f1f0