joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a6d28
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, qword [rcx + 8]
mov r9d, 2
cmp qword [rdx + 0x10], r9
jb 0x1400a6dc7
cmp qword [rdx + 0x18], 8
mov rax, rdx
jb 0x1400a6d5a
mov rax, qword [rdx]
cmp word [rax + 2], 0x3a
jne 0x1400a6dc7
xor eax, eax
mov qword [rsp + 0x38], 7
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], ax
call fcn.14000f3cc
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x38]
cmp eax, 4
sete bl
cmp rdx, 8
jb 0x1400a6dc3
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
call fcn.14000c220
mov al, bl
jmp 0x1400a6dc9
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d24e0
add rsp, 0x50
pop rbx
ret

Function at 0x1400a6e4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x18], 8
mov rbx, r8
mov r10, qword [r8 + 0x10]
mov rdi, rdx
mov rsi, rcx
mov r9, r8
jb 0x1400a6e7a
mov r9, qword [r8]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x1400a6eaa
movzx eax, byte [r8 + r9]
movabs rcx, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, rcx
cmp r8, r10
jb 0x1400a6e8c
mov rax, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x18]
and rax, rdx
add rax, rax
mov r11, qword [rcx + rax*8 + 8]
cmp r11, qword [rsi + 8]
je 0x1400a6ee7
mov rbp, qword [rcx + rax*8]
jmp 0x1400a6ed2
cmp r11, rbp
je 0x1400a6ee7
mov r11, qword [r11 + 8]
lea rdx, [r11 + 0x10]
mov rcx, rbx
call fcn.140011a8c
test al, al
je 0x1400a6ec9
test r11, r11
jne 0x1400a6eeb
mov r11, qword [rsi + 8]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi], r11
add rsp, 0x20
pop rdi
ret
Function at 0x1400a7240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r12, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x1400a742d
mov rsi, qword [r12 + 8]
lea rax, [rdx - 1]
or rax, 1
lea rdi, [r12 + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rsi
inc ecx
shl rbx, cl
mov rcx, rdi
lea rdx, [rbx + rbx]
call fcn.140030dd0
mov qword [r12 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r12 + 0x30], rax
mov r11, qword [r12 + 8]
mov r11, qword [r11]
mov rbx, r11
cmp r11, rsi
je 0x1400a73d9
mov rbx, qword [rbx]
lea r15, [r11 + 0x10]
cmp qword [r15 + 0x18], 8
mov r8, r15
mov r9, qword [r15 + 0x10]
jb 0x1400a72e7
mov r8, qword [r15]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x1400a7316
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x1400a72f8
mov r14, qword [r12 + 0x30]
mov rbp, qword [rdi]
and r14, rcx
add r14, r14
cmp qword [rbp + r14*8], rsi
jne 0x1400a733a
mov qword [rbp + r14*8], r11
mov qword [rbp + r14*8 + 8], r11
jmp 0x1400a73cd
mov rdi, qword [rbp + r14*8 + 8]
mov rcx, r15
lea rdx, [rdi + 0x10]
call fcn.140011a8c
test al, al
je 0x1400a737f
mov r8, qword [rdi]
cmp r8, r11
je 0x1400a7378
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8 + 8], r11
jmp 0x1400a73c8
mov r13, rdi
jmp 0x1400a739b
mov rdi, qword [rdi + 8]
mov rcx, r15
mov r13, rdi
lea rdx, [rdi + 0x10]
call fcn.140011a8c
test al, al
jne 0x1400a7407
cmp qword [rbp + r14*8], rdi
jne 0x1400a7384
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r13
mov rax, qword [r13 + 8]
mov qword [rax], r11
mov qword [r13 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8], r11
lea rdi, [r12 + 0x18]
mov r11, rbx
cmp rbx, rsi
jne 0x1400a72cf
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400a7440
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rdi]
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400a73c8
lea rcx, str.invalid_hash_bucket_count
call fcn.140014358
int3
Function at 0x1400a7518
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbp, r8
mov r15, rdx
mov r9, rcx
cmp rdx, r8
je 0x1400a76bf
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r12, qword [rcx + 0x18]
lea rcx, [rdx + 0x10]
cmp qword [rcx + 0x18], 8
mov r14, qword [rdx + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x80], rax
jb 0x1400a7568
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
add r10, r10
je 0x1400a7598
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r10
jb 0x1400a7584
mov r13, qword [r9 + 0x30]
and r13, rdx
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x78], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.14000f870
mov edx, 0x50
mov rcx, rbx
call fcn.14000c220
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x1400a7603
cmp rsi, rbp
jne 0x1400a75b8
cmp qword [rsp + 0x78], r15
jne 0x1400a76b8
mov qword [r12 + r13*8], rsi
jmp 0x1400a76b8
cmp qword [rsp + 0x78], r15
jne 0x1400a761b
mov rdx, qword [rsp + 0x80]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x1400a761e
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
cmp rsi, rbp
je 0x1400a76b8
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 8
mov r10, qword [rcx + 0x10]
jb 0x1400a763e
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x1400a7673
movabs r8, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x1400a765a
mov r8, qword [rsp + 0x70]
mov r15, qword [r8 + 0x30]
and r15, rdx
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.14000f870
mov edx, 0x50
mov rcx, rbx
call fcn.14000c220
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x1400a76d4
cmp rsi, rbp
jne 0x1400a7682
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
jmp 0x1400a7623
Function at 0x1400b7068
Capabilities:
Copy file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [r11 - 0x50]
call fcn.1400c3050
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400b70aa
mov rbx, qword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1400c3050
cmp qword [rax + 0x18], 8
jb 0x1400b70c1
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
sete bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400b70fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400b712a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.14000c220
test bl, bl
jne 0x1400b7150
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
call fcn.1400b6d78
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
or rdx, rbx
movabs rax, 0x62a00000000
or rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000df28
lea rdx, [0x14016b5e8]
lea rcx, [rsp + 0x48]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x1400c2360
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
test rcx, rcx
jne 0x1400c23a2
lea ecx, [rax + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400c2427
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], ax
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.14000954c
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.1400c3168
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c23e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
mov ebx, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400c2425
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.14000c220
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x1400c25a4
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14d, edx
mov rsi, rcx
mov r12d, 1
mov ebx, r12d
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c2617
mov rcx, rsi
call fcn.1400c2360
mov eax, r12d
jmp 0x1400c27ed
test byte [rsp + 0x50], 0x10
jne 0x1400c2662
test r14d, r14d
je 0x1400c2637
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test ebx, ebx
jne 0x1400c260f
test r14d, r14d
je 0x1400c260f
jmp 0x1400c2607
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov r13d, 0x250
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edi, edi
test r14d, r14d
je 0x1400c27d2
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.14000954c
nop
lea rdx, [0x140129818]
lea rcx, [rsp + 0x28]
call fcn.14000f338
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400c2798
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.14000954c
lea rdx, [0x14010c9f0]
lea rcx, [rsp + 0x28]
call fcn.14000f338
cmp word [rsp + 0x7c], 0x2e
jne 0x1400c2735
cmp word [rsp + 0x7e], di
je 0x1400c276d
cmp word [rsp + 0x7c], 0x2e
jne 0x1400c2735
cmp word [rsp + 0x7e], 0x2e
jne 0x1400c2735
cmp word [rbp - 0x80], di
je 0x1400c276d
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x28]
call fcn.14000f338
test ebx, ebx
je 0x1400c276b
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov r8d, r12d
mov edx, r14d
call fcn.1400c25a4
test eax, eax
mov ebx, r12d
jne 0x1400c276d
mov ebx, edi
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c26f2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.14000954c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400c27d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c27ed
mov rcx, rsi
call fcn.1400c2360
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c2920
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rsi, rcx
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400c2967
mov rax, qword [rdx]
xor r12d, r12d
mov qword [rdx + 0x10], r12
mov word [rax], r12w
mov r15d, 0x208
mov ecx, r15d
call fcn.14000c1bc
mov r14, rax
mov qword [rbp - 0x31], rax
lea rdi, [rax + 0x208]
mov qword [rbp - 0x21], rdi
mov r8d, r15d
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x29], rdi
mov rdx, r14
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c2a1b
lea edx, [rax + 0x5c]
lea rcx, str.admin_appman_appv_shared_system_file.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c29db
inc rax
jmp 0x1400c29e2
lea rax, str.admin_appman_appv_shared_system_file.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
or rsi, rbx
movabs rax, 0x7c2500000000
or rsi, rax
jmp 0x1400c2ab4
mov qword [rbp - 9], r12
mov r15d, 7
mov qword [rbp - 1], r15
mov word [rbp - 0x19], r12w
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.14000954c
nop
mov r8, rsi
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140011a3c
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400c2b00
mov rsi, rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400c2a75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
call fcn.14000c220
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r15
mov word [rbp + 7], r12w
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400c2a9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
call fcn.14000c220
mov rax, rsi
shr rax, 0x27
not eax
test al, 1
jne 0x1400c2ab4
movabs rsi, 0x8000000000
test r14, r14
je 0x1400c2acb
sub rdi, r14
sar rdi, 1
lea rdx, [rdi + rdi]
mov rcx, r14
call fcn.14000c220
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400c2dd0
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov r11, rcx
xor esi, esi
cmp qword [rcx + 0x10], rsi
je 0x1400c2f2a
cmp qword [rdx + 0x10], rsi
je 0x1400c2f2a
call fcn.140011a8c
test al, al
jne 0x1400c2f2a
mov rdx, r11
lea rcx, [rbp - 0x28]
call fcn.1400c3168
nop
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400c3168
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c2ed5
lea edx, [rsi + 0x5c]
lea rcx, str.admin_appman_appv_shared_system_file.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c2e98
inc rax
jmp 0x1400c2e9f
lea rax, str.admin_appman_appv_shared_system_file.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x962500000000
or rdi, rax
jmp 0x1400c2edf
movabs rdi, 0x8000000000
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c2efa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400c2f25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.14000c220
mov rax, rdi
jmp 0x1400c2f73
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_shared_system_file.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c2f4c
inc rax
jmp 0x1400c2f53
lea rax, str.admin_appman_appv_shared_system_file.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x952500000057
or rax, rcx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400113c0
Capabilities:
Terminate process

Disassembly:
jmp 0x140019310
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400114c9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a660
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a680
xor al, al
jmp 0x14001a701
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a693
xor al, al
jmp 0x14001a701
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 0x14001a6bd
xor al, al
jmp 0x14001a701
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a6d1
xor al, al
jmp 0x14001a701
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a6e3
xor al, al
jmp 0x14001a701
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a6ff
xor al, al
jmp 0x14001a701
mov al, 1
add rsp, 0x38
ret
Function at 0x140011726
Capabilities:
Open clipboard

Disassembly:
jmp 0x140015690
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002b0ff]
call fcn.1400116a9
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400156e0
lea rdx, str.Failed_to_open_clipboard.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110d7
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xor al, al
jmp 0x14001571a
mov ecx, 2
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400156fb
mov dword [rbp + 0xd4], 1
jmp 0x140015705
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov byte [rbp + 4], al
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
movzx eax, byte [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140018460
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116e5
movzx eax, al
test eax, eax
jne 0x140018480
mov ecx, 7
call fcn.1400115a5
nop
mov byte [rsp + 0x20], 0
call fcn.1400115dc
mov byte [rsp + 0x21], al
cmp dword [0x140025b78], 1
jne 0x1400184a4
mov ecx, 7
call fcn.1400115a5
nop
jmp 0x1400184fc
cmp dword [0x140025b78], 0
jne 0x1400184f7
mov dword [0x140025b78], 1
lea rdx, [0x140020660]
lea rcx, [0x140020330]
call fcn.140011334
test eax, eax
je 0x1400184d8
mov eax, 0xff
jmp 0x140018601
lea rdx, [0x140020220]
lea rcx, [section..rdata]
call fcn.1400115c8
mov dword [0x140025b78], 2
jmp 0x1400184fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011591
call fcn.1400114f1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140018559
mov rcx, qword [rsp + 0x30]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x140018559
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002c020]
nop
call fcn.14001153c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001858d
mov rcx, qword [rsp + 0x38]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x14001858d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011681
nop
call fcn.1400186b0
mov dword [rsp + 0x28], eax
call fcn.1400114c9
movzx eax, al
test eax, eax
jne 0x1400185ac
mov ecx, dword [rsp + 0x28]
call fcn.140011096
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400185bb
call fcn.140011690
nop
xor edx, edx
mov cl, 1
call fcn.140011276
mov eax, dword [rsp + 0x28]
jmp 0x140018601
add rsp, 0x68
ret