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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x28
call fcn.004632bb
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], 0xe6d18a
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.004632bb
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], 0xe6d7d7
push ebx
add ebx, 4
push ebx
push 8
call fcn.004632bb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xe4f5b7
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.004632bb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xe4f5b7
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.00401100
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 0x41992f
push ebx
call fcn.004632b5
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 getpeername
push 0
push 0xe52b63
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, 0x464320
call fcn.004632cd
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 0x4199c8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4199c4
imul eax, dword [ebx]
jmp 0x4199b9
mov ecx, eax
test ecx, ecx
je 0x4199e7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4199e0
push ebx
push eax
call fcn.004632b5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4199ce
call fcn.004632b5
add esp, 4
mov eax, 0x500dea
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 0x419a1c
push ebx
call fcn.004632b5
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, 0xe6d63f
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xe9b514
call fcn.00412f80
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419a70
push ebx
call fcn.004632b5
add esp, 4
push 0xe6d621
push dword [ebp - 0x20]
push 0xe6d623
mov ecx, 3
call fcn.00401100
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x419a9d
push ebx
call fcn.004632b5
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.00419f74
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x419ab9
push ebx
call fcn.004632b5
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 0x419ade
push ebx
call fcn.004632b5
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.00416ef8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x419b42
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x419b52
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x419b62
push ebx
call fcn.004632b5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x419b75
mov eax, 0xe4f5b7
push eax
push 1
mov ebx, 0x464d30
call fcn.004632cd
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x419b9b
push ebx
call fcn.004632b5
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419baf
push ebx
call fcn.004632b5
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, 0xe52b41
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.004192ab
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x419bff
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x419c0f
push ebx
call fcn.004632b5
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x419c23
push ebx
call fcn.004632b5
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, 0xe52b41
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.004192ab
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x419c73
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x419c83
push ebx
call fcn.004632b5
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x419c97
push ebx
call fcn.004632b5
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 0x419cdd
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419ced
push ebx
call fcn.004632b5
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0xe6d669
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 0x419d2f
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419d3f
push ebx
call fcn.004632b5
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 0x419d81
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419d91
push ebx
call fcn.004632b5
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 0x419dd3
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419de3
push ebx
call fcn.004632b5
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 0x419e1d
push ebx
call fcn.004632b5
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 0x419e5f
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419e6f
push ebx
call fcn.004632b5
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 0x419eb1
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x419ec1
push ebx
call fcn.004632b5
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 [0xe9b56c]
test ebx, ebx
je 0x419ef5
push ebx
call fcn.004632b5
add esp, 4
pop eax
mov dword [0xe9b56c], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x419f17
push eax
mov ebx, eax
call fcn.00401095
inc eax
push eax
call fcn.004632bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x419f1c
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419f3d
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x419f4d
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x419f5d
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632b5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4