joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008b28
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
lea rax, vtable.CLiveDataSource.0
mov qword [rcx], rax
mov rdi, qword [rcx + 0x30]
test rdi, rdi
je 0x140008c26
mov dword [rdi + 0x10], 1
xor edx, edx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp eax, 0x102
jne 0x140008b81
mov edx, 0x1388
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov dword [rdi + 0x14], 1
mov dword [rdi + 0x10], 1
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov edx, 0x1388
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp eax, 0x102
jne 0x140008bc4
xor edx, edx
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
and qword [rdi + 0xa0], 0
lea rcx, [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rdi + 0x28]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rdi + 8]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop
lea rcx, [rbx + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140008c48
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140022398]
nop
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140008c5f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140022398]
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140008c76
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140022398]
nop
lea rax, vtable.CDataSource.0
mov qword [rbx], rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140008c97
mov rcx, rbx
call fcn.14000696c
nop
and qword [rbx + 8], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140008df0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x30]
test rbx, rbx
jne 0x140008e0a
mov eax, 0x80004005
jmp 0x140008e7c
mov rdi, qword [rbx + 0x98]
and qword [rbx + 0x98], 0
and qword [rbx], 0
cmp qword [rbx + 0xa0], 0
jne 0x140008e67
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [rbx + 0xa8]
mov r9, rbx
mov qword [rsp + 0x28], rcx
lea r8, [0x1400098f0]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa0], rax
mov rcx, rbx
call fcn.1400098a4
mov eax, dword [rbx + 0x94]
mov qword [rbx + 0x98], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140008e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x170
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140035898]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x1c8]
lea rax, vtable.CMSInfoCategory.0
mov qword [rcx], rax
xor r14d, r14d
mov qword [rcx + 8], r14
mov rax, qword [rsp + 0x1b8]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
mov rax, qword [rsp + 0x1c0]
mov qword [rcx + 0x28], rax
or dword [rcx + 0x30], 0xffffffff
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x40], 1
mov dword [rcx + 0x48], r14d
mov rax, qword [rsp + 0x1d0]
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], r14d
mov qword [rcx + 0x60], r14
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
mov dword [rcx + 0x78], edx
mov dword [rcx + 0x7c], edx
sub rcx, 0xffffffffffffff80
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rdi + 0x88]
mov rdx, rbx
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov dword [rdi + 0x90], r14d
mov rdx, qword [rdi + 0x50]
mov rcx, rdx
test rdx, rdx
je 0x140008fa1
cmp dword [rcx + 8], r14d
jne 0x140008f7c
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], r14d
je 0x140008f85
inc dword [rdi + 0x48]
add rcx, 0x28
jne 0x140008f6c
test rdx, rdx
je 0x140008fa1
cmp dword [rdx + 0x1c], r14d
je 0x140008fa1
mov dword [rdi + 0x30], r14d
mov dword [rdi + 0x38], 1
mov eax, dword [rdx + 0x20]
mov dword [rdi + 0x34], eax
mov ebx, dword [rsp + 0x1e0]
test ebx, ebx
je 0x140008fe0
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140008fe0
mov eax, r14d
cmp ebx, 1
jne 0x140008fd5
cmp dword [rsp + 0x50], 2
setne al
jmp 0x140008fdd
cmp dword [rsp + 0x50], 2
sete al
mov dword [rdi + 0x3c], eax
lea rax, vtable.CMSInfoLiveCategory.0
mov qword [rdi], rax
mov dword [rdi + 0x98], r14d
mov eax, dword [rsp + 0x1b0]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0xa0], rsi
lea rcx, [rdi + 0xa8]
lea rdx, [0x140022b98]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
lea rcx, [rdi + 0xb0]
mov rdx, rbp
call qword [sym.imp.MFC42u.dll_CControlBar::CControlBar]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14000903d
cmp qword [rax + 0x18], r14
jne 0x14000903d
mov qword [rax + 0x18], rdi
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14000906b
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x140009055
mov qword [rcx + 0x20], rdi
jmp 0x14000906b
mov rcx, qword [rax + 0x20]
jmp 0x140009062
mov rax, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x14000905b
mov qword [rax + 0x20], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001d7f0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400097ec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov dword [rcx + 0x10], 1
mov rdi, rdx
mov rsi, rcx
call fcn.1400098a4
cmp qword [rsi + 0xa0], 0
mov rcx, qword [rsi + 0x58]
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x18], ebx
mov dword [rsi + 0x1c], 0
mov qword [rsi], rdi
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x20], 0
jne 0x14000987e
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsi + 0xa8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400098f0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xa0], rax
jmp 0x14000988e
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000a280
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140035898]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov ebx, r8d
movaps xmm6, xmm1
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x78], 0x2c
mov qword [rsp + 0x70], 0x2e
mov r9d, 4
lea r8, [rsp + 0x78]
lea edx, [r9 + 0xb]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 0xa]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x48], 3
mov qword [rsp + 0x60], rdx
lea rcx, [0x140022b98]
lea rax, [rsp + 0x70]
test ebx, ebx
cmove rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov r8d, ebx
lea rdx, str.__._df
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
movaps xmm2, xmm6
movq r8, xmm2
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
lea r8, [0x1400239e8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140013fbc
mov dword [rsp + 0x28], 0x104
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14001d7f0
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140010ea8
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, rdx
mov rbx, rcx
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
test rbx, rbx
je 0x140010f79
mov edx, 0x41b
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
mov edx, 0x153
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
or dword [rbp + 0x30], 0xffffffff
lea r9, [rbp + 0x30]
mov r8d, 1
lea rdx, [rbp + 0x20]
mov ecx, 0xca
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140010f39
lea rcx, [rbp + 0x38]
cmp byte [rbp + 0x20], 1
mov edx, 0x2f0
je 0x140010f33
mov edx, 0x2f1
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
mov rax, qword [rbx]
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [0x140022398]
mov rax, qword [rbx]
lea rdx, [rdi + 0x38]
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x38]
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [0x140022398]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
xor eax, eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x140011cc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x10], 0
mov r14, rdx
lea rdx, str.NgscbCheckIsAOACDevice
mov byte [rbp - 0x1f], 0
mov rdi, r9
mov byte [rbp - 0x20], 0
mov rsi, r8
mov byte [rbp - 0x1e], 0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x140011e97
lea rdx, str.NgscbCheckIsHSTIVerified
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140011e97
lea rdx, str.NgscbCheckHSTIPrerequisitesVerified
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x140011e97
lea rdx, str.NgscbCheckDmaSecurity
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140011e97
lea rcx, [rbp - 0x1f]
mov rax, r12
call qword [0x140022398]
test eax, eax
js 0x140011d8c
cmp byte [rbp - 0x1f], 0
jne 0x140011e97
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov rax, r15
call qword [0x140022398]
test eax, eax
js 0x140011e84
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140011e84
xor r8d, r8d
lea rcx, [rbp - 0x1e]
mov rax, rbx
call qword [0x140022398]
test eax, eax
js 0x140011dcf
cmp byte [rbp - 0x1e], 0
jne 0x140011de2
mov r9, rdi
mov r8, rsi
mov edx, 0x3c0
mov rcx, r14
call fcn.140011c18
cmp byte [rbp - 0x20], 0
jne 0x140011e64
and dword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
and dword [rbp - 0x1c], 0
lea r8, str.HSTIVerificationRequired
mov qword [rsp + 0x30], rax
lea rdx, str.SYSTEMCurrentControlSetControlBitLockerAutoDEHSTI
lea rax, [rbp - 0x1c]
mov r9d, SafeArrayLock
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
cmp edx, 0x80070002
jne 0x140011e48
xor edx, edx
xor ecx, ecx
mov dword [rbp - 0x1c], ecx
jmp 0x140011e4b
mov ecx, dword [rbp - 0x1c]
test edx, edx
js 0x140011e84
movzx eax, byte [rbp - 0x20]
test ecx, ecx
mov edx, 1
cmove eax, edx
mov byte [rbp - 0x20], al
test al, al
je 0x140011e84
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140011e84
lea rcx, [rbp - 0x20]
mov rax, r13
call qword [0x140022398]
test eax, eax
js 0x140011e84
cmp byte [rbp - 0x20], 0
jne 0x140011e97
mov r9, rdi
mov r8, rsi
mov edx, 0x3bf
mov rcx, r14
call fcn.140011c18
cmp qword [rbp - 0x10], 0
je 0x140011eb3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140012754
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x140035898]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x40], 0x208
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
xor edi, edi
test eax, eax
je 0x1400128d8
mov edx, 0x153
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
test eax, eax
je 0x1400128d8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400128dd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
mov r8, r15
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rax, qword [rsi]
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rsi
mov rax, qword [rax + 0x60]
call qword [0x140022398]
test ebx, ebx
js 0x1400128ab
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov r10, rax
mov r8, qword [rsi]
lea rdx, [r14 + 0x38]
mov rax, qword [r8 + 0x60]
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, r10
mov rcx, rsi
call qword [0x140022398]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
jmp 0x1400128cb
mov rax, qword [rsi]
lea rdx, [r14 + 0x38]
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rcx, rsi
mov rax, qword [rax + 0x60]
call qword [0x140022398]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400128dd
mov edi, 0x80070490
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001d7f0
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14001ddfc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001de48
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001de40
cmp dword [rcx + 0x3c], edx
jl 0x14001de40
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001de40
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14001de48
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140008400
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140081010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140008470
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400084ea
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000849b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140065760
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400084ea
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400084ed
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1400084fa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140008512
inc rbx
test eax, eax
jne 0x140008500
test ecx, ecx
mov rcx, rsi
je 0x140008572
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140008461
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000856e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140008569
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400085e9
mov rcx, r8
call fcn.140064b54
xor eax, eax
jmp 0x1400085b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400085b2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400085ad
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400085e9
mov rcx, r8
call fcn.140064b54
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.140064540
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140008890
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140081010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140008910
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000898a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000893b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140065760
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000898a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000898d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000899a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x1400089b2
inc rbx
test eax, eax
jne 0x1400089a0
test ecx, ecx
mov rcx, rsi
je 0x140008a12
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008900
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140008a0e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140008a09
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008a93
mov rcx, r8
call fcn.140064b54
xor eax, eax
jmp 0x140008a53
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x140008a51
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140008a4c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008a93
mov rcx, r8
call fcn.140064b54
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140064540
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3