joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039eb0
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rsi, rcx
lea rax, vtable.CCrypto.0
mov qword [rcx], rax
xor ebx, ebx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
lea r14, [rcx + 0x18]
mov qword [r14], rbx
add rcx, 0x20
mov edx, 0x400
call sub.mfc140u.dll_CMapStringToString::CMapStringToString
nop
mov dword [rsp + 0x20], ebx
lea r9d, [rbx + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140039f8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x140039fb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7ff6ffea
je 0x140039fb6
lea rax, [rsp + 0x78]
mov qword [rsp + 0x88], rax
lea rdx, [0x140153b2c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rcx, eax
lea rax, [0x140000000]
lea rdx, [rax + 0x1570a0]
lea rdx, [rdx + rcx*2]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14010a9a0
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
mov rax, rsi
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x20], 0xf0000028
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140039f8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rbx, eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x88], rax
lea rdx, [0x140153b2c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rdi, rax
lea rax, [0x140000000]
lea rdx, [rax + 0x157040]
lea rdx, [rdx + rbx*2]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14010a9a0
jmp 0x140039fa9
Function at 0x14003a2f0
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 0x14003a3c5
lea r14, [rcx + 0x18]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14003a3c5
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 0x14003a3c5
mov rcx, qword [rdi + 0x10]
lea r15, [rdi + 0x10]
test rcx, rcx
je 0x14003a36b
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 0x14003a3c5
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 0x14003a3c5
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x14003a3d0
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 0x14003a5a0
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 0x14003a630
mov rcx, rbp
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x14003a67d
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 0x14003a6a0
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 0x14003a71f
mov rcx, rsi
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x14003a75b
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 0x14004aaf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2c0
mov qword [r11 - 0x258], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r15, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x248]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], operator
xor r12d, r12d
mov dword [rsp + 0x64], r12d
mov ecx, 0x1f402
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov ecx, 0xfa01
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xa0]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14004ac79
mov ebx, r12d
mov dword [rsp + 0x6c], 0xfa00
mov dword [rsp + 0x70], 0xfa00
mov word [rsi], r12w
mov byte [r14], 0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov r8, rsi
mov edx, ebx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14004ac71
mov r9, rsi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x248]
call fcn.140049c70
mov r9, r14
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x248]
call fcn.140049c70
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14004ac00
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, CMapStringToOb::~CMapStringToOb
mov rcx, rbp
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov edx, 1
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14004fb50
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004fbf6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.iAssist_instance
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, str.AppIsAllReadyRunning_in_closing
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r9d, 0xffffffff
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14005afa0
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400579d0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rcx, rax
call fcn.1400fbb40
test al, al
je 0x140057a2a
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rcx, rax
call fcn.1400dedf0
test al, al
je 0x140057a2a
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]

Function at 0x14005a550
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 [0x1401e7f80], 0
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [0x140050b30]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx ebx, byte [0x1401e7f80]
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 0x14005a970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x8090
call fcn.140113d30
sub rsp, rax
mov rax, qword [0x1401e61d8]
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 0x14005aa61
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 0x14005aa51
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__1]
mov rdx, rdi
mov rcx, rsi
mov r8, rax
call fcn.14004e4b0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14005a9f0
mov rbx, qword [rsp + 0x80c0]
mov rcx, qword [rsp + 0x8080]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x8090
pop rdi
pop rsi
pop rbp
ret
Function at 0x140069fe0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov byte [rcx + 0x28c20], 0
add rcx, 0x29268
lea rdx, [0x14014f8c8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rbx + 0x29260]
lea rdx, [0x14014f8c8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140067ba0
Function at 0x140078d70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rdx
lea rdx, str.C:Windowsiassist_
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rdx, [0x1401658f8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea r8, [0x140150ad0]
lea rdx, [0x140165968]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea r8, [0x1401569d8]
lea rdx, [0x140165910]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
lea rdx, [0x14015f1c4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rbx, rax
test rax, rax
je 0x140078e16
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, [0x14016596c]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8, rbx
mov dl, 1
mov rcx, rax
call fcn.140108b10
lea rcx, [rsp + 0x60]
call fcn.140101410
nop
lea rdx, str.hosts.txt
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [0x14014f8c8]
lea rcx, [0x1401e8478]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140078f50
Capabilities:
Copy file

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
cmp byte [rcx + 0x180], 0
jne 0x14007904f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x184
mov rcx, qword [rcx + 0x1c8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.C:WindowsSystem32Driversetchosts
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x50]
call fcn.140101410
nop
lea rdx, str.hosts.txt
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x58]
call fcn.140101410
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rdi
call fcn.140079060
lea rdx, [0x1401e8478]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rdi
call fcn.140079390
mov rcx, rdi
call fcn.140078ed0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x14007ab60
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 [0x1401e61d8]
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__3]
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.140113c40
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007cce0
Capabilities:
Encrypt or decrypt via wincrypt
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x100
mov rax, qword [0x1401e61d8]
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.140082880
mov eax, dword [rsi]
cmp dword [rsp + 0x140], r14d
je 0x14007cde8
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 0x14007ce4d
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 0x14007ce4d
jmp 0x14007ce3e
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 0x14007ce4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090005
jne 0x14007ce3e
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 0x14007ce7d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007ce8d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007ce9f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x100
pop rdi
ret