joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov edi, r8d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x190000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001563
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov esi, 0xd
cmove eax, esi
jmp 0x14000168f
xor r9d, r9d
mov dword [rsp + 0x48], 3
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400015aa
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], r14d
mov r8d, 4
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x78]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400015c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ebx, eax
mov esi, 0xd
cmove ebx, esi
jmp 0x140001684
test edi, edi
je 0x140001684
mov dword [rsp + 0x40], r14d
mov edi, r14d
mov esi, 0xd
nop word [rax + rax]
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], r14d
mov r8d, 4
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000163c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ebx, eax
cmove ebx, esi
cmp ebx, 0xe8
jne 0x140001636
mov ecx, 0xa
inc edi
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x1400015e0
jmp 0x140001684
test ebx, ebx
jne 0x140001684
jmp 0x140001646
cmp dword [rsp + 0x88], 4
jne 0x140001682
mov ecx, dword [rsp + 0x78]
lea r9, [rsp + 0x44]
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x88]
inc ecx
mov dword [rsp + 0x88], eax
cmp eax, ecx
mov qword [rsp + 0x20], r14
mov ebx, esi
mov r8d, 4
mov rcx, rbp
cmove ebx, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140001684
mov ebx, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x1400028a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002915
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002915
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002905
nop
cmp rbx, rcx
jae 0x140002915
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400028f0
cmp rbx, rcx
jae 0x140002915
cmp word [rbx], 0
je 0x140002915
mov rax, rbx
jmp 0x140002917
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002c30
Capabilities:
Print debug messages

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, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
cmp dword [0x140021524], ebx
jne 0x140002d0e
mov eax, dword [0x140021520]
test eax, eax
jne 0x140002d0e
mov r9d, dword [0x14002152c]
test r9d, r9d
je 0x140002ca2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140021520]
mov r9d, dword [0x14002152c]
test eax, eax
jne 0x140002d0e
test r9d, r9d
jne 0x140002cb4
call fcn.140002f00
test eax, eax
je 0x140002cca
lea rdx, [rsp + 0x60]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140002d0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140002d04
cmp eax, 0x78
je 0x140002d04
cmp eax, 1
je 0x140002d04
cmp eax, 0x32
je 0x140002d04
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
mov dword [0x140021520], 1
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
cmp dword [0x140021524], 0
je 0x140002d9a
cmp dword [0x140021520], 0
jne 0x140002dc8
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x140002daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140002dc8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x140002ce9
Function at 0x140002dd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov word [rsp + 0x20], bx
mov qword [rsp + 0x48], rbx
cmp dword [0x140021524], ebx
jne 0x140002e8c
mov eax, dword [0x140021520]
test eax, eax
jne 0x140002e8c
mov edx, dword [0x14002152c]
test edx, edx
je 0x140002e2b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140021520]
mov edx, dword [0x14002152c]
test eax, eax
jne 0x140002e8c
test edx, edx
jne 0x140002e3c
call fcn.140002f00
test eax, eax
je 0x140002e52
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140002e8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140002e82
cmp eax, 0x78
je 0x140002e82
cmp eax, 1
je 0x140002e82
cmp eax, 0x32
je 0x140002e82
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [0x140021520], 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx esi, ax
mov word [rsp + 0x20], ax
cmp dword [0x140021524], 0
je 0x140002eaf
cmp dword [0x140021520], 0
jne 0x140002edd
mov edi, ebx
test si, si
sete dil
test edi, edi
je 0x140002ec4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140002edd
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400038e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov r8, qword [rdx + 0x10]
add r8, r8
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rbp, rdx
shr rbp, 1
shl rbp, 2
cmp qword [rdi + 0x18], 8
jb 0x14000393c
mov rdi, qword [rdi]
lea r15, [rdi + r8]
xor bl, bl
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], bl
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.140003b00
mov esi, r12d
test rbp, rbp
je 0x140003a69
cmp rdi, r15
jae 0x140003a1a
mov rax, rsi
and eax, 3
je 0x1400039ca
sub rax, 1
je 0x1400039b4
sub rax, 1
je 0x14000399e
cmp rax, 1
jne 0x1400039d0
movzx ebx, byte [rdi]
and bl, 0x3f
inc rdi
jmp 0x1400039d0
movzx ebx, byte [rdi]
and bl, 0xf
shl bl, 2
inc rdi
movzx eax, byte [rdi]
shr al, 6
or bl, al
jmp 0x1400039d0
movzx ebx, byte [rdi]
and bl, 3
shl bl, 4
inc rdi
movzx eax, byte [rdi]
shr al, 4
or bl, al
jmp 0x1400039d0
movzx ebx, byte [rdi]
shr bl, 2
cmp bl, 0x40
jae 0x140003aa5
movzx ecx, bl
mov rax, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jae 0x140003a4c
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003a5d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jae 0x140003a49
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov word [rax + rcx], 0x3d
jmp 0x140003a5d
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400030d0
inc rsi
cmp rsi, rbp
jb 0x140003970
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov qword [r14 + 0x10], r12
mov byte [r14], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140003a7c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003af4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
jmp 0x140003a7c
Function at 0x140004de0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, r8
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x50], rbp
mov r14d, 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x40], bp
cmp qword [r8 + 0x18], 8
jb 0x140004e20
mov rax, qword [r8]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], r8
mov r9d, edx
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004f9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004f8b
mov ecx, dword [rsp + 0x30]
lea rdx, [0x14001a408]
call fcn.140015270
mov rbx, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x140004edd
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004ed5
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140004eb3
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140009490
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140015268
lea r10, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
cmp r14, 8
cmovae r10, rbx
cmp rdi, 0xe
jb 0x140004f74
add rdi, 0xfffffffffffffff3
lea r11, [r10 + rdi*2]
mov rcx, r10
lea rdi, str.Acrobat_Reader
nop word [rax + rax]
mov rax, r11
sub rax, rcx
sar rax, 1
je 0x140004f74
cmp word [rcx], 0x41
je 0x140004f2b
add rcx, 2
sub rax, 1
jmp 0x140004f19
mov r8d, 0xe
mov rdx, rdi
mov r9, rcx
sub r9, rdi
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x140004f6e
add rdx, 2
sub r8, 1
jne 0x140004f40
sub rcx, r10
sar rcx, 1
cmp rcx, rsi
setne bpl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004fa9
add rcx, 2
jmp 0x140004f10
mov rcx, rsi
cmp rcx, rsi
setne bpl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004fa9
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004fa9
mov rbp, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
cmp r14, 8
jb 0x140004fe8
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004fdf
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140015268
nop
movzx eax, bp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015310
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005280
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
lea rcx, [rsp + 0x50]
call fcn.140006020
nop
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rbp
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400053aa
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000539e
mov ecx, dword [rsp + 0x30]
lea rdx, [0x14001a408]
call fcn.140015270
mov rbx, rax
test rax, rax
je 0x14000539e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005396
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140005380
mov rdx, rbx
mov rcx, rsi
call fcn.140009490
mov rcx, rbx
call fcn.140015268
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400053f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140015310
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006a20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor ebx, ebx
mov dword [rbp - 0x4c], ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], bx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov dword [rbp - 0x4c], 1
call fcn.140007320
test eax, eax
je 0x140006a8b
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea r8d, [rbx + 0x27]
jmp 0x140006a98
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov r8d, 0x26
lea rcx, [rbp - 0x30]
call fcn.140009490
mov r8d, 2
lea rdx, [0x140019564]
lea rcx, [rbp - 0x30]
call fcn.140009310
mov r8d, 0x10
lea rdx, str.FeatureLockDown
lea rcx, [rbp - 0x30]
call fcn.140009310
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006bc9
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.tSharePointUrls
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006bbe
cmp dword [rbp - 0x48], 1
jne 0x140006bbe
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140006bbe
lea ecx, [rax + 1]
lea rdx, [0x14001a408]
call fcn.140015270
mov rbx, rax
test rax, rax
je 0x140006bb6
mov r8d, dword [rbp - 0x50]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.tSharePointUrls
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006bb6
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140006ba0
mov rdx, rbx
mov rcx, rdi
call fcn.140009490
mov rcx, rbx
call fcn.140015268
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140006c0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007220
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatDCInstaller
mov rcx, 0xffffffff80000002
mov ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000730e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000730e
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x60], 4
xor edi, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x50], edi
lea rdx, str.bIsSingleClientApp
mov dword [rsp + 0x58], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400072fe
cmp dword [rsp + 0x50], 4
jne 0x1400072fe
cmp dword [rsp + 0x58], edi
je 0x1400072fe
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.bIsSCAcroAppInstalled
mov qword [rsp + 0x20], rax
lea ebx, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400072fe
cmp dword [rsp + 0x50], 4
jne 0x1400072fe
cmp dword [rsp + 0x58], ebx
jne 0x1400072fe
movzx ebx, di
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x38]
movzx eax, bx
add rsp, 0x40
pop rbx
ret
Function at 0x140007450
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdx, 0xffffffff80000002
mov r8d, 0x201
lea rcx, [rbp - 0x50]
call fcn.140005280
nop
xor edi, edi
cmp qword [rbp - 0x40], rdi
jne 0x140007529
mov rdx, 0xffffffff80000001
lea r8d, [rdi + 1]
lea rcx, [rbp - 0x30]
call fcn.140005280
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x1400074da
lea rcx, [rbp - 0x50]
call fcn.1400091a0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000751e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
cmp qword [rbp - 0x40], 0
je 0x1400075c5
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov r8d, 0x28
lea rdx, str.......plug_insTest_Tools_aaFEAT.api
lea rcx, [rbp - 0x30]
call fcn.140009490
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.140009310
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400075c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400075bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400075bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007609
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007603
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140007630
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], 1
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
call fcn.140007320
test eax, eax
je 0x140007696
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea r8d, [rsi + 0x27]
jmp 0x1400076a3
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov r8d, 0x26
lea rcx, [rsp + 0x48]
call fcn.140009490
mov r8d, 2
lea rdx, [0x140019564]
lea rcx, [rsp + 0x48]
call fcn.140009310
mov r8d, 0x10
lea rdx, str.FeatureLockDown
lea rcx, [rsp + 0x48]
call fcn.140009310
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007753
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007747
mov ebx, esi
cmp dword [rsp + 0x30], ebx
setne bl
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140007799
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret