Function at 0x41c369
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.0048581a
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], 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
mov eax, str.https:__wenku.baidu.com_gdoc_download_down
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c401
push ebx
call fcn.00485808
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.004021cc
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c44c
push ebx
call fcn.00485808
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 0
call fcn.00417588
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.004021cc
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41c4a0
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41c4b4
push ebx
call fcn.00485808
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.0048581a
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.00417978
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41c5ad
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41c5bd
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41c5cd
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41c5dd
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c5ed
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c5fd
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c60d
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x1c]
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 0x41c643
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 0x41c669
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41c67d
push ebx
call fcn.00485808
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x20
call fcn.0048581a
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 0x41c6dc
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41c6f0
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41c704
push ebx
call fcn.00485808
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41c718
push ebx
call fcn.00485808
add esp, 4
pop ebx
call fcn.00485808
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x41c7eb
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 0x41c766
push ebx
call fcn.00485808
add esp, 4
push 0x587221
push dword [ebp - 0x20]
call fcn.00403a9f
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 0x41c794
push ebx
call fcn.00485808
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x41c7a8
mov eax, 0x587221
jmp 0x41c7f5
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 0x41c7e3
push ebx
call fcn.00485808
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x41c7f5
mov eax, 0x587221
jmp 0x41c7f5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c806
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c816
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41c826
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41c836
push ebx
call fcn.00485808
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00485808
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc