joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140171060
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
cmp byte [0x1403c5340], 0
mov rsi, rdx
mov rbp, rcx
je 0x1401710d9
lea rcx, [0x1403c5600]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov r9, rdi
lea rcx, [0x1402ac728]
mov rdx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareDitto
lea rax, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140171145
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edi, eax
mov rcx, rsi
add edi, edi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, qword [rsp + 0x88]
mov r9d, 1
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140171670
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14017174a
lea rcx, [rsp + 0x48]
test ebx, ebx
je 0x140171718
call fcn.14016aa70
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edi, eax
add edi, edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.1401691f0
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
jmp 0x140171734
call fcn.1401691f0
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140177340
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
or dword [rcx + 0xa8], 0x10
mov rdi, rcx
mov dword [rcx + 0x184], 0
call sub.mfc140u.dll_AfxFieldText
mov edx, 0x80
mov dword [rsp + 0x28], 0x8000
mov dword [rsp + 0x20], 0x40
mov rcx, qword [rax + 0x10]
lea r9d, [rdx - 0x40]
lea r8d, [rdx - 0x7f]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rdi + 0x40]
mov edx, 0x80
mov r9, rax
lea r8d, [rdx - 0x7f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call sub.mfc140u.dll_CMFCVisualManagerWindows7::OnFillButtonInterior
lea rdx, [0x1402df6b0]
mov rcx, rdi
mov ebx, eax
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rdx, rdi
lea rcx, [0x1403c4780]
call fcn.14015dec0
mov rcx, qword [rdi + 0x40]
mov edx, CInnerUnknown::QueryInterface
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
and dword [rdi + 0xa8], 0xffffffef
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 0x184], 1
add rsp, 0x30
pop rdi
ret

Function at 0x1401791b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
jne 0x140179202
test ebx, ebx
cmove rdi, qword [0x140397360]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
inc ebx
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
cmp edi, ebx
jbe 0x140179287
mov edx, edi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
jne 0x14017925c
test edi, edi
cmove rbx, qword [0x140397360]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
lea r8d, [rdi + 1]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140178800
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1401799f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r8d, r8d
lea rdx, [0x1402ac320]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x140179a36
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_Ordinal_296]
jmp 0x140179a98
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rbx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140181860
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
call sub.mfc140u.dll_Ordinal_2514
nop
lea rcx, [rbp - 0x28]
call fcn.140006750
lea rax, vtable.CClipIDs.0
mov qword [rbp - 0x28], rax
lea rcx, [rbx + 0x378]
lea rdx, [rbp - 0x28]
call fcn.140233fb0
mov edx, 0xa
lea rcx, [rbp + 0x30]
call fcn.14016bf30
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.14016a550
mov ebx, eax
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9d, ebx
mov r8, qword [rbp + 0x30]
lea rdx, str._sexport__d.dto
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1401053b0
lea rax, [rbp + 0x38]
mov qword [rbp - 0x40], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov rdi, rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rax
lea rdx, [0x1402ac320]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
mov rbx, rax
lea rdx, [0x1402ac320]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140140240
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x28]
call fcn.140006800
nop
lea rcx, [rbp + 0x20]
call fcn.1400075a0
mov al, 1
add rsp, 0x70
pop rdi
pop rbx
pop rbp
ret
Function at 0x14018e2f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
mov ecx, dword [rdx + 8]
sub ecx, 0xa0
je 0x14018e422
sub ecx, 0x160
je 0x14018e422
cmp ecx, 8
mov rcx, rdi
je 0x14018e3fc
call fcn.14017f6c0
test al, al
jne 0x14018e3ec
cmp dword [rbx + 8], reloc.mfc140u.dll_CMapStringToOb::HashKey
jne 0x14018e470
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
test rax, rax
je 0x14018e470
mov rcx, qword [rdi + 0x3b8]
cmp qword [rax + 0x40], rcx
jne 0x14018e470
mov r8d, 1
movzx edx, word [rbx + 0x10]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
lea rcx, [rdi + 0x6a0]
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
lea rcx, [rdi + 0x6a0]
call sub.mfc140u.dll_CMFCRibbonSlider::SetACCData
mov edx, 0xb1
mov r9d, 1
mov r8d, r9d
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, UnRegisterTypeLib
mov rcx, qword [rdi + 0x6e0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14018c680
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 4
mov dword [rsp + 0x28], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rdx, [rsp + 0x20]
call fcn.14017f6c0
jmp 0x14018e470
cmp dword [0x1403c535c], 0
je 0x14018e470
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rdi + 0x40]
je 0x14018e466
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x16a4]
cmp eax, 0x3e8
jbe 0x14018e470
mov dl, 1
lea rcx, [0x1403c45e8]
call fcn.140150360
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x16a4], eax
jmp 0x14018e470
mov dword [rdi + 0x16a4], 0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp method.CDittoPopupWindow.virtual_552
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x258]
mov r9, rdx
mov edx, CMFCRibbonInfo::XImage::XImage
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rdi + 0xe8]
mov rdx, rbx
call fcn.14014bd30
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sub.mfc140u.dll_CPreviewView::OnVScroll
Function at 0x14018f9f0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov esi, r8d
mov edi, edx
mov rbx, rcx
test edx, edx
jns 0x14018fa2a
xor al, al
jmp 0x14018fc76
mov byte [rcx + 0x878], 0
mov rdx, rbx
lea rcx, [rbp + 0x7b0]
call fcn.140112730
nop
xor r9d, r9d
mov r8, rbx
mov edx, edi
lea rcx, [rbp - 0x70]
call fcn.140106ec0
nop
lea rcx, [rbp - 0x70]
call sub.mfc140u.dll_CD2DPathGeometry::Detach
cmp rax, 1
jne 0x14018fbb7
lea r14, [rbx + 0x1538]
mov qword [rsp + 0x20], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
test esi, esi
jns 0x14018fabe
xor ecx, ecx
mov rax, qword [rbx + 0x14b0]
mov rdx, qword [rbx + 0x14b8]
cmp rax, rdx
je 0x14018fab6
nop dword [rax]
cmp dword [rax], edi
je 0x14018fab4
add rax, 0x48
inc ecx
cmp rax, rdx
jne 0x14018faa0
jmp 0x14018fb46
mov esi, ecx
test esi, esi
js 0x14018fb46
mov rcx, qword [rbx + 0x14b8]
sub rcx, qword [rbx + 0x14b0]
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp esi, edx
jge 0x14018fb46
mov r9d, edi
lea r8, str.SELECT__FROM_Main_WHERE_lID___d
lea rdx, [rsp + 0x30]
lea rcx, [0x1403c44c8]
call fcn.140143da0
nop
lea rcx, [rsp + 0x30]
call fcn.1401437b0
test al, al
jne 0x14018fb30
mov eax, esi
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x14b0]
lea rcx, [rax + rcx*8]
lea rdx, [rsp + 0x30]
call fcn.1401860a0
mov edx, esi
mov rcx, rbx
call fcn.14018e4a0
nop
lea rcx, [rsp + 0x30]
call fcn.140143000
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 0x1440]
mov edx, 1
call fcn.140124d90
lea rcx, [rbx + 0x378]
call fcn.1402361c0
cmp dword [rbp + 0x658], 0
jl 0x14018fbab
lea rcx, [rsp + 0x30]
call fcn.140142ad0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14017ee20
mov r8, rax
mov edx, dword [rbp + 0x658]
mov rcx, rbx
call fcn.14018ddb0
nop
lea rcx, [rsp + 0x30]
call fcn.140142b40
lea rcx, [rbx + 0x378]
call sub.mfc140u.dll_CMFCRibbonSlider::SetACCData
mov byte [rbx + 0x878], 1
lea rcx, [rbp + 0x6f0]
call fcn.1400fa910
lea rax, vtable.CBrush.0
mov qword [rbp + 0x6e0], rax
lea rcx, [rbp + 0x6e0]
call fcn.140007540
lea rcx, [rbp + 0x690]
call fcn.140230a00
lea rcx, [rbp + 0x660]
call fcn.140006800
lea rcx, [rbp + 0x640]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x638]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x550]
call fcn.14026367e
lea rcx, [rbp + 0x468]
call sub.mfc140u.dll_CEvent::CEvent
lea rcx, [rbp + 0x380]
call sub.mfc140u.dll_CEvent::CEvent
lea rcx, [rbp + 0x290]
call fcn.140151980
lea rcx, [rbp + 0x1a8]
call sub.mfc140u.dll_CDialog::CDialog
lea rcx, [rbp + 0xc0]
call sub.mfc140u.dll_CDialog::CDialog
lea rcx, [rbp - 0x70]
call sub.mfc140u.dll_CD2DResource::CD2DResource
nop
lea rcx, [rbp + 0x7b0]
call fcn.140112840
mov al, 1
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.1402654f0
add rsp, 0xaa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140191310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140191346
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140191346
mov rcx, qword [rbx + 8]
mov r8d, 0xffffffff
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.140186d70
add rsp, 0x20
pop rbx
ret
Function at 0x140192640
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14019266e
movzx edx, bl
mov rcx, rdi
call fcn.140192d50
inc ebx
cmp ebx, 0x100
jl 0x140192654
mov dl, 0xa0
mov rcx, rdi
call fcn.140192d50
mov dl, 0xa1
mov rcx, rdi
call fcn.140192d50
mov dl, 0xa2
mov rcx, rdi
call fcn.140192d50
mov dl, 0xa3
mov rcx, rdi
call fcn.140192d50
mov dl, 0xa4
mov rcx, rdi
call fcn.140192d50
mov dl, 0xa5
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140192d50

Function at 0x140192740
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rdx, rcx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
jne 0x140192868
lea rcx, [rax - 1]
test rsi, rsi
jne 0x14019278b
test rbx, rbx
je 0x140192864
xor r15d, r15d
mov r14d, r15d
jmp 0x1401927a3
xor r15d, r15d
mov r14, rcx
mov eax, r15d
inc r14
cmp word [rsi + r14*2], ax
jne 0x140192794
test rbx, rbx
je 0x1401927b0
mov rax, rcx
inc rax
cmp word [rbx + rax*2], 0
jne 0x1401927a6
lea rdi, [rax + 5]
mov qword [rsp + 0x50], rbp
add rdi, r14
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call sub.mfc140u.dll_operator_2
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x140192800
mov rcx, rbp
sub rcx, rsi
nop dword [rax + rax]
movzx eax, word [rsi]
mov word [rcx + rsi], ax
lea rsi, [rsi + 2]
test ax, ax
jne 0x1401927f0
add r14, r14
mov word [r14 + rbp], r15w
test rbx, rbx
je 0x140192831
sub r14, rbx
lea rcx, [r14 + rbp]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx + 2], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140192820
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], r15
lea rcx, [0x1401933c0]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdi, qword [rsp + 0x28]
mov rcx, rbp
call fcn.14026358e
mov rbp, qword [rsp + 0x50]
test rdi, rdi
jne 0x140192868
xor al, al
jmp 0x140192870
mov rcx, rdi
call fcn.1401926d0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140192b60
Capabilities:
Check os version
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rsp + 0x170], rax
movzx ebx, dl
movzx r14d, r9b
movzx esi, r8w
mov rdi, rcx
cmp bl, 0x90
jne 0x140192cb6
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ebp, 1
mov r14d, eax
cmp bp, si
ja 0x140192d20
movzx r15d, byte [rsp + 0x1d0]
mov qword [rsp + 0x1c0], r12
mov r12d, 0x90
nop word [rax + rax]
test r15b, r15b
je 0x140192bdd
mov rcx, rdi
call fcn.1401928a0
cmp r14d, 0x80000000
jae 0x140192c10
xor r9d, r9d
mov r8d, ebp
mov dl, 0x45
movzx ecx, r12b
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov dl, 0x45
movzx ecx, r12b
lea r8d, [r9 + 3]
call qword [sym.imp.USER32.dll_keybd_event]
jmp 0x140192ca3
movzx eax, r14w
shr ax, 8
cmp al, 0xa
jb 0x140192c6a
xorps xmm0, xmm0
mov dword [rsp + 0x20], ebp
xor eax, eax
lea rdx, [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x28], xmm0
lea r8d, [rax + 0x28]
mov dword [rsp + 0x48], ebp
lea ecx, [rax + 2]
mov word [rsp + 0x50], r12w
movups xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r12w
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x140192ca3
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
lea rcx, [rsp + 0x70]
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyboardState]
test bpl, bl
je 0x140192c90
and byte [rsp + 0x100], 0xfe
jmp 0x140192c98
or byte [rsp + 0x100], bpl
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetKeyboardState]
sub rsi, rbp
jne 0x140192bd0
mov r12, qword [rsp + 0x1c0]
jmp 0x140192d20
mov ecx, ebx
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, 1
mov r15d, eax
cmp bp, si
ja 0x140192d20
movzx ebp, byte [rsp + 0x1d0]
test bpl, bpl
je 0x140192ce2
mov rcx, rdi
call fcn.1401928a0
movzx ecx, bl
call fcn.1401928d0
movzx r9d, al
movzx r8d, r15b
movzx edx, bl
mov rcx, rdi
call fcn.140192900
mov ecx, dword [rdi + 0x14]
test ecx, ecx
je 0x140192d0a
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14b, r14b
je 0x140192d1a
movzx edx, bl
mov rcx, rdi
call fcn.140192d50
sub rsi, 1
jne 0x140192cd5
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402654f0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140192d50
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, dl
mov rsi, rcx
mov ecx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, dil
mov ebx, eax
call fcn.1401928d0
movzx r9d, al
movzx r8d, bl
or r9d, 2
movzx edx, dil
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140192900