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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov dword [esp + 0x3c], 0
lea esi, [ecx + 0x78]
mov eax, dword [esi]
push edi
mov dword [esp + 0x24], ecx
cmp dword [eax + 4], 0
jne 0x6404023b
push 0x200
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::reserve_int_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QByteArray::endsWith_char_const__const]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x14], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push 0
push 1
push eax
call dword [sym.imp.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevice::read_char___long_long___int64__]
mov ebx, edx
mov ebp, eax
or eax, ebx
je 0x640405f1
mov eax, ebp
and eax, ebx
cmp eax, 0xffffffff
je 0x640405d8
push dword [esp + 0x14]
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_]
add dword [esp + 0x18], 1
adc dword [esp + 0x1c], 0
cmp byte [esp + 0x14], 0xa
jne 0x640402fd
push 0x640b76a8
mov ecx, esi
call edi
test al, al
jne 0x640402c7
push 0x640b76ac
mov ecx, esi
call edi
test al, al
je 0x640402cc
mov byte [esp + 0x13], 1
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x640402e1
push 0x640b45d0
mov ecx, esi
call edi
test al, al
jne 0x64040318
mov eax, dword [esi]
cmp dword [eax + 4], 1
jne 0x640402f6
push 0x640b66ec
mov ecx, esi
call edi
test al, al
jne 0x64040318
cmp byte [esp + 0x13], 0
jne 0x64040318
test ebx, ebx
jl 0x640405f1
jg 0x64040264
test ebp, ebp
je 0x640405f1
jmp 0x64040264
mov ebp, dword [esp + 0x24]
mov ecx, ebp
push esi
call fcn.6403f890
mov ecx, esi
mov dword [ebp + 0x3c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::clear_void_]
lea ecx, [ebp + 0x30]
call fcn.6403e560
lea ecx, [esp + 0x2c]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
push 0x640b5e24
mov esi, eax
call ebx
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x30]
call fcn.6403e6e0
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__toLower_QByteArray__QHAE_AV1_XZ]
push 0
push str.chunked
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char_const___int_const]
cmp eax, 0xffffffff
lea ecx, [esp + 0x24]
setne al
mov byte [ebp + 0x7c], al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push 0x640b61d8
lea ecx, [esp + 0x28]
mov esi, eax
call ebx
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [ebp + 0x30]
call fcn.6403e6e0
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x40]
mov ebx, 1
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll__toLower_QByteArray__QGBE_AV1_XZ]
push 0
push 0x640b35dc
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char_const___int_const]
cmp eax, 0xffffffff
jne 0x640404f2
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push str.proxy_connection
lea ecx, [esp + 0x2c]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [ebp + 0x30]
call fcn.6403e6e0
lea ecx, [esp + 0x34]
mov ebx, 0x1f
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__toLower_QByteArray__QHAE_AV1_XZ]
push 0
push 0x640b35dc
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char_const___int_const]
cmp eax, 0xffffffff
jne 0x640404f2
cmp dword [ebp + 0x50], 1
jne 0x640404ee
cmp dword [ebp + 0x54], 0
jne 0x640404ee
mov eax, dword [esp + 0x4c]
cmp dword [eax + 4], 0
jne 0x640404ee
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push str.proxy_connection
lea ecx, [esp + 0x28]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x30]
call fcn.6403e6e0
lea ecx, [esp + 0x2c]
mov ebx, 0x1ff
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__toLower_QByteArray__QHAE_AV1_XZ]
push 0
push str.keep_alive
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::indexOf_char_const___int_const]
cmp eax, 0xffffffff
je 0x640404f2
xor al, al
jmp 0x640404f4
mov al, 1
mov byte [ebp + 0x7d], al
test ebx, 0x100
je 0x6404050f
lea ecx, [esp + 0x2c]
and ebx, 0xfffffeff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, bl
jns 0x64040523
lea ecx, [esp + 0x28]
and ebx, 0xffffff7f
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 0x40
je 0x64040535
lea ecx, [esp + 0x20]
and ebx, 0xffffffbf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 0x20
je 0x64040547
lea ecx, [esp + 0x30]
and ebx, 0xffffffdf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 0x10
je 0x64040559
lea ecx, [esp + 0x34]
and ebx, 0xffffffef
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 8
je 0x6404056b
lea ecx, [esp + 0x38]
and ebx, 0xfffffff7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 4
je 0x6404057d
lea ecx, [esp + 0x24]
and ebx, 0xfffffffb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 2
je 0x6404058c
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
cmp byte [ebp + 0xcc], 0
je 0x640405e7
mov ecx, ebp
call fcn.6403f6f0
test al, al
je 0x640405e7
cmp dword [ebp + 0xf8], 0
jne 0x640405c3
push 0x38
call fcn.640ae2b5
add esp, 4
mov dword [ebp + 0xf8], eax
mov ecx, ebp
call fcn.6403f670
test eax, eax
je 0x640405e7
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x38
ret 4
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4