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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x28
call fcn.004632a8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xe6d1b5
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0xc
call fcn.004632a8
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xe6d802
push ebx
add ebx, 4
push ebx
push 8
call fcn.004632a8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x500dfd
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.004632a8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x500dfd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0
mov eax, 0xe6d83e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0041342c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41a56d
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a581
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0
mov eax, 0xe6d842
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe6d83e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.00414f4d
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41a5cb
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41a5db
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a5ef
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0
mov eax, 0xe6d842
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0041ace5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41a62d
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41a641
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
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 - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
push str._quark_share
push dword [ebp - 4]
push str.http:__
mov ecx, 3
call fcn.004018a4
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a6b4
push ebx
call fcn.004632a2
add esp, 4
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 1
lea eax, [ebp - 0x10]
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 getpeername
push 0
push 0xe52b84
push getpeername
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, 0x464310
call fcn.004632ba
add esp, 0x28
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41a74d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41a749
imul eax, dword [ebx]
jmp 0x41a73e
mov ecx, eax
test ecx, ecx
je 0x41a76c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41a765
push ebx
push eax
call fcn.004632a2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41a753
call fcn.004632a2
add esp, 4
mov eax, 0x500e25
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a7a1
push ebx
call fcn.004632a2
add esp, 4
push 1
push 0x2f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0xe6d64c
push dword [ebp - 0xc]
push 0xe6d853
push dword [ebp - 8]
push 0xe6d64e
mov ecx, 5
call fcn.004018a4
add esp, 0x14
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041a420
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a7fa
push ebx
call fcn.004632a2
add esp, 4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
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 0x41a81f
push ebx
call fcn.004632a2
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004173a4
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41a883
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41a893
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41a8a3
push ebx
call fcn.004632a2
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41a8b6
mov eax, 0x500dfd
push eax
push 1
mov ebx, 0x464d20
call fcn.004632ba
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41a8dc
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41a8f0
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe52b62
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.link:__
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419757
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41a940
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41a950
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41a964
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0xe52b62
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.cookie:__
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419757
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41a9b4
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41a9c4
push ebx
call fcn.004632a2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41a9d8
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.keep_alive
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Connection
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41aa1e
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41aa2e
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0xe6d694
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.accept
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41aa70
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41aa80
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.gzip__deflate__br
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.accept_encoding
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41aac2
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41aad2
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.no_store__no_cache__must_revalidate__proxy_revalidate__max_age0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.cache_control
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41ab14
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ab24
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
mov eax, str.cookie
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ab5e
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__pan.quark.cn_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41aba0
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41abb0
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.user_agent
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41abf2
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ac02
push ebx
call fcn.004632a2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0xe9b570]
test ebx, ebx
je 0x41ac36
push ebx
call fcn.004632a2
add esp, 4
pop eax
mov dword [0xe9b570], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ac58
push eax
mov ebx, eax
call fcn.00401839
inc eax
push eax
call fcn.004632a8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41ac5d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ac6e
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41ac7e
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41ac8e
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41acae
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41acbe
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41acce
push ebx
call fcn.004632a2
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632a2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4