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

Disassembly:
push 0xffffffffffffffff
push 0x6408f2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov esi, dword [esp + 0x94]
mov ecx, eax
mov dword [esp + 0x8c], 0
mov dword [esi], eax
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov ecx, dword [esp + 0x9c]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x28], 1
call fcn.64045e40
add esp, 8
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x8c], 1
mov edi, edi
mov ecx, eax
inc eax
mov dword [esp + 0x78], eax
test ecx, ecx
jne 0x64059ace
cmp ebp, dword [esp + 0x80]
je 0x64059ace
lea esp, [esp]
test eax, eax
je 0x64059ab7
push 1
xor edi, edi
push edi
push ecx
mov byte [esp + 0x30], 0x3d
mov edx, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x64059849
push esi
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_class_QStringRef___thiscall_QString::leftRef_int_]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0x90], 2
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QNetworkProxyQuery::protocolTag_void_
lea edx, [esp + 0x68]
push edx
push eax
mov byte [esp + 0x94], 3
call dword [sym.imp.QtCore4.dll_bool___cdecl_operator_class_QString_const___class_QStringRef_const__]
add esp, 8
test al, al
lea ecx, [esp + 0x28]
sete bl
mov byte [esp + 0x8c], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x68]
test bl, bl
je 0x64059840
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jmp 0x64059790
lea edi, [esi + 1]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
push 1
push edi
push 0x640a70e4
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], 3
mov dword [esp + 0x24], 0x1f90
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QLatin1String_const___int__enum_Qt::CaseSensitivity_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x6405995f
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_class_QStringRef___thiscall_QString::midRef_int__int_]
push str.http
lea ecx, [esp + 0x50]
mov byte [esp + 0x90], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_bool___cdecl_operator_class_QLatin1String_const___class_QStringRef_const__]
lea edx, [esp + 0x5c]
push edx
push eax
call edi
add esp, 8
test al, al
jne 0x6405994a
push str.https
lea ecx, [esp + 0x54]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
lea ecx, [esp + 0x5c]
push ecx
push eax
call edi
add esp, 8
test al, al
jne 0x6405994a
push str.socks
lea ecx, [esp + 0x58]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
lea edx, [esp + 0x5c]
push edx
push eax
call edi
add esp, 8
test al, al
jne 0x6405993a
push str.socks5
lea ecx, [esp + 0x5c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
lea ecx, [esp + 0x5c]
push ecx
push eax
call edi
add esp, 8
test al, al
jne 0x6405993a
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jmp 0x64059790
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x438
lea ecx, [esp + 0x5c]
lea edi, [esi + 3]
mov byte [esp + 0x8c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
push 1
push edi
push ecx
mov byte [esp + 0x38], 0x3a
mov edx, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x640599e6
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::mid_int__int_]
push 0xa
lea edx, [esp + 0x1b]
push edx
mov ecx, eax
mov byte [esp + 0x94], 5
call dword [sym.imp.QtCore4.dll_public:_unsigned_int___thiscall_QString::toUInt_bool___int_const]
lea ecx, [esp + 0x30]
mov ebx, eax
mov byte [esp + 0x8c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x64059aa9
cmp ebx, 0xffff
ja 0x64059aa9
movzx eax, bx
mov dword [esp + 0x18], eax
jmp 0x640599f0
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::length_void_const]
mov esi, eax
lea ecx, [esp + 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov ebx, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [esp + 0x34], eax
sub esi, edi
push esi
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
mov byte [esp + 0x98], 7
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::mid_int__int_]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push ebx
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 8
call sym.QtNetwork4.dll_public:_void___thiscall_QNetworkProxy::constructor_enum_QNetworkProxy::ProxyType__class_QString_const___unsigned_short_int__class_QString_const___class_QString_const__
mov ecx, dword [esp + 0x94]
push eax
mov byte [esp + 0x90], 9
call fcn.64023600
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 8
call sym.QtNetwork4.dll_public:_void___thiscall_QNetworkProxy::destructor_void_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jmp 0x64059790
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x94]
add ebp, 4
mov dword [esp + 0x7c], ebp
jmp 0x64059770
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x8c], 0
test ecx, ecx
je 0x64059af6
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64059af6
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x78]
call fcn.64002a70
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret