joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e5c30
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_CEnumFormatEtc::CEnumFormatEtc
nop
mov rdx, rdi
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
mov r8d, 1
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, [0x1401340e8]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x1400e5cd9
lea rdx, [0x1401340e8]
lea rcx, [rbp + 0x28]
call qword [0x14012a1a8]
lea rdx, [0x14015fdc8]
lea rcx, [rbp + 0x28]
call qword [0x14012a1a8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_CResetPropExchange::ExchangePersistentProp
test eax, eax
je 0x1400e5dbf
nop dword [rax + rax]
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_Ordinal_4578
mov ebx, eax
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_CDC::HIMETRICtoDP
test eax, eax
jne 0x1400e5d67
lea edx, [rax + 0x10]
lea rcx, [rbp - 0x38]
mov r8, qword [rbp - 0x38]
call qword [r8 + 0x80]
test eax, eax
jne 0x1400e5d67
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_Ordinal_5385
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edx, 0x10
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x80]
test eax, eax
je 0x1400e5db7
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_Ordinal_5385
nop
mov rdx, rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
jne 0x1400e5d10
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x38]
call sub.mfc140u.dll_CDockSite::CDockSite
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400e5df0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp ebx, 0xffffffff
jne 0x1400e5e2f
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400e6e30
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400e6eb1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400f76d0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret

Function at 0x1400e7b10
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400e7c31
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str.AnakageCommon_
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400e7ea0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400e7fc1
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [0x14015e288]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400e8ea0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov dword [rsp + 0x30], 1
lea rdx, [0x14015e288]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400e9ff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ea022
test al, 0x10
je 0x1400ea022
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400ea040
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400ea118
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
mov ecx, dword [rsp + 0x48]
test eax, eax
jns 0x1400ea10b
cmp ebx, 0xffffffff
je 0x1400ea0f1
cmp ebx, ecx
je 0x1400ea10b
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x1400ea0b2
mov ebp, ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebp, ebp
je 0x1400ea133
mov al, 1
jmp 0x1400ea135
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400ead50
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0x80000000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400eaded
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401312ec]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rdi, rax
lea rdx, str.OpenSCManager_failed
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1400ee8c0
xor eax, eax
jmp 0x1400eaf24
mov r8d, 0x80000000
lea rdx, str.HealITService
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1400eae69
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401312ec]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov r14, rax
lea rdx, str.OpenService_failed___d__n
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, r14
mov rcx, rdi
call fcn.1400ee8c0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsi], 0
xor eax, eax
jmp 0x1400eaf24
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400eaeeb
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401312ec]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov r14, rax
lea rdx, str.QueryServiceStatusEx_failed___d__n
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, r14
mov rcx, rsi
call fcn.1400ee8c0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400eaf24
mov eax, dword [rsp + 0x6c]
dec eax
mov rcx, rdi
test eax, 0xfffffffd
je 0x1400eaf11
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x1400eaf24
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400eaf24
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400ee600
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x38]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400ee6fe
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400ee6fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1401312ec]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov r8d, ebx
lea rdx, str.Your_system_will_be_restart_in__d_seconds._Please_save_your_files_and_close_programs._Note:_Solution_will_be_continue_after_restart
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x70
pop rbx
ret
Function at 0x1400ee720
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
movzx ebx, r8b
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.mfc140u.dll_CFileDialog::SetTemplate]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], WSAStartup
mov dword [rsp + 0x34], 0x40
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbp
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
je 0x1400ee7ab
mov qword [rsp + 0x50], rbp
jmp 0x1400ee7b9
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test bl, bl
je 0x1400ee7eb
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400ee819
mov rbx, qword [rsp + 0x98]
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
mov qword [rcx + reloc.mfc140u.dll_CHandleMap::CHandleMap], rbx
call fcn.1400ee850
mov ebx, eax
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
mov dword [rcx + 0x208], ebx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f08e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0xe0]
mov r15, rdx
lea rdx, [rsp + 0x40]
mov rsi, r9
mov r14, r8
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1400f092c
mov eax, 0x200
jmp 0x1400f0afe
mov r8d, dword [rsp + 0x40]
mov r9d, r8d
and r9d, 1
mov qword [rsp + 0x88], rbx
mov eax, r8d
mov qword [rsp + 0x80], rbp
mov ecx, r9d
or ecx, 2
and al, 2
mov eax, r8d
cmove ecx, r9d
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, r8d
mov eax, edx
or eax, 0x10
and ecx, 0x10
cmove eax, edx
mov edx, 0x81000000
mov ebx, eax
or ebx, 0x20
and r8b, 0x20
cmove ebx, eax
test ecx, ecx
mov eax, 0x41000000
cmove eax, edx
or ebx, eax
test r9d, r9d
jne 0x1400f0998
bts ebx, 0x17
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp eax, 0x28
jbe 0x1400f0a81
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, 2
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x24]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, 4
lea rdx, [rsp + 0x34]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [rsp + 0x30], ax
jne 0x1400f0a81
mov edx, dword [rsp + 0x34]
lea eax, [rdx + 0x34]
cmp ebp, eax
jbe 0x1400f0a81
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, 4
lea rdx, [rsp + 0x3c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x3c]
cmp eax, 0x5a4d
je 0x1400f0a7d
add eax, 0xffffbab4
cmp eax, 4
ja 0x1400f0a81
mov ecx, 0x15
bt ecx, eax
jae 0x1400f0a81
bts ebx, 0x16
test r15, r15
je 0x1400f0a89
mov dword [r15], ebx
test r14, r14
je 0x1400f0a91
mov dword [r14], ebp
mov rbx, qword [rsp + 0x54]
mov rbp, qword [rsp + 0x80]
test rsi, rsi
je 0x1400f0aca
mov rcx, qword [rsp + 0x4c]
call fcn.1400f2b10
mov rcx, rbx
mov qword [rsi], rax
call fcn.1400f2b10
mov rcx, qword [rsp + 0x44]
mov qword [rsi + 8], rax
call fcn.1400f2b10
mov qword [rsi + 0x10], rax
test r12, r12
je 0x1400f0af4
lea r8, [rsp + 0x34]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.1400f2a60
movzx ecx, word [rsp + 0x30]
movzx eax, word [rsp + 0x34]
shl ecx, 0x10
or ecx, eax
mov dword [r12], ecx
mov rbx, qword [rsp + 0x88]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret