Function at 0x6406b5b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6408e6b7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x14]
mov ebp, dword [edi + 4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [edi + 0x8c]
lea esi, [esp + 0x14]
push esi
mov dword [esp + 0x34], 1
mov ecx, dword [eax + 4]
push dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test al, al
je 0x6406b8db
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QByteArray::size_void_const]
cmp eax, 2
jl 0x6406b8db
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push 0
mov ecx, esi
mov byte [esp + 0x34], 6
mov dword [esp + 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QByteArray::at_int_const]
cmp al, 5
jne 0x6406b7ce
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QByteArray::length_void_const]
cmp eax, 3
jl 0x6406b7ce
push 2
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QByteArray::at_int_const]
test al, al
jne 0x6406b7ce
push 1
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QByteArray::at_int_const]
test al, al
je 0x6406b716
push 1
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QByteArray::at_int_const]
movsx esi, al
cmp esi, 1
je 0x6406b69a
cmp esi, 2
jne 0x6406b707
lea ecx, [edi + 0x9c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x6406b707
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov esi, dword [edi + 4]
lea eax, [esp + 0x20]
push 0
push str.Host_not_found
push eax
mov byte [esp + 0x3c], 0x15
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QAbstractSocket::tr_char_const___char_const__
add esp, 0xc
push eax
push 2
mov ecx, esi
mov byte [esp + 0x38], 0x20
call fcn.64065a90
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
mov ecx, esi
call fcn.64065b20
mov dword [edi + 0x78], 0xc
lea ecx, [esp + 0x24]
jmp 0x6406b826
push esi
push 6
mov ecx, edi
call fcn.6406cb40
jmp 0x6406b831
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 3
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.6406b980
add esp, 0x10
test al, al
jne 0x6406b77d
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov esi, dword [edi + 4]
lea eax, [esp + 0x24]
push 0
push str.SOCKS_version_5_protocol_error
push eax
mov byte [esp + 0x3c], 0x22
call fcn.6406d370
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov byte [esp + 0x38], 0x2c
call fcn.64065a90
mov byte [esp + 0x30], 0x22
jmp 0x6406b808
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 0
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::remove_int__int_]
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QByteArray::size_void_const]
mov esi, eax
dec esi
js 0x6406b831
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QIODevice::ungetChar_char_]
jmp 0x6406b7b0
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QByteArray::at_int_const]
mov ecx, dword [edi + 0x8c]
movzx eax, al
push eax
mov ecx, dword [ecx]
call ebx
dec esi
jns 0x6406b7b0
jmp 0x6406b831
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov esi, dword [edi + 4]
lea eax, [esp + 0x24]
push 0
push str.SOCKS_version_5_protocol_error
push eax
mov byte [esp + 0x3c], 8
call fcn.6406d370
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov byte [esp + 0x38], 0x12
call fcn.64065a90
mov byte [esp + 0x30], 8
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
mov ecx, esi
call fcn.64065b20
lea ecx, [esp + 0x20]
mov dword [edi + 0x78], 0xb
mov byte [esp + 0x30], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [edi + 0x78]
cmp eax, 5
jne 0x6406b889
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x64]
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
mov ax, word [esp + 0x1c]
mov word [edi + 0x68], ax
mov eax, dword [edi + 0x7c]
cmp eax, 1
jne 0x6406b869
push 3
mov ecx, ebp
mov dword [edi + 0x78], 7
call fcn.64065b20
jmp 0x6406b8c6
cmp eax, 2
jne 0x6406b880
push 5
mov ecx, ebp
mov dword [edi + 0x78], 9
call fcn.64065b20
jmp 0x6406b8cd
mov dword [edi + 0x78], 8
jmp 0x6406b8cd
cmp eax, 9
jne 0x6406b8b9
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x18]
push eax
add ecx, 0x10
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
mov ecx, dword [edi + 0x98]
mov ax, word [esp + 0x1c]
mov word [ecx + 0x14], ax
mov ecx, edi
call fcn.6406a320
jmp 0x6406b8cd
mov eax, dword [edi + 0x8c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, edi
call fcn.6406a200
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret