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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546775
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebp + 8]
test eax, eax
je 0x5132ba
cmp esi, dword [eax + 8]
jne 0x5132ba
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call esi
mov eax, dword [ebx + 0xd0]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call esi
mov eax, dword [ebx + 0xd4]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call esi
mov eax, dword [ebx + 0xd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + 0xc]
mov byte [eax + 0x10], 0
call esi
mov eax, dword [ebx + 0xdc]
push 0
push dword [eax + 0xc]
mov byte [eax + 0x10], 0
call esi
push 0
mov ecx, ebx
call fcn.00514120
push 1
push 0
mov ecx, ebx
call fcn.00514220
push 1
push 0
mov ecx, ebx
call fcn.005142f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x51337a
cmp esi, dword [ecx + 8]
jne 0x51337a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd0]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd4]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + 0xc]
mov byte [eax + 0x10], 0
call esi
mov eax, dword [ebx + 0xdc]
push 0
push dword [eax + 0xc]
mov byte [eax + 0x10], 0
call esi
mov eax, dword [ebx + 0x14c]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0x150]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
push 1
mov ecx, ebx
call fcn.00514120
push 1
push 1
mov ecx, ebx
call fcn.00514220
push 1
push 1
jmp 0x513293
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je 0x513424
cmp esi, dword [ecx + 8]
jne 0x513424
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd0]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd4]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0xd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [eax + 0xc]
mov byte [eax + 0x10], 1
call esi
mov eax, dword [ebx + 0xdc]
push 1
push dword [eax + 0xc]
mov byte [eax + 0x10], 1
call esi
mov eax, dword [ebx + 0x14c]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
mov eax, dword [ebx + 0x150]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call edi
push 1
jmp 0x51327d
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x513466
cmp esi, dword [eax + 8]
jne 0x513466
mov eax, dword [ebx + 0xd8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [eax + 0xc]
call esi
push 0
push 1
mov eax, dword [ebx + 0xdc]
push 0xf1
push dword [eax + 0xc]
call esi
jmp 0x51329a
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x51348f
cmp esi, dword [eax + 8]
jne 0x51348f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push dword [eax + 0xc]
call esi
push 0
push 0
jmp 0x513451
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x5134bb
cmp esi, dword [eax + 8]
jne 0x5134bb
mov eax, dword [ebx + 0x90]
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_107.0.0.0_Safari_537.36
push 0
push 0xc
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x51329a
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x51356d
cmp esi, dword [eax + 8]
jne 0x51356d
mov ecx, dword [ebx + 0xa8]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004e4890
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push str.Select_a_Folder_for_Temporary_Segment_Files_:
call fcn.00409680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, ebx
call fcn.00512d10
cmp dword [ebp - 0x18], 0
je 0x513533
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebx + 0xa8]
push 0
push 0xc
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x51329a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5135dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
jmp 0x5135dd
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x5135ec
cmp esi, dword [eax + 8]
jne 0x5135ec
mov ecx, dword [ebx + 0xa4]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004e4890
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push str.Select_a_Folder_for_Downloaded_Files_:
call fcn.00409680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, ebx
call fcn.00512d10
cmp dword [ebp - 0x18], 0
je 0x513533
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebx + 0xa4]
push 0
push 0xc
jmp 0x51352a
push ecx
push edx
call fcn.00517162
add esp, 8
jmp 0x51329a
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
je 0x513612
cmp esi, dword [ecx + 8]
jne 0x513612
push 0
call fcn.004e4310
movzx eax, al
mov ecx, ebx
push eax
call fcn.00514220
jmp 0x51329a
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x513631
cmp esi, dword [ecx + 8]
jne 0x513631
push 0
call fcn.004e4310
movzx eax, al
push eax
jmp 0x513293
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x513690
cmp esi, dword [eax + 8]
jne 0x513690
mov esi, dword [ebx + 0x15c]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jle 0x513668
imul ecx, eax, 0x64
mov eax, dword [esi + 0x30]
mov ecx, dword [ecx + eax]
jmp 0x51366b
or ecx, 0xffffffff
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x2c], eax
push ecx
mov ecx, dword [ebx + 0x60]
push eax
mov ecx, dword [ecx + 0x6c]
call fcn.0041ec30
mov ecx, dword [ebx + 0x15c]
call fcn.004f3560
jmp 0x51329a
mov ecx, dword [ebx + 0xf4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x513788
cmp esi, dword [ecx + 8]
jne 0x513788
cmp dword [ebp + 0xc], 0x300
jne 0x513788
cmp dword [ebx + 0x118], 0
je 0x51371e
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x5136d4
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x118]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x51371e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x513714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
cmp dword [ebx + 0x13c], 0
je 0x513788
mov ecx, dword [ebx + 0xf4]
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x51373e
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x13c]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x513788
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51377e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x51387a
cmp esi, dword [ecx + 8]
jne 0x51387a
cmp dword [ebp + 0xc], 0x300
jne 0x51387a
cmp dword [ebx + 0x11c], 0
je 0x513810
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x5137c6
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x11c]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x513810
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x513806
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
cmp dword [ebx + 0x140], 0
je 0x51387a
mov ecx, dword [ebx + 0xf8]
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x513830
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x140]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x51387a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x513870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebx + 0xfc]
test ecx, ecx
je 0x51396c
cmp esi, dword [ecx + 8]
jne 0x51396c
cmp dword [ebp + 0xc], 0x300
jne 0x51396c
cmp dword [ebx + 0x120], 0
je 0x513902
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x5138b8
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x120]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x513902
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5138f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
cmp dword [ebx + 0x144], 0
je 0x51396c
mov ecx, dword [ebx + 0xfc]
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x513922
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x144]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x51396c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x513962
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebx + 0x100]
test ecx, ecx
je 0x513a6e
cmp esi, dword [ecx + 8]
jne 0x513a6e
cmp dword [ebp + 0xc], 0x300
jne 0x513a6e
cmp dword [ebx + 0x124], 0
je 0x5139f4
lea eax, [ebp - 0x28]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x5139aa
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x124]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x5139f4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5139ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
cmp dword [ebx + 0x148], 0
je 0x513a6e
mov ecx, dword [ebx + 0x100]
lea eax, [ebp - 0x48]
push eax
call fcn.004e4890
cmp dword [eax + 0x14], 8
jb 0x513a14
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x148]
push 0
push 0xc
push dword [eax + 0xc]
call edi
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x513a5a
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x513a50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x513acd
push ecx
push edx
call fcn.00517162
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov eax, dword [ebx + 0x160]
test eax, eax
je 0x513aa8
cmp esi, dword [eax + 8]
jne 0x513aa8
mov ecx, ebx
call fcn.00514bf0
test al, al
jne 0x51329a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov ecx, ebx
call fcn.00513ae0
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0050cda0
jmp 0x51329a
mov eax, dword [ebx + 0x164]
test eax, eax
je 0x51329a
cmp esi, dword [eax + 8]
jne 0x51329a
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
call eax
jmp 0x51329c
call fcn.0051eb64
int3