Function at 0x4179fe
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x28
call fcn.0045f7da
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xd7db14
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0045f7da
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xd7e043
push ebx
add ebx, 4
push ebx
push 8
call fcn.0045f7da
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xd72ecb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0045f7da
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xd72ecb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push str._quark
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 3
call fcn.0040118e
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x417b1c
push ebx
call fcn.0045f7d4
add esp, 4
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push VariantClear
push 0
push 0xd76477
push VariantClear
push 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36_Edg_116.0.1938.76_r_n
push 3
mov ebx, 0x190
call fcn.004629c0
add esp, 0x28
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x417bb5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x417bb1
imul eax, dword [ebx]
jmp 0x417ba6
mov ecx, eax
test ecx, ecx
je 0x417bd4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x417bcd
push ebx
push eax
call fcn.0045f7d4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x417bbb
call fcn.0045f7d4
add esp, 4
mov eax, 0x4892fe
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x417c09
push ebx
call fcn.0045f7d4
add esp, 4
push 1
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0
mov eax, 0xd7deab
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xd80ee9
call fcn.00412e5e
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417c5d
push ebx
call fcn.0045f7d4
add esp, 4
push 0xd7de8d
push dword [ebp - 0x20]
push 0xd7de8f
mov ecx, 3
call fcn.0040118e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417c8a
push ebx
call fcn.0045f7d4
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00418161
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417ca6
push ebx
call fcn.0045f7d4
add esp, 4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417ccb
push ebx
call fcn.0045f7d4
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004155ad
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x417d2f
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417d3f
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417d4f
push ebx
call fcn.0045f7d4
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x417d62
mov eax, 0xd72ecb
push eax
push 1
mov ebx, 0x168
call fcn.00461710
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417d88
push ebx
call fcn.0045f7d4
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x417d9c
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xd76455
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.link:__
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00417498
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417dec
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417dfc
push ebx
call fcn.0045f7d4
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417e10
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xd76455
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.cookie:__
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00417498
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417e60
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417e70
push ebx
call fcn.0045f7d4
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x417e84
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.keep_alive
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417eca
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417eda
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0xd7ded5
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.accept
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417f1c
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417f2c
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.gzip__deflate__br
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.accept_encoding
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417f6e
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417f7e
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.no_store__no_cache__must_revalidate__proxy_revalidate__max_age0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.cache_control
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417fc0
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417fd0
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov eax, str.cookie
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41800a
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.https:__pan.quark.cn_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.referer
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41804c
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41805c
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__quark_cloud_drive_2.5.46_Chrome_100.0.4896.160_Electron_18.3.5.9_ceec1b2e74_Safari_537.36_Channel_pckk_360_daily
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.user_agent
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41809e
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4180ae
push ebx
call fcn.0045f7d4
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0xd80f51]
test ebx, ebx
je 0x4180e2
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [0xd80f51], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x418104
push eax
mov ebx, eax
call fcn.00401123
inc eax
push eax
call fcn.0045f7da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x418109
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41812a
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41813a
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41814a
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0045f7d4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4