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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
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 0x38
call fcn.004796cf
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
push 0x20
call fcn.004796cf
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f9ea
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f9fe
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40fa12
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40fa26
push ebx
call fcn.004796db
add esp, 4
pop ebx
call fcn.004796db
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, 0x54b770
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40fa6a
push ebx
call fcn.004796db
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40fa7e
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 0x410117
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 3
jg 0x410114
push dword [ebp - 8]
push str.https:__www.om.cn_models_model_0_0_0_1_0_0_0_4_0_0_0_1_0_0_0_0_0.html_keyword
mov ecx, 2
call fcn.004010a4
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.004796cf
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
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 3
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 1
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
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 - 0x4c], eax
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
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
push eax
call fcn.00403ab1
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fbc7
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40fbd7
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40fbe7
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40fbf7
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40fc07
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40fc17
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40fc27
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40fc37
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fc47
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x30]
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 - 0x60]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40fc7e
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 - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40fca2
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 0x40fcb9
mov eax, 0x54adff
push eax
push 1
mov ebx, 0x47bad0
call fcn.004796d5
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40fce3
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 0x40fd18
mov eax, 0x54adb4
push eax
push 4
mov ebx, 0x47a130
call fcn.004796d5
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x40fd85
mov eax, 0x54ba42
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040b184
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fd59
push ebx
call fcn.004796db
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
call fcn.0040c423
mov eax, 0x54adb4
jmp 0x410171
mov eax, str.Location
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004102fa
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fdad
push ebx
call fcn.004796db
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40fdc1
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x54adb4
push dword [ebp - 0x14]
call fcn.004011f7
add esp, 8
cmp eax, 0
je 0x40fe1b
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x14]
push str.https:__www.om.cn
mov ecx, 2
call fcn.004010a4
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40fe15
push ebx
call fcn.004796db
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.004796cf
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
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 5
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
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
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
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 - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x20]
call fcn.00403ab1
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40ff36
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40ff46
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40ff56
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40ff66
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40ff76
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ff86
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ff96
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ffa6
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ffb6
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x30]
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 - 0x68]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ffed
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 - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x410011
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 0x410028
mov eax, 0x54adff
push eax
push 1
mov ebx, 0x47bad0
call fcn.004796d5
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410052
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407e1d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410076
push ebx
call fcn.004796db
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410609
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4100a2
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.bt_:___
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4100d7
mov eax, 0x54adb4
push eax
push 4
mov ebx, 0x47a130
call fcn.004796d5
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4100fc
jmp 0x410114
push 0
mov ebx, 0x47c5a0
call fcn.004796d5
add esp, 4
pop ecx
jmp 0x40fa9d
add esp, 4
push dword [ebp - 0x14]
push 0x5758a4
push dword [ebp - 8]
push 0x5758ac
mov ecx, 4
call fcn.004010a4
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040b184
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410150
push ebx
call fcn.004796db
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41016c
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 0x410171
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 0x410192
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4101a2
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4101b2
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4101c2
push ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4101d6
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4101ea
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4101fe
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410212
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410226
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41023a
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41024e
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410262
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x410276
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41028a
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41029e
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4102b2
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4102c6
push ebx
call fcn.004796db
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4102da
push ebx
call fcn.004796db
add esp, 4
pop ebx
call fcn.004796db
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4102f3
push ebx
call fcn.004796db
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4