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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.00484d2d
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], 0x586798
push ebx
add ebx, 8
push ebx
push 8
call fcn.00484d2d
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00419e42
pop ebx
mov eax, str.https:__wenku.baidu.com_gdoc_download_down
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42a56f
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.targetUticketNum0reqVipFreeDoc0embedFontstrue
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.storage0target_uticket_num0sz10609v_code0v_input0ds0tk0req_vip_free_doc0docId
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.ct20008retTypenewResponsesns_typedoc_id
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.fromToolBar.CoreBtn.SingleDownuseTicket0downloadToken
mov ecx, 7
call fcn.00402179
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42a5ba
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 0
call fcn.0042967e
mov dword [ebp - 0x18], eax
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_125.0.0.0_Safari_537.36_Edg_125.0.0.0
push dword [ebp - 0x18]
push str..html__wkts_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str._r_nHost:_wenku.baidu.com_r_nOrigin:_https:__wenku.baidu.com_r_nReferer:_https:__wenku.baidu.com_view_
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.Accept:_application_json__text_javascript_____q0.01_r_nContent_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_nCookie:
mov ecx, 7
call fcn.00402179
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a60e
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42a622
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0
push 1
push 0
push 8
call fcn.00484d2d
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 1
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00415240
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x42a71b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42a72b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42a73b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42a74b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42a75b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42a76b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42a77b
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x489b00
call fcn.00484d39
add esp, 0x10
call fcn.00484d1b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42a7b1
mov eax, 0x585ac8
push eax
push 1
mov ebx, 0x486f00
call fcn.00484d39
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42a7d7
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42a7eb
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x20
call fcn.00484d2d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42a84a
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42a85e
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42a872
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42a886
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
call fcn.00484d1b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x42a959
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.data.url
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 + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42a8d4
push ebx
call fcn.00484d1b
add esp, 4
push 0x585aad
push dword [ebp - 0x20]
call fcn.00403a4c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42a902
push ebx
call fcn.00484d1b
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x42a916
mov eax, 0x585aad
jmp 0x42a963
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.data.url
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 + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42a951
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x42a963
mov eax, 0x585aad
jmp 0x42a963
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42a974
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42a984
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42a994
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42a9a4
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00484d1b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc