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

Disassembly:
push 0xffffffffffffffff
push 0x6407e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ba34c]
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.64044330
add esp, 8
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x8c], 1
mov edi, edi
mov ecx, eax
add eax, 1
test ecx, ecx
mov dword [esp + 0x78], eax
jne 0x64058124
cmp ebp, dword [esp + 0x80]
je 0x64058124
mov edi, edi
test eax, eax
je 0x6405810d
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 0x64057e9b
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_]
test bl, bl
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x68]
je 0x64057e92
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
mov eax, dword [esp + 0x78]
sub eax, 1
mov dword [esp + 0x78], eax
jmp 0x64057de0
lea edi, [esi + 1]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QStringRef::destructor_void_]
push 1
push edi
push 0x64088d80
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 0x64057fb3
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 0x64057f9e
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 0x64057f9e
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 0x64057f8e
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 0x64057f8e
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]
sub eax, 1
mov dword [esp + 0x78], eax
jmp 0x64057de0
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 0x6405803a
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 0x640580fd
cmp ebx, 0xffff
ja 0x640580fd
movzx eax, bx
mov dword [esp + 0x18], eax
jmp 0x64058044
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.64022b30
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]
sub eax, 1
mov dword [esp + 0x78], eax
jmp 0x64057de0
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x94]
add ebp, 4
mov dword [esp + 0x7c], ebp
jmp 0x64057dc0
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov byte [esp + 0x8c], 0
je 0x6405814c
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6405814c
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x78]
call fcn.64002a20
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