joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d4e8
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x88
mov rax, qword [0x140076580]
xor rax, rsp
mov qword [rbp + 0x17], rax
and qword [rbp - 0x31], 0
mov rdi, rdx
mov byte [rdx], 0
mov r15, r9
mov rax, qword [0x140036170]
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov r14, r8
mov rsi, rcx
call qword [sym.imp.ntdll.dll_RtlLookupElementGenericTableAvl]
nop dword [rax + rax]
test rax, rax
je 0x14000d5b7
cmp qword [rax + 8], 0
je 0x14000d5b7
and qword [rbp - 0x31], 0
lea rdx, [rbp - 0x39]
mov bl, 1
mov rcx, rsi
mov byte [rdi], bl
mov rax, qword [0x140036150]
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntdll.dll_RtlLookupElementGenericTableAvl]
nop dword [rax + rax]
test rax, rax
je 0x14000d6ab
cmp qword [rax + 8], 0
je 0x14000d6ab
lea rdx, str.You_cannot_specify_the__np_option_when_providing_a_memory_limit._n
xor ecx, ecx
call fcn.14000169c
mov edx, 0x650
mov rcx, qword [rbp + 0x5f]
lea r8, str.onecoreprintscan_appxpackaging_toolsmakeappx_srcmakeappx.cpp
mov ebx, 0x80070057
mov byte [r15], 0
mov r9d, ebx
call fcn.140002204
mov eax, ebx
jmp 0x14000d6ad
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], 0x40
xor edi, edi
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop dword [rax + rax]
test eax, eax
je 0x14000d5e4
mov rdi, qword [rbp - 0x21]
mov bl, 1
mov rax, rdi
shr rax, 1
jmp 0x14000d5e9
mov eax, 0x40000000
mov qword [r14], rax
lea rdx, [rbp - 0x39]
mov rax, qword [0x140036150]
mov rcx, rsi
and qword [rbp - 0x31], 0
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntdll.dll_RtlLookupElementGenericTableAvl]
nop dword [rax + rax]
test rax, rax
je 0x14000d69a
cmp qword [rax + 8], 0
je 0x14000d69a
mov rax, qword [0x140036150]
lea rdx, [rbp - 0x39]
and qword [rbp - 0x31], 0
mov rcx, rsi
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntdll.dll_RtlLookupElementGenericTableAvl]
nop dword [rax + rax]
test rax, rax
jne 0x14000d64b
xor ecx, ecx
jmp 0x14000d64f
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000d682
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcstoui64]
nop dword [rax + rax]
mov qword [r14], rax
test bl, bl
je 0x14000d6ab
cmp rax, rdi
jbe 0x14000d6ab
lea rdx, str.You_have_specified_a_memory_limit_larger_than_your_physical_memory._This_may_result_in_poor_performance._n
xor ecx, ecx
call fcn.1400016f8
jmp 0x14000d6ab
lea rdx, str.You_must_specify_a_value_when_providing_the__ml_parameter._n
xor ecx, ecx
call fcn.14000169c
mov edx, 0x67a
jmp 0x14000d594
mov r8, qword [r14]
lea rdx, str.Memory_limit_defaulting_to__1_I64u__bytes._n
xor ecx, ecx
call fcn.1400014f4
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400338b0
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400138c0
Capabilities:
Delete file

Disassembly:
test rcx, rcx
je 0x140013902
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400138e4
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov edx, 8
mov rcx, rbx
call fcn.140033d70
add rsp, 0x20
pop rbx
ret

Function at 0x140013ed8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call fcn.140020728
test eax, eax
js 0x140013f0f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140013f0f
test al, 0x10
jne 0x140013f0f
mov bl, 1
mov rcx, qword [rsp + 0x38]
call fcn.140033d70
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x140013f28
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call fcn.140020728
test eax, eax
js 0x140013f5f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140013f5f
test al, 0x10
je 0x140013f5f
mov bl, 1
mov rcx, qword [rsp + 0x38]
call fcn.140033d70
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x140014270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and qword [r8], 0
mov rdi, rdx
and qword [rax + 0x18], 0
lea rdx, [rax + 0x18]
mov ebp, ecx
mov rsi, r8
mov rcx, rdi
call fcn.140020728
mov rcx, qword [rsp + 0x40]
test eax, eax
jns 0x1400142c7
call fcn.140033d70
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call fcn.140033d70
cmp ebx, 0xffffffff
je 0x1400142af
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, ebp
mov rcx, rdi
call fcn.140013f78
mov ebx, eax
test eax, eax
jns 0x140014315
lea r8, str._CanOverwrite_outputPath__overwrite__canOverwrite__
xor r9d, r9d
mov edx, ebx
mov cl, 1
call fcn.14000153c
mov eax, ebx
jmp 0x1400142b1
cmp dword [rsp + 0x40], 0
jne 0x14001434a
lea rdx, str.Package_creation_was_canceled._n
xor ecx, ecx
call fcn.1400014f4
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreprintscan_appxpackaging_toolsmakeappx_srcpackagebuilder.cpp
mov ebx, 0x80004004
mov edx, 0x87
mov r9d, ebx
call fcn.140002204
jmp 0x140014311
mov rdx, rsi
mov rcx, rdi
call fcn.140014050
mov ebx, eax
test eax, eax
jns 0x1400142af
lea r8, str._CreateTempFilePath_outputPath__tempOutputPath__
jmp 0x140014305
Function at 0x140014370
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
mov edi, ecx
test ecx, ecx
js 0x1400143de
test r9b, r9b
je 0x14001448c
mov r8d, Ordinal_12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001448c
mov rcx, rbx
call fcn.14002024c
test al, al
je 0x1400143c4
mov edi, 0x800700ce
jmp 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140020728
mov rcx, qword [rsp + 0x20]
test eax, eax
jns 0x140014401
call fcn.140033d70
jmp 0x14001446f
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.140033d70
cmp ebx, 0xffffffff
je 0x14001446f
mov ebx, 1
lea rdx, str.Cleaning_up_output_file___1_._n
mov ecx, ebx
mov r8, rsi
call fcn.1400014f4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001446f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edx, ax
lea r8, str.The_output_file_cant_be_deleted._n
or edx, 0x80070000
mov ecx, ebx
test eax, eax
cmovle edx, eax
call fcn.140001670
test edi, edi
jns 0x14001448c
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreprintscan_appxpackaging_toolsmakeappx_srcpackagebuilder.cpp
mov r9d, edi
mov edx, 0xba
call fcn.140002204
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400202b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call fcn.140020728
test eax, eax
js 0x1400202e2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x38]
call fcn.140033d70
mov al, bl
add rsp, 0x20
pop rbx
ret
Function at 0x140023e00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor r14d, r14d
mov bpl, dl
mov rdi, rcx
test rcx, rcx
jne 0x140023e47
lea edx, [rcx + 0x18]
mov rcx, qword [rsp + 0x68]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_filesystemhelper.cpp
mov ebx, 0x80070057
mov r9d, ebx
call fcn.140002204
jmp 0x140023ff6
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140023e4e
mov r15d, 0x5c
cmp word [rcx + rax*2 - 2], r15w
jne 0x140023e71
test bpl, bpl
je 0x140023e71
lea edx, [r15 - 0x43]
jmp 0x140023e29
lea rax, [rsp + 0x20]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
lea rax, fcn.140031bf0
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x20], xmm0
call fcn.140032250
mov ebx, eax
test eax, eax
jns 0x140023ebe
mov r9d, eax
mov edx, 0x25
jmp 0x140023fb5
test bpl, bpl
jne 0x140023ef8
mov rax, rsi
inc rax
cmp word [rdi + rax*2], r14w
jne 0x140023ec6
cmp word [rdi + rax*2 - 2], r15w
je 0x140023ef8
mov edx, r15d
lea rcx, [rsp + 0x38]
call fcn.1400319b8
mov ebx, eax
test eax, eax
jns 0x140023ef8
mov r9d, eax
mov edx, 0x29
jmp 0x140023fb5
mov rdi, qword [rsp + 0x28]
inc rsi
cmp word [rdi + rsi*2], r14w
jne 0x140023efd
lea rbx, [rdi + rsi*2]
mov sil, r14b
cmp rbx, rdi
jbe 0x140023f63
sub rbx, 2
cmp word [rbx], r15w
jne 0x140023f5e
cmp word [rbx - 2], 0x3a
je 0x140023f63
xor edx, edx
mov word [rbx], r14w
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140023f50
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x140023f55
mov sil, 1
jmp 0x140023f5a
cmp eax, 3
jne 0x140023f9b
mov word [rbx], r15w
test sil, sil
je 0x140023f0e
cmp word [rbx], r14w
je 0x140023fe4
lea rbx, [rbx + 2]
movzx eax, word [rbx]
cmp ax, r15w
jne 0x140023f96
xor edx, edx
mov word [rbx], r14w
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140023fc8
mov word [rbx], r15w
mov eax, r15d
test ax, ax
jmp 0x140023f67
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140023fe7
mov r9d, ebx
mov edx, 0x4f
mov rcx, qword [rsp + 0x68]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_filesystemhelper.cpp
call fcn.140002204
jmp 0x140023fe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140023fe7
mov ebx, r14d
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140023ff6
call fcn.140033d70
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140024174
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140076580]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x104
mov rsi, r9
mov rbp, r8
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x1400241db
mov rcx, qword [rsp + 0x298]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_filesystemhelper.cpp
mov edx, 0x84
call fcn.140020c04
jmp 0x140024305
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400241e4
test rax, rax
je 0x140024212
lea rax, [rsp + rax*2 + 0x4e]
jmp 0x140024208
cmp word [rax], 0x5c
jne 0x140024212
mov word [rax], r14w
sub rax, 2
lea rcx, [rsp + 0x50]
cmp rax, rcx
jae 0x1400241fa
lea r9, [rsp + 0x40]
mov qword [rsi], r14
mov r8, rdi
mov qword [rsp + 0x40], r14
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400244bc
mov edi, eax
test eax, eax
jns 0x140024269
cmp qword [0x140076ca8], r14
je 0x14002425f
xor r9d, r9d
lea r8, str.CreateTempFileName_tempRootFolder__fileNamePrefix__fileNameExtension__tempFileName_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], r14
je 0x14002425f
call fcn.140001754
mov rbx, qword [rsp + 0x40]
jmp 0x1400242f4
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x100
mov rcx, rbx
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400242b7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov r8, rbp
mov dl, 1
mov rcx, rbx
call fcn.14002401c
mov edi, eax
test eax, eax
jns 0x1400242e8
cmp qword [0x140076ca8], r14
je 0x1400242f4
xor r9d, r9d
lea r8, str._FileSystemHelper::GetFileStream_tempFileName__true__tempFileStream__
mov edx, eax
mov cl, 1
call fcn.14000153c
jmp 0x1400242f4
mov rax, rbx
mov edi, r14d
mov qword [rsi], rax
mov rbx, r14
mov rcx, rbx
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400338b0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027bc0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r15d, r15d
lea r9, [rax - 0x30]
mov qword [rax - 0x30], r15
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140027894
mov edi, eax
test eax, eax
jns 0x140027c32
cmp qword [0x140076ca8], r15
je 0x140027ccd
xor r9d, r9d
lea r8, str.ExtractMainResourcePriForCollection_packages__count__mainResourcesPriFile_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], r15
je 0x140027ccd
call fcn.140001754
jmp 0x140027ccd
mov esi, r15d
test ebp, ebp
je 0x140027cca
mov r12, qword [rsp + 0xa0]
mov r15, qword [r14]
lea r8, [rsp + 0x40]
and qword [rsp + 0x40], 0
xor edx, edx
mov rcx, qword [r15 + 8]
call fcn.14002401c
mov edi, eax
test eax, eax
js 0x140027d3f
mov rax, qword [r13]
mov rcx, qword [rsp + 0x98]
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rax, qword [rax]
mov rdx, qword [r15]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov rcx, r13
call qword [0x140037098]
xor r15d, r15d
mov edi, eax
test eax, eax
js 0x140027d13
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140027cbc
mov qword [rsp + 0x40], r15
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
inc esi
add r14, 0x10
cmp esi, ebp
jb 0x140027c45
mov edi, r15d
cmp qword [rsp + 0x48], r15
je 0x140027ce5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, edi
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [0x140076ca8], r15
je 0x140027d5e
xor r9d, r9d
lea r8, str.PopulateResourcesPriDumpAndMainPackageExemptedManifestEntriesForPackage__mappingFileElement__GetKey____packageStream.Get____mainResourcesPriFile.GetFileName____allPriDumps__makepriExeFullPath_
mov edx, eax
mov cl, 1
call fcn.14000153c
cmp qword [0x140076ca8], r15
je 0x140027d5e
call fcn.140001754
jmp 0x140027d5e
xor r15d, r15d
cmp qword [0x140076ca8], r15
je 0x140027d5e
xor r9d, r9d
lea r8, str._FileSystemHelper::GetFileStream_mappingFileElement__GetValue____false__packageStream__
mov edx, eax
mov cl, 1
call fcn.14000153c
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140027ccd
mov qword [rsp + 0x40], r15
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
jmp 0x140027ccd
Function at 0x14002b0e8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdi, rdx
mov dword [rsp + 0x70], 0x68
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b18b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.Failed_invoke_MakePri.exe_to_dump_resources.pri._n
mov ecx, 1
mov edi, eax
call fcn.14001f2d0
jmp 0x14002b1db
mov rcx, qword [rsp + 0x50]
mov edx, 0x13880
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14002b1ac
mov edi, 0x80004005
jmp 0x14002b1db
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
jne 0x14002b1d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.Failed_invoke_MakePri.exe_has_timed_out.
jmp 0x14002b17d
xor edi, edi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002b1f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002b207
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
jns 0x14002b235
mov rcx, qword [rsp + 0xe8]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_fileexemptionbuilderbase.cpp
mov r9d, ebx
mov edx, 0x5cb
call fcn.140002204
mov eax, ebx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x140033bb8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140076b90], eax
call fcn.140033ee0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140076b90], 0
jne case.default.0x140033c0e
mov ecx, 1
call fcn.140033ee0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
jnp 0x1400aaeed
push qword [rsi]
mov ebx, dword [rbx + 0x54b39547]
mov ebx, dword ss:[rbx + 0x54b39547]
rol dword [rbp - 3], cl
cdq
mov al, 0x45
jns 0x1400aaf09
mov word [0x184ae567a], es
pushfq
invalid
push rdx
adc al, 0xd1
push rcx
sub byte [rax], dh
or ah, byte [rsi - 0x18a7798a]
stc
sbb dword [rdi + 0x27], 0xfffffffe
jmp [rbx - 0x28e0b1c3]
Function at 0x4149e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414b86
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430ac0
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414a4b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414a60
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x414a85
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414a99
cmp rbx, 0x1000
jae 0x414a55
nop dword [rax]
jmp 0x414b09
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x414aad
xor edx, edx
jmp 0x414b00
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430ac0
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x414a8f
jmp 0x414a74
call fcn.0045fa40
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435000
lea rax, [0x004ac7af]
mov ebx, 0x18
call fcn.00435900
mov rax, qword [rsp + 0x38]
call fcn.00435600
lea rax, [0x004ac86f]
mov ebx, 0x19
call fcn.00435900
mov rax, qword [rsp + 0x30]
nop
call fcn.00435600
call fcn.00435260
call fcn.00435080
lea rax, [0x004aea26]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.004336c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bea0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004149e0
Function at 0x414bc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414dea
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430b40
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414c39
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414c4c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414c70
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x414c84
cmp rbx, 0x1000
jae 0x414c43
jmp 0x414d05
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414c96
xor esi, esi
jmp 0x414cf6
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430b40
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x414c7a
nop
jmp 0x414c62
call fcn.0045fa40
xorps xmm15, xmm15
mov r14, qword [0x005984a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414d85
call fcn.00435000
lea rax, [0x004acc3e]
mov ebx, 0x19
call fcn.00435900
mov rax, qword [rsp + 0x68]
call fcn.00435600
lea rax, [0x004ac86f]
mov ebx, 0x19
call fcn.00435900
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435600
call fcn.00435260
call fcn.00435080
lea rax, [0x004a9877]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.004336c0
cmp eax, 0x5af
je 0x414d28
call fcn.00435000
lea rax, [0x004acc3e]
mov ebx, 0x19
nop dword [rax]
call fcn.00435900
mov rax, qword [rsp + 0x38]
call fcn.00435600
lea rax, [0x004ac86f]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435900
mov eax, dword [rsp + 0x34]
call fcn.00435600
call fcn.00435260
call fcn.00435080
lea rax, [0x004ae33a]
mov ebx, 0x1f
call fcn.004336c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bea0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414bc0