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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x28
call fcn.0045f7da
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xd7db14
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
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 + 0x84]
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push VariantClear
push 0
push 0xd76477
push VariantClear
push 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36_Edg_116.0.1938.76_r_n
push 3
mov ebx, 0x190
call fcn.004629c0
add esp, 0x28
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41784a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x417846
imul eax, dword [ebx]
jmp 0x41783b
mov ecx, eax
test ecx, ecx
je 0x417869
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x417862
push ebx
push eax
call fcn.0045f7d4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x417850
call fcn.0045f7d4
add esp, 4
mov eax, 0x4892fe
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41789e
push ebx
call fcn.0045f7d4
add esp, 4
push 0
push 0x2f
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4178ec
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0xd76477
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.location:
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00417498
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41793c
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41794c
push ebx
call fcn.0045f7d4
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417960
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x4892fe
push dword [ebp - 0xc]
call fcn.0040182e
add esp, 8
cmp eax, 0
jne 0x4179a5
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41799b
push eax
mov ebx, eax
call fcn.00401123
inc eax
push eax
call fcn.0045f7da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4179c6
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4179c1
push eax
mov ebx, eax
call fcn.00401123
inc eax
push eax
call fcn.0045f7da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4179c6
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4179e7
push ebx
call fcn.0045f7d4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4179f7
push ebx
call fcn.0045f7d4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4