joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d1f4
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor esi, esi
mov word [rsp + 0x30], si
xor eax, eax
mov qword [r11 - 0x46], rax
mov qword [r11 - 0x3e], rax
mov word [rsp + 0x42], ax
mov word [rsp + 0x48], si
mov qword [r11 - 0x2e], rax
mov qword [r11 - 0x26], rax
mov word [rsp + 0x5a], ax
lea r8d, [rsi + 0xa]
lea rdx, [r11 - 0x30]
lea rcx, str.PROCESSOR_ARCHITEW6432
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.amd64
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
cmp eax, esi
jne 0x14001d2b8
lea rdx, str.amd64
lea rcx, [rsp + 0x20]
call qword [0x1404094a8]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._64_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001d388
mov r8d, 0xa
lea rdx, [rsp + 0x30]
lea rcx, str.PROCESSOR_ARCHITECTURE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.amd64
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
cmp eax, esi
jne 0x14001d32d
lea rdx, str.amd64
lea rcx, [rsp + 0x20]
call qword [0x1404094a8]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._64_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001d388
lea rdx, [0x140415e30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll__wcsicmp]
cmp eax, esi
jne 0x14001d388
lea rdx, [0x140415e30]
lea rcx, [rsp + 0x20]
call qword [0x1404094a8]
nop
lea rcx, [rbx + 0x1010]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rbx + 0x1018]
lea rdx, str._32_bit
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rsi
ret
Function at 0x14001d848
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rdi
mov eax, 0x1060
call fcn.1403c3130
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + CDaoWorkspace::InitWorkspacesCollection], rbx
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rdx
mov rbx, rcx
mov r8d, 0x800
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [0x1404094a8]
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001c7e4
nop
lea rdx, str.TRUE
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CLongBinary::classCLongBinary]
test eax, eax
sete bl
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
test bl, bl
je 0x14001d952
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call sub.mfc90u.dll_AfxFailMaxChars
mov rdi, qword [rax + 0x20]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
add ebx, ebx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001d99e
mov rcx, rdi
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call sub.mfc90u.dll_AfxFailMaxChars
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1060
pop rdi
ret
Function at 0x1400297e4
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
mov dword [rsp + 0x58], SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea rcx, [rsp + 0x50]
call qword [0x140409500]
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, [0x140415054]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
call fcn.1400206e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14002827c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [0x140415050]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rbx, qword [rdi + 0x328]
call sub.mfc90u.dll_AfxFailMaxChars
mov rcx, qword [rax + 0x100]
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400296e8
lea ebx, [rax - 1]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
lea rcx, [rdi + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
mov qword [rsp + 0x48], 0xffffffffffff0002
mov qword [rsp + 0x40], 0xffffffffffff0000
xor edx, edx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ebx
mov r9d, ebx
mov r8, rax
mov edx, 0x23
call sub.mfc90u.dll_COleFrameHook::GetThisInterfaceMap
mov qword [rdi + 0x330], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
add rsp, 0x290
pop rdi
ret
Function at 0x140030c40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x8c0
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + CDocObjectServer::DoPrepareDC], rax
mov r12d, dword [rsp + reloc.mfc90u.dll_CCmdTarget::EnableAggregation]
mov rbp, qword [rsp + 0x918]
mov rbx, r8
mov rdi, rdx
mov r8, r12
xor edx, edx
mov rcx, rbp
add r8, r8
mov esi, r9d
call sub.MSVCR90.dll_memset
xor r13d, r13d
lea rcx, [rsp + 0x58]
lea r8d, [r13 + 0x38]
xor edx, edx
mov qword [rsp + 0x50], r13
call sub.MSVCR90.dll_memset
mov qword [rsp + 0x28], r13
cmp esi, 0xffffffff
je 0x140030cd3
lea r8, [rsp + 0x28]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x58]
cmp eax, r13d
cmovge rcx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x92]
xor edx, edx
mov r8d, CPtrList::AddTail
mov word [rsp + 0x90], r13w
call sub.MSVCR90.dll_memset
mov esi, COleVariant::COleVariant
cmp rbx, r13
je 0x140030d36
mov rax, rbx
shr rax, 0x10
cmp ax, r13w
jne 0x140030d22
lea rdx, [rsp + 0x90]
movzx r8d, bx
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x140030d36
lea rcx, [rsp + 0x90]
mov r8, rsi
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll_wcsncpy]
cmp word [rsp + 0x90], r13w
jne 0x140030d58
cmp qword [rsp + 0x58], r13
jne 0x140030d58
lea rdx, [rsp + 0x90]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [rsp + reloc.mfc90u.dll_CDHtmlDialog::EnableModeless], r13d
mov esi, 1
mov qword [rsp + 0x50], rdi
lea eax, [rsi + 0x10]
mov ecx, esi
mov edi, r13d
cmovne ecx, eax
lea rax, [0x140030b24]
mov qword [rsp + 0x78], rax
bts ecx, 9
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CStdioFile::Duplicate]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov rbx, rax
cmp rax, r13
je 0x140030e13
lea rcx, [rsp + reloc.mfc90u.dll_AfxOleInit]
xor edx, edx
mov r8d, CPtrList::AddTail
mov word [rsp + AfxOleInit], r13w
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x4a0]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, r13d
je 0x140030e13
lea r8d, [r12 - 1]
lea rdx, [rsp + 0x4a0]
mov rcx, rbp
call qword [sym.imp.MSVCR90.dll_wcsncpy]
mov edi, esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, r13d
jl 0x140030e61
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x140030e61
cmp rbx, r13
je 0x140030e45
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
cmp rdx, r13
je 0x140030e5b
mov r8, qword [rcx]
call qword [r8 + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, edi
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031074
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, reloc.mfc90u.dll_CListCtrl::Create
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + CHtmlView::Create], rax
mov rsi, rcx
lea rcx, [rsp + reloc.mfc90u.dll_AfxInitExtensionModule]
mov rbp, rdx
call qword [sym.imp.MSVCR90.dll_wcscpy]
lea rdx, [0x140414e84]
lea rcx, [rsp + reloc.mfc90u.dll_AfxInitExtensionModule]
call qword [sym.imp.MSVCR90.dll_wcscat]
lea rcx, [rsp + 0x270]
mov rdx, rbp
call qword [sym.imp.MSVCR90.dll_wcscpy]
lea rdx, [0x140414e8c]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR90.dll_wcscat]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + reloc.mfc90u.dll_AfxInitExtensionModule]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400311dc
lea rdx, [rsp + 0x270]
lea rcx, [rsp + reloc.mfc90u.dll_AfxInitExtensionModule]
call qword [sym.imp.MSVCR90.dll_wcscpy]
mov dil, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400311a8
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.140030c00
test eax, eax
jne 0x1400311b6
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR90.dll_wcscat]
test byte [rsp + 0x20], 0x10
je 0x14003117e
lea rdx, [rsp + 0x270]
mov rcx, rsi
call fcn.140031074
test eax, eax
je 0x1400311d3
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140031190
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400311d3
lea rdx, [rsp + reloc.mfc90u.dll_AfxInitExtensionModule]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR90.dll_wcscpy]
jmp 0x1400311b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400311d3
xor dil, dil
test dil, dil
jne 0x14003111d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400311de
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x6d0]
add rsp, reloc.mfc90u.dll_CListCtrl::Create
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003592c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x8c0
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + CDocObjectServer::DoPrepareDC], rax
mov r12d, dword [rsp + reloc.mfc90u.dll_CCmdTarget::EnableAggregation]
mov rbp, qword [rsp + 0x918]
mov rbx, r8
mov rdi, rdx
mov r8, r12
xor edx, edx
mov rcx, rbp
add r8, r8
mov esi, r9d
call sub.MSVCR90.dll_memset
xor r13d, r13d
lea rcx, [rsp + 0x58]
lea r8d, [r13 + 0x38]
xor edx, edx
mov qword [rsp + 0x50], r13
call sub.MSVCR90.dll_memset
mov qword [rsp + 0x28], r13
cmp esi, 0xffffffff
je 0x1400359bf
lea r8, [rsp + 0x28]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x58]
cmp eax, r13d
cmovge rcx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x92]
xor edx, edx
mov r8d, CPtrList::AddTail
mov word [rsp + 0x90], r13w
call sub.MSVCR90.dll_memset
mov esi, COleVariant::COleVariant
cmp rbx, r13
je 0x140035a22
mov rax, rbx
shr rax, 0x10
cmp ax, r13w
jne 0x140035a0e
lea rdx, [rsp + 0x90]
movzx r8d, bx
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x140035a22
lea rcx, [rsp + 0x90]
mov r8, rsi
mov rdx, rbx
call qword [sym.imp.MSVCR90.dll_wcsncpy]
cmp word [rsp + 0x90], r13w
jne 0x140035a44
cmp qword [rsp + 0x58], r13
jne 0x140035a44
lea rdx, [rsp + 0x90]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [rsp + reloc.mfc90u.dll_CDHtmlDialog::EnableModeless], r13d
mov ecx, 0x40
mov qword [rsp + 0x50], rdi
lea eax, [rcx + 0x10]
mov edi, r13d
cmovne ecx, eax
lea rax, [0x1400357b8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CStdioFile::Duplicate]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov rbx, rax
cmp rax, r13
je 0x140035afc
lea rcx, [rsp + reloc.mfc90u.dll_AfxOleInit]
xor edx, edx
mov r8d, CPtrList::AddTail
mov word [rsp + AfxOleInit], r13w
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x4a0]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, r13d
je 0x140035afc
lea r8d, [r12 - 1]
lea rdx, [rsp + 0x4a0]
mov rcx, rbp
call qword [sym.imp.MSVCR90.dll_wcsncpy]
mov edi, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, r13d
jl 0x140035b4a
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x140035b4a
cmp rbx, r13
je 0x140035b2e
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
cmp rdx, r13
je 0x140035b44
mov r8, qword [rcx]
call qword [r8 + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, edi
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1403c2380
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140037590
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
lea rdx, [rsp + 0x40]
xor edi, edi
mov rcx, rbp
mov dword [rsp + 0x40], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp eax, edi
jbe 0x140037628
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsi + 0x40], rax
cmp rax, rdi
je 0x140037628
mov r9, rax
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, edi
je 0x140037628
mov rcx, qword [rsi + 0x40]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x140414e8c]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
call sub.VERSION.dll_VerQueryValueW
cmp eax, edi
je 0x140037628
mov rdx, qword [rsp + 0x58]
lea r8d, [rdi + 0x34]
lea rcx, [rsi + 8]
call sub.MSVCR90.dll_memcpy
cmp dword [rsi + 8], 0xfeef04bd
sete dil
mov dword [rsi + 0x58], edi
mov eax, dword [rsi + 0x58]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x140039110
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call sub.mfc90u.dll_AfxFailMaxChars
mov ecx, dword [rsi + 0x60]
mov rdx, qword [rax + 8]
mov r8d, 1
mov edx, dword [rdx + 0x60]
call qword [sym.imp.USER32.dll_AttachThreadInput]
lea rdi, [rsi + 0x88]
xor r8d, r8d
mov rax, qword [rdi]
mov edx, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
mov rcx, rdi
call qword [rax + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
mov edx, 5
mov rcx, rdi
mov ebx, eax
mov qword [rsi + 0x40], rdi
call sub.mfc90u.dll_CDHtmlDialog::SetControlProperty_1
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140047f10
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 0x811c9dc5
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x140047f61
mov rdx, qword [rsp]
imul rdx, rdx, 0x1000193
mov rax, qword [rsp + 0x20]
movsx rcx, byte [rax]
mov rax, rdx
xor rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
jmp 0x140047f27
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x1400c0b70
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x2b8], 1
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x390], 0
mov ecx, gethostbyname
call fcn.1401105c0
mov r11d, eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x198], r11d
mov ecx, gethostbyname
call fcn.1401105c0
mov r11d, eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x19c], r11d
mov rcx, qword [rsp + 0x170]
add rcx, reloc.mfc90u.dll_CFileDialog::CFileDialog
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r9, qword [rsp + 0x170]
add r9, reloc.mfc90u.dll_CFileDialog::CFileDialog
lea r8, [0x1400c0d80]
xor edx, edx
xor ecx, ecx
call fcn.140110860
test eax, eax
jne 0x1400c0c41
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CFileDialog::CFileDialog
xor r9d, r9d
xor edx, edx
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x2ac], 0
mov dword [rsp + 0x30], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x268], 0
jne 0x1400c0cf0
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x254], 0
jne 0x1400c0cf0
cmp dword [rsp + 0x34], 5
jb 0x1400c0cf0
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl
xor r9d, r9d
xor edx, edx
mov ecx, 0x1002
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
je 0x1400c0cf0
mov r8, qword [rsp + 0x170]
add r8, 0x2ac
xor r9d, r9d
xor edx, edx
mov ecx, 0x1012
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x254], 0
jne 0x1400c0d22
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd
xor r9d, r9d
xor edx, edx
mov ecx, CHtmlView::GetVisible
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1400c0d34
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], 1
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov dword [rcx + 0x2bc], eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x2b8], 0
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
xor rcx, rsp
call fcn.1403c2380
add rsp, 0x168
ret
Function at 0x1400c24b0
Capabilities:
Check os version

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov dword [rsp + 0x30], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x40], 2
jne 0x1400c24f3
cmp dword [rsp + 0x34], 5
jae 0x1400c24f5
jmp 0x1400c2569
cmp dword [rsp + reloc.mfc90u.dll_CDialog::CDialog], 0
je 0x1400c2554
mov rax, qword [rsp + 0x170]
cmp qword [rax + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], 0
jne 0x1400c2526
mov rax, qword [rsp + 0x170]
mov qword [rax + reloc.mfc90u.dll_CUIntArray::CUIntArray], 0
jmp 0x1400c2569
lea rdx, str.NotifyWinEvent
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + reloc.mfc90u.dll_CRecentFileList::CRecentFileList]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x170]
mov qword [rax + reloc.mfc90u.dll_CUIntArray::CUIntArray], r11
mov rcx, qword [rsp + 0x170]
mov eax, dword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov dword [rcx + 0x2b4], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
xor rcx, rsp
call fcn.1403c2380
add rsp, 0x168
ret