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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467836
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x180], edi
mov byte [ebp - 0x12e], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
push 0x100
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push eax
movsd qword [ebp - 0x138], xmm0
call fcn.0044c9f0
mov byte [ebp - 4], 1
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x404158
mov eax, dword [eax + 4]
mov ecx, esi
inc eax
push eax
call fcn.004019f0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
cmp byte [ecx + eax + 0x10], 0
je 0x404155
mov byte [ecx + eax + 0x10], 0
mov eax, dword [esi]
lea esi, [eax + 0x10]
push esi
push 0x2712
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404571
push 0x7d
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_124.0.0.0_Safari_537.36_Edg_124.0.0.0
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], al
call fcn.00404810
mov byte [ebp - 4], 2
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
push 0x2722
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x40458c
push 1
push 0x4a
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4045a7
push 5
push 0x44
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4045c2
push 1
push 0x34
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4045dd
push eax
push 0x40
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4045f8
push eax
push 0x51
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404613
push eax
push 0x5b
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x40462e
push 1
push 0x2a
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404649
push 1
push 0x2c
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404664
push 0x403fa0
push 0x4e2b
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x40467f
push dword [edi + 0x28]
call fcn.00415940
add esp, 4
test eax, eax
jne 0x40469a
lea eax, [ebp - 0x114]
push eax
push 0x10001f
push dword [edi + 0x28]
call fcn.004158e0
add esp, 0xc
cmp byte [ebp - 0x114], 0
je 0x40431d
lea ecx, [ebp - 0x12d]
call fcn.00403d60
mov esi, dword fs:[0x2c]
lea ecx, [ebp - 0x114]
push str.__font__br_
push ecx
push 0x47777c
mov eax, dword [esi]
push 0x477750
mov ecx, dword [eax + 4]
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
call fcn.00403dc0
jmp 0x404324
mov esi, dword fs:[0x2c]
lea eax, [ebp - 0x138]
push eax
push 0x30000f
push dword [edi + 0x28]
call fcn.004158e0
add esp, 0xc
test ebx, ebx
je 0x404349
cvttsd2si eax, qword [ebp - 0x138]
mov dword [ebx], eax
lea ecx, [ebp - 0x12d]
call fcn.00403d60
cvttsd2si eax, qword [ebp - 0x138]
mov esi, dword [esi]
push str.__font__br_
mov ecx, dword [esi + 4]
push eax
push 0x47779c
push 0x477750
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
mov ecx, eax
call fcn.00403a60
mov ecx, eax
call fcn.00403ad0
call fcn.00403dc0
push 0
push 0x2a
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4046b5
push eax
push 0x2c
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4046d0
push 0x2710
push 0x4e
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x4046eb
push 1
push 0x4a
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404706
push 0x403fb0
push 0x4e2b
push dword [edi + 0x28]
call fcn.00415960
add esp, 0xc
test eax, eax
jne 0x404721
lea eax, [ebp - 0x114]
push eax
push 0x10001f
push dword [edi + 0x28]
call fcn.004158e0
add esp, 0xc
cmp byte [ebp - 0x114], 0
je 0x40446e
lea ecx, [ebp - 0x12d]
call fcn.00403d60
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x114]
push str.__font__br_
push eax
push 0x47777c
push 0x477750
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
mov ecx, eax
call fcn.00403ad0
call fcn.00403dc0
mov esi, dword [edi + 4]
lea ebx, [edi + 0x2c]
movsd xmm0, qword [ebp - 0x138]
mov dword [ebx], esi
call fcn.00466d91
mov dword [edi + 0x38], eax
mov dword [edi + 0x34], 0
test esi, esi
jne 0x404499
lea eax, [edi + 8]
mov dword [edi + 0x30], eax
jmp 0x4044aa
push eax
call fcn.00414d84
lea ecx, [edi + 0x18]
add esp, 4
mov dword [ecx], eax
mov dword [edi + 0x30], ecx
push ebx
push 0x2711
push dword [edi + 0x28]
lea eax, [edi + 0x1c]
mov dword [edi + 0x3c], eax
call fcn.00415960
push dword [edi + 0x28]
call fcn.00415940
mov edx, dword [ebp - 0x118]
add esp, 0x10
mov bl, 1
cmp edx, 0x10
jb 0x404551
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4044fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40473c
push edx
push ecx
call fcn.00414d4e
add esp, 8
jmp 0x404551
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414803
mov esp, ebp
pop ebp
ret 8
push 0x47b71c
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 6
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x12
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0x13
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x14
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 0x15
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x16
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x16
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 7
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0xf
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0x17
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], 0xa
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 2
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0xf
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0x17
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0x18
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x13
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0xa
push eax
call fcn.0044c78e
call fcn.0045244d
int3