joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026120
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
lea rax, vtable.AudioControllerEx.0
mov qword [rcx], rax
lea rdi, [rcx + 0x10]
xor ecx, ecx
mov qword [rdi], rcx
lea rsi, [rbx + 0x18]
mov qword [rsi], rcx
lea rbp, [rbx + 0x20]
mov qword [rbp], rcx
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x30], rcx
mov byte [rbx + 0x3c], cl
mov qword [rbx + 8], rcx
mov dword [rbx + 0x38], 1
lea rax, [rbx + 0x40]
cmp dword [rax], ecx
jne 0x14002619b
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, rbx
lea r8, [0x140025ff0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 1
ja 0x140026278
mov dword [rbx + 8], 1
lea rcx, [0x140132918]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x140026278
mov qword [rsp + 0x20], rdi
lea r9, [0x1400ff728]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400ff6e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140026278
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rbx + 0x28]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x20]
test eax, eax
js 0x140026278
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rbx + 0x30]
mov edx, 1
lea r8d, [rdx + 1]
call qword [rax + 0x20]
test eax, eax
js 0x140026278
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [0x140102080]
call qword [rax + 0x18]
test eax, eax
js 0x140026278
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [0x140102080]
call qword [rax + 0x18]
test eax, eax
js 0x140026278
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x18]
test eax, eax
js 0x140026278
mov dword [rbx + 0xc], 1
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400280a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rsi, rcx
xor dil, dil
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x1400282a7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400061c0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004310
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400045c0
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x140028230
cmp dword [rbx - 8], 1
jle 0x140028151
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140006a10
mov rbx, qword [rsp + 0x58]
mov r8, rbx
lea rdx, str.CBrowserHandler::PerformAction._Got_command_s.
mov rcx, qword [0x140132990]
call fcn.140011f10
lea rdx, str.disablePrivateBrowsing
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x1400281ca
xor ecx, ecx
call fcn.1400282c0
movzx edi, al
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x140016600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsi + 8]
test dil, dil
je 0x1400281bb
lea rdx, str._response_:_privateBrowsingDisabled_
mov r8d, 0x26
jmp 0x14002822b
lea rdx, str._response_:_privateBrowsingDisableFailed_
mov r8d, 0x2b
jmp 0x14002822b
lea rdx, str.enablePrivateBrowsing
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x140028230
mov cl, 1
call fcn.1400282c0
movzx edi, al
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x140016600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsi + 8]
test dil, dil
je 0x14002821e
mov r8d, 0x25
lea rdx, str._response_:_privateBrowsingEnabled_
jmp 0x14002822b
mov r8d, 0x2a
lea rdx, str._response_:_privateBrowsingEnableFailed_
call fcn.140006590
lea r9, [rsi + 8]
cmp qword [r9 + 0x18], 0x10
jb 0x14002823e
mov r9, qword [r9]
movzx r8d, dil
lea rdx, str.CBrowserHandler::PerformAction._END_bRetVal__d_and_m_strResponseJSON__S.
mov rcx, qword [0x140132990]
call fcn.140011f10
nop
lea rcx, [rsp + 0x68]
call fcn.140063a70
nop
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14002827e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003f50
int3
Function at 0x14002aac0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
xor esi, esi
mov r9, r8
mov dword [rsp + 0x50], esi
mov r8, rdx
mov qword [rsp + 0x20], rsi
mov rdi, rdx
call fcn.140011740
test eax, eax
jne 0x14002abdd
lea r9, [rsp + 0x50]
mov r8, rdi
call fcn.140011650
test al, al
je 0x14002abd3
mov ecx, dword [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r9d, 0xa
xorps xmm0, xmm0
xor eax, eax
mov r8d, r9d
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], eax
call fcn.1400bc368
test rbx, rbx
je 0x14002abd3
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 6
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002abd3
mov rcx, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x14002ab90
lea ecx, [rcx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14002abd7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14002abdf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002af60
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
xor esi, esi
mov r9, rdx
mov qword [rsp + 0x50], rsi
mov r8, rcx
mov qword [rsp + 0x20], rax
mov rdi, rcx
call fcn.140011740
test eax, eax
je 0x14002b019
cmp qword [rsp + 0x50], rsi
je 0x14002b015
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14002afe2
xor dil, dil
jmp 0x14002b000
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dil, 1
mov rcx, qword [rsp + 0x50]
mov edx, 2
call fcn.1400a59a4
movzx eax, dil
jmp 0x14002b01b
xor al, al
jmp 0x14002b01b
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a5460
mov rsi, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14002b040
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.14002ac10
lea rdx, str.https:__addons.mozilla.org_firefox_downloads_file_3962374_faronics_insight_v11_1.4.xpi
movzx esi, al
lea rcx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
call fcn.14002af60
xor ebp, ebp
lea rax, [rsp + 0x60]
mov ebx, 0xffffffff
mov qword [rsp + 0x60], rbp
xor r8d, r8d
mov dword [rsp + 0x68], ebp
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 1]
mov rcx, 0xffffffff80000002
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002b103
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
cmove edi, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b113
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14002b12b
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.6d7fe032_3d1b_4646_b51d_c2ff32fe44c5
lea rcx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
call fcn.14002af60
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], ebp
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002b1b9
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
cmove ebx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b1c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14002b1e1
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx eax, sil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c560
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebx, cl
lea rax, [rsp + 0x50]
xor ecx, ecx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x40], rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002c5f8
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.DontDisplayLastUserName
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14002c62c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140132990]
lea rdx, str.CRemoteLogonHandler::DoNotShowLastUsrLogonInGPT._Failed_to_SetValue__d_and_Err__d
mov r9d, eax
mov r8d, ebx
call fcn.140011f10
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x70
pop rbx
ret

Function at 0x14002c650
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x14002c7a2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.enableEnhancedSecurity
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x14002c6b2
movzx edx, dx
lea rcx, [rsp + 0x30]
call fcn.1400112e0
jmp 0x14002c6cd
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002c6b5
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140011410
nop
lea r8, [0x14012b330]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140004860
cmp byte [0x14012b330], 0
je 0x14002c77d
lea rcx, str._EnhSecSettings::LoadEnhSettings__Enhanced_Security_is_Eanbled___
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x14002c797
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.sharedSecret
cmp rdx, 0x10000
jae 0x14002c744
movzx edx, dx
lea rcx, [rsp + 0x30]
call fcn.1400112e0
jmp 0x14002c75c
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14002c744
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.140011410
nop
lea r8, [0x14012b338]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140004c30
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, str._EnhSecSettings::LoadEnhSettings__Hmmm__Enhanced_Security_is_DISABLED___
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003f50
int3
mov ecx, 0x80004005
call fcn.140003f50
int3
Function at 0x14002c7b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
cmp byte [0x14012b330], 0
je 0x14002c89a
lea rcx, str.CEncryptDecryptHandler::GetProperSecretKey___using_ENHANCED_key
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rsp + 0x48], dil
lea r8d, [rdi + 0x24]
lea rdx, str.40C9DE29_1AAC_4C0B_BC72_81B5A1D8E844
lea rcx, [rsp + 0x48]
call fcn.140006590
nop
lea rdx, [0x14012b338]
lea rcx, [rsp + 0x20]
call fcn.1400061c0
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400066f0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14002c887
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c8ec
call fcn.1400a59a4
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14002c8ce
lea rcx, str.CEncryptDecryptHandler::GetProperSecretKey___using_default_key
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rbx], dil
lea r8d, [rdi + 0x49]
lea rdx, str.7838D2D7_E0E1_40AF_A4DC_C40259F54EB5_DEAA2C58_ADE6_4BB1_9EBA_FA58C7F1F6E0
mov rcx, rbx
call fcn.140006590
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
call fcn.1400b4704
nop
int3
Function at 0x14002c900
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x19], rdx
xor esi, esi
mov dword [rbp - 0x49], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rcx], sil
xor r8d, r8d
lea rdx, [0x1400ff290]
call fcn.140006590
mov dword [rbp - 0x49], 1
lea rcx, [rbp + 0x17]
call fcn.14002c7b0
nop
lea ecx, [rsi + 0x21]
call fcn.1400a5c74
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + reloc.ACTIVEDS.dll_FreeADsMem], 0xf
mov byte [rbp - 9], sil
lea r8d, [rsi + 0x24]
lea rdx, str.DB527A4B_3962_46A3_896D_4AE6C5758ABF
lea rcx, [rbp - 9]
call fcn.140006590
nop
lea r8, [rbp - 9]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x11]
call fcn.1400535e0
test eax, eax
je 0x14002ca07
mov r8, rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.1400537d0
mov rdx, rax
mov rcx, rbx
call fcn.1400060d0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14002ca07
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cb12
call fcn.1400a59a4
cmp qword [rbx + 0x10], 0
jne 0x14002ca1c
lea rcx, str._DataEncryptionHelper::EncryptData_EncrypData_failed___
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14002ca58
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cb18
call fcn.1400a59a4
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14002ca67
call fcn.1400a59a4
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14002ca9f
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002cb06
call fcn.1400a59a4
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14002cad5
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14002cad0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002cb0c
mov rcx, r8
call fcn.1400a59a4
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3
Function at 0x14002cb20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x48], rdx
lea rcx, [rsp + 0x70]
call fcn.140013db0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.1400061c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14002c900
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140013cc0
cmp qword [rdi + 0x10], 0
jne 0x14002cbaa
lea rcx, str._DataEncryptionHelper::EncryptData_EncrypData_failed___
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002cbe7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cbe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ccd3
call fcn.1400a59a4
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rsp + 0x50], sil
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x14002cc3c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002cc37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ccc7
call fcn.1400a59a4
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rsp + 0x70], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002cc90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002cc8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002cccd
mov rcx, r8
call fcn.1400a59a4
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3
Function at 0x14002cee0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov byte [rcx + 8], 0
lea rax, vtable.CCryptString.0
mov qword [rsp + 0x30], rsi
mov rbx, rcx
mov qword [rcx], rax
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov qword [rsp + 0x38], rsi
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], esi
lea rdx, str.ANTIVIRUS
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14002cf91
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], 8
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
lea rdx, str.ANTIVIRUS
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14002cf91
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], 0xf0000000
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14002cf91
mov byte [rbx + 8], sil
jmp 0x14002d05e
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x68], rdi
mov edx, 2
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_CryptGetUserKey]
test eax, eax
jne 0x14002cfda
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000d
jne 0x14002d033
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14002d033
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cfef
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_CryptGetUserKey]
test eax, eax
jne 0x14002d030
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000d
jne 0x14002d033
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14002d033
mov dil, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d043
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002d055
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [rbx + 8], dil
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret