joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004c9920
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004079c0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x4fa2fc
mov ecx, dword [ebp + 8]
call fcn.00408a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ca80
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x534274
call fcn.004c63e1
mov eax, dword [ebp + 8]
push eax
call fcn.0040d590
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40cc13
lea edx, [ebp - 0x10]
push edx
call fcn.0040cc30
add esp, 4
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004c9920
add esp, 0xc
mov dword [ebp - 0x20], 0x104
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x14]
call fcn.004079c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040a2a0
movzx ecx, al
test ecx, ecx
jne 0x40cbfb
lea ecx, [ebp - 0x14]
call fcn.0040a2a0
movzx edx, al
test edx, edx
jne 0x40cbfb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00408680
add esp, 8
movzx edx, al
test edx, edx
je 0x40cbfb
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d640
add esp, 4
mov byte [ebp - 4], 3
push str.AppDataRoamingMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00408710
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004087b0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004082a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004082a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004082a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40cc30
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x534274
call fcn.004c63e1
mov ecx, dword [ebp + 8]
call fcn.004078b0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x40cd10
mov dword [ebp - 0x10], 0
jmp 0x40cca7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x40ccd9
imul edx, dword [ebp - 0x10], 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 8], 0
jne 0x40ccd7
imul ecx, dword [ebp - 0x10], 0xc
add ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x2c], ecx
jmp 0x40ccd9
jmp 0x40cc9e
mov edx, dword [ebp - 0x14]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 5
mov edx, dword [ebp - 0x34]
push edx
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x40cd10
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408610
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40d230
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x534274
call fcn.004c63e1
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + 8]
mov byte [ebp + edx - 4], al
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 4], 0x3a
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 4], 0x5c
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
mul dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x40d310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3ee6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
mov ecx, dword [ebp + 8]
call fcn.004078b0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x104
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.004c9920
add esp, 0xc
push 0x104
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408580
push 2
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a500
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004082a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d3e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x534274
call fcn.004c63e1
mov eax, dword [ebp + 8]
push eax
call fcn.0040c760
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40d573
lea edx, [ebp - 0x10]
push edx
call fcn.0040cc30
add esp, 4
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004c9920
add esp, 0xc
mov dword [ebp - 0x20], 0x104
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x14]
call fcn.004079c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040a2a0
movzx ecx, al
test ecx, ecx
jne 0x40d55b
lea ecx, [ebp - 0x14]
call fcn.0040a2a0
movzx edx, al
test edx, edx
jne 0x40d55b
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00408680
add esp, 8
movzx edx, al
test edx, edx
je 0x40d55b
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d640
add esp, 4
mov byte [ebp - 4], 3
push 0x4f9aec
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00408710
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004087b0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004082a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004082a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004082a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40d590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004c9920
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004079c0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x4f9f90
mov ecx, dword [ebp + 8]
call fcn.00408a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d810
Capabilities:
Check if file exists
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3fe5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 4], 1
mov ecx, 0x534274
call fcn.004c63e1
push 0x4fa0b4
push 0x4fa0e0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004087b0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004087b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004082a0
lea ecx, [ebp - 0x10]
call fcn.004086f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d8be
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004082a0
jmp 0x40d9e0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40d902
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004082a0
jmp 0x40d9e0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004078e0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004086f0
push eax
push 1
push 2
push 0x110
push 0xf01ff
lea ecx, [ebp - 0x18]
call fcn.004086f0
push eax
lea ecx, [ebp - 0x18]
call fcn.004086f0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40d98f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x18]
call fcn.004082a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004082a0
jmp 0x40d9e0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x18]
call fcn.004082a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004082a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004082a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40dad0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3cbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov ecx, 0x534274
call fcn.004c63e1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40dbc2
lea eax, [ebp - 0x18]
push eax
call fcn.0040cc30
add esp, 4
mov dword [ebp - 4], 0
push 0x208
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004c9920
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004079c0
lea ecx, [ebp - 0x18]
call fcn.0040a2a0
movzx edx, al
test edx, edx
jne 0x40dbab
lea ecx, [ebp - 0x14]
call fcn.0040a2a0
movzx eax, al
test eax, eax
jne 0x40dbab
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00408680
add esp, 8
movzx eax, al
test eax, eax
je 0x40dbab
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x14]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004082a0
mov al, byte [ebp - 0xd]
jmp 0x40dbc4
lea ecx, [ebp - 0x14]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004082a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40dd50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov ecx, 0x534274
call fcn.004c63e1
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 1], 1
cmp dword [ebp + 8], 0
jne 0x40dd7b
xor al, al
jmp 0x40de7d
mov dword [ebp - 0x2c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40de66
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x234]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [ebp - 0xe], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax]
jne 0x40de09
cmp word [ebp - 0xe], 0
je 0x40de00
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax + 2]
jne 0x40de09
add dword [ebp - 8], 4
add dword [ebp - 0xc], 4
cmp word [ebp - 0x10], 0
jne 0x40ddc4
mov dword [ebp - 0x1c], 0
jmp 0x40de11
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x40de4e
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
push 1
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x40de4e
mov byte [ebp - 1], 0
jmp 0x40de66
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x20], eax
jmp 0x40ddab
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40de7a
xor al, al
jmp 0x40de7d
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x40dfc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f402d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov ecx, 0x534274
call fcn.004c63e1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x50a430
push 1
push 0
push 0x50a4a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e10b
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x50a450
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e0fd
push 2
mov ecx, dword [ebp + 8]
call fcn.004086f0
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e0ef
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.0040b2a0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040a500
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.004086f0
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x50]
call edx
lea ecx, [ebp - 0x1c]
call fcn.004086f0
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x24]
call eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004086f0
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x44]
call ecx
push 1
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004082a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f404d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [ebp - 4], 0
mov ecx, 0x534274
call fcn.004c63e1
call fcn.0040a380
movzx eax, al
test eax, eax
je 0x40e1af
push 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
mov ecx, esi
call fcn.004053d0
call fcn.00416e20
add esp, 0x1c
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
mov ecx, esi
call fcn.004053d0
call fcn.00416e20
add esp, 0x1c
jmp 0x40e1e7
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
push 0x4fa0e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004082a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ebc0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, 0x534274
call fcn.004c63e1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40ebf2
lea ecx, [ebp + 8]
call fcn.004082a0
jmp 0x40ec5d
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ec27
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp + 8]
call fcn.004082a0
jmp 0x40ec5d
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp + 8]
call fcn.004082a0
mov esp, ebp
pop ebp
ret

Function at 0x40ec70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, 0x534274
call fcn.004c63e1
lea ecx, [ebp - 0x28]
call fcn.004035d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40ecc2
jmp 0x40ed07
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404e30
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404ca0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ed01
mov ecx, dword [ebp + 0xc]
call fcn.00404e30
cmp dword [ebp - 8], eax
je 0x40ed03
jmp 0x40ed07
xor edx, edx
jne 0x40ec96
cmp dword [ebp - 4], 0xffffffff
je 0x40ed17
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00403800
lea ecx, [ebp + 8]
call fcn.004082a0
mov esp, ebp
pop ebp
ret
Function at 0x40ed60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
mov ecx, dword [ebp + 8]
call fcn.004078b0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c9920
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c9920
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40ee10
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408610
push 0x4fa210
mov ecx, dword [ebp + 8]
call fcn.00408a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ee30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
mov ecx, dword [ebp + 8]
call fcn.004078b0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c9920
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c9920
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40eee0
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408610
push 0x4fa20c
mov ecx, dword [ebp + 8]
call fcn.00408a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ef30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x534274
call fcn.004c63e1
mov ecx, dword [ebp + 8]
call fcn.004078b0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c9920
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c9920
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40efe0
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408610
push 0x4fa208
mov ecx, dword [ebp + 8]
call fcn.00408a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret