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 - reloc.USER32.dll_PeekMessageA], edi
push 0x208
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0040f690
cmp dword [edi + reloc.USER32.dll_PeekMessageA], 0
jne 0x4140c6
lea eax, reloc.USER32.dll_PeekMessageA
xor edx, edx
push eax
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0040e960
add esp, 4
test eax, eax
je 0x4140c6
cmp dword [ebp - reloc.USER32.dll_PeekMessageA], 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 + reloc.USER32.dll_PeekMessageA]
test ecx, ecx
je 0x414778
cmp word [ecx], 0
je 0x414778
lea edx, reloc.USER32.dll_PeekMessageA
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, reloc.USER32.dll_PeekMessageA
call fcn.00412c80
add esp, 4
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
test eax, eax
jne 0x41412b
lea ecx, reloc.USER32.dll_PeekMessageA
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, reloc.USER32.dll_PeekMessageA
call fcn.0041cdd0
test eax, eax
jne 0x41417c
push ecx
mov ecx, edi
call fcn.004128e0
test eax, eax
jne 0x414172
cmp dword [edi + reloc.USER32.dll_PeekMessageA], 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 + reloc.USER32.dll_PeekMessageA], 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, reloc.USER32.dll_PeekMessageA
call fcn.00422000
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, reloc.USER32.dll_PeekMessageA
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 - reloc.USER32.dll_PeekMessageA], 0
nop
push ecx
lea ecx, reloc.USER32.dll_PeekMessageA
push ecx
push eax
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00422510
test eax, eax
je 0x414268
test esi, esi
jne 0x414229
push esi
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call fcn.004148e0
lea ecx, reloc.USER32.dll_PeekMessageA
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414232
sub ecx, edx
lea eax, reloc.USER32.dll_PeekMessageA
sar ecx, 1
push str.FastCopy.lnk
push 0x4740b4
lea eax, [eax + ecx*2]
push eax
call fcn.00410120
add esp, 0xc
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00426f10
mov eax, dword [ebp + esi*4 - reloc.USER32.dll_PeekMessageA]
inc esi
test eax, eax
jne 0x414200
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004222e0
push 0
mov edx, 1
lea ecx, reloc.USER32.dll_PeekMessageA
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, reloc.USER32.dll_PeekMessageA
call fcn.00412c80
add esp, 4
call fcn.0041dad0
test eax, eax
je 0x414355
push 0x38
lea eax, reloc.USER32.dll_PeekMessageA
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0x3c
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push str.DllUnregisterServer
push 0x4740e4
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push 0x474100
push eax
call fcn.00410120
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, reloc.USER32.dll_PeekMessageA
add esp, 0x14
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
lea eax, reloc.USER32.dll_PeekMessageA
mov dword [ebp - 0x16a8], str.rundll32.exe
push eax
call esi
push str.DllUnregisterServerUser
push str.FastEx64.dll
lea eax, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push str.__s_s___s
push eax
call fcn.00410120
add esp, 0x14
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call esi
push ecx
push str.Software
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004221c0
test eax, eax
je 0x4143a5
push ecx
push str.HSTools
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004221c0
test eax, eax
je 0x41439a
push 0x4741ac
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00422710
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004222e0
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004222e0
push ecx
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00422190
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004221c0
test eax, eax
je 0x4143e1
push 0x4741f4
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00422710
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.004222e0
push ecx
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00426f80
add esp, 4
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x3e8
mov ecx, edi
call fcn.00425740
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00413d80
mov esi, eax
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
mov dword [ebp - reloc.USER32.dll_PeekMessageA], esi
call fcn.0043ffb0
add esp, 0xc
cmp dword [0x48608c], 6
jb 0x4144e0
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0041dae0
test eax, eax
je 0x4144e0
push 0x208
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4144e0
push 0x208
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
lea eax, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0x104
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push ecx
push dword [ebp - 0x166c]
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0041f690
add esp, 8
cmp word [ebp - 0x630], 0
je 0x414526
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x414526
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.00413d80
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
test eax, eax
je 0x41452b
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
jmp 0x41452b
mov eax, 1
cmp dword [edi + reloc.USER32.dll_PeekMessageA], 0
jne 0x4145ce
cmp dword [ebp - reloc.USER32.dll_PeekMessageA], 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, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x41459f
cmp dword [edi + reloc.USER32.dll_PeekMessageA], 0
jne 0x41459f
push 5
push 0
push 0
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0
push 0
call esi
cmp word [ebp - 0x630], 0
je 0x4145ce
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x4145ce
push 5
push 0
push 0
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0
push 0
call esi
push ecx
push str.fcuninst.bat
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0041f690
lea eax, reloc.USER32.dll_PeekMessageA
push 0x474238
push eax
call fcn.00445fd2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41475d
push ecx
push 0x47423c
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0041f690
add esp, 4
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
push 0x474244
call fcn.0041f690
add esp, 4
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
push str.setup.exe
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 - reloc.USER32.dll_PeekMessageA], 0
je 0x414682
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0x474290
push esi
call fcn.004100d0
add esp, 0xc
jmp 0x4146c8
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0x4742b0
push esi
call fcn.004100d0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0x4742d0
push esi
call fcn.004100d0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
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 - reloc.USER32.dll_PeekMessageA], 0x44
lea eax, reloc.USER32.dll_PeekMessageA
push 0x40
push edi
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
xorps xmm0, xmm0
movups xmmword [ebp - 0x1458], xmm0
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push 0x474314
push eax
call fcn.00410120
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, reloc.USER32.dll_PeekMessageA
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 - reloc.USER32.dll_PeekMessageA]
push 0
mov ecx, edi
call fcn.004147b0
lea ecx, reloc.USER32.dll_PeekMessageA
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