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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x14003b77e
mov rdx, rcx
mov rcx, rax
call fcn.14003b004
jmp 0x14003b784
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14003b798
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400607c0
add rsp, 0x20
pop rbx
ret

Function at 0x14003b7a0
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
test r8, r8
je 0x14003b7c1
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call fcn.14003b3d0
jmp 0x14003b7c7
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x14003b7db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400607c0
add rsp, 0x20
pop rbx
ret

Function at 0x14003bcf0
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 [0x1404858a8]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x14003bd4e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x14003bd57
call fcn.1400289d8
test eax, eax
je 0x14003bd73
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14003bd7d
movzx eax, r13w
jmp 0x14003bdee
test rbx, rbx
jne 0x14003bd9d
lea rcx, str.GetFileTitleA
call fcn.140039f10
mov rbx, rax
test rax, rax
je 0x14003bdb9
mov qword [0x1404858a8], rax
mov rcx, rbx
call fcn.1401e2d3c
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 0x14003bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14003bdd2
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003bdeb
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 0x140043300
Capabilities:
Delete registry key

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 0x140043373
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140043387
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140043387
mov rcx, rax
call fcn.1401e2d3c
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, rbp
call rdi
jmp 0x14004338c
cmp dword [rcx + 8], 0
je 0x140043387
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14004338c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140043b6c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x140043be6
xor r8d, r8d
call fcn.140043e38
mov rsi, rax
test rax, rax
jne 0x140043ba2
mov eax, edi
jmp 0x140043bfc
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x140043b9e
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140045ff0
Capabilities:
Extract resource via kernel32 functions

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
xor esi, esi
xor edi, edi
mov r15, r9
mov rbx, r8
mov r14, rdx
mov r12, rcx
test r8, r8
je 0x140046062
call fcn.14003c9e8
mov r8d, 0xf0
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140046062
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400460c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov ebp, 1
test rsi, rsi
je 0x14004609a
mov rcx, qword [r12]
mov rbx, qword [rcx + 0x40]
mov rcx, rbx
call fcn.1401e2d3c
mov r9, r15
mov r8, rsi
mov rdx, r14
mov rcx, r12
call rbx
mov ebp, eax
test rdi, rdi
je 0x14004609a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rdi, qword [r14 + 0xc8]
test rdi, rdi
je 0x1400460c0
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x140]
mov rcx, rbx
call fcn.1401e2d3c
mov rdx, r15
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140051064
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x14005066e
xor eax, eax
add rsp, 0x28
ret
call fcn.140050680
mov rcx, rax
add rsp, 0x28
jmp 0x140051064
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 [0x1404859e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x1400510af
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x1400510b8
call fcn.1400289d8
test eax, eax
je 0x1400510d4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400510dc
xor eax, eax
jmp 0x140051141
test rbx, rbx
jne 0x1400510fc
lea rcx, str.ImageList_Destroy
call fcn.1400283bc
mov rbx, rax
test rax, rax
je 0x14005110f
mov qword [0x1404859e8], rax
mov rcx, rbx
call fcn.1401e2d3c
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 0x140051124
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140051126
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005113f
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 0x140051158
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1404859f0]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x1400511b5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x1400511be
call fcn.1400289d8
test eax, eax
je 0x1400511da
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400511e5
xor eax, eax
jmp 0x140051278
test rbx, rbx
jne 0x140051205
lea rcx, str.ImageList_LoadImageA
call fcn.1400283bc
mov rbx, rax
test rax, rax
je 0x140051244
mov qword [0x1404859f0], rax
mov rcx, rbx
call fcn.1401e2d3c
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x14005125a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14005125c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140051275
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x14005169c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x1404822b4]
test eax, eax
je 0x1400516de
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x1400516e7
call fcn.1400289d8
test eax, eax
je 0x140051703
lea rdx, [rsp + 0x50]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14005170b
xor eax, eax
jmp 0x14005174f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140051732
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140051734
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005174d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140052664
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.14001bae4
nop
cmp rbx, 0xffffffff80000000
jne 0x1400526ff
call fcn.14003ca64
cmp eax, 1
jne 0x1400526ff
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.140042a58
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003d50
nop
mov rsi, qword [rsp + 0x20]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400526f8
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401e2d3c
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_RegQueryValueA]
mov ebp, eax
mov rsi, qword [rsp + 0x50]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x140052743
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401e2d3c
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 0x140052758
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.14001bae4
nop
cmp rbx, 0xffffffff80000000
jne 0x1400527f3
call fcn.14003ca64
cmp eax, 1
jne 0x1400527f3
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.140042a58
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003d50
nop
mov rsi, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400527ec
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401e2d3c
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_RegSetValueA]
mov ebp, eax
mov rsi, qword [rsp + 0x60]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x140052842
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401e2d3c
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 0x14005a4e0
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 0x14005a509
mov rdi, qword [rdx + 0x10]
jmp 0x14005a55a
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x14005a52a
call fcn.140036ac0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14005a544
call fcn.140036ac0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14005a55a
call fcn.140036ac0
call fcn.14003c9e8
cmp qword [rax + 0x68], 0
je 0x14005a574
mov rdx, rdi
mov rcx, rbp
call fcn.1400597ec
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14005a7e0
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14005a59b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14005a5aa
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 0x14005a974
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 [0x140485f20]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x14005a9c0
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x14005a9c9
call fcn.1400289d8
test eax, eax
je 0x14005a9e5
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005a9f0
xor eax, eax
jmp 0x14005aa7f
test r14, r14
jne 0x14005aa0d
lea rcx, str.CreatePropertySheetPageA
call fcn.14005ac8c
test rax, rax
je 0x14005aa4a
mov qword [0x140485f20], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14005aa2e
cmp dword [rdi], 0x60
jb 0x14005aa2e
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x14047a428]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x140485f20]
mov rcx, rbx
call fcn.1401e2d3c
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 0x14005aa61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005aa63
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14005aa7c
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 0x14005aa98
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 [0x140485f28]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x14005aae3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x14005aaec
call fcn.1400289d8
test eax, eax
je 0x14005ab08
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005ab10
xor eax, eax
jmp 0x14005ab75
test rbx, rbx
jne 0x14005ab30
lea rcx, str.DestroyPropertySheetPage
call fcn.14005ac8c
mov rbx, rax
test rax, rax
je 0x14005ab43
mov qword [0x140485f28], rax
mov rcx, rbx
call fcn.1401e2d3c
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 0x14005ab58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005ab5a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005ab73
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 0x14005ab8c
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 [0x140485f30]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x14005abdb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x14005abe4
call fcn.1400289d8
test eax, eax
je 0x14005ac00
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005ac0a
or rax, 0xffffffffffffffff
jmp 0x14005ac74
test rbx, rbx
jne 0x14005ac2a
lea rcx, str.PropertySheetA
call fcn.14005ac8c
mov rbx, rax
test rax, rax
je 0x14005ac3f
mov qword [0x140485f30], rax
mov rcx, rbx
call fcn.1401e2d3c
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 0x14005ac56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005ac58
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005ac71
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 0x140063d50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x140063d82
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140063d82
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140081a48
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140063d94
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140063dbf
mov r8, rdx
mov rdx, qword [rdi]
call fcn.140043300
jmp 0x140063e37
cmp byte [0x140485fd8], 0
jne 0x140063e06
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140063df6
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x140485fd0], rax
jmp 0x140063dfd
mov rbx, qword [0x140485fd0]
mov byte [0x140485fd8], 1
jmp 0x140063e0d
mov rbx, qword [0x140485fd0]
test rbx, rbx
je 0x140063e2b
mov rcx, rbx
call fcn.1401e2d3c
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x140063e37
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140069dac
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 [0x140485fe0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404822b4]
test eax, eax
je 0x140069df7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404822b4]
test eax, eax
jne 0x140069e00
call fcn.1400289d8
test eax, eax
je 0x140069e1c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14047a428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140069e24
xor eax, eax
jmp 0x140069e89
test rbx, rbx
jne 0x140069e44
lea rcx, str.PrintDlgA
call fcn.140039f10
mov rbx, rax
test rax, rax
je 0x140069e57
mov qword [0x140485fe0], rax
mov rcx, rbx
call fcn.1401e2d3c
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 0x140069e6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140069e6e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140069e87
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