joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f510
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x14004f510
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rdx, str.The_toast_encountered_an_error.
lea rcx, [0x140238f90]
call fcn.140003ff8
mov rcx, rax
call fcn.14000385a
lea rdx, str.Please_make_sure_that_the_app_id_is_set_correctly.
lea rcx, [0x140238f90]
call fcn.140003ff8
mov rcx, rax
call fcn.14000385a
lea rdx, str.Command_Line:
lea rcx, [0x140238f90]
call fcn.140003ff8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
mov rcx, rbx
call fcn.140003ff8
mov rcx, rax
call fcn.14000385a
mov rcx, qword [rdi + 0x18]
mov dword [rdi + 0x14], 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140059598
Capabilities:
Get file attributes

Disassembly:
jmp 0x140059598
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test eax, eax
jne 0x1400595c9
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140059625
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005961c
test al, 0x10
je 0x14005961c
bt eax, 0xa
jae 0x140059615
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140007a40
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140059611
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140059635
test edi, edi
jne 0x14005961c
and dword [rsp + 0x3c], 0
jmp 0x140059621
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140001645
int3
Function at 0x14000e360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.USER32.DLL_GetFocus]
mov rdi, rax
test rax, rax
je 0x14000e409
mov ecx, 9
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
jns 0x14000e409
mov ecx, 0x11
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000e409
mov ecx, 0x10
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000e409
mov ecx, 0x12
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000e409
lea rdx, [rsp + 0x40]
mov r8d, 5
mov rcx, rdi
call qword [sym.imp.USER32.DLL_GetClassNameA]
lea rdx, [0x140019b9c]
lea rcx, [rsp + 0x40]
mov r8d, 4
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x14000e409
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.DLL_SendMessageA]
bt rax, 0xb
jae 0x14000e4b3
test rbx, rbx
je 0x14000e448
mov ecx, 0x11
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000e43b
mov ecx, 0x10
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000e43b
mov ecx, 0x12
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
jns 0x14000e448
mov edx, 1
mov rcx, rbx
call fcn.14000e30c
test rdi, rdi
je 0x14000e462
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.DLL_GetPropA]
test rax, rax
jne 0x14000e4b3
lea rdx, str.PB_WindowID
mov rcx, rbx
call qword [sym.imp.USER32.DLL_GetPropA]
mov rdi, rax
test rax, rax
je 0x14000e4b3
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x14000e4b3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x38], eax
jne 0x14000e4b3
mov rcx, qword [0x14001d7f0]
lea rdx, [rdi - 1]
call fcn.140013004
test rax, rax
je 0x14000e4b3
mov rax, qword [rax + 0x10]
jmp 0x14000e4b5
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001018c
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14001d970], eax
add rsp, 0x28
ret

Function at 0x1400101c0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x138
test rcx, rcx
je 0x140010233
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_strncpy
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x124], 0
call sub.msvcrt.dll_strlen
lea rcx, [rsp + rax + 0x20]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14001021f
lea rdx, [rcx - 1]
mov al, byte [rdx]
cmp al, 0x20
je 0x140010212
cmp al, 0x5c
je 0x140010212
cmp al, 0x2f
jne 0x14001021f
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x140010200
mov byte [rcx], 0
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cdqe
jmp 0x140010235
xor eax, eax
add rsp, 0x138
ret
Function at 0x140014820
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14d, r9d
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov dword [rsp + 0x38], 0
test edx, edx
je 0x140014a09
cmp ebx, 6
jne 0x140014a09
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140039d8c
nop
mov edx, 0xc74e
lea rcx, [rsp + 0x50]
call fcn.14003adb0
mov rcx, rax
call fcn.140045818
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], 0
je 0x1400149f3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_6707]
test eax, eax
jne 0x1400149ad
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x38], 1
mov r9, qword [rsp + 0x30]
mov ecx, dword [r9 - 0x10]
lea rdx, str.File__
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x140014914
mov dword [rsp + 0x20], ecx
mov r8d, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x38], 3
lea r9, str.__does_not_exist
nop dword [rax]
inc rbx
cmp word [r9 + rbx*2], 0
jne 0x140014960
mov rdx, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400149d6
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call fcn.140039f30
mov eax, 1
jmp 0x140014a25
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call fcn.140039f30
mov rax, qword [rbp + 0x240]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, ebx
mov edx, edi
mov rcx, rsi
call fcn.140041c68
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14002fdd0
add rsp, 0x2f0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400153e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14d, r9d
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov dword [rsp + 0x38], 0
cmp edx, 4
jne 0x1400155c9
cmp ebx, 2
jne 0x1400155c9
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140039d8c
nop
mov edx, 0xc74e
lea rcx, [rsp + 0x50]
call fcn.14003adb0
mov rcx, rax
call fcn.140045818
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], 0
je 0x1400155b3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_6707]
test eax, eax
jne 0x14001556d
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x38], 1
mov r9, qword [rsp + 0x30]
mov ecx, dword [r9 - 0x10]
lea rdx, str.File__
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400154d5
mov dword [rsp + 0x20], ecx
mov r8d, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x38], 3
lea r9, str.__does_not_exist
nop word [rax + rax]
inc rbx
cmp word [r9 + rbx*2], 0
jne 0x140015520
mov rdx, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140015596
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call fcn.140039f30
mov eax, 1
jmp 0x1400155e5
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call fcn.140039f30
mov rax, qword [rbp + 0x240]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, ebx
mov edx, edi
mov rcx, rsi
call fcn.140041c68
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14002fdd0
add rsp, 0x2f0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140018ac0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
add rcx, 0x2a0
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
lea rcx, [rbx + 0x2a8]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
cmp word [rbx + 0x308], 0
jne 0x140018b64
lea r14, str.ConnPinTable
lea r15, str.Alias__SubType__PinNumber
mov r12d, 2
mov rax, qword [rbx + 0x2d8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x2b0]
mov r8, r14
lea rdx, str.SELECT__FROM__s_WHERE__Alias___s_AND_SubType___s_
lea rcx, [rbx + 0x2a8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
jmp 0x140018b83
movsxd rax, dword [rbx + 0x274]
lea r14, str.SignalDefinition
mov r14, qword [r14 + rax*8]
lea r15, str.PrimaryKey
mov r12d, 1
cmp word [rbx + 0x308], 0
jne 0x140018b96
mov rax, qword [rbx + 0x2a8]
jmp 0x140018b98
xor eax, eax
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x310]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, r14
movzx edx, word [rbx + 0x274]
lea rcx, [0x14016ec30]
call fcn.140005d40
mov qword [rbx + 0x2e0], rax
test rax, rax
je 0x140018c02
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
je 0x140018bfd
xor r8d, r8d
xor edx, edx
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
xor eax, eax
jmp 0x140018c02
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14002fdd0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140022a20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
cmp edi, 0x2e
jne 0x140022a5e
lea rcx, [rbx - 0xe8]
call fcn.1400299c0
lea eax, [rdi - 0x2d]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test eax, eax
je 0x140022a81
cmp edi, 0x46
jne 0x140022a81
mov rcx, qword [rbx + 0xa48]
call fcn.140019ca0
lea eax, [rdi - 0x45]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x27
jne 0x140022a8b
lea edx, [rdi - 0x23]
jmp 0x140022ac3
cmp edi, 0x25
jne 0x140022a95
lea edx, [rdi - 0x23]
jmp 0x140022ac3
cmp edi, 0x26
jne 0x140022aa7
mov edx, 1
mov r9d, edx
mov r8d, edx
jmp 0x140022acc
cmp edi, 0x28
jne 0x140022ab1
lea edx, [rdi - 0x25]
jmp 0x140022ac3
cmp edi, 0x21
jne 0x140022abb
lea edx, [rdi - 0x1a]
jmp 0x140022ac3
cmp edi, 0x22
jne 0x140022ad8
lea edx, [rdi - 0x1a]
mov r9d, 1
mov r8d, r9d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x688]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400309a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400309f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400309f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400309f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400309f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400309f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400309f4
xor al, al
add rsp, 0x28
ret
Function at 0x140034058
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 0x140034218
call qword [sym.imp.USER32.dll_GetOpenClipboardWindow]
test rax, rax
jne 0x140034218
mov rcx, rdi
call fcn.1400407c4
mov rbx, rax
mov r13d, 1
test rax, rax
je 0x1400340dc
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test eax, eax
je 0x1400340dc
mov ebp, r13d
jmp 0x1400340de
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 0x140034104
test ebp, ebp
je 0x140034140
test rbx, rbx
je 0x140034121
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1f8]
test eax, eax
je 0x140034121
mov esi, r13d
jmp 0x1400341ed
test r15d, r15d
jne 0x140034140
mov rax, qword [rdi]
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x468]
test eax, eax
je 0x1400341ed
lea rcx, [rsp + 0x30]
call fcn.1400c7384
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 0x140034185
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1b8]
lea esi, [rax + 1]
test byte [rdi + 0x400], 1
jne 0x1400341a1
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1b0]
mov ebp, eax
add ebp, 1
jne 0x1400341a5
test esi, esi
je 0x1400341cc
mov rbx, qword [r14 + 0x350]
jmp 0x1400341c7
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.14003dc54
test rbx, rbx
jne 0x1400341ae
mov rax, qword [rdi]
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x7a0]
mov esi, eax
lea rcx, [rsp + 0x30]
call fcn.1400c74a0
mov r13d, 1
cmp dword [r14 + 0x344], 0
je 0x140034214
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 0x14003421a
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 0x140034340
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.1400c7384
nop
xor ebx, ebx
mov r14d, ebx
mov rbp, qword [rsi + 0x7b8]
test byte [rsi + 0x400], 8
je 0x14003438c
mov rdx, rdi
mov rcx, rsi
call fcn.1400356c4
mov r14d, eax
mov r8d, dword [rsi + 0x400]
test r8b, 0x10
je 0x1400343ab
and r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.140035600
or r14d, eax
cmp dword [rbp + 0x338], ebx
jne 0x1400343bb
cmp dword [rbp + 0x33c], ebx
je 0x14003442f
mov edx, 8
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14003442f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140034432
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 [0x140164070]
cmp eax, 0xffff
jne 0x14003441e
lea rcx, str.GX_DIRECTCOPY
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x140164070], 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.1400c74a0
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 0x140041b7c
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 0x140041bb9
test ecx, ecx
je 0x140041bb9
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 0x140047bf0
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 0x140047c21
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140047c21
mov eax, 1
jmp 0x140047c23
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14005a874
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2a8], 0
mov rbx, rcx
je 0x14005a8ce
lea rdx, [0x140130d34]
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 0x14005a8d4
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 0x14005a8ef
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 0x14005a9b4
cmp qword [rdi + 8], 0
je 0x14005a9b4
mov rcx, rdi
call sub.mfc140u.dll_DDX_FieldText
add rbx, 0x98
je 0x14005a9cc
cmp qword [rbx + 8], 0
je 0x14005a9cc
mov rcx, rbx
call sub.mfc140u.dll_DDX_FieldText
mov edx, 0x4e3c
mov rcx, rdi
call fcn.1400c54e4
mov edx, 0x4ef3
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400c54e4
Function at 0x140078b1c
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 0x140078c19
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1b8]
cmp esi, eax
ja 0x140078bc2
mov r9, qword [rdi + 0x8a0]
lea rcx, [rbx + 0xa8]
mov r8d, esi
mov edx, ebp
call fcn.14003e57c
test eax, eax
je 0x140078bc2
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
and qword [rdi + 0x8a0], 0
mov rbx, qword [rax + 0x478]
call fcn.14003d6b8
mov r8d, ebp
mov edx, ebp
mov rcx, rax
call fcn.14003eb2c
mov esi, 1
xor r8d, r8d
mov r9d, esi
mov rdx, rax
mov rcx, rdi
call rbx
mov eax, esi
jmp 0x140078c1b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x1b0]
cmp ebp, eax
ja 0x140078c19
mov r9, qword [rdi + 0x8a0]
lea rcx, [rbx + 0xa8]
mov r8d, esi
mov edx, ebp
call fcn.14003e57c
test eax, eax
je 0x140078c19
mov rax, qword [rdi]
lea rcx, [rsp + 0x20]
and qword [rdi + 0x8a0], 0
mov rbx, qword [rax + 0x478]
call fcn.14003d6b8
mov r8d, esi
mov edx, esi
mov rcx, rax
call fcn.14003eafc
jmp 0x140078bab
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret