joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
movzx ebx, byte [rbp + 0x58]
test byte [r9 + 8], 1
jne 0x140012d2a
movzx eax, word [rbp + 0x50]
movzx edx, bl
mov r10, qword [rcx]
mov dword [rsp + 0x28], edx
mov word [rsp + 0x20], ax
mov rdx, rsi
mov r8, rdi
call qword [r10 + 0x30]
jmp 0x140012e95
lea rdx, [rbp - 0x28]
mov rcx, r9
call fcn.140004d70
mov r14, qword [rbp - 0x28]
lea rax, [0x140078098]
mov qword [rbp - 0x30], rax
mov rax, qword [0x140078098]
cmp rax, 0xffffffffffffffff
je 0x140012d79
lea rax, [rbp - 0x30]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
lea rcx, [0x140078098]
lea r8, [0x14002b600]
lea rdx, [rbp - 0x38]
call fcn.1400304f0
movsxd rax, dword [0x1400780a0]
lea rdx, [rax - 1]
mov rcx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
sub r8, rcx
sar r8, 3
cmp r8, rdx
jbe 0x140012ea3
mov rcx, qword [rcx + rax*8 - 8]
test rcx, rcx
je 0x140012ea3
mov rax, qword [rbp - 0x28]
lea rdx, [0x140077eb0]
cmp rax, rdx
je 0x140012dd7
mov edx, 0xffffffff
lock xadd dword [rax + 8], edx
test edx, edx
jne 0x140012dd7
mov rdx, qword [rax]
mov r14, rcx
mov rcx, rax
call qword [rdx + 8]
mov rcx, r14
mov rax, qword [rcx]
xor bl, 1
movzx r8d, bl
lea rbx, [rbp - 0x20]
mov rdx, rbx
call qword [rax + r8*8 + 0x28]
movsx rax, byte [rbp - 9]
test rax, rax
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov r8, rax
cmovs r8, rdx
test r8, r8
je 0x140012e82
test al, al
mov r14, rbx
cmovs r14, rcx
jmp 0x140012e40
xor edi, edi
add r14, 2
test al, al
mov r8, rbx
cmovs r8, rcx
movzx r9d, al
cmovs r9, rdx
lea r8, [r8 + r9*2]
cmp r14, r8
je 0x140012e82
test rdi, rdi
je 0x140012e20
movzx eax, word [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140012e60
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
jmp 0x140012e6c
mov r8, qword [rdi]
mov rcx, rdi
mov edx, eax
call qword [r8 + 0x60]
cmp ax, 0xffff
jne 0x140012e74
xor edi, edi
movzx eax, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
jmp 0x140012e22
mov qword [rsi], rdi
test al, al
jns 0x140012e95
mov rdx, qword [rbp - 0x10]
add rdx, rdx
call fcn.140030bc0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.140025040
int3

Function at 0x1400311bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031206
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031206
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031206
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031206
cmp dword [rcx + 0x84], 0xe
jbe 0x140031206
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140031208
xor al, al
add rsp, 0x28
ret

Function at 0x1400441c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400441e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400441e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14004e6a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140047db0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14004e741
cmp ebx, dword [rsp + 0x30]
je 0x14004e73a
test esi, esi
je 0x14004e73a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14004e715
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14004e722
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14004e6ff
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14004e726
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14004e743
mov eax, 1
jmp 0x14004e743
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004f678
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004f6ff
mov rsi, rbx
cmp word [rax], bp
je 0x14004f6be
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14004f6a8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004f6a4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004a99c
mov rdi, rax
test rax, rax
je 0x14004f6ec
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400331b0
mov rbp, rdi
xor ecx, ecx
call fcn.140047474
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140052b64
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140052b7a
mov al, 1
jmp 0x140052bda
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140052b8b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140052bd8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14004edd0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140052bd8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140052bd8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140052bd8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140052bda
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005360c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140079ba0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140053663
cmp word [rdx], r13w
jne 0x140053663
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140053668
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005378d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400537ae
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400536a1
mov rdx, r9
mov word [rbx], cx
jmp 0x1400536c8
cmp r9, r8
jae 0x1400536d8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140053682
jmp 0x14005378d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140053782
cmp dword [rsp + 0x80], esi
je 0x140053782
lea r8, [0x140079ba0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005375a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005372a
mov word [rbx], r13w
jmp 0x14005378a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140053737
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005378a
cmp word [rsp + 0x70], r13w
jne 0x140053767
cmp rbx, r14
je 0x140053724
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140053b7c
cmp word [rsp + 0x70], r13w
je 0x14005378d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140079ba0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140053787
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005378d
Function at 0x14005953c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140053b7c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140053b7c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14005968c
cmp rax, 0xffffffffffffffff
je 0x14005968c
xor edi, edi
test rbp, rbp
jle 0x140059637
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400473fc
mov rbx, rax
test rax, rax
jne 0x1400595c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14005962d
mov edx, 0x8000
mov ecx, r14d
call fcn.14003f284
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140051d9c
cmp eax, 0xffffffff
je 0x14005960d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400595d4
mov edx, r15d
mov ecx, r14d
call fcn.14003f284
jmp 0x14005962d
cmp byte [rsi + 0x38], dil
je 0x140059624
cmp dword [rsi + 0x34], 5
jne 0x140059624
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14005962d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140047474
jmp 0x1400596a0
jns 0x1400596a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140053b7c
cmp rax, 0xffffffffffffffff
jne 0x140059658
cmp byte [rsi + 0x30], dil
je 0x1400596a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400596a0
mov ecx, r14d
call fcn.14004edd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400596a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400596a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140059699
mov eax, dword [rsi + 0x2c]
jmp 0x14005969e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140053b7c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000114b
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x14000116e
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001199
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001192
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret
Function at 0x140005a50
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r8, str.http:__www.novapdf.com_uninstall_reason.php
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret

Function at 0x140005b50
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x540
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0xc6
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x60], di
call fcn.14000fdf0
lea rcx, [rsp + 0x132]
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x130], di
call fcn.14000fdf0
lea r9, [rbx + 0xa0]
lea r8, str.SoftwareSoftland_
lea rdx, str._s_s
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x130]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140005c4b
lea r8, [0x140024b78]
lea rdx, str.Language_s
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140005c6c
call fcn.14000aea0
test rax, rax
je 0x140005c6c
call fcn.14000aea0
lea rdx, str.PdfsInstaller.DeleteNovaLanguage__cannot_delete_key__error___d
mov r8d, ebx
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14000fd60
mov rbx, qword [rsp + 0x558]
add rsp, 0x540
pop rdi
ret
Function at 0x140005c90
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x540
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0xc6
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x60], di
call fcn.14000fdf0
lea rcx, [rsp + 0x132]
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x130], di
call fcn.14000fdf0
lea r9, [rbx + 0xa0]
lea r8, str.SoftwareSoftland_
lea rdx, str._s_s
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x130]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140005d8b
lea r8, [0x140024b78]
lea rdx, str.RegionalSettingLanguage_s
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140005dac
call fcn.14000aea0
test rax, rax
je 0x140005dac
call fcn.14000aea0
lea rdx, str.PdfsInstaller.DeleteLanguageRegSetting__cannot_delete_key__error___d
mov r8d, ebx
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14000fd60
mov rbx, qword [rsp + 0x558]
add rsp, 0x540
pop rdi
ret
Function at 0x140005f90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rsi
sub rsp, 0xa60
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0xa50], rax
xor esi, esi
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x7fe
mov dword [rsp + 0x48], 0x400
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x50], si
call fcn.14000fdf0
mov edx, esi
lea rcx, str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rdx, 2
mov word [rsp + rdx + 0x84e], ax
test ax, ax
jne 0x140005fe0
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x850]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006199
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.Path
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006199
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xa70], rbx
mov qword [rsp + 0xa78], rdi
call fcn.140010700
lea rdx, str.SYSTEM32WBEM
lea rcx, [rsp + 0x50]
call fcn.14000fedc
test rax, rax
je 0x1400060d2
nop dword [rax + rax]
lea rcx, [rax + 2]
lea rdx, str.SYSTEM32WBEM
mov rbx, rax
call fcn.14000fedc
test rax, rax
jne 0x140006090
test rbx, rbx
je 0x1400060d2
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 0xd
jbe 0x140006189
cmp word [rbx + 0x1a], 0x3b
je 0x140006189
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
add rcx, 0x18
cmp rcx, 0x400
ja 0x140006189
mov r9d, dword [rsp + 0x4c]
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
mov rax, qword [str.__SystemRoot_SYSTEM32WBEM]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x140024d10]
lea rdx, str.Path
mov qword [rdi + 6], rax
mov rax, qword [0x140024d18]
xor r8d, r8d
mov qword [rdi + 0xe], rax
mov rax, qword [0x140024d20]
mov qword [rdi + 0x16], rax
mov rax, qword [0x140024d28]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x140024d30]
mov qword [rdi + 0x26], rax
mov rax, qword [0x140024d38]
mov qword [rdi + 0x2e], rax
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0xa70]
mov rdi, qword [rsp + 0xa78]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400061a9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
lea edx, [r9 + 0x1a]
mov ecx, 0xffff
mov dword [rsp + 0x28], 0xfa0
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.14000fd60
add rsp, 0xa60
pop rsi
ret
Function at 0x140006770
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebx, ebx
mov rsi, rcx
lea rbp, str.SoftwareSoftland_
mov ecx, ebx
nop
movzx eax, word [rcx + rbp]
add rcx, 2
mov word [rsp + rcx + 0x1e], ax
test ax, ax
jne 0x1400067a0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rsi + rcx + 0xa0]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x1400067c2
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [str.Printers_]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x1400256b0]
mov qword [rdi + 6], rax
mov eax, dword [0x1400256b8]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400256bc]
mov word [rdi + 0x12], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140006820
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x140006860
call fcn.14000aea0
test rax, rax
je 0x140006890
call fcn.14000aea0
lea rdx, str.PdfsInstaller.DeleteRegistrySettings__did_NOT_to_delete_registry_keys_from:___s_
jmp 0x140006876
call fcn.14000aea0
test rax, rax
je 0x140006890
call fcn.14000aea0
lea rdx, str.PdfsInstaller.DeleteRegistrySettings__deleted_registry_keys_from:___s_
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.14000ac50
nop word [rax + rax]
movzx eax, word [rbx + rbp]
add rbx, 2
mov word [rsp + rbx + 0x1e], ax
test ax, ax
jne 0x140006890
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rsi + rcx + 0xa0]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x1400068b2
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [str.Printers_]
lea rdx, [rsp + 0x20]
mov qword [rdi - 2], rax
mov rax, qword [0x1400256b0]
mov rcx, 0xffffffff80000001
mov qword [rdi + 6], rax
mov eax, dword [0x1400256b8]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400256bc]
mov word [rdi + 0x12], ax
call qword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov rcx, rsi
mov edi, eax
call fcn.140005b50
mov rcx, rsi
call fcn.140005c90
mov eax, edi
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14000fd60
mov rbx, qword [rsp + 0x260]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007020
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x680
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x3fe
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x270], di
call fcn.14000fdf0
lea r8, [0x140025ce0]
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy07C9EF18_AAB1_43EF_8617_74434E4FA1_s
lea rcx, [rsp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x270]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x1400071ba
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9d, [rdi + 4]
lea rdx, str.Policy
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
lea rax, [0x140023c10]
lea r9d, [rdi + 1]
lea rdx, str.AppName
xor r8d, r8d
mov dword [rsp + 0x28], 0x1a
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8, [rbx + 0x370]
cmp qword [r8 + 0x18], 8
jb 0x140007138
mov r8, qword [r8]
lea rdx, [0x140025be8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
lea rdx, str.AppPath
mov r9d, 1
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.14000aea0
test rax, rax
je 0x1400071ad
call fcn.14000aea0
lea r8, [rsp + 0x270]
lea rdx, str.PdfsInstaller.WriteRegClientElavation__elavation_key___s
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400071db
call fcn.14000aea0
test rax, rax
je 0x1400071db
call fcn.14000aea0
lea rdx, str.PdfsInstaller.WriteRegClientElavation__cannot_open_key__error___d
mov r8d, edi
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14000fd60
mov rbx, qword [rsp + 0x698]
add rsp, 0x680
pop rdi
ret

Function at 0x140007c50
Capabilities:
Check if file exists
Check os version
Copy file
Get common file path
Move file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1ca0
call fcn.14000fd90
sub rsp, rax
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x1ca8], rbx
mov rax, qword [0x140030118]
xor rax, rbp
mov qword [rbp + 0x1c50], rax
mov r12, rcx
mov qword [rbp + 8], rcx
mov byte [rbp + 1], dl
xor edi, edi
lea rcx, [rbp + 0x6e2]
xor edx, edx
mov r8d, 0x206
mov qword [rbp + 0x18], r9
mov dword [rbp + 4], edi
mov word [rbp + 0x6e0], di
call fcn.14000fdf0
lea rcx, [rbp + 0xd12]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0xd10], di
call fcn.14000fdf0
lea rcx, [rbp + 0x1242]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1240], di
mov ebp, 0x1240
Function at 0x14000ac50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1060
call fcn.14000fd90
sub rsp, rax
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp qword [rcx], 0xffffffffffffffff
mov rbx, rcx
je 0x14000ad04
lea r8, [rsp + 0x1080]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x1058], rdi
call fcn.140011980
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
repne scasw ax, word [rdi]
mov eax, dword [0x140028108]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], eax
movzx eax, word [0x14002810c]
mov word [rdi + 2], ax
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
mov qword [rsp + 0x20], rax
not rcx
lea r8d, [rcx + rcx - 2]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x1058]
test eax, eax
jne 0x14000ad04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000fd60
add rsp, 0x1060
pop rbx
ret