joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036fe4
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 [0x1402811b0]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x140037042
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x14003704b
call fcn.1400098ac
test eax, eax
je 0x140037067
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140037071
movzx eax, r13w
jmp 0x1400370e2
test rbx, rbx
jne 0x140037091
lea rcx, str.GetFileTitleW
call fcn.140036f50
mov rbx, rax
test rax, rax
je 0x1400370ad
mov qword [0x1402811b0], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400370c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400370c6
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400370df
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 0x14003ba94
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 [0x140281580]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x14003badf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x14003bae8
call fcn.1400098ac
test eax, eax
je 0x14003bb04
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14003bb0c
xor eax, eax
jmp 0x14003bb71
test rbx, rbx
jne 0x14003bb2c
lea rcx, str.ImageList_GetImageCount
call fcn.14001a75c
mov rbx, rax
test rax, rax
je 0x14003bb3f
mov qword [0x140281580], rax
mov rcx, rbx
call fcn.1401ad654
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 0x14003bb54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14003bb56
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003bb6f
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 0x1400406bc
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 0x1400406ed
call fcn.14002a228
mov rdi, qword [rax + 0x18]
lea r8, [0x1401e3d30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14004070c
xor eax, eax
jmp 0x140040758
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140040708
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14004074d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140040774
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 0x1400b96d4
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 [0x140283e10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400b971f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400b9728
call fcn.1400098ac
test eax, eax
je 0x1400b9744
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400b974c
xor eax, eax
jmp 0x1400b97b1
test rbx, rbx
jne 0x1400b976c
lea rcx, str.ImageList_Destroy
call fcn.14001a75c
mov rbx, rax
test rax, rax
je 0x1400b977f
mov qword [0x140283e10], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400b9794
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400b9796
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400b97af
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 0x1400f16ea
xor eax, eax
add rsp, 0x28
ret
call fcn.1400f16fc
mov rcx, rax
add rsp, 0x28
jmp 0x1400b96d4

Function at 0x1400c5aac
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 0x1400c5ad5
mov rdi, qword [rdx + 0x10]
jmp 0x1400c5b26
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 0x1400c5af6
call fcn.14002df94
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400c5b10
call fcn.14002df94
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400c5b26
call fcn.14002df94
call fcn.14002a228
cmp qword [rax + 0x68], 0
je 0x1400c5b40
mov rdx, rdi
mov rcx, rbp
call fcn.1400c4db8
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400c5dac
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400c5b67
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400c5b76
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 0x1400c5f40
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 [0x140283f70]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400c5f8c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400c5f95
call fcn.1400098ac
test eax, eax
je 0x1400c5fb1
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c5fbc
xor eax, eax
jmp 0x1400c604b
test r14, r14
jne 0x1400c5fd9
lea rcx, str.CreatePropertySheetPageW
call fcn.1400c6258
test rax, rax
je 0x1400c6016
mov qword [0x140283f70], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400c5ffa
cmp dword [rdi], 0x60
jb 0x1400c5ffa
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140276428]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x140283f70]
mov rcx, rbx
call fcn.1401ad654
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 0x1400c602d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c602f
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400c6048
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 0x1400c6064
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 [0x140283f78]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400c60af
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400c60b8
call fcn.1400098ac
test eax, eax
je 0x1400c60d4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c60dc
xor eax, eax
jmp 0x1400c6141
test rbx, rbx
jne 0x1400c60fc
lea rcx, str.DestroyPropertySheetPage
call fcn.1400c6258
mov rbx, rax
test rax, rax
je 0x1400c610f
mov qword [0x140283f78], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400c6124
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c6126
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c613f
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 0x1400c6158
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 [0x140283f80]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400c61a7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400c61b0
call fcn.1400098ac
test eax, eax
je 0x1400c61cc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c61d6
or rax, 0xffffffffffffffff
jmp 0x1400c6240
test rbx, rbx
jne 0x1400c61f6
lea rcx, str.PropertySheetW
call fcn.1400c6258
mov rbx, rax
test rax, rax
je 0x1400c620b
mov qword [0x140283f80], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400c6222
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c6224
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c623d
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 0x1400cf8dc
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 [0x1402840f8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400cf927
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400cf930
call fcn.1400098ac
test eax, eax
je 0x1400cf94c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cf954
xor eax, eax
jmp 0x1400cf9b9
test rbx, rbx
jne 0x1400cf974
lea rcx, str.GetOpenFileNameW
call fcn.140036f50
mov rbx, rax
test rax, rax
je 0x1400cf987
mov qword [0x1402840f8], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400cf99c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cf99e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cf9b7
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 0x1400cf9d0
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 [0x140284100]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400cfa1b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400cfa24
call fcn.1400098ac
test eax, eax
je 0x1400cfa40
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cfa48
xor eax, eax
jmp 0x1400cfaad
test rbx, rbx
jne 0x1400cfa68
lea rcx, str.GetSaveFileNameW
call fcn.140036f50
mov rbx, rax
test rax, rax
je 0x1400cfa7b
mov qword [0x140284100], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400cfa90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cfa92
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cfaab
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 0x1400f1ed8
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 [0x140284568]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1400f1f35
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1400f1f3e
call fcn.1400098ac
test eax, eax
je 0x1400f1f5a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f1f65
xor eax, eax
jmp 0x1400f1ff8
test rbx, rbx
jne 0x1400f1f85
lea rcx, str.ImageList_LoadImageW
call fcn.14001a75c
mov rbx, rax
test rax, rax
je 0x1400f1fc4
mov qword [0x140284568], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1400f1fda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f1fdc
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f1ff5
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 0x140109978
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 0x140109b48
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 0x140109b8a
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 0x14010a014
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 0x14010a0e6
test rbx, rbx
je 0x14010a0ec
test r9, r9
je 0x14010a0f2
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 0x14010a0cf
cmp dword [rsp + 0x48], 3
jne 0x14010a0cf
test eax, eax
jne 0x14010a0cf
cmp dword [rdi], eax
je 0x14010a0cf
mov ecx, dword [rdi]
call fcn.140006080
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 0x14010a0c3
cmp dword [rsp + 0x48], 3
jne 0x14010a0c3
test eax, eax
jne 0x14010a0c3
mov eax, 1
jmp 0x14010a0d1
mov rcx, qword [rbx]
call fcn.140006088
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.1400060ec
int3
call fcn.1400060ec
int3
call fcn.1400060ec
int3

Function at 0x14010a41c
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010a475
xor eax, eax
jmp 0x14010a499
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 0x140159670
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 [0x140285c50]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1401596bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1401596c4
call fcn.1400098ac
test eax, eax
je 0x1401596e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401596e8
xor eax, eax
jmp 0x14015974d
test rbx, rbx
jne 0x140159708
lea rcx, str.ChooseColorW
call fcn.140036f50
mov rbx, rax
test rax, rax
je 0x14015971b
mov qword [0x140285c50], rax
mov rcx, rbx
call fcn.1401ad654
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 0x140159730
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140159732
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015974b
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 0x1401ac850
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 [0x140287128]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027d3fc]
test eax, eax
je 0x1401ac89b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027d3fc]
test eax, eax
jne 0x1401ac8a4
call fcn.1400098ac
test eax, eax
je 0x1401ac8c0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140276428]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401ac8c8
xor eax, eax
jmp 0x1401ac92d
test rbx, rbx
jne 0x1401ac8e8
lea rcx, str.PrintDlgW
call fcn.140036f50
mov rbx, rax
test rax, rax
je 0x1401ac8fb
mov qword [0x140287128], rax
mov rcx, rbx
call fcn.1401ad654
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 0x1401ac910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401ac912
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401ac92b
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