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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
call fcn.00613520
mov ebx, eax
test ebx, ebx
jne 0x5babf3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5babfd
mov eax, dword [esi]
push eax
push 0x2712
push ebx
call fcn.00616b60
add esp, 0xc
cmp dword [edi + 0x10], 0
je 0x5bac29
cmp dword [edi + 0x14], 0x10
jb 0x5bac1a
mov edi, dword [edi]
push edi
push 0x271f
push ebx
call fcn.00616b60
add esp, 0xc
push 1
push 0x63
push ebx
call fcn.00616b60
push 1
push 0x34
push ebx
call fcn.00616b60
push 0x32
push 0x44
push ebx
call fcn.00616b60
push 1
push 0xd5
push ebx
call fcn.00616b60
add esp, 0x30
call fcn.005c48d0
mov dword [ebp - 0x20], eax
cmp dword [eax + 0x14], 0x10
jb 0x5bac6a
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x14], 0x10
mov edx, esi
mov dword [ebp - 0x24], esi
jb 0x5bac7a
mov edx, dword [esi]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
cmp ecx, eax
ja 0x5bad3c
test ecx, ecx
jne 0x5bac96
xor edi, edi
jmp 0x5bad3f
mov esi, dword [ebp - 0x20]
sub eax, ecx
inc eax
add eax, edx
mov dword [ebp - 0x2c], eax
sub eax, edx
movsx ecx, byte [esi]
push eax
push ecx
push edx
mov dword [ebp - 0x30], ecx
call fcn.00660940
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5bad3c
nop
mov ecx, dword [ebp - 0x28]
mov edx, edi
sub ecx, 4
jb 0x5bace1
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5bace6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x5bacd0
cmp ecx, 0xfffffffc
je 0x5bad1a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x5bad13
cmp ecx, 0xfffffffd
je 0x5bad1a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x5bad13
cmp ecx, 0xfffffffe
je 0x5bad1a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x5bad13
cmp ecx, 0xffffffff
je 0x5bad1a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x5bad1a
sbb eax, eax
or eax, 1
jmp 0x5bad1c
xor eax, eax
test eax, eax
je 0x5bad84
mov eax, dword [ebp - 0x2c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x30]
push edi
call fcn.00660940
mov esi, dword [ebp - 0x20]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5bacc0
or edi, 0xffffffff
mov ecx, str.p_installer
cmp edi, 0xffffffff
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
cmovne eax, ecx
push eax
push 0x2722
push ebx
call fcn.00616b60
mov esi, dword [ebp - 0x34]
add esp, 0xc
mov ecx, esi
call fcn.005bae40
cmp dword [eax + 0x10], 0
je 0x5bad89
mov ecx, esi
call fcn.005bae40
cmp dword [eax + 0x14], 0x10
jb 0x5bad7d
mov eax, dword [eax]
mov ecx, 0x2751
jmp 0x5bad90
sub edi, dword [ebp - 0x24]
jmp 0x5bad3f
mov ecx, 0x40
xor eax, eax
push eax
push ecx
push ebx
call fcn.00616b60
push 0x5bb130
push 0x4e2b
push ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.00616b60
push dword [ebp - 0x38]
push 0x2711
push ebx
call fcn.00616b60
lea eax, [ebp - 0x1c]
push eax
push 0x272d
push ebx
call fcn.00616b60
push ebx
call fcn.00613580
push ebx
mov esi, eax
call fcn.00613500
mov edx, dword [ebp - 8]
add esp, 0x38
cmp edx, 0x10
jb 0x5bae1b
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5bae11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bae30
push edx
push ecx
call fcn.0065d157
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0xc
call fcn.00663c8b
int3