Function at 0x42902e
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
push 0xc
call fcn.00484d2d
add esp, 4
mov dword [ebp - 0x10], 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
push 1
push 0
call fcn.0042967e
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push str.__wkts_
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__wenku.baidu.com_view_
mov ecx, 4
call fcn.00402179
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4290ea
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4290fe
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str._r_nHost:_wenku.baidu.com_r_nReferer:_https:__seccaptcha.baidu.com__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
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.7_r_nCookie:
mov ecx, 3
call fcn.00402179
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x429135
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push 0
push 1
push 0
push 8
call fcn.00484d2d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x18]
push 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
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
push 1
push 1
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
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
push 0
lea eax, [ebp - 4]
push eax
call fcn.00415240
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x429235
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x429245
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x429255
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x429265
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x429275
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x429285
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x429295
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4292a5
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x18]
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 0x4292db
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 0x429301
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x429315
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.00429a6e
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x429340
push ebx
call fcn.00484d1b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x587cdb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.var_pageData_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00428d6d
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x429390
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4293a0
push ebx
call fcn.00484d1b
add esp, 4
push 0x585aad
push dword [ebp - 0x24]
call fcn.00403a4c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4293ce
push ebx
call fcn.00484d1b
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x42943d
mov ebx, dword [0x606c60]
call fcn.00401a2a
mov eax, 0
cmp eax, ecx
jl 0x429403
push 0x36f
push 0x4033bad
push 1
call fcn.00484d21
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00484d1b
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x587cdb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.var_pageData_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00428d6d
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x429489
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x429499
push ebx
call fcn.00484d1b
add esp, 4
push 0x587cee
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402179
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4294c1
push ebx
call fcn.00484d1b
add esp, 4
push 0x20
call fcn.00484d2d
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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 + 0xc]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x429515
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42952c
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429540
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429554
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x429568
push ebx
call fcn.00484d1b
add esp, 4
pop ebx
call fcn.00484d1b
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x42962c
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, str.viewBiz.docInfo.downloadToken
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4295b6
push ebx
call fcn.00484d1b
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.viewBiz.docInfo.showDocId
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4295f1
push ebx
call fcn.00484d1b
add esp, 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a4d7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x429614
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x429624
push ebx
call fcn.00484d1b
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x429636
mov eax, 0x585aad
jmp 0x429636
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x429647
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x429657
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x429667
push ebx
call fcn.00484d1b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00484d1b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8