joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d400
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rsi, rdx
mov rdi, rcx
je 0x14003d4d5
lea r14, [rcx + 0x18]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14003d4d5
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rdi + 8]
xor ebx, ebx
xor r9d, r9d
mov qword [r14], rbx
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14003d4d5
mov rcx, qword [rdi + 0x10]
lea r15, [rdi + 0x10]
test rcx, rcx
je 0x14003d47b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [r15], rbx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, rsi
add ebx, ebx
call qword [sym.imp.mfc140u.dll_Ordinal_6717]
mov rcx, qword [r14]
xor r9d, r9d
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14003d4d5
mov r8, qword [r14]
mov r9d, 1
mov rcx, qword [rdi + 8]
mov edx, 0x6602
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x14003d4d5
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x14003d4e0
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x14003d6b0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x20]
mov rbx, rdx
mov rdi, rcx
xor edx, edx
add rcx, 0x20
call qword [rax + 0x70]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call qword [rax + 0x88]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
call qword [rax + 0xa8]
lea rcx, [rdi + 0x20]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov ecx, dword [rbx + 0x10]
mov rbp, rax
xor r9d, r9d
mov dword [rsp + 0x40], ecx
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x14003d740
mov rcx, rbp
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x14003d78d
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov edx, dword [rsp + 0x40]
call qword [rax + 0x70]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov r8d, dword [rsp + 0x40]
mov rdx, rbp
call qword [rax + 0x88]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
call qword [rax + 0xa8]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x68]
mov rcx, rbp
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14003d7b0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [rcx + 0x20]
mov rbp, rcx
add rcx, 0x20
mov r14, rdx
call qword [rax + 0x78]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
mov rbx, rax
lea rdi, [rax + rax]
mov rdx, rdi
call qword [r8 + WSAStartup]
lea rcx, [rbp + 0x20]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov rcx, qword [rbp + 0x10]
mov rsi, rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14003d82f
mov rcx, rsi
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x14003d86b
xor edx, edx
mov rcx, r14
lea r8, [rdx - 1]
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov edx, dword [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov rcx, r14
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov r8d, dword [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400578f0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, r8
mov byte [0x1401b6b40], 0
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [0x14004fde0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx ebx, byte [0x1401b6b40]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rsi, qword [rsp + 0x38]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140057ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x8090
call fcn.1400f7780
sub rsp, rax
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x8080], rax
xor ebp, ebp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
mov rdi, rdx
mov qword [rsp + 0x50], rbp
mov rsi, rcx
mov qword [rsp + 0x48], rbp
xor r9d, r9d
mov qword [rsp + 0x40], rbp
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140057dd1
mov qword [rsp + 0x80c0], rbx
mov ebx, ebp
nop
mov qword [rsp + 0x38], rbp
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x80]
mov qword [rsp + 0x28], rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x64], 0x3fff
mov word [rsp + 0x80], bp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140057dc1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov rdx, rdi
mov rcx, rsi
mov r8, rax
call fcn.14004d870
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140057d60
mov rbx, qword [rsp + 0x80c0]
mov rcx, qword [rsp + 0x8080]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x8090
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067040
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov byte [rcx + 0x59a10], 0
add rcx, 0x5a060
lea rdx, [0x1401312ec]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rbx + 0x5a058]
lea rdx, [0x1401312ec]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140064c00
Function at 0x140075f30
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x450
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
add rcx, 0x28
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov dword [rsi + 0x20], ebx
mov dword [rsi + 0x30], 0
mov dword [rsp + 0x20], 0x400
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [rsi + 0x48], 0x84000000
mov dword [rsi + 0x4c], 0
mov dword [rsi + 0x58], 0x50
mov rax, rsi
mov rcx, qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140077590
Capabilities:
Encrypt or decrypt via wincrypt
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x100
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [r11 - 0x10], rbx
lea rax, [rsp + 0x48]
mov qword [r11 - 0x18], rbp
mov rbx, r8
mov r8d, dword [rsp + 0x138]
mov rbp, rdx
mov rdx, qword [rsp + 0x130]
mov qword [r11 - 0x20], rsi
mov rsi, r9
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [r11 - 0x28], r14
lea rax, [rsp + 0x50]
xor r14d, r14d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
call fcn.14007b720
mov eax, dword [rsi]
cmp dword [rsp + 0x140], r14d
je 0x140077698
mov rcx, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov dword [rsp + 0x40], eax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
je 0x1400776fd
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x40]
lea r8d, [r14 + 1]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor edx, edx
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
jne 0x1400776fd
jmp 0x1400776ee
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov edi, eax
test eax, eax
jne 0x1400776fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090005
jne 0x1400776ee
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r14
mov dword [rsi], r14d
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14007772d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007773d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007774f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x100
pop rdi
ret
Function at 0x140077ff0
Capabilities:
Parse url

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r15, r9
mov r14, r8
mov rbp, rdx
mov rsi, rcx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
add rsi, 0x28
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edi, [rax + 8]
xor r12d, r12d
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140075880
nop
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140075880
nop
mov dword [rsp + 0x60], 0x68
mov r13, qword [rsp + 0x40]
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], edi
mov r12, qword [rsp + 0x28]
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb0], edi
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov rdx, r13
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov eax, dword [rsp + 0x74]
mov dword [r15], eax
test r12, r12
je 0x140078148
mov rax, qword [rsp + 0x38]
sub rax, r12
sar rax, 1
lea rdx, [rax + rax]
mov rax, r12
cmp rdx, 0x1000
jb 0x14007813f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007813f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400f70f8
nop
test r13, r13
je 0x14007818b
mov rdx, qword [rsp + 0x50]
sub rdx, r13
sar rdx, 1
add rdx, rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x140078183
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078183
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400f70f8
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007b720
Capabilities:
Contain obfuscated stackstrings
Encrypt data using aes via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [r9], 0
mov rsi, r9
mov r14, qword [rbp + 0x40]
mov rdi, rdx
mov rbx, qword [rbp + 0x48]
mov eax, 1
jne 0x14007b782
lea r9d, [rax + 0x17]
mov dword [rsp + 0x20], 0xf0000008
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14007b8b9
mov rcx, qword [r14]
test rcx, rcx
je 0x14007b790
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x14007b8b9
movzx eax, byte [rdi]
lea rdx, [rbp - 0x28]
mov rcx, qword [rsi]
xor r14d, r14d
mov byte [rbp - 0x1c], al
xor r9d, r9d
movzx eax, byte [rdi + 1]
mov byte [rbp - 0x1b], al
movzx eax, byte [rdi + 2]
lea r8d, [r14 + 0x1c]
mov byte [rbp - 0x1a], al
movzx eax, byte [rdi + 3]
mov byte [rbp - 0x19], al
movzx eax, byte [rdi + 4]
mov byte [rbp - 0x18], al
movzx eax, byte [rdi + 5]
mov byte [rbp - 0x17], al
movzx eax, byte [rdi + 6]
mov byte [rbp - 0x16], al
movzx eax, byte [rdi + 7]
mov byte [rbp - 0x15], al
movzx eax, byte [rdi + 8]
mov byte [rbp - 0x14], al
movzx eax, byte [rdi + 9]
mov byte [rbp - 0x13], al
movzx eax, byte [rdi + 0xa]
mov byte [rbp - 0x12], al
movzx eax, byte [rdi + 0xb]
mov byte [rbp - 0x11], al
movzx eax, byte [rdi + 0xc]
mov byte [rbp - 0x10], al
movzx eax, byte [rdi + 0xd]
mov byte [rbp - 0xf], al
movzx eax, byte [rdi + 0xe]
mov byte [rbp - 0xe], al
movzx eax, byte [rdi + 0xf]
mov qword [rsp + 0x28], rbx
mov byte [rbp - 0xd], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x660e
mov dword [rbp - 0x20], 0x10
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x14007b8b9
mov rcx, qword [rbx]
lea r8, [rbp - 0x30]
xor r9d, r9d
mov dword [rbp - 0x30], 1
lea edx, [r14 + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x14007b8b9
mov rcx, qword [rbx]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x2c]
mov dword [rbp - 0x2c], r14d
lea edx, [r14 + 3]
mov dword [rbp - 0x30], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x14007b8b9
mov rcx, qword [rbx]
lea r8, [rbp - 0x28]
xor r9d, r9d
mov dword [rbp - 0x28], 0x33323839
lea edx, [r14 + 1]
mov dword [rbp - 0x24], 0x39323334
mov dword [rbp - 0x20], 0x38393038
mov dword [rbp - 0x1c], 0x36343733
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14009caf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x14009cb7c
cmp qword [rdx + 0x10], 0x41
jne 0x14009cb7c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14009cb7c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x14009cb3e
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552

Function at 0x14009cf30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xb0]
mov rsi, rdx
mov edx, dword [r8 + 0x14]
xor ecx, ecx
mov rdi, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx r9d, word [r14 + 8]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov edx, dword [r14]
mov rbx, rax
mov eax, 0x4d42
mov dword [rsp + 0x4e], r15d
mov word [rsp + 0x48], ax
lea r8d, [rcx*4]
mov qword [rsp + 0x20], r15
mov ecx, dword [r14 + 0x14]
lea eax, [rdx + 0xe]
add ecx, 0xe
add eax, r8d
add ecx, edx
mov dword [rsp + 0x52], eax
add ecx, r8d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4a], ecx
lea r8d, [r15 + 0xe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rbx
lea r8d, [r8*4 + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x14]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f76d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b97f0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
cmp qword [rdx], 0
je 0x1400b982e
mov eax, 0x80070057
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0xc8], 0
call fcn.1400b9d00
test eax, eax
js 0x1400b9980
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r12d, dword [r14 + 4]
mov r15d, dword [r14 + 0xc]
sub r15d, r12d
mov r13d, dword [r14]
mov r14d, dword [r14 + 8]
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsi], rax
test rax, rax
jne 0x1400b98af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc0], 1
mov eax, 1
jmp 0x1400b9980
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x40], 0x40cc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r15d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xor r14d, r14d
mov dword [rsp + 0xc0], r14d
jmp 0x1400b993c
test rsi, rsi
je 0x1400b9956
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
test rdi, rdi
je 0x1400b9964
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
test rbx, rbx
je 0x1400b997d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, r14d
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b9a80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xb0]
mov rsi, rdx
mov edx, dword [r8 + 0x14]
xor ecx, ecx
mov rdi, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx r9d, word [r14 + 8]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov edx, dword [r14]
mov rbx, rax
mov eax, 0x4d42
mov dword [rsp + 0x4e], r15d
mov word [rsp + 0x48], ax
lea r8d, [rcx*4]
mov qword [rsp + 0x20], r15
mov ecx, dword [r14 + 0x14]
lea eax, [rdx + 0xe]
add ecx, 0xe
add eax, r8d
add ecx, edx
mov dword [rsp + 0x52], eax
add ecx, r8d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4a], ecx
lea r8d, [r15 + 0xe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rbx
lea r8d, [r8*4 + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x14]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f76d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400bfff0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x1400c007c
cmp qword [rdx + 0x10], 0x41
jne 0x1400c007c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400c007c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x1400c003e
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552