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

Disassembly:
push 0xffffffffffffffff
push 0x607261
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x868], esi
mov eax, dword [esp + 0x870]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], esi
mov ebx, 1
mov dword [esp + 0x868], ebx
lea ecx, [esp + 0x874]
push ecx
push eax
call fcn.0040b930
lea edx, [esp + 0x5c]
push edx
push esi
push esi
push 0x24
push esi
mov dword [esp + 0x6c], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x20]
push eax
call fcn.00443eb0
mov byte [esp + 0x868], 2
lea ecx, [esp + 0x20]
call fcn.00436ac0
lea edi, [esp + 0x874]
call fcn.0040bd70
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x493eb3
xor edi, edi
mov dword [esp + 0x1c], edi
nop
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov byte [esp + 0x868], 3
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x493b9a
call fcn.005c475a
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi + ecx + 8]
push edx
lea ebx, [esp + 0x44]
call fcn.00436f50
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, esi
je 0x493e69
jbe 0x493f1a
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x18]
add ecx, 0x220
push eax
call fcn.0040b990
mov byte [esp + 0x868], 4
lea ecx, [esp + 0x5c]
push ecx
push str.SystemRoot
lea edx, [esp + 0x20]
push edx
call fcn.0040bb60
push 0x6ca128
push 0x6d6ccc
lea eax, [esp + 0x20]
push eax
call fcn.0040bb60
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x493c2e
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.004123c0
mov edx, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.005c44a8
add esp, 8
test esi, esi
jl 0x493f1a
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x493f1a
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x18]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x874]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x493f24
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005c3c4f
add esp, 8
test eax, eax
jne 0x493e3f
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x493cb4
push str.vbui.exe
push eax
call fcn.005c476a
add esp, 8
test eax, eax
je 0x493cb4
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
jne 0x493e3f
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x493cd6
call fcn.005c475a
mov ecx, dword [esp + 0x2c]
lea esi, [edi + ecx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi + 8], eax
je 0x493e3f
mov edx, dword [esp + 0x874]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [0x71038c], ebx
jl 0x493d45
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004c1430
mov byte [esp + 0x870], 5
mov edx, dword [eax]
push edx
push str.PRE_PROC:__s
push str.KillInProcs
push ebx
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x868], 4
lea ecx, [esp + 0x54]
call fcn.0040b810
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x493d67
call fcn.005c475a
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi + ecx + 8]
push edx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x493e3b
cmp dword [0x71038c], ebx
jl 0x493dc9
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004c1430
mov byte [esp + 0x870], 6
mov edx, dword [eax]
push edx
push str.OPEN_PROC:__s
push str.KillInProcs
push ebx
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x868], 4
lea ecx, [esp + 0x38]
call fcn.0040b810
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x71038c], 1
mov ebx, eax
jl 0x493e29
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004c1430
add esp, 8
mov esi, eax
mov byte [esp + 0x868], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
push ebx
push edx
push str.POST_PROC:__s___i___i
push str.KillInProcs
push 1
call fcn.00579a92
add esp, 0x18
mov byte [esp + 0x868], 4
lea ecx, [esp + 0x50]
call fcn.0040b810
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x868], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493e67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov byte [esp + 0x868], 2
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x493e82
push eax
call fcn.005c4000
add esp, 4
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
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 + 0x1c], edi
cmp ebp, ecx
jb 0x493b60
mov ebx, 1
mov byte [esp + 0x868], bl
lea edx, [esp + 0x20]
push edx
call fcn.00484970
mov dword [esp + 0x868], esi
mov eax, dword [esp + 0x874]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.005c397a
add esp, 0x858
ret
push 0x80070057
call fcn.00403d10
push 0x80004005
call fcn.00403d10
int3