Function at 0x413ec0
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 0x45ad2b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1738
call fcn.0043d050
mov eax, dword [0x47f06c]
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.0043f640
add esp, 0xc
lea ecx, [ebp - 0x1668]
call fcn.0040f5f0
cmp dword [edi + 0x1c8], 0
jne 0x413f86
lea eax, [edi + 0x640]
xor edx, edx
push eax
lea ecx, [ebp - 0x1668]
call fcn.0040e8c0
add esp, 4
test eax, eax
je 0x413f86
cmp dword [ebp - 0x15f4], 1
jne 0x413f86
push 0x131
mov ecx, 0x14
call fcn.0041feb0
push eax
mov ecx, 0x15
call fcn.0041feb0
push eax
mov ecx, edi
call fcn.004252b0
cmp eax, 1
jne 0x414649
mov ecx, dword [edi + 0x1f4]
test ecx, ecx
je 0x414638
cmp word [ecx], 0
je 0x414638
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 0x413fb0
push 1
xor edx, edx
lea ecx, [ebp - 0x220]
call fcn.00412b40
add esp, 4
mov dword [ebp - 0x1674], eax
test eax, eax
jne 0x413feb
lea ecx, [ebp - 0x220]
call fcn.004203a0
test eax, eax
je 0x41403c
cmp dword [0x48408c], 6
jb 0x41403c
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x41403c
lea ecx, [ebp - 0x220]
call fcn.0041cc90
test eax, eax
jne 0x41403c
push ecx
mov ecx, edi
call fcn.004127a0
test eax, eax
jne 0x414032
cmp dword [edi + 0x1c8], eax
je 0x414032
push 0x472ffc
push str.Failed_to_elevate_n
mov ecx, edi
call fcn.00412640
mov eax, 1
jmp 0x41464b
cmp dword [edi + 0x1c8], 0
jne 0x414067
push 0x41
push str.UnInstall
mov ecx, 8
call fcn.0041feb0
push eax
mov ecx, edi
call fcn.004252b0
cmp eax, 1
jne 0x414649
push 0
push 0x80000001
lea ecx, [ebp - 0x1748]
call fcn.004216d0
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x1748]
mov dword [ebp - 4], 0
call fcn.00421890
test eax, eax
je 0x41413f
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.00421be0
test eax, eax
je 0x414128
test esi, esi
jne 0x4140e9
push esi
lea eax, [ebp - 0x428]
push eax
call fcn.004147a0
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4140f2
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push str.FastCopy.lnk
push 0x4730c0
lea eax, [eax + ecx*2]
push eax
call fcn.00410080
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.004265b0
mov eax, dword [ebp + esi*4 - 0x1450]
inc esi
test eax, eax
jne 0x4140c0
lea ecx, [ebp - 0x1748]
call fcn.004219b0
push 0
mov edx, 1
lea ecx, [ebp - 0x220]
call fcn.00412b40
add esp, 4
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x414173
push 1
mov edx, 1
lea ecx, [ebp - 0x220]
call fcn.00412b40
add esp, 4
call fcn.00420390
test eax, eax
je 0x414215
push 0x38
lea eax, [ebp - 0x16b4]
mov dword [ebp - 0x16b8], 0x3c
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x220]
push str.DllUnregisterServer
push 0x4730f0
push eax
lea eax, [ebp - 0x1448]
push 0x47310c
push eax
call fcn.00410080
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.00410080
add esp, 0x14
lea eax, [ebp - 0x16b8]
push eax
call esi
push ecx
push str.Software
lea ecx, [ebp - 0x1748]
call fcn.00421890
test eax, eax
je 0x414265
push ecx
push str.HSTools
lea ecx, [ebp - 0x1748]
call fcn.00421890
test eax, eax
je 0x41425a
push 0x4731b8
lea ecx, [ebp - 0x1748]
call fcn.00421de0
lea ecx, [ebp - 0x1748]
call fcn.004219b0
lea ecx, [ebp - 0x1748]
call fcn.004219b0
push ecx
lea ecx, [ebp - 0x1748]
call fcn.00421860
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x1748]
call fcn.00421890
test eax, eax
je 0x4142a1
push 0x473200
lea ecx, [ebp - 0x1748]
call fcn.00421de0
lea ecx, [ebp - 0x1748]
call fcn.004219b0
push ecx
lea edx, [ebp - 0x838]
lea ecx, [ebp - 0x220]
call fcn.00426620
add esp, 4
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x3e8
mov ecx, edi
call fcn.00424de0
lea ecx, [ebp - 0x220]
call fcn.00413c40
mov esi, eax
lea eax, [ebp - 0x630]
push 0x208
push 0
push eax
mov dword [ebp - 0x1678], esi
call fcn.0043f640
add esp, 0xc
cmp dword [0x48408c], 6
jb 0x4143a0
lea ecx, [ebp - 0x220]
call fcn.004203a0
test eax, eax
je 0x4143a0
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0043f640
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 0x4143a0
push 0x208
lea eax, [ebp - 0xc48]
push 0
push eax
call fcn.0043f640
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.0041d370
add esp, 8
cmp word [ebp - 0x630], 0
je 0x4143e6
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4143e6
lea ecx, [ebp - 0x630]
call fcn.00413c40
mov dword [ebp - 0x166c], eax
test eax, eax
je 0x4143eb
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x166c]
jmp 0x4143eb
mov eax, 1
cmp dword [edi + 0x1c8], 0
jne 0x41448e
cmp dword [ebp - 0x1674], 0
jne 0x41440e
test esi, esi
je 0x41440e
mov ecx, 4
test eax, eax
jne 0x414413
mov ecx, 5
call fcn.0041feb0
push 0
push 0x473220
push eax
mov ecx, edi
call fcn.004252b0
test esi, esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
jne 0x41445f
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41445f
cmp dword [edi + 0x1c8], 0
jne 0x41445f
push 5
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 0
push 0
call esi
cmp word [ebp - 0x630], 0
je 0x41448e
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41448e
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.0041d370
lea eax, [ebp - 0xa40]
push 0x473244
push eax
call fcn.00445662
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41461d
push ecx
push 0x473248
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0xc48]
call fcn.0041d370
add esp, 4
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x428]
push 0x473250
call fcn.0041d370
add esp, 4
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x838]
push 0x47325c
call fcn.0041d370
add esp, 8
mov edi, 0xa
push str.ping_127.0.0.1__w_1_n
push esi
call fcn.00410030
add esp, 8
cmp dword [ebp - 0x1678], 0
je 0x414542
lea eax, [ebp - 0x220]
push eax
push 0x47329c
push esi
call fcn.00410030
add esp, 0xc
jmp 0x414588
lea eax, [ebp - 0xc48]
push eax
push 0x4732bc
push esi
call fcn.00410030
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x4732dc
push esi
call fcn.00410030
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.00410030
add esp, 0x10
sub edi, 1
jne 0x414514
push esi
call fcn.004454f1
add esp, 4
mov dword [ebp - 0x16c0], 0x44
lea eax, [ebp - 0x16bc]
push 0x40
push edi
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0xa40]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1458], xmm0
push eax
lea eax, [ebp - 0xe50]
push 0x473320
push eax
call fcn.00410080
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 0x414617
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.00414670
lea ecx, [ebp - 0x1748]
call fcn.00421710
mov eax, 1
jmp 0x41464b
push 0x472fbc
push str.Setup_path_not_found_n
mov ecx, edi
call fcn.00412640
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.0043bdd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret