Function at 0x416f38
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.0048581a
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], 0x588901
push ebx
add ebx, 8
push ebx
push 8
call fcn.0048581a
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.0041c84d
pop ebx
push 1
push 0
call fcn.00417588
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.004021cc
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416ff4
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417008
push ebx
call fcn.00485808
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.004021cc
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41703f
push ebx
call fcn.00485808
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.0048581a
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.00417978
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41713f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41714f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41715f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41716f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41717f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41718f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41719f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4171af
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x48a5a0
call fcn.00485826
add esp, 0x10
call fcn.00485808
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4171e5
mov eax, 0x58723c
push eax
push 1
mov ebx, 0x4879f0
call fcn.00485826
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41720b
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41721f
push ebx
call fcn.00485808
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.0041b900
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41724a
push ebx
call fcn.00485808
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, 0x5888b4
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.00416c77
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41729a
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4172aa
push ebx
call fcn.00485808
add esp, 4
push 0x587221
push dword [ebp - 0x24]
call fcn.00403a9f
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 0x4172d8
push ebx
call fcn.00485808
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x417347
mov ebx, dword [0x608c28]
call fcn.00401a7d
mov eax, 0
cmp eax, ecx
jl 0x41730d
push 0x36f
push 0x4033bad
push 1
call fcn.0048580e
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 + 0x4c]
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.00485808
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, 0x5888b4
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.00416c77
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417393
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4173a3
push ebx
call fcn.00485808
add esp, 4
push 0x5888c7
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004021cc
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4173cb
push ebx
call fcn.00485808
add esp, 4
push 0x20
call fcn.0048581a
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 0x41741f
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x417436
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41744a
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41745e
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x417472
push ebx
call fcn.00485808
add esp, 4
pop ebx
call fcn.00485808
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x417536
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 0x4174c0
push ebx
call fcn.00485808
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 0x4174fb
push ebx
call fcn.00485808
add esp, 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041c369
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41751e
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41752e
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x417540
mov eax, 0x587221
jmp 0x417540
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417551
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x417561
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417571
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00485808
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8