Function at 0x41a8c0
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.004811b9
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], 0x55070b
push ebx
add ebx, 8
push ebx
push 8
call fcn.004811b9
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.00419869
pop ebx
push 1
push 0
call fcn.0041af10
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.00401bdf
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41a97c
push ebx
call fcn.004811a7
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a990
push ebx
call fcn.004811a7
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.00401bdf
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a9c7
push ebx
call fcn.004811a7
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.004811b9
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.00414c67
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41aac7
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41aad7
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41aae7
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41aaf7
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41ab07
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41ab17
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ab27
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ab37
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x485f80
call fcn.004811c5
add esp, 0x10
call fcn.004811a7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x41ab6d
mov eax, 0x54fa3b
push eax
push 1
mov ebx, 0x483380
call fcn.004811c5
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41ab93
push ebx
call fcn.004811a7
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41aba7
push ebx
call fcn.004811a7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.0041b300
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41abd2
push ebx
call fcn.004811a7
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, 0x583d25
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.0041a5ff
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ac22
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41ac32
push ebx
call fcn.004811a7
add esp, 4
push 0x54fa28
push dword [ebp - 0x24]
call fcn.004034b2
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 0x41ac60
push ebx
call fcn.004811a7
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x41accf
mov ebx, dword [0x602c30]
call fcn.00401490
mov eax, 0
cmp eax, ecx
jl 0x41ac95
push 0x36f
push 0x4033bad
push 1
call fcn.004811ad
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.004811a7
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, 0x583d25
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.0041a5ff
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ad1b
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41ad2b
push ebx
call fcn.004811a7
add esp, 4
push 0x583d38
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401bdf
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ad53
push ebx
call fcn.004811a7
add esp, 4
push 0x20
call fcn.004811b9
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 0x41ada7
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41adbe
push ebx
call fcn.004811a7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41add2
push ebx
call fcn.004811a7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ade6
push ebx
call fcn.004811a7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41adfa
push ebx
call fcn.004811a7
add esp, 4
pop ebx
call fcn.004811a7
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41aebe
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 0x41ae48
push ebx
call fcn.004811a7
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 0x41ae83
push ebx
call fcn.004811a7
add esp, 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041bd69
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41aea6
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41aeb6
push ebx
call fcn.004811a7
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x41aec8
mov eax, 0x54fa28
jmp 0x41aec8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41aed9
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41aee9
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41aef9
push ebx
call fcn.004811a7
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004811a7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8