joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x140023078]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x260]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
xor ebp, ebp
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x260]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], ebp
mov r8d, 0x105
mov qword [rsp + 0x20], rax
lea rcx, [0x14001aa68]
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x44], ebp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140001238
mov ecx, dword [rsp + 0x40]
lea r9, str.0123456789
mov r8d, ebp
nop
cmp r8d, 0x103
je 0x140001231
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
mov eax, ecx
mov ecx, r8d
inc r8d
movzx eax, word [r9 + rax*2]
mov word [rbx + rcx*2], ax
mov ecx, edx
test edx, edx
jne 0x140001200
mov eax, r8d
mov word [rbx + rax*2], bp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x1400012e4
lea r8, str.GlobalARM_Update_Mutex
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x140001322
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x104
mov rax, rbx
cmp word [rax], bp
je 0x140001287
add rax, 2
sub rcx, 1
jne 0x140001278
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x1400012e4
mov r9d, 0x104
lea r8, [rbx + rax*2]
sub r9, rax
je 0x1400012d6
lea rdx, str.thsnYaVieBoda
mov eax, 0x7ffffffe
sub rdx, r8
test rax, rax
je 0x1400012d6
movzx ecx, word [rdx + r8]
test cx, cx
je 0x1400012d6
mov word [r8], cx
dec rax
add r8, 2
sub r9, 1
jne 0x1400012b6
test r9, r9
lea rax, [r8 - 2]
cmovne rax, r8
mov word [rax], bp
test rsi, rsi
je 0x1400012f9
mov r8, rsi
mov edx, 0x104
mov rcx, rbx
call fcn.1400016b0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400175c0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001270
test edi, edi
jne 0x140001270
mov ecx, 0x104
mov rax, rbx
cmp word [rax], bp
je 0x140001350
add rax, 2
sub rcx, 1
jne 0x140001341
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x1400012e4
mov edx, 0x104
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400013a1
lea r9, str.TsnIorcAeBoda
mov eax, 0x7ffffffe
sub r9, rcx
nop
test rax, rax
je 0x1400013a1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400013a1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140001380
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
jmp 0x1400012e1
Function at 0x1400013c0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
lea r8, str.GlobalARM_Update_Mutex
mov ecx, 0x100000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x1400013f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000142a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000142a
lea r8, str.GlobalAcro_Update_Mutex
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x14000141f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000142a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001469
lea rdx, [0x14001c750]
mov ecx, 0x208
call fcn.140017520
mov rbx, rax
test rax, rax
je 0x140001469
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov rcx, rbx
call fcn.140001060
test eax, eax
je 0x140001476
mov rcx, rbx
call fcn.140017518
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x14000148d
add eax, 0x3e8
mov r8d, 1
mov edx, eax
mov rcx, rbx
call fcn.140001500
xor esi, esi
test eax, eax
sete sil
test eax, eax
jne 0x1400014d7
cmp edi, 2
je 0x1400014d7
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x1400014c3
mov edx, 0xce
jmp 0x1400014cc
test edi, edi
jne 0x1400014d7
mov edx, 0xcc
xor r8d, r8d
mov rcx, rbx
call fcn.140001500
mov rcx, rbx
call fcn.140017518
mov rbx, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x30]
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 [0x140023714], ebx
jne 0x140002d0e
mov eax, dword [0x140023710]
test eax, eax
jne 0x140002d0e
mov r9d, dword [0x14002371c]
test r9d, r9d
je 0x140002ca2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140023710]
mov r9d, dword [0x14002371c]
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 [0x140023710], 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 [0x140023714], 0
je 0x140002d9a
cmp dword [0x140023710], 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 [0x140023714], ebx
jne 0x140002e8c
mov eax, dword [0x140023710]
test eax, eax
jne 0x140002e8c
mov edx, dword [0x14002371c]
test edx, edx
je 0x140002e2b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140023710]
mov edx, dword [0x14002371c]
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 [0x140023710], 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx esi, ax
mov word [rsp + 0x20], ax
cmp dword [0x140023714], 0
je 0x140002eaf
cmp dword [0x140023710], 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 [0x140023078]
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.1400175c0
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.140017518
nop
jmp 0x140003a7c
Function at 0x1400053a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140023078]
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 0x1400053e0
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 0x14000555d
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 0x14000554b
mov ecx, dword [rsp + 0x30]
lea rdx, [0x14001c750]
call fcn.140017520
mov rbx, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x14000549d
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 0x140005495
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140005473
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14000a020
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140017518
lea r10, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
cmp r14, 8
cmovae r10, rbx
cmp rdi, 0xe
jb 0x140005534
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 0x140005534
cmp word [rcx], 0x41
je 0x1400054eb
add rcx, 2
sub rax, 1
jmp 0x1400054d9
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 0x14000552e
add rdx, 2
sub r8, 1
jne 0x140005500
sub rcx, r10
sar rcx, 1
cmp rcx, rsi
setne bpl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140005569
add rcx, 2
jmp 0x1400054d0
mov rcx, rsi
cmp rcx, rsi
setne bpl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140005569
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140005569
mov rbp, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
cmp r14, 8
jb 0x1400055a8
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000559f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000559f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140017518
nop
movzx eax, bp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400175c0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140023078]
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.1400065e0
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 0x14000596a
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 0x14000595e
mov ecx, dword [rsp + 0x30]
lea rdx, [0x14001c750]
call fcn.140017520
mov rbx, rax
test rax, rax
je 0x14000595e
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 0x140005956
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140005940
mov rdx, rbx
mov rcx, rsi
call fcn.14000a020
mov rcx, rbx
call fcn.140017518
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400059b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400175c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006fe0
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 [0x140023078]
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.1400078e0
test eax, eax
je 0x14000704b
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea r8d, [rbx + 0x27]
jmp 0x140007058
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov r8d, 0x26
lea rcx, [rbp - 0x30]
call fcn.14000a020
mov r8d, 2
lea rdx, [0x14001b654]
lea rcx, [rbp - 0x30]
call fcn.140009ea0
mov r8d, 0x10
lea rdx, str.FeatureLockDown
lea rcx, [rbp - 0x30]
call fcn.140009ea0
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 0x140007189
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 0x14000717e
cmp dword [rbp - 0x48], 1
jne 0x14000717e
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x14000717e
lea ecx, [rax + 1]
lea rdx, [0x14001c750]
call fcn.140017520
mov rbx, rax
test rax, rax
je 0x140007176
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 0x140007176
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140007160
mov rdx, rbx
mov rcx, rdi
call fcn.14000a020
mov rcx, rbx
call fcn.140017518
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400071cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400175c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007a10
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 [0x140023078]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdx, 0xffffffff80000002
mov r8d, 0x201
lea rcx, [rbp - 0x50]
call fcn.140005840
nop
xor edi, edi
cmp qword [rbp - 0x40], rdi
jne 0x140007ae9
mov rdx, 0xffffffff80000001
lea r8d, [rdi + 1]
lea rcx, [rbp - 0x30]
call fcn.140005840
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x140007a9a
lea rcx, [rbp - 0x50]
call fcn.140009d30
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 0x140007ade
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
cmp qword [rbp - 0x40], 0
je 0x140007b85
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.14000a020
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.140009ea0
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 0x140007b85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007bc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007bc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007bc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400175c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140007bf0
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 [0x140023078]
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.1400078e0
test eax, eax
je 0x140007c56
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea r8d, [rsi + 0x27]
jmp 0x140007c63
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov r8d, 0x26
lea rcx, [rsp + 0x48]
call fcn.14000a020
mov r8d, 2
lea rdx, [0x14001b654]
lea rcx, [rsp + 0x48]
call fcn.140009ea0
mov r8d, 0x10
lea rdx, str.FeatureLockDown
lea rcx, [rsp + 0x48]
call fcn.140009ea0
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 0x140007d13
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 0x140007d07
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 0x140007d59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400175c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret