joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400393d0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rcx + 0xb0], edx
mov r8d, edx
add rcx, 0xc0
lea rdx, str.SELECT__FROM__PMO_Results__WHERE____PMO_Results_.CondID__ld_
jmp qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]

Function at 0x14003d618
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003d662
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003d662
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003d662
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003d662
cmp dword [rcx + 0x84], 0xe
jbe 0x14003d662
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003d664
xor al, al
add rsp, 0x28
ret

Function at 0x140040288
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2a8], 0
mov rbx, rcx
je 0x1400402e2
lea rdx, [0x140134658]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll__wsetlocale]
mov edx, InitCommonControls
lea r8, [rbx + 0x2a0]
mov ecx, 0x400
lea r9d, [rdx - 0xc]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, InitCommonControls
lea r8, [rbx + 0x2a4]
mov ecx, 0x400
lea r9d, [rdx - 0xd]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400402e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx + 0x30], 0x18
xor edi, edi
mov ecx, edi
call qword [sym.imp.USER32.dll_GetSysColor]
movsxd rdx, edi
lea rcx, [rbx + 8]
mov r8d, eax
call sub.mfc140u.dll_CWinThread::Run
inc edi
cmp edi, dword [rbx + 0x30]
jl 0x140040303
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, InitCommonControls
mov dword [rbx + 0x3c], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x14
mov dword [rbx + 0x40], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 6
mov dword [rbx + 0x44], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 8
mov dword [rbx + 0x48], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 5
mov dword [rbx + 0x54], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, InitCommonControls
mov dword [rbx + 0x58], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, InitCommonControls
mov dword [rbx + 0x5c], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x16
mov dword [rbx + 0x60], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x15
mov dword [rbx + 0x4c], eax
call qword [sym.imp.USER32.dll_GetSysColor]
lea rdi, [rbx + 0x88]
mov dword [rbx + 0x50], eax
test rdi, rdi
je 0x1400403c8
cmp qword [rdi + 8], 0
je 0x1400403c8
mov rcx, rdi
call sub.mfc140u.dll_DDX_FieldText
add rbx, 0x98
je 0x1400403e0
cmp qword [rbx + 8], 0
je 0x1400403e0
mov rcx, rbx
call sub.mfc140u.dll_DDX_FieldText
mov edx, 0x4e3c
mov rcx, rdi
call fcn.14005174c
mov edx, 0x4ef3
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005174c
Function at 0x14005166c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
lea r8d, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1400516f8
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbp
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
lea ecx, [rsi + 0x42]
mov rbp, rax
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400516ec
mov r8d, edi
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400692e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140069311
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140069311
mov eax, 1
jmp 0x140069313
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400693a4
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400693d5
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400693d5
mov eax, 1
jmp 0x1400693d7
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140073520
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, edx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, ax
xor eax, eax
and ecx, 0x8000
cmp ebx, 8
jne 0x14007355d
test ecx, ecx
je 0x14007355d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x588]
lea eax, [rbx - 7]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140092c70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rdx + 0x7b8]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov esi, r9d
mov ebp, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140092d6d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1b8]
cmp esi, eax
ja 0x140092d16
mov r9, qword [rdi + 0x8a0]
lea rcx, [rbx + 0xa8]
mov r8d, esi
mov edx, ebp
call fcn.1400472d4
test eax, eax
je 0x140092d16
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
and qword [rdi + 0x8a0], 0
mov rbx, qword [rax + 0x478]
call fcn.140045ff0
mov r8d, ebp
mov edx, ebp
mov rcx, rax
call fcn.140047904
mov esi, 1
xor r8d, r8d
mov r9d, esi
mov rdx, rax
mov rcx, rdi
call rbx
mov eax, esi
jmp 0x140092d6f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1b0]
cmp ebp, eax
ja 0x140092d6d
mov r9, qword [rdi + 0x8a0]
lea rcx, [rbx + 0xa8]
mov r8d, esi
mov edx, ebp
call fcn.1400472d4
test eax, eax
je 0x140092d6d
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
and qword [rdi + 0x8a0], 0
mov rbx, qword [rax + 0x478]
call fcn.140045ff0
mov r8d, esi
mov edx, esi
mov rcx, rax
call fcn.1400478d4
jmp 0x140092cff
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14009e8f8
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, rdx
mov r14, qword [rdx + 0x7b8]
mov rcx, qword [rdx + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
je 0x14009eab8
call qword [sym.imp.USER32.dll_GetOpenClipboardWindow]
test rax, rax
jne 0x14009eab8
mov rcx, rdi
call fcn.140072128
mov rbx, rax
mov r13d, 1
test rax, rax
je 0x14009e97c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test eax, eax
je 0x14009e97c
mov ebp, r13d
jmp 0x14009e97e
xor ebp, ebp
xor esi, esi
mov rax, qword [rdi]
lea r12, [r14 + 0x348]
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x468]
mov r15d, eax
test eax, eax
je 0x14009e9a4
test ebp, ebp
je 0x14009e9e0
test rbx, rbx
je 0x14009e9c1
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1f8]
test eax, eax
je 0x14009e9c1
mov esi, r13d
jmp 0x14009ea8d
test r15d, r15d
jne 0x14009e9e0
mov rax, qword [rdi]
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x468]
test eax, eax
je 0x14009ea8d
lea rcx, [rsp + 0x30]
call fcn.14004e138
nop
xor ebp, ebp
xor esi, esi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd0]
mov r15d, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xd8]
mov r13d, eax
test byte [rdi + 0x400], 2
jne 0x14009ea25
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1b8]
lea esi, [rax + 1]
test byte [rdi + 0x400], 1
jne 0x14009ea41
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1b0]
mov ebp, eax
add ebp, 1
jne 0x14009ea45
test esi, esi
je 0x14009ea6c
mov rbx, qword [r14 + 0x350]
jmp 0x14009ea67
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov dword [rsp + 0x20], r13d
mov r9d, r15d
mov r8d, esi
mov edx, ebp
call fcn.140046914
test rbx, rbx
jne 0x14009ea4e
mov rax, qword [rdi]
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x7a0]
mov esi, eax
lea rcx, [rsp + 0x30]
call fcn.14004e268
mov r13d, 1
cmp dword [r14 + 0x344], 0
je 0x14009eab4
and dword [r14 + 0x344], 0
mov r9, qword [rdi]
mov r8d, r13d
mov edx, 2
mov rcx, rdi
call qword [r9 + 0x970]
mov eax, esi
jmp 0x14009eaba
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009ead8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x110
mov ebx, r9d
mov rdi, r8
mov r14, rdx
xor esi, esi
mov ebp, esi
mov edx, 0x2042
mov r8d, 0x1000
lea rcx, [rax - 0x78]
call sub.mfc140u.dll_CReObject::CReObject
nop
mov qword [rsp + 0x20], rsi
mov r9d, 0x1000
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call sub.mfc140u.dll_CAppDestinations::CAppDestinations
nop
mov rax, qword [r14]
mov r9d, ebx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [rax + 0x7b8]
mov ebx, eax
lea rcx, [rsp + 0x30]
call sub.mfc140u.dll_CDatabase::classCDatabase
test ebx, ebx
je 0x14009eba0
lea rcx, [rsp + 0xa0]
call sub.mfc140u.dll_COleDataSource::DelayRenderData
mov rbx, rax
test rax, rax
je 0x14009eba0
mov rcx, qword [r14 + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
mov rax, qword [r14 + 0x160]
mov rdx, rbx
mov ecx, dword [rax + 0x10]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbp, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
test rbp, rbp
setne sil
lea rcx, [rsp + 0x30]
call sub.mfc140u.dll__AFX_D2D_STATE::_AFX_D2D_STATE
nop
lea rcx, [rsp + 0xa0]
call sub.mfc140u.dll_CPropertyPage::CPropertyPage
mov eax, esi
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14009ebe0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
lea rcx, [rax - 0x28]
call fcn.14004e138
nop
xor ebx, ebx
mov r14d, ebx
mov rbp, qword [rsi + 0x7b8]
test byte [rsi + 0x400], 8
je 0x14009ec2c
mov rdx, rdi
mov rcx, rsi
call fcn.14006bf28
mov r14d, eax
mov r8d, dword [rsi + 0x400]
test r8b, 0x10
je 0x14009ec4b
and r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.14006be64
or r14d, eax
cmp dword [rbp + 0x338], ebx
jne 0x14009ec5b
cmp dword [rbp + 0x33c], ebx
je 0x14009eccf
mov edx, 8
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14009eccf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14009ecd2
mov qword [rax], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsi + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
mov eax, dword [0x140197dd8]
cmp eax, 0xffff
jne 0x14009ecbe
lea rcx, str.GX_DIRECTCOPY
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x140197dd8], eax
mov rdx, rdi
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov ebx, r14d
lea rcx, [rsp + 0x20]
call fcn.14004e268
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14009ecfc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x90
mov rbx, r8
mov r14, rdx
xor edi, edi
mov esi, edi
mov edx, 0x2042
mov r8d, 0x1000
lea rcx, [rax - 0x78]
call sub.mfc140u.dll_CReObject::CReObject
nop
mov rax, qword [r14]
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [rax + 0x7b0]
test eax, eax
je 0x14009ed89
lea rcx, [rsp + 0x20]
call sub.mfc140u.dll_COleDataSource::DelayRenderData
mov rbx, rax
test rax, rax
je 0x14009ed89
mov rcx, qword [r14 + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
lea ecx, [rdi + 0xd]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rsi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
test rsi, rsi
setne dil
lea rcx, [rsp + 0x20]
call sub.mfc140u.dll_CPropertyPage::CPropertyPage
mov eax, edi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x14009edb8
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, rdx
mov rbp, qword [rdx + 0x7b8]
mov rcx, qword [rdx + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rsp + 0x48]
call fcn.14004e138
nop
mov rcx, rbx
call fcn.140072128
mov rsi, rax
mov edi, 1
test rax, rax
je 0x14009ee2d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test eax, eax
je 0x14009ee2d
mov r14d, edi
jmp 0x14009ee30
xor r14d, r14d
mov rax, qword [rbx]
lea r15, [rbp + 0x348]
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [rax + 0x468]
test eax, eax
je 0x14009ee52
test r14d, r14d
je 0x14009ee6b
test rsi, rsi
je 0x14009ee6b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x208]
test eax, eax
jne 0x14009ef67
cmp dword [rbp + 0x33c], 0
je 0x14009ee9f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x8e8]
mov dword [rbp + 0x344], edi
mov rax, qword [rbx]
mov r8d, edi
mov edx, 2
mov rcx, rbx
call qword [rax + 0x970]
jmp 0x14009ef67
lea rcx, [rsp + 0x30]
call fcn.14004e138
nop
mov rax, qword [rbx]
mov r8d, edi
mov rdx, r15
mov rcx, rbx
call qword [rax + 0x468]
xor r14d, r14d
xor esi, esi
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov r12d, eax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xd8]
mov r13d, eax
test byte [rbx + 0x400], 2
jne 0x14009eef7
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1b8]
lea esi, [rdi + rax]
test byte [rbx + 0x400], dil
jne 0x14009ef14
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1b0]
mov r14d, eax
add r14d, edi
jne 0x14009ef18
test esi, esi
je 0x14009ef40
mov rdi, qword [rbp + 0x350]
jmp 0x14009ef3b
mov rcx, qword [rdi + 0x10]
mov rdi, qword [rdi]
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, esi
mov edx, r14d
call fcn.140046914
test rdi, rdi
jne 0x14009ef21
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x400]
and r8d, 0x10
mov rdx, r15
mov rcx, rbx
call qword [rax + 0x7d0]
mov edi, eax
lea rcx, [rsp + 0x30]
call fcn.14004e268
nop
lea rcx, [rsp + 0x48]
call fcn.14004e268
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009f64c
Capabilities:
Read clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov r14, r8
mov rbx, rdx
xor esi, esi
xor edi, edi
test byte [rdx + 0x400], 2
jne 0x14009f68d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x1b8]
lea edi, [rax + 1]
test byte [rbx + 0x400], 1
jne 0x14009f6a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1b0]
lea esi, [rax + 1]
mov ecx, dword [r14 + 0x10]
cmp edi, dword [r14 + 8]
cmovbe edi, dword [r14 + 8]
cmp esi, dword [r14 + 4]
cmovbe esi, dword [r14 + 4]
mov dword [rsp + 0x20], ecx
mov r9d, dword [r14 + 0xc]
mov r8d, edi
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140045f80
test byte [rbx + 0x400], 0x10
je 0x14009f799
mov rax, qword [rbx + 0x160]
mov ecx, dword [rax + 0x10]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x14009f799
mov esi, 0x1000
mov r8d, esi
mov edx, 2
lea rcx, [rsp + 0x50]
call sub.mfc140u.dll_CReObject::CReObject
nop
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x50]
call sub.mfc140u.dll_CMDIClientAreaWnd::SetActiveTab
and qword [rsp + 0x20], 0
mov r9d, esi
mov r8d, 1
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CAppDestinations::CAppDestinations
nop
mov rax, qword [rbx]
mov r9d, dword [rbx + 0x400]
shr r9d, 8
not r9d
and r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [rax + 0x7e8]
mov ebx, eax
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CDatabase::classCDatabase
lea rcx, [rsp + 0x50]
call sub.mfc140u.dll_COleDataSource::DelayRenderData
nop
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll__AFX_D2D_STATE::_AFX_D2D_STATE
nop
lea rcx, [rsp + 0x50]
call sub.mfc140u.dll_CPropertyPage::CPropertyPage
mov eax, ebx
jmp 0x14009f7f9
test byte [rbx + 0x400], 8
je 0x14009f7f7
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x14009f7f7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14009f7f7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rbx]
mov r10, qword [rcx + 0x7f0]
lea r9, [rsp + 0x30]
mov r8d, eax
mov rdx, rsi
mov rcx, rbx
call r10
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x14009f795
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400a2110
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov rsi, r9
mov rdi, r8
xor r14d, r14d
mov eax, dword [0x140197e10]
cmp eax, 3
je 0x1400a213f
test edx, edx
je 0x1400a2279
lea rdx, str.MM.dd.yy
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov ebx, 0x80
mov edx, ebx
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov dword [rdi], r14d
mov r9d, ebx
mov r8, rax
lea edx, [rbx - 0x61]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edx, 0xffffffff
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov ebx, 1
mov dword [0x140197e10], ebx
mov rax, qword [rbp + 0x40]
cmp dword [rax - 0x10], r14d
je 0x1400a225e
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CHtmlView::LoadFromResource]
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
lea r15d, [rbx + 1]
cmp ax, 0x4d
jne 0x1400a21d2
mov dword [0x140197e10], ebx
jmp 0x1400a220d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
cmp ax, 0x44
jne 0x1400a21ed
mov dword [0x140197e10], r14d
jmp 0x1400a220d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov ecx, dword [0x140197e10]
cmp ax, 0x59
cmove ecx, r15d
mov dword [0x140197e10], ecx
xor r8d, r8d
lea rdx, str.YYYY
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
mov ecx, r14d
cmp eax, 0xffffffff
setne cl
mov dword [0x1401a246c], ecx
mov rbx, qword [rbp + 0x40]
jmp 0x1400a224c
movzx ecx, ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x1400a2254
cmp word [rbx], 0x20
je 0x1400a2254
add rbx, r15
movzx eax, word [rbx]
test ax, ax
jne 0x1400a2236
movzx eax, word [rbx]
mov word [0x140197e14], ax
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [0x140197e10]
mov ecx, dword [0x1401a246c]
mov dword [rdi], ecx
movzx ecx, word [0x140197e14]
mov word [rsi], cx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a23fc
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x20
movzx eax, word [0x1401a2468]
xor edi, edi
test ax, ax
je 0x1400a2418
test edx, edx
je 0x1400a24b1
lea rdx, [0x140146e1c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x80
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov r9d, 0x80
mov r8, rax
lea edx, [r9 - 0x62]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rax, qword [rsp + 0x40]
cmp dword [rax - 0x10], edi
jne 0x1400a247e
mov eax, 0x3a
jmp 0x1400a248c
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
nop
mov word [0x1401a2468], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, word [0x1401a2468]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a6c90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov r14, rcx
xor esi, esi
mov ebx, esi
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jne 0x1400a6d23
cmp dword [r14 + 0x28], esi
je 0x1400a6deb
xor r9d, r9d
mov r8d, dword [r14 + 0x1c]
mov edx, dword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
call fcn.140072218
test eax, eax
je 0x1400a6deb
mov rdi, qword [r14 + 0x10]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x7a8]
mov r8d, dword [r14 + 0x1c]
mov edx, dword [r14 + 0x18]
mov dword [rsp + 0x20], r8d
mov r9d, edx
lea rcx, [rbp - 0x49]
call fcn.140047890
lea rdx, [rbp - 0x49]
mov rcx, rdi
call rbx
test eax, eax
je 0x1400a6deb
mov esi, 1
jmp 0x1400a6deb
mov edx, 0x2042
mov r8d, 0x1000
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CReObject::CReObject
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [r14]
lea rdx, [rbp + 0x67]
mov rcx, r14
call qword [rax + 0x248]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
test rax, rax
je 0x1400a6dd0
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea r8d, [rax + rax]
mov rdx, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CHtmlControlSite::XDocHostUIHandler::ShowUI
mov r8d, 2
lea rdx, [0x1401479a0]
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CHtmlControlSite::XDocHostUIHandler::ShowUI
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_COleDataSource::DelayRenderData
mov rdi, rax
test rax, rax
je 0x1400a6dd0
mov rcx, qword [r14 + 0x10]
mov rcx, qword [rcx + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
mov rdx, rdi
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
test rbx, rbx
setne sil
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CPropertyPage::CPropertyPage
mov eax, esi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret