joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f710
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
je 0x14004f767
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f778
lea rdx, str.DeleteFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14004f778
mov rcx, rax
call fcn.1402821f0
mov rdx, qword [rbx]
mov rcx, rdi
call rsi
jmp 0x14004f77a
cmp dword [rcx + 8], 0
je 0x14004f778
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14004f77a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14004fb00
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14004fb75
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004fb89
lea rdx, str.MoveFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14004fb89
mov rcx, rax
call fcn.1402821f0
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rbp
mov dword [rsp + 0x20], 2
mov rdx, rsi
call rdi
jmp 0x14004fb8b
cmp dword [rcx + 8], 0
je 0x14004fb89
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14004fb8b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14004fe94
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x14004feb2
mov rdx, rcx
mov rcx, rax
call fcn.14004f710
jmp 0x14004feb8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004fecc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.14010dd20
add rsp, 0x20
pop rbx
ret

Function at 0x14004fed4
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
test r8, r8
je 0x14004fef5
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call fcn.14004fb00
jmp 0x14004fefb
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14004ff0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.14010dd20
add rsp, 0x20
pop rbx
ret
Function at 0x140050560
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx esi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x140420338]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x14041c514]
test eax, eax
je 0x1400505be
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x1400505c7
call fcn.1400087bc
test eax, eax
je 0x1400505e3
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400505ed
movzx eax, r13w
jmp 0x14005065e
test rbx, rbx
jne 0x14005060d
lea rcx, str.GetFileTitleW
call fcn.1400504cc
mov rbx, rax
test rax, rax
je 0x140050629
mov qword [0x140420338], rax
mov rcx, rbx
call fcn.1402821f0
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx esi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp si, r13w
sete bl
test ebx, ebx
je 0x140050640
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140050642
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005065b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140057cb8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140420710]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x140057d03
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x140057d0c
call fcn.1400087bc
test eax, eax
je 0x140057d28
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140057d30
xor eax, eax
jmp 0x140057d95
test rbx, rbx
jne 0x140057d50
lea rcx, str.ImageList_GetImageCount
call fcn.14001e2ec
mov rbx, rax
test rax, rax
je 0x140057d63
mov qword [0x140420710], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140057d78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140057d7a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140057d93
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14005e70c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x14005e73d
call fcn.140030a38
mov rdi, qword [rax + 0x18]
lea r8, [0x1403109b0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14005e75c
xor eax, eax
jmp 0x14005e7a8
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14005e758
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14005e79d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14005e7c4
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400ea37c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140422fa0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x1400ea3c7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x1400ea3d0
call fcn.1400087bc
test eax, eax
je 0x1400ea3ec
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ea3f4
xor eax, eax
jmp 0x1400ea459
test rbx, rbx
jne 0x1400ea414
lea rcx, str.ImageList_Destroy
call fcn.14001e2ec
mov rbx, rax
test rax, rax
je 0x1400ea427
mov qword [0x140422fa0], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400ea43c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ea43e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ea457
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400fc334
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1400fc35d
mov rdi, qword [rdx + 0x10]
jmp 0x1400fc3ae
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400fc37e
call fcn.140036c84
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400fc398
call fcn.140036c84
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400fc3ae
call fcn.140036c84
call fcn.140030a38
cmp qword [rax + 0x68], 0
je 0x1400fc3c8
mov rdx, rdi
mov rcx, rbp
call fcn.1400fb5c4
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400fc780
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400fc3ef
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400fc3fe
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400fc914
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x140423108]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x1400fc960
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x1400fc969
call fcn.1400087bc
test eax, eax
je 0x1400fc985
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400fc990
xor eax, eax
jmp 0x1400fca1f
test r14, r14
jne 0x1400fc9ad
lea rcx, str.CreatePropertySheetPageW
call fcn.1400fcc2c
test rax, rax
je 0x1400fc9ea
mov qword [0x140423108], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400fc9ce
cmp dword [rdi], 0x60
jb 0x1400fc9ce
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140412028]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x140423108]
mov rcx, rbx
call fcn.1402821f0
mov rcx, rdi
call rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1400fca01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400fca03
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400fca1c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400fca38
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140423110]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x1400fca83
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x1400fca8c
call fcn.1400087bc
test eax, eax
je 0x1400fcaa8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400fcab0
xor eax, eax
jmp 0x1400fcb15
test rbx, rbx
jne 0x1400fcad0
lea rcx, str.DestroyPropertySheetPage
call fcn.1400fcc2c
mov rbx, rax
test rax, rax
je 0x1400fcae3
mov qword [0x140423110], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400fcaf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400fcafa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400fcb13
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400fcb2c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x140423118]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x1400fcb7b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x1400fcb84
call fcn.1400087bc
test eax, eax
je 0x1400fcba0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400fcbaa
or rax, 0xffffffffffffffff
jmp 0x1400fcc14
test rbx, rbx
jne 0x1400fcbca
lea rcx, str.PropertySheetW
call fcn.1400fcc2c
mov rbx, rax
test rax, rax
je 0x1400fcbdf
mov qword [0x140423118], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1400fcbf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400fcbf8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400fcc11
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400fe6c0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rsi, r8
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140009f70
nop
cmp rbx, 0xffffffff80000000
jne 0x1400fe759
call fcn.140030ab4
cmp eax, 1
jne 0x1400fe759
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x60]
call fcn.14000f460
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000a7e0
nop
mov r14, qword [rsp + 0x60]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400fe752
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
test rsi, rsi
je 0x1400fe770
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
call fcn.14000fe48
jmp 0x1400fe77e
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebp, eax
mov rsi, qword [rsp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400fe7ae
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1400fea14
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14, r8
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140009f70
nop
cmp rbx, 0xffffffff80000000
jne 0x1400feaaf
call fcn.140030ab4
cmp eax, 1
jne 0x1400feaaf
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.14000f460
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000a7e0
nop
mov rsi, qword [rsp + 0x20]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400feaa8
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov r9, rbp
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebp, eax
mov rsi, qword [rsp + 0x50]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400feaf3
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400feb08
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14d, r8d
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140009f70
nop
cmp rbx, 0xffffffff80000000
jne 0x1400feba3
call fcn.140030ab4
cmp eax, 1
jne 0x1400feba3
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.14000f460
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000a7e0
nop
mov rsi, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400feb9c
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9, rbp
mov r8d, r14d
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebp, eax
mov rsi, qword [rsp + 0x60]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400febf2
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1402821f0
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14010ef20
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
je 0x14010ef81
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010ef94
lea rdx, str.SetFileAttributesTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14010ef94
mov rcx, rax
call fcn.1402821f0
mov r8, qword [rbx]
mov edx, esi
mov rcx, rbp
call rdi
jmp 0x14010ef96
cmp dword [rcx + 8], 0
je 0x14010ef94
mov edx, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14010ef96
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140116b34
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140423290]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x140116b7f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x140116b88
call fcn.1400087bc
test eax, eax
je 0x140116ba4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140116bac
xor eax, eax
jmp 0x140116c11
test rbx, rbx
jne 0x140116bcc
lea rcx, str.GetOpenFileNameW
call fcn.1400504cc
mov rbx, rax
test rax, rax
je 0x140116bdf
mov qword [0x140423290], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140116bf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140116bf6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140116c0f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140116c28
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140423298]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14041c514]
test eax, eax
je 0x140116c73
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14041c514]
test eax, eax
jne 0x140116c7c
call fcn.1400087bc
test eax, eax
je 0x140116c98
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140412028]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140116ca0
xor eax, eax
jmp 0x140116d05
test rbx, rbx
jne 0x140116cc0
lea rcx, str.GetSaveFileNameW
call fcn.1400504cc
mov rbx, rax
test rax, rax
je 0x140116cd3
mov qword [0x140423298], rax
mov rcx, rbx
call fcn.1402821f0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140116ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140116cea
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140116d03
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret