Function at 0x404320
Capabilities:
Create process on windows
Get common file path
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544f16
mov eax, dword fs:[0]
push eax
sub esp, 0xaa4
mov eax, dword [0x5a8040]
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 dword [ebp - 0xa44], ebx
call fcn.00404730
cmp eax, 1
jne 0x404467
call fcn.0040e6bf
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x404380
push 0x80004005
call fcn.00402a30
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa48], esi
push 0x3ff
mov dword [ebp - 4], 0
call fcn.00415ddb
test eax, eax
je 0x4043bc
push 0x3ff
push eax
lea ecx, [ebp - 0xa48]
call fcn.004023f0
mov esi, dword [ebp - 0xa48]
call fcn.0040e6bf
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4043d8
push 0x80004005
call fcn.00402a30
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa44], edi
push 0x9b
mov byte [ebp - 4], 1
call fcn.00415ddb
test eax, eax
je 0x404411
push 0x9b
push eax
lea ecx, [ebp - 0xa44]
call fcn.004023f0
mov edi, dword [ebp - 0xa44]
push 0x40030
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or eax, 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40443e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40445f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x404711
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push str.taskkill__F__T__IM_HncUpdateService.exe
call esi
push 0
push str.taskkill__F__T__IM_HncUpdateTray.exe
call esi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0052c790
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.msiexec.exe
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.0052b0fb
mov eax, dword [0x588de4]
mov esi, dword [ebx + 0xb54]
mov dword [ebp - 0x218], eax
mov eax, dword [0x588de8]
push 0x200
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0052c790
add esp, 0x18
lea eax, [ebp - 0xa40]
lea ecx, [ebx + 0x118]
push eax
call fcn.00408490
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052b0fb
mov ecx, str.__qb
test esi, esi
mov eax, str.__qn
cmovne eax, ecx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052b0fb
push str.__norestart
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052b0fb
push 0x3c
lea eax, [ebp - 0xa90]
push 0
push eax
call fcn.0052c790
lea eax, [ebp - 0x428]
mov dword [ebp - 0xa90], 0x3c
mov dword [ebp - 0xa80], eax
add esp, 0x30
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa84], str.open
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa90]
mov dword [ebp - 0xa74], 5
push eax
mov dword [ebp - 0xa8c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
push dword [ebp - 0xa58]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
test eax, eax
je 0x404636
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x4045e0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xaac]
push eax
call edi
test eax, eax
je 0x40460b
lea eax, [ebp - 0xaac]
push eax
call ebx
lea eax, [ebp - 0xaac]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [ebp - 0xa58]
call esi
cmp eax, 0xffffffff
je 0x404630
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [ebp - 0xa58]
call esi
test eax, eax
jne 0x4045e0
mov ebx, dword [ebp - 0xa44]
xor eax, eax
mov dword [ebp - 0xa4c], 0
push 0x206
push eax
mov word [ebp - 0x838], ax
lea eax, [ebp - 0x836]
push eax
mov dword [ebp - 0xa50], 1
call fcn.0052c790
xor eax, eax
mov dword [ebp - 0xa54], 0x104
push 0x206
push eax
mov word [ebp - 0x630], ax
lea eax, [ebp - 0x62e]
push eax
call fcn.0052c790
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea eax, [ebp - 0x630]
push 0x104
push eax
call fcn.0052b09f
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x630]
push 0x104
push eax
call fcn.0052b0fb
add esp, 0x30
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x630]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x404708
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0xa50]
push eax
push 0
push str.DisplayName
push dword [ebp - 0xa4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40445f
mov byte [ebx + 0x2009], 1
xor eax, eax
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.00529d59
mov esp, ebp
pop ebp
ret