Function at 0x421810
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
mov eax, dword [0x59c388]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421861
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.00408a30
push 0xd
xor eax, eax
mov dword [ebp - 0x274], 0
push 0x545394
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
call fcn.00408a30
xor eax, eax
mov dword [ebp - 0x2d4], 0
mov word [ebp - 0x2e4], ax
lea ecx, [ebp - 0x2e4]
mov eax, dword [ebp - 0x274]
add eax, dword [ebp - 0x28c]
push eax
mov dword [ebp - 0x2d0], 7
call fcn.0041e800
cmp dword [ebp - 0x288], 8
lea eax, [ebp - 0x29c]
push dword [ebp - 0x28c]
cmovae eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x2e4]
push eax
call fcn.0040bf10
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
push dword [ebp - 0x274]
cmovae eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x2e4]
push eax
call fcn.0040bf10
lea ecx, [ebp - 0x284]
call fcn.00409490
movups xmm0, xmmword [ebp - 0x2e4]
lea esi, [ebp - 0x26c]
mov edi, 4
movups xmmword [ebp - 0x284], xmm0
movq xmm0, qword [ebp - 0x2d4]
movq qword [ebp - 0x274], xmm0
mov ecx, esi
call fcn.004215d0
add esi, 0x18
sub edi, 1
jne 0x421967
push 0xc
push str.__echo_off_r_n
lea ecx, [ebp - 0x26c]
call fcn.00408a30
push ebx
lea eax, [ebp - 0x2cc]
push str.del
push eax
call fcn.00420ff0
add esp, 0xc
mov ecx, eax
push 0x12
push str.uninstaller.exe_r_n
call fcn.0040bf10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x344], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x254]
movq qword [ebp - 0x334], xmm0
call fcn.00409490
movups xmm0, xmmword [ebp - 0x344]
mov edx, dword [ebp - 0x2b8]
movups xmmword [ebp - 0x254], xmm0
movq xmm0, qword [ebp - 0x334]
movq qword [ebp - 0x244], xmm0
cmp edx, 8
jb 0x421a3a
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421a30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ee7
push edx
push ecx
call fcn.004f3ad4
add esp, 8
push ebx
lea eax, [ebp - 0x2cc]
push str.rmdir__s_q
push eax
call fcn.00420ff0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x23c]
cmp eax, esi
je 0x421a8c
mov ecx, eax
call fcn.00409490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x421acc
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421eec
push edx
push ecx
call fcn.004f3ad4
add esp, 8
push 8
push str._r_ndel__0
lea ecx, [ebp - 0x224]
call fcn.00408a30
xor eax, eax
mov dword [ebp - 0x2a4], 0
cmp byte [ebp + 0xc], al
mov word [ebp - 0x2b4], ax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x2a0], 7
push eax
lea eax, [ebp - 0x32c]
push eax
je 0x421c28
call fcn.00420f90
add esp, 0xc
lea ecx, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
cmovae ecx, dword [ebp - 0x23c]
push dword [ebp - 0x22c]
push ecx
mov ecx, eax
call fcn.0040bf10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x2cc]
push dword [ebp - 0x214]
cmovae eax, dword [ebp - 0x224]
push eax
call fcn.0040bf10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x344], xmm0
movups xmmword [ebp - 0x2fc], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2b4]
movq qword [ebp - 0x334], xmm0
movq qword [ebp - 0x2ec], xmm0
call fcn.00409490
movups xmm0, xmmword [ebp - 0x344]
xor eax, eax
mov dword [ebp - 0x2ec], 0
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2e8], 7
movups xmmword [ebp - 0x2b4], xmm0
mov word [ebp - 0x2fc], ax
movq xmm0, qword [ebp - 0x334]
movq qword [ebp - 0x2a4], xmm0
call fcn.00409490
lea ecx, [ebp - 0x2cc]
jmp 0x421cd7
call fcn.00420f90
add esp, 0xc
lea ecx, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
cmovae ecx, dword [ebp - 0x224]
push dword [ebp - 0x214]
push ecx
mov ecx, eax
call fcn.0040bf10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x344], xmm0
movups xmmword [ebp - 0x314], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2b4]
movq qword [ebp - 0x334], xmm0
movq qword [ebp - 0x304], xmm0
call fcn.00409490
movups xmm0, xmmword [ebp - 0x344]
xor eax, eax
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 7
lea ecx, [ebp - 0x314]
movups xmmword [ebp - 0x2b4], xmm0
mov word [ebp - 0x314], ax
movq xmm0, qword [ebp - 0x334]
movq qword [ebp - 0x2a4], xmm0
call fcn.00409490
lea ecx, [ebp - 0x32c]
call fcn.00409490
sub esp, 0x18
lea eax, [ebp - 0x2b4]
mov ecx, esp
push eax
call fcn.00406990
sub esp, 0x18
lea eax, [ebp - 0x284]
mov ecx, esp
push eax
call fcn.00406990
call fcn.00422440
add esp, 0x30
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.0051c7ee
push 0
push dword [eax]
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0x3c
cmovae eax, dword [ebp - 0x284]
cmp dword [ebp - 0x288], 8
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x29c]
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x380]
push eax
movlpd qword [ebp - 0x35c], xmm0
movlpd qword [ebp - 0x354], xmm0
movlpd qword [ebp - 0x34c], xmm0
mov dword [ebp - 0x37c], 0x40
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], str.runas
mov dword [ebp - 0x36c], 0x543f90
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x2a0]
cmp edx, 8
jb 0x421e27
mov ecx, dword [ebp - 0x2b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421e1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ef1
push edx
push ecx
call fcn.004f3ad4
add esp, 8
mov esi, 4
lea edi, [ebp - 0x20c]
sub edi, 0x18
mov ecx, edi
call fcn.00409490
sub esi, 1
jne 0x421e32
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x421e7d
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421e73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ef1
push edx
push ecx
call fcn.004f3ad4
add esp, 8
mov edx, dword [ebp - 0x288]
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp edx, 8
jb 0x421ed6
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421ecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ef1
push edx
push ecx
call fcn.004f3ad4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3d68
mov esp, ebp
pop ebp
ret
call fcn.0050f89c
call fcn.0050f89c
call fcn.0050f89c
int3