Function at 0x414000
Capabilities:
Check if file exists
Create process on windows
Delete directory
Get common file path
Get file attributes
Persist via run registry key
Self delete
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b6cb
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1738
call fcn.0043d9d0
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1670], edi
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea ecx, [ebp - 0x1668]
call fcn.0040f690
cmp dword [edi + 0x1c8], 0
jne 0x4140c6
lea eax, [edi + 0x640]
xor edx, edx
push eax
lea ecx, [ebp - 0x1668]
call fcn.0040e960
add esp, 4
test eax, eax
je 0x4140c6
cmp dword [ebp - 0x15f4], 1
jne 0x4140c6
push 0x131
mov ecx, 0x14
call fcn.0041d5f0
push eax
mov ecx, 0x15
call fcn.0041d5f0
push eax
mov ecx, edi
call fcn.00425c10
cmp eax, 1
jne 0x414789
mov ecx, dword [edi + 0x1f4]
test ecx, ecx
je 0x414778
cmp word [ecx], 0
je 0x414778
lea edx, [ebp - 0x220]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4140f0
push 1
xor edx, edx
lea ecx, [ebp - 0x220]
call fcn.00412c80
add esp, 4
mov dword [ebp - 0x1674], eax
test eax, eax
jne 0x41412b
lea ecx, [ebp - 0x220]
call fcn.0041dae0
test eax, eax
je 0x41417c
cmp dword [0x48608c], 6
jb 0x41417c
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x41417c
lea ecx, [ebp - 0x220]
call fcn.0041cdd0
test eax, eax
jne 0x41417c
push ecx
mov ecx, edi
call fcn.004128e0
test eax, eax
jne 0x414172
cmp dword [edi + 0x1c8], eax
je 0x414172
push 0x473ff0
push str.Failed_to_elevate_n
mov ecx, edi
call fcn.00412780
mov eax, 1
jmp 0x41478b
cmp dword [edi + 0x1c8], 0
jne 0x4141a7
push 0x41
push str.UnInstall
mov ecx, 8
call fcn.0041d5f0
push eax
mov ecx, edi
call fcn.00425c10
cmp eax, 1
jne 0x414789
push 0
push 0x80000001
lea ecx, [ebp - 0x1748]
call fcn.00422000
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x1748]
mov dword [ebp - 4], 0
call fcn.004221c0
test eax, eax
je 0x41427f
mov dword [ebp - 0x1454], str.Programs
xor esi, esi
mov dword [ebp - 0x1450], str.Desktop
mov eax, str.Programs
mov dword [ebp - 0x144c], 0
nop
push ecx
lea ecx, [ebp - 0x428]
push ecx
push eax
lea ecx, [ebp - 0x1748]
call fcn.00422510
test eax, eax
je 0x414268
test esi, esi
jne 0x414229
push esi
lea eax, [ebp - 0x428]
push eax
call fcn.004148e0
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414232
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push str.FastCopy.lnk
push 0x4740b4
lea eax, [eax + ecx*2]
push eax
call fcn.00410120
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.00426f10
mov eax, dword [ebp + esi*4 - 0x1450]
inc esi
test eax, eax
jne 0x414200
lea ecx, [ebp - 0x1748]
call fcn.004222e0
push 0
mov edx, 1
lea ecx, [ebp - 0x220]
call fcn.00412c80
add esp, 4
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4142b3
push 1
mov edx, 1
lea ecx, [ebp - 0x220]
call fcn.00412c80
add esp, 4
call fcn.0041dad0
test eax, eax
je 0x414355
push 0x38
lea eax, [ebp - 0x16b4]
mov dword [ebp - 0x16b8], 0x3c
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x220]
push str.DllUnregisterServer
push 0x4740e4
push eax
lea eax, [ebp - 0x1448]
push 0x474100
push eax
call fcn.00410120
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x1448]
add esp, 0x14
mov dword [ebp - 0x16a4], eax
lea eax, [ebp - 0x16b8]
mov dword [ebp - 0x16a8], str.rundll32.exe
push eax
call esi
push str.DllUnregisterServerUser
push str.FastEx64.dll
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x1448]
push str.__s_s___s
push eax
call fcn.00410120
add esp, 0x14
lea eax, [ebp - 0x16b8]
push eax
call esi
push ecx
push str.Software
lea ecx, [ebp - 0x1748]
call fcn.004221c0
test eax, eax
je 0x4143a5
push ecx
push str.HSTools
lea ecx, [ebp - 0x1748]
call fcn.004221c0
test eax, eax
je 0x41439a
push 0x4741ac
lea ecx, [ebp - 0x1748]
call fcn.00422710
lea ecx, [ebp - 0x1748]
call fcn.004222e0
lea ecx, [ebp - 0x1748]
call fcn.004222e0
push ecx
lea ecx, [ebp - 0x1748]
call fcn.00422190
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x1748]
call fcn.004221c0
test eax, eax
je 0x4143e1
push 0x4741f4
lea ecx, [ebp - 0x1748]
call fcn.00422710
lea ecx, [ebp - 0x1748]
call fcn.004222e0
push ecx
lea edx, [ebp - 0x838]
lea ecx, [ebp - 0x220]
call fcn.00426f80
add esp, 4
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x3e8
mov ecx, edi
call fcn.00425740
lea ecx, [ebp - 0x220]
call fcn.00413d80
mov esi, eax
lea eax, [ebp - 0x630]
push 0x208
push 0
push eax
mov dword [ebp - 0x1678], esi
call fcn.0043ffb0
add esp, 0xc
cmp dword [0x48608c], 6
jb 0x4144e0
lea ecx, [ebp - 0x220]
call fcn.0041dae0
test eax, eax
je 0x4144e0
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4144e0
push 0x208
lea eax, [ebp - 0xc48]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - 0x166c], 0
lea eax, [ebp - 0x166c]
push eax
lea eax, [ebp - 0xc48]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push ecx
push dword [ebp - 0x166c]
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x630]
call fcn.0041f690
add esp, 8
cmp word [ebp - 0x630], 0
je 0x414526
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414526
lea ecx, [ebp - 0x630]
call fcn.00413d80
mov dword [ebp - 0x166c], eax
test eax, eax
je 0x41452b
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x166c]
jmp 0x41452b
mov eax, 1
cmp dword [edi + 0x1c8], 0
jne 0x4145ce
cmp dword [ebp - 0x1674], 0
jne 0x41454e
test esi, esi
je 0x41454e
mov ecx, 4
test eax, eax
jne 0x414553
mov ecx, 5
call fcn.0041d5f0
push 0
push 0x474214
push eax
mov ecx, edi
call fcn.00425c10
test esi, esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
jne 0x41459f
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41459f
cmp dword [edi + 0x1c8], 0
jne 0x41459f
push 5
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 0
push 0
call esi
cmp word [ebp - 0x630], 0
je 0x4145ce
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4145ce
push 5
push 0
push 0
lea eax, [ebp - 0x630]
push eax
push 0
push 0
call esi
push ecx
push str.fcuninst.bat
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0xa40]
call fcn.0041f690
lea eax, [ebp - 0xa40]
push 0x474238
push eax
call fcn.00445fd2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41475d
push ecx
push 0x47423c
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0xc48]
call fcn.0041f690
add esp, 4
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x428]
push 0x474244
call fcn.0041f690
add esp, 4
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x838]
push 0x474250
call fcn.0041f690
add esp, 8
mov edi, 0xa
push str.ping_127.0.0.1__w_1_n
push esi
call fcn.004100d0
add esp, 8
cmp dword [ebp - 0x1678], 0
je 0x414682
lea eax, [ebp - 0x220]
push eax
push 0x474290
push esi
call fcn.004100d0
add esp, 0xc
jmp 0x4146c8
lea eax, [ebp - 0xc48]
push eax
push 0x4742b0
push esi
call fcn.004100d0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x4742d0
push esi
call fcn.004100d0
add esp, 0xc
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x838]
push eax
push str.del__q___s____s__n
push esi
call fcn.004100d0
add esp, 0x10
sub edi, 1
jne 0x414654
push esi
call fcn.00445e61
add esp, 4
mov dword [ebp - 0x16c0], 0x44
lea eax, [ebp - 0x16bc]
push 0x40
push edi
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xa40]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1458], xmm0
push eax
lea eax, [ebp - 0xe50]
push 0x474314
push eax
call fcn.00410120
add esp, 0xc
lea eax, [ebp - 0x1458]
push eax
lea eax, [ebp - 0x16c0]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0xe50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414757
push dword [ebp - 0x1454]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1458]
call esi
mov edi, dword [ebp - 0x1670]
push 0
mov ecx, edi
call fcn.004147b0
lea ecx, [ebp - 0x1748]
call fcn.00422040
mov eax, 1
jmp 0x41478b
push 0x473fb0
push str.Setup_path_not_found_n
mov ecx, edi
call fcn.00412780
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043c755
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret