Function at 0x420284
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.00449182
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], 0x5888dc
push ebx
add ebx, 4
push ebx
push 8
call fcn.00449182
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x50882f
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.00449182
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x50882f
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 0x42034f
push eax
mov ebx, eax
call fcn.0040114f
inc eax
push eax
call fcn.00449182
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 0x420360
push ebx
call fcn.00449188
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, 0x508ead
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.00418ecc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4203b0
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4203c0
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4203d4
push ebx
call fcn.00449188
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 0x420421
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420431
push ebx
call fcn.00449188
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x588740
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 0x420473
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420483
push ebx
call fcn.00449188
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5087a9
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 0x4204c5
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4204d5
push ebx
call fcn.00449188
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 0x420517
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420527
push ebx
call fcn.00449188
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 0x420569
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420579
push ebx
call fcn.00449188
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 0x4205bb
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4205cb
push ebx
call fcn.00449188
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 0x42060d
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42061d
push ebx
call fcn.00449188
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 0x42065f
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42066f
push ebx
call fcn.00449188
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 0x4206a0
push ebx
call fcn.00449188
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.00449182
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.00415b26
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4207ad
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4207bd
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4207cd
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4207dd
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4207ed
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4207fd
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42080d
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42081d
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x44d4f0
call fcn.00449194
add esp, 0x10
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420854
push ebx
call fcn.00449188
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.00420c4b
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42089a
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4208aa
push ebx
call fcn.00449188
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4208bd
mov eax, 0x50882f
push eax
push 1
mov ebx, 0x44b260
call fcn.00449194
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4208e3
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4208f7
push ebx
call fcn.00449188
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, 0x5888c8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5888ca
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00418ecc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x420947
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420957
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42096d
push ebx
call fcn.00449188
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, 0x508a6d
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.00418ecc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4209bf
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4209cf
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4209e3
push ebx
call fcn.00449188
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4209fa
mov eax, 0x5087ab
push eax
push 1
mov ebx, 0x449760
call fcn.00449194
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jg 0x420b32
push 0x508a6d
push dword [ebp - 0x20]
push str.src__
mov ecx, 3
call fcn.004011ba
add esp, 0xc
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.004012b3
push VariantClear
push 0
push 0x5087ab
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x420a6c
mov eax, 0x5087ab
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x420a80
mov eax, 0x5087ab
push eax
push 6
mov ebx, 0x44a660
call fcn.00449194
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420aa6
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420aba
push ebx
call fcn.00449188
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, 0x508a6d
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.00418ecc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x420b0a
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420b1a
push ebx
call fcn.00449188
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420b2e
push ebx
call fcn.00449188
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x5087ab
push dword [ebp - 0x20]
call fcn.00401216
add esp, 8
cmp eax, 0
je 0x420b88
push dword [ebp - 0x20]
push 0x508ead
push dword [ebp - 8]
push str.https:__
mov ecx, 4
call fcn.004011ba
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420b7f
push ebx
call fcn.00449188
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x420ba2
mov eax, 0x5087ab
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420b9e
push ebx
call fcn.00449188
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420bbe
push eax
mov ebx, eax
call fcn.0040114f
inc eax
push eax
call fcn.00449182
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x420bc3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420bd4
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420be4
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x420c04
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420c14
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420c24
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420c34
push ebx
call fcn.00449188
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420c44
push ebx
call fcn.00449188
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c