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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004310ca
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], 0x5040c9
push ebx
add ebx, 4
push ebx
push 8
call fcn.004310ca
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ed61b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004310ca
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ed61b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x416b18
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.004310ca
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416b29
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4ee0a2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.https:__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00417414
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416b79
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416b89
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416b9d
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.keep_alive
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416bea
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416bfa
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x503f3f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.sec_ch_ua_mobile
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416c3c
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416c4c
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x4edce1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Upgrade_Insecure_Requests
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416c8e
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416c9e
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36_Edg_114.0.1823.82
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416ce0
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416cf0
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.7
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416d32
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416d42
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.same_origin
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Site
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416d84
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416d94
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.navigate
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Mode
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416dd6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416de6
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.iframe
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Dest
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416e28
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416e38
push ebx
call fcn.004310d0
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416e69
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.004310ca
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
push dword [ebp - 0x44]
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
push dword [ebp - 0x50]
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
push 1
lea eax, [ebp - 0x14]
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
lea eax, [ebp - 0x64]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call fcn.004176b2
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x416f76
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x416f86
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x416f96
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x416fa6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x416fb6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x416fc6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416fd6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416fe6
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x431250
call fcn.004310e2
add esp, 0x10
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41701d
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x18], 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
lea eax, [ebp - 0x18]
push eax
call fcn.0041bddf
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417063
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x417073
push ebx
call fcn.004310d0
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x417086
mov eax, 0x4ed61b
push eax
push 1
mov ebx, 0x434340
call fcn.004310e2
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4170ac
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4170c0
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x5040b5
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5040b7
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417414
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x417110
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417120
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417136
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4ed910
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.src__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417414
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x417188
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417198
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4171ac
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4171c3
mov eax, 0x4ed63b
push eax
push 1
mov ebx, 0x432ba0
call fcn.004310e2
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jg 0x4172fb
push 0x4ed910
push dword [ebp - 0x20]
push str.src__
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401168
push VariantClear
push 0
push 0x4ed63b
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x417235
mov eax, 0x4ed63b
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x417249
mov eax, 0x4ed63b
push eax
push 6
mov ebx, 0x433740
call fcn.004310e2
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41726f
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x417283
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4ed910
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.src__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417414
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4172d3
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4172e3
push ebx
call fcn.004310d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4172f7
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x4ed63b
push dword [ebp - 0x20]
call fcn.004010cb
add esp, 8
cmp eax, 0
je 0x417351
push dword [ebp - 0x20]
push 0x4ee0a2
push dword [ebp - 8]
push str.https:__
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417348
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x41736b
mov eax, 0x4ed63b
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417367
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x417387
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.004310ca
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41738c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41739d
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4173ad
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4173cd
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4173dd
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4173ed
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4173fd
push ebx
call fcn.004310d0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41740d
push ebx
call fcn.004310d0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c