joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044278
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 [0x1402c8c10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400442c3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400442cc
call fcn.14001ef50
test eax, eax
je 0x1400442e8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400442f0
xor eax, eax
jmp 0x140044355
test rbx, rbx
jne 0x140044310
lea rcx, str.ImageList_GetImageCount
call fcn.14001ebac
mov rbx, rax
test rax, rax
je 0x140044323
mov qword [0x1402c8c10], rax
mov rcx, rbx
call fcn.1401b760c
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 0x140044338
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004433a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140044353
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 0x140048dcc
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 0x140048dfd
call fcn.14002b960
mov rdi, qword [rax + 0x18]
lea r8, [0x140215150]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140048e1c
xor eax, eax
jmp 0x140048e68
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140048e18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140048e5d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140048e84
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 0x1400c1f94
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 [0x1402cb520]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400c1fdf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400c1fe8
call fcn.14001ef50
test eax, eax
je 0x1400c2004
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c200c
xor eax, eax
jmp 0x1400c2071
test rbx, rbx
jne 0x1400c202c
lea rcx, str.ImageList_Destroy
call fcn.14001ebac
mov rbx, rax
test rax, rax
je 0x1400c203f
mov qword [0x1402cb520], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1400c2054
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c2056
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c206f
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
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400feb96
xor eax, eax
add rsp, 0x28
ret
call fcn.1400feba8
mov rcx, rax
add rsp, 0x28
jmp 0x1400c1f94
Function at 0x1400d4f7c
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 [0x1402cbb68]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400d4fda
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400d4fe3
call fcn.14001ef50
test eax, eax
je 0x1400d4fff
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400d5009
movzx eax, r13w
jmp 0x1400d507a
test rbx, rbx
jne 0x1400d5029
lea rcx, str.GetFileTitleW
call fcn.1400d4ee8
mov rbx, rax
test rax, rax
je 0x1400d5045
mov qword [0x1402cbb68], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1400d505c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400d505e
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d5077
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 0x1400d8fa4
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 0x1400d8fcd
mov rdi, qword [rdx + 0x10]
jmp 0x1400d901e
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 0x1400d8fee
call fcn.140027588
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400d9008
call fcn.140027588
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400d901e
call fcn.140027588
call fcn.14002b960
cmp qword [rax + 0x68], 0
je 0x1400d9038
mov rdx, rdi
mov rcx, rbp
call fcn.1400d839c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400d92a4
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400d905f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400d906e
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 0x1400d9438
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 [0x1402cbb78]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400d9484
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400d948d
call fcn.14001ef50
test eax, eax
je 0x1400d94a9
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d94b4
xor eax, eax
jmp 0x1400d9543
test r14, r14
jne 0x1400d94d1
lea rcx, str.CreatePropertySheetPageW
call fcn.1400d9750
test rax, rax
je 0x1400d950e
mov qword [0x1402cbb78], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400d94f2
cmp dword [rdi], 0x60
jb 0x1400d94f2
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402bd120]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1402cbb78]
mov rcx, rbx
call fcn.1401b760c
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 0x1400d9525
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d9527
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400d9540
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 0x1400d955c
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 [0x1402cbb80]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400d95a7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400d95b0
call fcn.14001ef50
test eax, eax
je 0x1400d95cc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d95d4
xor eax, eax
jmp 0x1400d9639
test rbx, rbx
jne 0x1400d95f4
lea rcx, str.DestroyPropertySheetPage
call fcn.1400d9750
mov rbx, rax
test rax, rax
je 0x1400d9607
mov qword [0x1402cbb80], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1400d961c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d961e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d9637
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 0x1400d9650
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 [0x1402cbb88]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400d969f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400d96a8
call fcn.14001ef50
test eax, eax
je 0x1400d96c4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d96ce
or rax, 0xffffffffffffffff
jmp 0x1400d9738
test rbx, rbx
jne 0x1400d96ee
lea rcx, str.PropertySheetW
call fcn.1400d9750
mov rbx, rax
test rax, rax
je 0x1400d9703
mov qword [0x1402cbb88], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1400d971a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d971c
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d9735
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 0x1400ff384
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 [0x1402cc008]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1400ff3e1
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1400ff3ea
call fcn.14001ef50
test eax, eax
je 0x1400ff406
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400ff411
xor eax, eax
jmp 0x1400ff4a4
test rbx, rbx
jne 0x1400ff431
lea rcx, str.ImageList_LoadImageW
call fcn.14001ebac
mov rbx, rax
test rax, rax
je 0x1400ff470
mov qword [0x1402cc008], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1400ff486
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400ff488
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ff4a1
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 0x140116ad4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140116ca4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x140116ce6
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x140117170
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140117242
test rbx, rbx
je 0x140117248
test r9, r9
je 0x14011724e
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011722b
cmp dword [rsp + 0x48], 3
jne 0x14011722b
test eax, eax
jne 0x14011722b
cmp dword [rdi], eax
je 0x14011722b
mov ecx, dword [rdi]
call fcn.14001044c
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011721f
cmp dword [rsp + 0x48], 3
jne 0x14011721f
test eax, eax
jne 0x14011721f
mov eax, 1
jmp 0x14011722d
mov rcx, qword [rbx]
call fcn.140010454
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140026068
int3
call fcn.140026068
int3
call fcn.140026068
int3

Function at 0x140117680
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140117691
xor eax, eax
jmp 0x1401176bf
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1401176c8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401176d9
xor eax, eax
jmp 0x1401176fd
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14015f3f0
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 [0x1402cd5f8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x14015f43b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x14015f444
call fcn.14001ef50
test eax, eax
je 0x14015f460
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015f468
xor eax, eax
jmp 0x14015f4cd
test rbx, rbx
jne 0x14015f488
lea rcx, str.ChooseColorW
call fcn.1400d4ee8
mov rbx, rax
test rax, rax
je 0x14015f49b
mov qword [0x1402cd5f8], rax
mov rcx, rbx
call fcn.1401b760c
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 0x14015f4b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015f4b2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015f4cb
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 0x14016aa24
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 [0x1402cda10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x14016aa6f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x14016aa78
call fcn.14001ef50
test eax, eax
je 0x14016aa94
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14016aa9c
xor eax, eax
jmp 0x14016ab01
test rbx, rbx
jne 0x14016aabc
lea rcx, str.GetOpenFileNameW
call fcn.1400d4ee8
mov rbx, rax
test rax, rax
je 0x14016aacf
mov qword [0x1402cda10], rax
mov rcx, rbx
call fcn.1401b760c
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 0x14016aae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14016aae6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016aaff
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 0x14016ab18
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 [0x1402cda18]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x14016ab63
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x14016ab6c
call fcn.14001ef50
test eax, eax
je 0x14016ab88
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14016ab90
xor eax, eax
jmp 0x14016abf5
test rbx, rbx
jne 0x14016abb0
lea rcx, str.GetSaveFileNameW
call fcn.1400d4ee8
mov rbx, rax
test rax, rax
je 0x14016abc3
mov qword [0x1402cda18], rax
mov rcx, rbx
call fcn.1401b760c
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 0x14016abd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14016abda
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016abf3
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 0x1401b6c74
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 [0x1402ceb78]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c4e40]
test eax, eax
je 0x1401b6cbf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c4e40]
test eax, eax
jne 0x1401b6cc8
call fcn.14001ef50
test eax, eax
je 0x1401b6ce4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401b6cec
xor eax, eax
jmp 0x1401b6d51
test rbx, rbx
jne 0x1401b6d0c
lea rcx, str.PrintDlgW
call fcn.1400d4ee8
mov rbx, rax
test rax, rax
je 0x1401b6d1f
mov qword [0x1402ceb78], rax
mov rcx, rbx
call fcn.1401b760c
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 0x1401b6d34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401b6d36
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401b6d4f
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