joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018db0
Capabilities:
Enumerate pe sections
Hash data using sha1

Disassembly:
mov eax, 0x28
call fcn.140039e40
sub rsp, rax
mov r8, qword [rcx + 0x60]
add rsp, 0x28
jmp 0x140018db0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x70
call fcn.140039e40
sub rsp, rax
mov eax, 8
lea r9, [rsp + 0x20]
mov rsi, rdx
and r9d, 7
xor edx, edx
mov rbp, r8
sub eax, r9d
mov rbx, rcx
lea r8d, [rdx + 0x48]
lea rdi, [rsp + rax + 0x20]
mov rcx, rdi
call fcn.14002fe50
mov r9d, dword [rbx + 0x18]
mov r8d, 0x40
mov eax, r9d
and eax, 0x3f
sub r8d, eax
cmp r8d, 8
ja 0x140018e17
add r8d, 0x40
mov eax, dword [rbx + 0x14]
mov byte [rdi], 0x80
mov ecx, r9d
shl eax, 3
shl r9d, 3
shr ecx, 0x1d
or ecx, eax
mov dword [rsp + 0x84], r9d
mov rdx, rdi
mov eax, ecx
mov dword [rsp + 0x80], ecx
shr eax, 0x18
mov byte [r8 + rdi - 8], al
mov eax, ecx
shr ecx, 8
shr eax, 0x10
mov byte [r8 + rdi - 6], cl
mov rcx, rbx
mov byte [r8 + rdi - 7], al
movzx eax, byte [rsp + 0x80]
mov byte [r8 + rdi - 5], al
mov eax, r9d
shr eax, 0x18
mov byte [r8 + rdi - 4], al
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov byte [r8 + rdi - 2], r9b
mov r9, rbp
mov byte [r8 + rdi - 3], al
movzx eax, byte [rsp + 0x84]
mov byte [r8 + rdi - 1], al
call fcn.140018c20
movzx r11d, byte [rbx + 3]
mov byte [rsi], r11b
movzx eax, byte [rbx + 2]
mov byte [rsi + 1], al
mov eax, dword [rbx]
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rbx]
mov byte [rsi + 3], al
movzx eax, byte [rbx + 7]
mov byte [rsi + 4], al
movzx eax, byte [rbx + 6]
mov byte [rsi + 5], al
mov eax, dword [rbx + 4]
shr eax, 8
mov byte [rsi + 6], al
movzx eax, byte [rbx + 4]
mov byte [rsi + 7], al
movzx eax, byte [rbx + 0xb]
mov byte [rsi + 8], al
movzx eax, byte [rbx + 0xa]
mov byte [rsi + 9], al
mov eax, dword [rbx + 8]
shr eax, 8
mov byte [rsi + 0xa], al
movzx eax, byte [rbx + 8]
mov byte [rsi + 0xb], al
movzx eax, byte [rbx + 0xf]
mov byte [rsi + 0xc], al
movzx eax, byte [rbx + 0xe]
mov byte [rsi + 0xd], al
mov eax, dword [rbx + 0xc]
shr eax, 8
mov byte [rsi + 0xe], al
movzx eax, byte [rbx + 0xc]
mov byte [rsi + 0xf], al
movzx eax, byte [rbx + 0x13]
mov byte [rsi + 0x10], al
movzx eax, byte [rbx + 0x12]
mov byte [rsi + 0x11], al
mov eax, dword [rbx + 0x10]
shr eax, 8
mov byte [rsi + 0x12], al
movzx eax, byte [rbx + 0x10]
mov byte [rsi + 0x13], al
lea rax, [0x140018d40]
mov qword [rbx + 0x60], rax
xor eax, eax
lea r11, [rsp + 0x70]
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x14], eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001e960
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp byte [0x14004dab3], 0
je 0x14001e97a
test cl, cl
je 0x14001eaec
lea rax, [rbp - 0x10]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatDCInstaller_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001eae5
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001eae5
mov qword [rsp + 0x50], rbx
xor ebx, ebx
cmp byte [0x14004dab3], bl
mov dword [rbp + 0x20], ebx
mov dword [rbp + 0x18], ebx
mov dword [rbp + 0x28], 4
jne 0x14001ea0b
lea rax, [rbp + 0x28]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
lea rdx, str.bIsSingleClientApp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ea0b
cmp dword [rbp + 0x20], 4
jne 0x14001ea0b
cmp dword [rbp + 0x18], ebx
setne byte [0x14004dab1]
cmp byte [0x14004dab1], bl
je 0x14001ead6
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
mov dword [rbp + 0x18], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.bIsSCAcroAppInstalled
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ea58
cmp dword [rbp + 0x20], 4
jne 0x14001ea58
cmp dword [rbp + 0x18], ebx
setne byte [0x14004dab0]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
mov dword [rbp + 0x18], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SCAPackageLevel
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ea98
cmp dword [rbp + 0x20], 4
jne 0x14001ea98
mov eax, dword [rbp + 0x18]
mov dword [0x140048008], eax
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x18]
xor r8d, r8d
lea rdx, str.IsAcrInstalledInRdrMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ead6
cmp dword [rbp + 0x20], 4
jne 0x14001ead6
cmp dword [rbp + 0x18], ebx
setne byte [0x14004dab2]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov byte [0x14004dab3], 1
add rsp, 0x40
pop rbp
ret
Function at 0x14001edb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x868
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r14, qword [rsp + 0x8b0]
mov rbp, rcx
mov rsi, qword [rsp + 0x8b8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], r9
xor bl, bl
mov r9, r8
mov r8, rdx
mov edx, 0x400
call fcn.14001f3d0
test eax, eax
js 0x14001eebc
lea rax, [rsp + 0x40]
mov qword [rsp + 0x860], rdi
xor edi, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x50]
mov rcx, rbp
lea r9d, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ee94
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ee89
cmp dword [rsp + 0x30], 4
jne 0x14001ee89
cmp dword [rsp + 0x34], edi
mov bl, 1
setne dil
mov dword [rsi], edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x860]
movzx eax, bl
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140039850
add rsp, 0x868
pop r14
pop rsi
pop rbp
pop rbx
ret
movzx eax, bl
jmp 0x14001ee9f
Function at 0x140020f30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov ebx, edx
mov r15, rcx
xor r12d, r12d
lea rcx, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x40], r12
mov r8d, 0x208
movzx r14d, r12w
call fcn.14003a810
test ebx, ebx
mov dword [rsp + 0x30], r12d
mov esi, r12d
mov dword [rsp + 0x34], r12d
lea r8, str.SoftwareAdobeAcrobat_ReaderDCFeatureState
mov dword [rsp + 0x38], 4
mov edx, 0x104
lea rcx, [rsp + 0x50]
sete sil
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ebx, [r12 + 1]
test eax, eax
jne 0x14002104a
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002102b
cmp dword [rsp + 0x30], 4
jne 0x14002102b
cmp dword [rsp + 0x34], r12d
je 0x140021026
movzx edi, bx
jmp 0x140021031
mov edi, r12d
jmp 0x140021031
mov r14d, ebx
movzx edi, si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14w, r14w
jne 0x14002104a
movzx eax, di
jmp 0x140021116
xor edx, edx
mov qword [rsp + 0x40], r12
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14003a810
lea r8, str.SoftwareAdobeAdobe_AcrobatDCFeatureState
mov dword [rsp + 0x34], r12d
mov edx, 0x104
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021110
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140021100
cmp dword [rsp + 0x34], 4
jne 0x140021100
cmp dword [rsp + 0x30], r12d
jne 0x140021103
mov rcx, qword [rsp + 0x40]
movzx ebx, r12w
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140021113
movzx ebx, si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140021113
movzx ebx, si
movzx eax, bx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140039850
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140021e00
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x140021ebb
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140021e86
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140021ea6
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021ea6
mov qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [0x14003c8b8]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140021ea6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x14004dae8], 0
jne 0x140021f06
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140021ef6
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004dae0], rax
mov byte [0x14004dae8], 1
jmp 0x140021f0d
mov rax, qword [0x14004dae0]
mov byte [0x14004dae8], 1
jmp 0x140021f0d
mov rax, qword [0x14004dae0]
mov rdx, rsi
mov rcx, qword [rbx]
test rax, rax
je 0x140021e8f
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [0x14003c8b8]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140022980
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov ebx, 1
mov rsi, qword [0x140048020]
xor ebp, ebp
mov rax, qword [0x140048028]
cmp rsi, rax
jae 0x140022a46
test ebx, ebx
js 0x140022b12
mov rdi, qword [rsi]
test rdi, rdi
je 0x140022a39
mov qword [rsp + 0x50], rbp
mov r9, qword [rdi + 0x10]
test r9, r9
jne 0x1400229d5
mov ebx, ebp
jmp 0x140022a39
lea r8, [rsp + 0x50]
lea rdx, [0x14003ddf0]
mov rcx, qword [rdi + 0x18]
mov rax, r9
call qword [0x14003c8b8]
mov ebx, eax
test eax, eax
js 0x140022a1b
mov rax, qword [rdi + 0x20]
add rax, 8
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8d, [r9 - 1]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140022a32
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003c8b8]
mov rax, qword [0x140048028]
add rsi, 8
cmp rsi, rax
jb 0x1400229b3
test ebx, ebx
js 0x140022b12
jne 0x140022b0e
cmp byte [r14 + 0x60], bpl
je 0x140022af8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x50], rax
test rax, rax
je 0x140022ab2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, r14
lea r8, [0x140022780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140022aaf
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + 0x50], rbp
mov rbp, rbx
test rbp, rbp
jne 0x140022ac6
mov ebx, 0x80004005
mov rcx, r14
call fcn.140024840
jmp 0x140022b12
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x140022aec
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [r14 + 0x58]
add edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140022b00
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test ebx, ebx
jns 0x140022b12
mov rcx, r14
call fcn.140024840
jmp 0x140022b12
mov byte [r14 + 0x60], bpl
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140023600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call fcn.1400258f0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140023683
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call fcn.1400258f0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140023683
call fcn.140021a70
mov ebx, eax
jmp 0x1400237a8
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400236a4
call fcn.140021a70
jmp 0x140023797
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400236c7
call fcn.140021a70
jmp 0x140023797
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400236e9
mov ebx, 0x8007000e
jmp 0x140023799
mov ecx, eax
test eax, eax
je 0x14002371e
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400237e0
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14002371e
lea rcx, [rsp + 0x60]
call fcn.1400218e0
jmp 0x140023728
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14002373b
cmp qword [rsp + 0x60], 0
jne 0x14002374a
mov ebx, 0x8007000e
jmp 0x140023799
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140023774
call fcn.140021a70
jmp 0x140023797
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140023130
mov ebx, eax
test rdi, rdi
je 0x1400237a8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400237bf
lea rcx, [rsp + 0x60]
call fcn.140021f40
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140039850
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140021c00
int3
Function at 0x1400248a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
xor r15d, r15d
mov esi, ecx
mov edi, r15d
lea r14d, [r15 + 1]
test ecx, ecx
je 0x140024948
lea rax, [rbp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14003de00]
mov rcx, 0xffffffff80000002
mov ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140024948
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x38]
mov dword [rbp + 0x48], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14003de2c]
mov dword [rbp + 0x38], r15d
mov dword [rbp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140024936
cmp dword [rbp + 0x38], r15d
cmove ebx, r15d
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140024a28
lea rax, [rbp + 0x50]
mov qword [rbp + 0x50], r15
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov rcx, 0xffffffff80000002
mov ebx, r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400249ce
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x40]
mov dword [rbp + 0x38], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.bEnableATL7Compat
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400249c4
cmp dword [rbp + 0x38], 4
jne 0x1400249c4
cmp dword [rbp + 0x40], r14d
cmove ebx, r14d
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024a16
lea rdx, str.SetProcessDEPPolicy
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140024a16
test esi, esi
je 0x140024a07
mov ecx, ebx
xor ecx, r14d
lea ecx, [rcx*2 + 1]
jmp 0x140024a0a
mov ecx, r15d
call qword [0x14003c8b8]
mov edi, eax
test eax, eax
jne 0x140024a8b
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140024a37
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.NtSetInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140024a8b
lea ebx, [rbx*4 + 9]
test esi, esi
jne 0x140024a5f
mov ebx, 2
mov dword [rbp + 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
lea r8, [rbp + 0x38]
mov rcx, rax
mov rax, r14
lea edx, [r9 + 0x1e]
call qword [0x14003c8b8]
test eax, eax
mov edi, r15d
setns dil
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140025730
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x200
call fcn.14003989c
mov rdi, rax
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x78]
lea rdx, str.SoftwareAdobeAdobe_AcrobatDCLanguageNext
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400257e2
lea r8, [rsp + 0x78]
lea rdx, str.SoftwareAdobeAdobe_AcrobatDCLanguageNext
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400257e2
lea r8, [rsp + 0x78]
lea rdx, str.SoftwareAdobeAcrobat_ReaderDCLanguageNext
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400257e2
lea r8, [rsp + 0x78]
lea rdx, str.SoftwareAdobeAcrobat_ReaderDCLanguageNext
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400257e2
lea r8, [rsp + 0x78]
lea rdx, str.SoftwareAdobeAcrobat_ReaderDCLanguageCurrent
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400258cc
mov dword [rsp + 0x68], 0x200
xor edx, edx
mov r8d, 0x200
mov rcx, rdi
call fcn.14003a810
add dword [rsp + 0x68], 0xfffffffe
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
shr eax, 1
test ebx, ebx
jne 0x1400258cc
cmp dword [rsp + 0x70], 1
jne 0x1400258cc
cmp eax, 4
jb 0x1400258cc
add eax, 0xfffffffc
lea rbx, [rdi + rax*2]
lea rdx, [0x14003e0b8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400258c8
lea rdx, [0x14003e0c0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400258c8
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x1400258cc
movzx ecx, word [rbx + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x1400258cc
movzx ecx, word [rbx + 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x1400258cc
cmp word [rbx + 6], 0
jne 0x1400258cc
mov r8, rbx
mov edx, 4
mov rcx, rsi
call fcn.140024b60
test eax, eax
js 0x1400258cc
mov ebx, 1
jmp 0x1400258d1
xor ebx, ebx
jmp 0x1400258d1
mov ebx, 0xffffffff
test rdi, rdi
je 0x1400258e3
mov edx, 2
mov rcx, rdi
call fcn.140039610
mov eax, ebx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400258f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14d, r8d
mov r15, rdx
mov r12, rcx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x68], rdi
cmp dword [0x14004daa4], edi
jne 0x1400259cd
mov eax, dword [0x14004daa0]
test eax, eax
jne 0x1400259cd
mov esi, edi
mov r8d, dword [0x14004daac]
test r8d, r8d
je 0x140025960
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14004daa0]
mov r8d, dword [0x14004daac]
test eax, eax
je 0x14002596d
mov ebx, 1
mov esi, ebx
jmp 0x14002599c
test r8d, r8d
jne 0x140025980
call fcn.140025a50
test eax, eax
jne 0x140025980
lea ebx, [rax + 1]
jmp 0x14002599c
lea rdx, [rsp + 0x68]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, 1
test eax, eax
cmovne esi, ebx
test esi, esi
jne 0x1400259d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x1400259bd
cmp eax, 0x78
je 0x1400259bd
cmp eax, 1
je 0x1400259bd
cmp eax, 0x32
jne 0x1400259c5
mov dword [0x14004daa0], ebx
mov esi, ebx
test esi, esi
jne 0x1400259d2
mov ebx, edi
jmp 0x1400259d2
mov ebx, 1
test ebx, ebx
jne 0x1400259f2
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r8d, r14d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14004daa4], 0
je 0x140025a1b
cmp dword [0x14004daa0], 0
jne 0x140025a48
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x140025a2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140025a48
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x1400259d8

Function at 0x140026030
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rcx, rdx
mov rbx, r9
mov rdi, r8
call fcn.14002fb20
test rax, rax
jne 0x14002605d
mov eax, 0x80004005
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rcx, rdi
call fcn.14002ad60
lea rcx, [rsp + 0x38]
mov rdi, rax
call fcn.14002fef0
mov r8, rbx
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140030d30
test al, al
jne 0x14002608d
mov ebx, 1
jmp 0x1400260d0
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400260ce
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.1400300f0
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret