Function at 0x494430
Capabilities:
Get common file path
Set file attributes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x6070f1
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x85c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x864], esi
mov eax, dword [esp + 0x86c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], esi
mov ebx, 1
mov dword [esp + 0x864], ebx
lea ecx, [esp + 0x870]
push ecx
push eax
call fcn.0040b930
lea edx, [esp + 0x58]
push edx
push esi
push esi
push 0x24
push esi
mov dword [esp + 0x68], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x1c]
push eax
call fcn.00443eb0
mov byte [esp + 0x864], 2
lea ecx, [esp + 0x1c]
call fcn.00436ac0
lea edi, [esp + 0x870]
call fcn.0040bd70
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x49484b
xor edi, edi
mov dword [esp + 0x18], edi
nop
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x864], 3
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x49453a
call fcn.005c475a
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + ecx + 8]
push edx
lea ebx, [esp + 0x40]
call fcn.00436f50
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, esi
je 0x494801
jbe 0x4948b2
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
add ecx, 0x220
push eax
call fcn.0040b990
mov byte [esp + 0x864], 4
lea ecx, [esp + 0x58]
push ecx
push str.SystemRoot
lea edx, [esp + 0x1c]
push edx
call fcn.0040bb60
push 0x6ca128
push 0x6d6ccc
lea eax, [esp + 0x1c]
push eax
call fcn.0040bb60
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4945cc
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.004123c0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.005c44a8
add esp, 8
test esi, esi
jl 0x4948b2
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4948b2
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x870]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4948bc
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c3c4f
add esp, 8
test eax, eax
jne 0x4947d7
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x494652
push str.vbui.exe
push eax
call fcn.005c476a
add esp, 8
test eax, eax
je 0x494652
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4947d7
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x494674
call fcn.005c475a
mov ecx, dword [esp + 0x28]
lea esi, [edi + ecx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 8], eax
je 0x4947d7
mov edx, dword [esp + 0x870]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x71038c], 1
jl 0x4946e5
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004c1430
mov byte [esp + 0x86c], 5
mov edx, dword [eax]
push edx
push str.PRE_PROC:__s
push str.KillInProcsPre
push 1
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x864], 4
lea ecx, [esp + 0x50]
call fcn.0040b810
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x494707
call fcn.005c475a
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + ecx + 8]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4947d7
cmp dword [0x71038c], 1
jl 0x49476c
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004c1430
mov byte [esp + 0x86c], 6
mov edx, dword [eax]
push edx
push str.PRE_OPEN_PROC:__s
push str.KillInProcsPre
push 1
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x864], 4
lea ecx, [esp + 0x34]
call fcn.0040b810
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x71038c], 1
mov edi, eax
jl 0x4947cc
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.004c1430
add esp, 8
mov esi, eax
mov byte [esp + 0x864], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
push edi
push edx
push str.PRE_POST_PROC:__s___i___i
push str.KillInProcsPre
push 1
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x864], 4
lea ecx, [esp + 0x4c]
call fcn.0040b810
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x864], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4947ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov byte [esp + 0x864], 2
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x49481a
push eax
call fcn.005c4000
add esp, 4
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
inc ebp
add edi, 0x22c
add ecx, edx
mov dword [esp + 0x18], edi
cmp ebp, ecx
jb 0x494500
mov ebx, 1
mov byte [esp + 0x864], bl
lea edx, [esp + 0x1c]
push edx
call fcn.00484970
mov dword [esp + 0x864], esi
mov eax, dword [esp + 0x870]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x85c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.005c397a
add esp, 0x854
ret
push 0x80070057
call fcn.00403d10
push 0x80004005
call fcn.00403d10
int3