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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0xc
call fcn.004796cf
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x54aec4
push ebx
add ebx, 8
push ebx
push 8
call fcn.004796cf
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.0040a4a2
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x20
call fcn.004796cf
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]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bcde
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bcf2
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd06
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd1a
push ebx
call fcn.004796db
add esp, 4
pop ebx
call fcn.004796db
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, 0x54b770
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
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 0x40bd5e
push ebx
call fcn.004796db
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bd72
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x54adb4
push dword [ebp - 8]
call fcn.004011f7
add esp, 8
cmp eax, 0
je 0x40c0b7
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 3
jg 0x40c0b4
push str..html
push dword [ebp - 8]
push str.https:__www.om.cn_models_detail_
mov ecx, 3
call fcn.004010a4
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.004796cf
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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 3
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
push 1
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, str.accept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.9_r_naccept_language:_zh_CN_zh_q0.9_r_nif_none_match:__3a060_YFfqfMltrX13JOTGbrLfgvmpFMg__r_nsec_ch_ua:___Not_A_Brand__v_99____Chromium__v_94__r_nsec_ch_ua_mobile:__0_r_nsec_ch_ua_platform:__Windows__r_nsec_fetch_dest:_document_r_nsec_fetch_mode:_navigate_r_nsec_fetch_site:_none_r_nsec_fetch_user:__1_r_nupgrade_insecure_requests:_1_r_nuser_agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_94.0.4606.71_Safari_537.36_Core_1.94.178.400_QQBrowser_11.2.5170.400_r_naccept_encoding:_gzip__deflate__br
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x18]
push eax
call fcn.00403ab1
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40bec0
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40bed0
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40bee0
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40bef0
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40bf00
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40bf10
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bf20
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40bf30
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bf40
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47e590
call fcn.004796d5
add esp, 0x10
call fcn.004796db
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bf77
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040c130
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bf9b
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40bfb2
mov eax, 0x54adff
push eax
push 1
mov ebx, 0x47bad0
call fcn.004796d5
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40bfdc
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str._h1_403_Forbidden
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40c011
mov eax, 0x54adb4
push eax
push 4
mov ebx, 0x47a130
call fcn.004796d5
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40c07e
mov eax, 0x54ba42
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040b184
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40c052
push ebx
call fcn.004796db
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.0040c423
mov eax, 0x54adb4
jmp 0x40c0d8
push 0x54adb4
push dword [ebp - 0x14]
call fcn.004011f7
add esp, 8
cmp eax, 0
je 0x40c09c
jmp 0x40c0b4
push 0
mov ebx, 0x47c5a0
call fcn.004796d5
add esp, 4
pop ecx
jmp 0x40bd91
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40c0d3
push eax
mov ebx, eax
call fcn.00401039
inc eax
push eax
call fcn.004796cf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40c0d8
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c0f9
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c109
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c119
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c129
push ebx
call fcn.004796db
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4