joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004624
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007cf50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14007c8a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14007cf99
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401aa010]
jmp 0x14007cfa8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x140004be2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140059c10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140059c30
xor al, al
jmp 0x140059cb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140059c43
xor al, al
jmp 0x140059cb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140059c6d
xor al, al
jmp 0x140059cb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140059c81
xor al, al
jmp 0x140059cb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140059c93
xor al, al
jmp 0x140059cb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140059caf
xor al, al
jmp 0x140059cb1
mov al, 1
add rsp, 0x38
ret

Function at 0x140004c5a
Capabilities:
Create directory

Disassembly:
jmp 0x14003afb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, MsiDatabaseCommit
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x24], 1
xor edx, edx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14003b030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
je 0x14003b030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
lea rdx, str.Unable_to_create_directory_:__s___Reason_:__d.
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140002f45
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
add rsp, 0x30
pop rdi
ret
Function at 0x140004c64
Capabilities:
Get common file path

Disassembly:
jmp 0x140019fb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x338
mov rdi, rsp
mov ecx, 0xce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x350]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x328], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rsp + 0x258]
call fcn.1400044c6
nop
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x358]
call fcn.1400015be
mov qword [rsp + 0x310], rax
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x258]
call fcn.140003535
lea rcx, [rsp + 0x280]
call fcn.140004e17
jmp 0x14001a071
xor r8d, r8d
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x258]
call fcn.140003f5d
lea rcx, [rsp + 0x298]
call fcn.140004e17
lea rdx, [rsp + 0x2b8]
mov rcx, qword [rsp + 0x358]
call fcn.140002be4
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x258]
call fcn.1400038d7
mov byte [rsp + 0x2b0], al
lea rcx, [rsp + 0x2b8]
call fcn.140004e17
movzx eax, byte [rsp + 0x2b0]
test eax, eax
je 0x14001a1d9
lea rcx, [rsp + 0x258]
call fcn.140004a11
xor r9d, r9d
mov r8d, dword [rax + 0x28]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14001a143
lea rcx, [rsp + 0x258]
call fcn.140004a11
lea rcx, [rsp + 0x2e0]
mov rdi, rcx
mov rsi, rax
mov ecx, MsiEnumProductsW
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x2e0]
lea rdx, str.Unable_to_find_system_path_:__s
mov rax, qword [rsp + 0x350]
mov rcx, qword [rax + 8]
call fcn.1400028b0
jmp 0x14001a1d4
lea rcx, [rsp + 0x30]
call fcn.140004a7a
movzx eax, word [rsp + rax*2 + 0x2e]
cmp eax, 0x5c
je 0x14001a1a6
lea rcx, [rsp + 0x30]
call fcn.140004a7a
lea rax, [rax + rax + 2]
mov qword [rsp + 0x2d0], rax
cmp qword [rsp + 0x2d0], 0x208
jae 0x14001a17e
jmp 0x14001a183
call fcn.1400035b2
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
mov word [rsp + rcx + 0x30], ax
lea rcx, [rsp + 0x30]
call fcn.140004a7a
mov ecx, MsiPreviewBillboardW
mov word [rsp + rax*2 + 0x30], cx
lea rcx, [rsp + 0x258]
call fcn.140004a11
mov rcx, qword [rsp + 0x350]
add rcx, 0x18
mov rdx, rax
call fcn.140004e30
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400039f9
jmp 0x14001a04c
lea rcx, [rsp + 0x258]
call fcn.140004e17
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x338
pop rdi
pop rsi
ret
Function at 0x140004e58
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
jmp 0x140042ed0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rdi, rsp
mov ecx, 0xb4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x64], 1
movzx eax, word [0x14014d84c]
mov word [rsp + 0x80], ax
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r8d, 0x104
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea r8, str.RaftEula.rtf
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.14000187a
cmp dword [rsp + 0x64], 0
je 0x14004307b
lea r8, [0x14014dda8]
mov edx, MsiRecordIsNull
mov rcx, qword [0x140195698]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140195698]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004307b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140195698]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140043073
mov dword [rsp + 0x2a4], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2a4]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 1
jmp 0x14004307b
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov eax, edi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x2d0
pop rdi
ret
Function at 0x140004e67
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x140034ff0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rsp
mov ecx, MsiEnumComponentsW
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140004a7a
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add eax, 2
mov eax, eax
mov qword [rsp + 0x88], rax
mov eax, 2
mov rcx, qword [rsp + 0x88]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140004a7a
inc rax
mov rcx, qword [rsp + 0xa0]
mov r8, qword [rcx]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.1400031e3
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], cx
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140003959
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov eax, 0x414
mov word [rsp + 0x58], ax
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140003c47
mov eax, dword [rsp + 0x74]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401489e0]
call fcn.140005466
mov eax, edi
add rsp, 0x90
pop rdi
ret

Function at 0x140004fcf
Capabilities:
Terminate process

Disassembly:
jmp 0x1400bf9e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400bfa0e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14000519b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140005209
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007cee0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14007c860
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14007cf1f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401aa010]
jmp 0x14007cf29
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400055a1
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14004f2d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov rdi, rsp
mov ecx, MsiSourceListClearAllW
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x340]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rcx, qword [rsp + 0x348]
call fcn.140003567
mov r8, rax
lea rdx, str.Checking_if_folder__s_is_empty_or_not.
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax]
call fcn.14000222a
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x298], 0xffffffffffffffff
lea rcx, [rsp + 0x2a8]
call fcn.1400036c5
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1401543dc]
mov rcx, qword [rsp + 0x348]
call fcn.1400046a6
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x348]
call fcn.140003323
dec rax
cmp qword [rsp + 0x2d8], rax
jne 0x14004f3ae
mov rcx, qword [rsp + 0x348]
call fcn.140003323
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x348]
call fcn.140003468
lea r8, [0x140154e04]
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x2e0]
call fcn.1400024dc
mov qword [rsp + 0x318], rax
mov rcx, qword [rsp + 0x318]
call fcn.140003567
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0x2e0]
call fcn.1400049d0
cmp qword [rsp + 0x298], 0xffffffffffffffff
je 0x14004f471
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x2a8]
call fcn.140003198
lea rdx, [0x14015493c]
lea rcx, [rsp + 0x2a8]
call fcn.140003c88
test eax, eax
je 0x14004f44f
lea rdx, [0x140154e60]
lea rcx, [rsp + 0x2a8]
call fcn.140003c88
test eax, eax
jne 0x14004f453
jmp 0x14004f45a
mov byte [rsp + 0x20], 0
jmp 0x14004f471
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004f40d
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x310], al
lea rcx, [rsp + 0x2a8]
call fcn.1400049d0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400049d0
movzx eax, byte [rsp + 0x310]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov eax, edi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x330
pop rdi
ret
Function at 0x1400057db
Capabilities:
Query environment variable

Disassembly:
jmp 0x140103590
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 esi, esi
mov rbx, rax
test rax, rax
je 0x14010362d
mov rbp, rax
cmp word [rax], si
je 0x1401035d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401035c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401035bc
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.14000308a
mov rdi, rax
test rax, rax
je 0x140103618
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140004bc9
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.140004ff7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000599d
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400359d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x33a0
call fcn.14000105f
sub rsp, rax
mov rdi, rsp
mov ecx, 0xce8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x33b0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x3398], rax
mov dword [rsp + 0x3140], 1
lea r8, [rsp + 0x1084]
mov edx, 0x1040
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x140035a48
xor eax, eax
jmp 0x140035c87
mov eax, dword [rsp + 0x1084]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x1094], eax
mov dword [rsp + 0x1098], 0
jmp 0x140035a7d
mov eax, dword [rsp + 0x1098]
inc eax
mov dword [rsp + 0x1098], eax
mov eax, dword [rsp + 0x1094]
cmp dword [rsp + 0x1098], eax
jae 0x140035c85
mov eax, dword [rsp + 0x1098]
cmp dword [rsp + rax*4 + 0x30], 0
je 0x140035c80
mov eax, dword [rsp + 0x1098]
mov r8d, dword [rsp + rax*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x3138], rax
cmp qword [rsp + 0x3138], 0
jne 0x140035ad1
jmp 0x140035a6d
mov dword [rsp + 0x3140], 1
lea r9, [rsp + 0x1084]
mov r8d, 0x2080
lea rdx, [rsp + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140035c72
mov eax, 8
imul rax, rax, 0
mov r9d, 0x104
mov r8, qword [rsp + 0x33d0]
mov rdx, qword [rsp + rax + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32GetModuleBaseNameW
mov rcx, qword [rsp + 0x33d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140035c72
cmp dword [rsp + 0x33c0], 0
je 0x140035b7e
mov rcx, qword [rsp + 0x33b8]
call fcn.140003567
mov rdx, qword [rsp + 0x33d0]
mov rcx, rax
call fcn.140002b99
test eax, eax
jne 0x140035b7e
mov eax, 1
jmp 0x140035c87
cmp dword [rsp + 0x33c8], 0
je 0x140035c72
mov dword [rsp + 0x109c], 0
jmp 0x140035ba9
mov eax, dword [rsp + 0x109c]
inc eax
mov dword [rsp + 0x109c], eax
mov eax, dword [rsp + 0x109c]
mov qword [rsp + 0x3388], rax
mov ecx, dword [rsp + 0x1084]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x3388]
cmp rcx, rax
jae 0x140035c72
mov eax, dword [rsp + 0x109c]
mov r9d, 0x104
lea r8, [rsp + 0x3160]
mov rdx, qword [rsp + rax*8 + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140035c6d
mov dx, MsiPreviewBillboardW
lea rcx, [rsp + 0x3160]
call fcn.14000155a
mov qword [rsp + 0x3378], rax
cmp qword [rsp + 0x3378], 0
je 0x140035c6d
mov rax, qword [rsp + 0x3378]
add rax, 2
mov qword [rsp + 0x3390], rax
mov rcx, qword [rsp + 0x33b8]
call fcn.140003567
mov rcx, qword [rsp + 0x3390]
mov rdx, rcx
mov rcx, rax
call fcn.140002b99
test eax, eax
jne 0x140035c6d
mov eax, 1
jmp 0x140035c87
jmp 0x140035b99
mov rcx, qword [rsp + 0x3138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140035a6d
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140148bd0]
call fcn.140005466
mov rax, rdi
mov rcx, qword [rsp + 0x3398]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x33a0
pop rdi
ret
Function at 0x140012090
Capabilities:
Delete registry key

Disassembly:
jmp 0x140012090
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6d0
mov rdi, rsp
mov ecx, 0x1b4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6e0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x6c8], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov eax, dword [0x140138254]
mov dword [rsp + 0x270], eax
lea rax, [rsp + 0x274]
mov rdi, rax
xor eax, eax
mov ecx, 0x204
rep stosb byte [rdi], al
lea rax, [rsp + 0x4a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x6f0]
mov rcx, qword [rsp + 0x700]
call fcn.140004115
mov qword [rsp + 0x6b8], rax
mov rax, qword [rsp + 0x6b8]
movzx eax, word [rax]
test eax, eax
je 0x140012202
mov r8, qword [rsp + 0x6f8]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14000252c
mov rcx, qword [rsp + 0x6f0]
call fcn.140004a7a
mov rcx, qword [rsp + 0x700]
lea rax, [rcx + rax*2]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14000187a
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x40]
call fcn.140004115
lea rcx, [rsp + 0x40]
cmp rax, rcx
jne 0x1400121eb
lea rcx, [rsp + 0x270]
call fcn.140004a7a
lea rax, [rsp + rax*2 + 0x40]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x4a0]
call fcn.14000252c
jmp 0x140012202
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x4a0]
call fcn.14000252c
lea rcx, [rsp + 0x4a0]
call fcn.140004a7a
test rax, rax
je 0x14001225d
xor r9d, r9d
mov r8d, 0xf013f
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x6e8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x4a0]
lea r8, str.Deleting_key
lea rdx, str.___AcroSup64__DeleteDestKey_:
mov rax, qword [rsp + 0x6e0]
mov ecx, dword [rax + 8]
call fcn.14000267b
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14013a070]
call fcn.140005466
mov eax, edi
mov rcx, qword [rsp + 0x6c8]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x6d0
pop rdi
ret
Function at 0x14001afc0
Capabilities:
Get common file path

Disassembly:
jmp 0x14001afc0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rdi, rsp
mov ecx, reloc.msi.dll_MsiDatabaseIsTablePersistentA
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x290]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdx, str.Executing_DeletePrinterDriverMonitor::
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 8]
call fcn.14000222a
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8025
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14001b071
lea rdx, str._Failed_to_retrieve_system_path.
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 8]
call fcn.140002f45
xor al, al
jmp 0x14001b163
lea r8, str.printui.dll
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400021b2
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14001b151
lea rdx, str.PrintUIEntryW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001b0d4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14001b163
lea rdx, str.Adobe_PDF
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x10]
call fcn.1400018e3
test eax, eax
je 0x14001b10a
lea rdx, str.Successfully_cancelled_Adobe_pdf_printer_jobs.
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 8]
call fcn.1400051a0
jmp 0x14001b122
lea rdx, str.Failed_to_cancel_Adobe_pdf_printer_jobs.
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 8]
call fcn.140002f45
xor r9d, r9d
lea r8, str._dl__n__Adobe_PDF___q
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x38]
xor r9d, r9d
lea r8, str._dd__m__Adobe_PDF_Converter___q
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, str.Adobe_PDF_Port
xor edx, edx
xor ecx, ecx
call sub.WINSPOOL.DRV_DeleteMonitorW
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14013fff0]
call fcn.140005466
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x280
pop rdi
ret
Function at 0x140034ff0
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x140034ff0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rsp
mov ecx, MsiEnumComponentsW
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140004a7a
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add eax, 2
mov eax, eax
mov qword [rsp + 0x88], rax
mov eax, 2
mov rcx, qword [rsp + 0x88]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140004f34
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.140004a7a
inc rax
mov rcx, qword [rsp + 0xa0]
mov r8, qword [rcx]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.1400031e3
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], cx
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140003959
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov eax, 0x414
mov word [rsp + 0x58], ax
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140003c47
mov eax, dword [rsp + 0x74]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401489e0]
call fcn.140005466
mov eax, edi
add rsp, 0x90
pop rdi
ret

Function at 0x140035130
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
jmp 0x140035130
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, MsiDatabaseCommit
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0
mov edx, 0x80
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003519b
mov r8d, 4
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret