joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0bc8
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], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d0c1a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d0c23
call fcn.1400b5b88
test eax, eax
je 0x1400d0c3f
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400d0c47
xor eax, eax
jmp 0x1400d0c9f
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400d0c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400d0c83
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d0c9c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x1400d2e04
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 0x1400d2e2d
mov rdi, qword [rdx + 0x10]
jmp 0x1400d2e7e
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 0x1400d2e4e
call fcn.1400bfcb4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400d2e68
call fcn.1400bfcb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400d2e7e
call fcn.1400bfcb4
call fcn.1400b7f28
cmp qword [rax + 0x68], 0
je 0x1400d2e98
mov rdx, rdi
mov rcx, rbp
call fcn.1400d2110
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400d3104
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400d2ebf
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400d2ece
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 0x1400d3298
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 [0x1406dac80]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d32e4
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d32ed
call fcn.1400b5b88
test eax, eax
je 0x1400d3309
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d3314
xor eax, eax
jmp 0x1400d33a3
test r14, r14
jne 0x1400d3331
lea rcx, str.CreatePropertySheetPageW
call fcn.1400d35b0
test rax, rax
je 0x1400d336e
mov qword [0x1406dac80], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400d3352
cmp dword [rdi], 0x60
jb 0x1400d3352
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1406c9390]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1406dac80]
mov rcx, rbx
call fcn.14024d890
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 0x1400d3385
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d3387
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400d33a0
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 0x1400d33bc
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 [0x1406dac88]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d3407
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d3410
call fcn.1400b5b88
test eax, eax
je 0x1400d342c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d3434
xor eax, eax
jmp 0x1400d3499
test rbx, rbx
jne 0x1400d3454
lea rcx, str.DestroyPropertySheetPage
call fcn.1400d35b0
mov rbx, rax
test rax, rax
je 0x1400d3467
mov qword [0x1406dac88], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400d347c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d347e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d3497
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 0x1400d34b0
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 [0x1406dac90]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d34ff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d3508
call fcn.1400b5b88
test eax, eax
je 0x1400d3524
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d352e
or rax, 0xffffffffffffffff
jmp 0x1400d3598
test rbx, rbx
jne 0x1400d354e
lea rcx, str.PropertySheetW
call fcn.1400d35b0
mov rbx, rax
test rax, rax
je 0x1400d3563
mov qword [0x1406dac90], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400d357a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d357c
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d3595
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 0x1400d5ad0
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 [0x1406daca8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d5b1b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d5b24
call fcn.1400b5b88
test eax, eax
je 0x1400d5b40
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d5b48
xor eax, eax
jmp 0x1400d5bad
test rbx, rbx
jne 0x1400d5b68
lea rcx, str.GetOpenFileNameW
call fcn.1400bcf94
mov rbx, rax
test rax, rax
je 0x1400d5b7b
mov qword [0x1406daca8], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400d5b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d5b92
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d5bab
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 0x1400d5bc4
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 [0x1406dacb0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400d5c0f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400d5c18
call fcn.1400b5b88
test eax, eax
je 0x1400d5c34
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d5c3c
xor eax, eax
jmp 0x1400d5ca1
test rbx, rbx
jne 0x1400d5c5c
lea rcx, str.GetSaveFileNameW
call fcn.1400bcf94
mov rbx, rax
test rax, rax
je 0x1400d5c6f
mov qword [0x1406dacb0], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400d5c84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d5c86
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d5c9f
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 0x1400f3a10
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400f30fa
xor eax, eax
add rsp, 0x28
ret
call fcn.1400f310c
mov rcx, rax
add rsp, 0x28
jmp 0x1400f3a10
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 [0x1406db230]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400f3a5b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400f3a64
call fcn.1400b5b88
test eax, eax
je 0x1400f3a80
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f3a88
xor eax, eax
jmp 0x1400f3aed
test rbx, rbx
jne 0x1400f3aa8
lea rcx, str.ImageList_Destroy
call fcn.1400ca330
mov rbx, rax
test rax, rax
je 0x1400f3abb
mov qword [0x1406db230], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400f3ad0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f3ad2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f3aeb
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 0x1400f3b04
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 [0x1406db238]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400f3b61
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400f3b6a
call fcn.1400b5b88
test eax, eax
je 0x1400f3b86
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f3b91
xor eax, eax
jmp 0x1400f3c24
test rbx, rbx
jne 0x1400f3bb1
lea rcx, str.ImageList_LoadImageW
call fcn.1400ca330
mov rbx, rax
test rax, rax
je 0x1400f3bf0
mov qword [0x1406db238], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400f3c06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f3c08
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f3c21
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 0x140102be4
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 0x140102c15
call fcn.1400b7f28
mov rdi, qword [rax + 0x18]
lea r8, [0x140336158]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140102c34
xor eax, eax
jmp 0x140102c80
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140102c30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140102c75
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140102c9c
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 0x140105940
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 [0x1406db7e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x14010598b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x140105994
call fcn.1400b5b88
test eax, eax
je 0x1401059b0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401059b8
xor eax, eax
jmp 0x140105a1d
test rbx, rbx
jne 0x1401059d8
lea rcx, str.ImageList_GetImageCount
call fcn.1400ca330
mov rbx, rax
test rax, rax
je 0x1401059eb
mov qword [0x1406db7e8], rax
mov rcx, rbx
call fcn.14024d890
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 0x140105a00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140105a02
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140105a1b
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 0x140192024
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 0x1401921f4
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 0x140192236
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 0x1401926c0
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 0x140192792
test rbx, rbx
je 0x140192798
test r9, r9
je 0x14019279e
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 0x14019277b
cmp dword [rsp + 0x48], 3
jne 0x14019277b
test eax, eax
jne 0x14019277b
cmp dword [rdi], eax
je 0x14019277b
mov ecx, dword [rdi]
call fcn.1400b41f0
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 0x14019276f
cmp dword [rsp + 0x48], 3
jne 0x14019276f
test eax, eax
jne 0x14019276f
mov eax, 1
jmp 0x14019277d
mov rcx, qword [rbx]
call fcn.1400b41f8
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.1400b5624
int3
call fcn.1400b5624
int3
call fcn.1400b5624
int3

Function at 0x140192ac8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140192ad9
xor eax, eax
jmp 0x140192b07
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 0x140192b10
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140192b21
xor eax, eax
jmp 0x140192b45
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 0x1401f2f98
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 [0x1406df568]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1401f2fe3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1401f2fec
call fcn.1400b5b88
test eax, eax
je 0x1401f3008
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401f3010
xor eax, eax
jmp 0x1401f3075
test rbx, rbx
jne 0x1401f3030
lea rcx, str.ChooseColorW
call fcn.1400bcf94
mov rbx, rax
test rax, rax
je 0x1401f3043
mov qword [0x1406df568], rax
mov rcx, rbx
call fcn.14024d890
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 0x1401f3058
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401f305a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401f3073
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 0x1401f7b90
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 [0x1406df6b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1401f7bdb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1401f7be4
call fcn.1400b5b88
test eax, eax
je 0x1401f7c00
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401f7c08
xor eax, eax
jmp 0x1401f7c6d
test rbx, rbx
jne 0x1401f7c28
lea rcx, str.PrintDlgW
call fcn.1400bcf94
mov rbx, rax
test rax, rax
je 0x1401f7c3b
mov qword [0x1406df6b8], rax
mov rcx, rbx
call fcn.14024d890
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 0x1401f7c50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401f7c52
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401f7c6b
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