Function at 0x4833db
Capabilities:
Get common file path
Set registry value

Disassembly:
sub esp, 0x138
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x134], eax
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMesh_Agent
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4836ac
push ebx
push ebp
push esi
mov esi, str.MeshCentral_Agent___Remote_Control_Software
mov ecx, esi
push edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483419
sub ecx, edx
xor ebx, ebx
inc ebx
xor ebp, ebp
lea eax, [ecx + 1]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebp
push str.DisplayName
push dword [esp + 0x24]
call esi
mov edi, str.Open_Source
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483449
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push ebx
push ebp
push str.Publisher
push dword [esp + 0x24]
call esi
mov edi, 0x766168
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48346e
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push ebx
push ebp
push str.MajorVersion
push dword [esp + 0x24]
call esi
mov edi, 0x76617c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483493
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push ebx
push ebp
push str.MinorVersion
push dword [esp + 0x24]
call esi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x8026
push ebp
call ebx
mov edi, 0x12c
cmp eax, 1
je 0x483520
lea eax, [esp + 0x18]
push edi
push eax
call fcn.005d06e0
pop ecx
pop ecx
cmp eax, 0x104
ja 0x483520
push 0xd
mov edx, edi
lea ecx, [esp + 0x1c]
push str.Mesh_Agent_
sub edx, eax
add ecx, eax
call section..text
pop ecx
pop ecx
lea ecx, [esp + 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483500
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ebp
push str.InstallLocation
push dword [esp + 0x24]
call esi
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x8026
push ebp
call ebx
cmp eax, 1
je 0x483587
lea eax, [esp + 0x18]
push edi
push eax
call fcn.005d06e0
pop ecx
pop ecx
cmp eax, 0x104
ja 0x483587
push 0x29
mov edx, edi
lea ecx, [esp + 0x1c]
push str.Mesh_AgentMeshAgent.exe__fulluninstall
sub edx, eax
add ecx, eax
call section..text
pop ecx
pop ecx
lea ecx, [esp + 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483567
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ebp
push str.UninstallString
push dword [esp + 0x24]
call esi
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x8026
push ebp
call ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x4835ef
lea eax, [esp + 0x18]
push edi
push eax
call fcn.005d06e0
pop ecx
pop ecx
cmp eax, 0x104
ja 0x4835ef
sub edi, eax
lea ecx, [esp + 0x18]
push 0x1a
push str.Mesh_AgentMeshAgent.exe
add ecx, eax
mov edx, edi
call section..text
pop ecx
pop ecx
lea ecx, [esp + 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4835d0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push ebp
push str.DisplayIcon
push dword [esp + 0x24]
call esi
mov edi, str.1.0.0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4835f9
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push ebx
push ebp
push str.DisplayVersion
push dword [esp + 0x24]
call esi
mov edi, str.http:__www.meshcentral.com_
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48361e
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push ebx
push ebp
push str.URLInfoAbout
push dword [esp + 0x24]
call esi
push 4
pop edi
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 2
push eax
push edi
push ebp
push str.VersionMajor
push dword [esp + 0x24]
call esi
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xd
push eax
push edi
push ebp
push str.VersionMinor
push dword [esp + 0x24]
call esi
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push edi
push ebp
push str.NoModify
push dword [esp + 0x24]
call esi
push edi
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push str.NoRepair
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
jmp 0x4836b7
push 0x766294
call fcn.004010b4
pop ecx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0059b3f0
add esp, 0x138
ret