joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484970
Capabilities:
Delete service
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a21d5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x10000
push 0x40
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x44]
push eax
push 0x10000
push esi
push 3
push 0x30
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
je 0x484b3b
xor ebx, ebx
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x38], ebx
jle 0x484b3b
lea edi, [esi + 4]
mov dword [ebp - 0x3c], edi
mov esi, dword [edi]
call fcn.004828a0
test eax, eax
je 0x484b5e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00484850
test al, al
jne 0x484a59
test esi, esi
jne 0x484a3a
xor eax, eax
jmp 0x484a4f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x484a40
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00482b10
mov esi, dword [ebp - 0x30]
push str.VAIO_Event_Service
push esi
call fcn.004909c1
add esp, 8
test eax, eax
je 0x484a84
push str.NetworkSupport
push esi
call fcn.004909c1
add esp, 8
test eax, eax
jne 0x484b06
mov eax, dword [ebp - 0x48]
push 0xf01ff
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x484b03
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
xor edi, edi
nop word [eax + eax]
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x28], 1
je 0x484ad1
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x64
jbe 0x484ab0
jmp 0x484af9
push ebx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x484af9
nop
cmp edi, 0x64
ja 0x484af9
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x484ae0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x484b25
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
add edi, 0x24
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], edi
cmp ebx, dword [ebp - 0x38]
jl 0x484a02
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x484d00
Capabilities:
Get common file path
Get program files directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2276
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0
push dword [ebp + 8]
mov byte [ebp - 4], 2
push SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or ebx, 0xffffffff
test eax, eax
jne 0x484ed6
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
and esi, 0x300
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], esi
mov ecx, 0x208
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x484db0
call fcn.004828a0
mov ecx, eax
test ecx, ecx
je 0x484f2f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x230], esi
push 0
push 0x2a
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x484e93
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482170
push 0x1a
push str.VAIOVAIO_Control_Center_
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.00484760
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00484760
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x484e78
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x22c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x484e46
sub edx, dword [ebp - 0x22c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push 0x4a3a80
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x21c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x484e93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x484ea6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x484ecb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x484ed6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x484ef4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x484f13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x486730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4867a1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x48676f
cmp eax, 2
jne 0x48678b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x48679b
test ecx, ecx
je 0x486796
test cl, 1
jne 0x48678b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x48679b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4867b0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2631
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4867f0
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4869c6
mov ebx, 0x4af0d8
nop dword [eax]
call fcn.004828a0
test eax, eax
je 0x4869e2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x220]
call fcn.00484850
test al, al
jne 0x486885
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486863
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00482b10
push 0x1a
push str.VAIOVAIO_Control_Center_
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.00484760
mov edx, dword [ebx]
test edx, edx
jne 0x4868a8
xor eax, eax
jmp 0x4868bf
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4868b0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x220]
call fcn.00484760
mov edi, dword [ebp - 0x220]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486998
call fcn.004828a0
test eax, eax
je 0x4869e2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x4a4e9c
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00484850
test al, al
jne 0x486928
push 2
push 0x4a4e9c
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push dword [edi - 0xc]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
push edi
call fcn.00484760
push 1
push 0x4a4e98
lea ecx, [ebp - 0x21c]
call fcn.00484760
push 0xb
push str.__RegServer
lea ecx, [ebp - 0x21c]
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push 0
push 0
push esi
push 0x4a4ec8
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486998
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4869b7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, 0x4af0e4
jl 0x486820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x4869f0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a267b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x486a30
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x486b71
mov ebx, 0x4af150
nop dword [eax]
call fcn.004828a0
test eax, eax
je 0x486b8d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00484850
test al, al
jne 0x486ac5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486aa3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push 0x1a
push str.VAIOVAIO_Control_Center_
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.00484760
mov edx, dword [ebx]
test edx, edx
jne 0x486ae8
xor eax, eax
jmp 0x486aff
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x486af0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x21c]
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486b43
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x486b38
call eax
test edi, edi
je 0x486b43
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486b62
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, 0x4af1b0
jl 0x486a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x486ba0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a26d6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x486be0
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x486d48
call fcn.004828a0
mov ecx, eax
test ecx, ecx
je 0x486d63
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00484850
test al, al
jne 0x486c69
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486c47
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push 0x24
push str.VAIOVAIO_Control_CenterVESMgr.exe
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x486d2c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push str._c__
push eax
call fcn.004845d0
add esp, 0xc
push 1
push 0x4a4e98
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00484760
push 9
push str.__Service
lea ecx, [ebp - 0x220]
call fcn.00484760
push 0xb
push str.__AutoStart
lea ecx, [ebp - 0x220]
call fcn.00484760
push 0
push 0
push dword [ebp - 0x220]
push 0x4a4ec8
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486d2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x486d48
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x486d70
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a271b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x486db0
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x486ea8
call fcn.004828a0
mov ecx, eax
test ecx, ecx
je 0x486ec3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00484850
test al, al
jne 0x486e39
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486e17
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push 0x38
push str.Common_FilesVAIO_SharedVAIO_UtilitiesVSLProxyCOM.dll
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486e89
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x486e7e
call eax
test edi, edi
je 0x486e89
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486ea8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x486ee0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a26d6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x486f20
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x487076
call fcn.004828a0
mov ecx, eax
test ecx, ecx
je 0x487091
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00484850
test al, al
jne 0x486fa9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486f87
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push 0x3b
push str.VAIOVAIO_Control_CenterNetworkSettingNetworkSupport.exe
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x48705a
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push str._c__
push eax
call fcn.004845d0
add esp, 0xc
push 1
push 0x4a4e98
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00484760
push 9
push str.__Service
lea ecx, [ebp - 0x220]
call fcn.00484760
push 0
push 0
push dword [ebp - 0x220]
push 0x4a4ec8
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48705a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x487076
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x4870a0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2631
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004828a0
mov ecx, eax
test ecx, ecx
je 0x487297
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x4a4e30
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00484850
test al, al
jne 0x487118
push 0xd
push 0x4a4e30
lea ecx, [ebp - 0x220]
call fcn.00482b10
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
mov ecx, 0x208
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x487130
push ecx
push 0x2a
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or ebx, 0xffffffff
test eax, eax
je 0x487259
mov edi, 0x4af1b0
nop dword [eax]
call fcn.004828a0
test eax, eax
je 0x487297
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x21c]
call fcn.00484850
test al, al
jne 0x4871c2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4871a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482b10
push 0x1a
push str.VAIOVAIO_Control_Center_
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.00484760
mov edx, dword [edi]
test edx, edx
jne 0x4871e2
xor eax, eax
jmp 0x4871f6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4871e7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x21c]
call fcn.00484760
push 0
push 0x4a3a80
lea ecx, [ebp - 0x21c]
call fcn.00484760
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48722f
push esi
call fcn.00490e3d
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48724a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, 0x4af1b8
jl 0x487160
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48727b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004826e0
int3
Function at 0x488880
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa14
mov eax, dword [0x4af20c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
mov ebx, ecx
mov dword [ebp - 0xa14], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x4888eb
push 1
lea ecx, [ebx + 0x40]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4888db
push eax
mov dword [ebp - 0xa14], 1
call esi
push edi
call esi
cmp dword [ebp - 0xa14], 0
jne 0x488a35
push 0x104
lea eax, [ebp - 0x20e]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4889a6
cmp eax, 0x104
je 0x4889a6
mov ecx, 0x22
mov word [ebp - 0x210], cx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [eax*2 + 4]
cmp eax, 0x20c
jae 0x488a4b
xor ecx, ecx
push 0xf003f
push ecx
push ecx
mov word [ebp + eax - 0x210], cx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4889b9
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80a
call fcn.00488080
add esp, 0xc
test eax, eax
jne 0x488991
push str.Could_not_open_Service_Manager
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.004936dd
push eax
call fcn.00482640
add esp, 0x10
push 0
lea eax, [ebx + 0x40]
push eax
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d225
mov esp, ebp
pop ebp
ret
push 0
push 0
push str.RPCSS
push 0
push 0
lea eax, [ebp - 0x210]
add ebx, 0x40
push eax
push 1
push 3
push 0x10
push 0xf01ff
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x488a2f
push edi
call esi
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80b
call fcn.00488080
add esp, 0xc
test eax, eax
jne 0x488a27
push str.Could_not_start_service
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.004936dd
push eax
call fcn.00482640
add esp, 0x10
push 0
push ebx
jmp 0x488997
push eax
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d225
mov esp, ebp
pop ebp
ret
call fcn.0048d49b
int3