joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fcf4
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 [0x1404b6a10]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x14002fd52
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x14002fd5b
call fcn.14000fbe8
test eax, eax
je 0x14002fd77
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14002fd81
movzx eax, r13w
jmp 0x14002fdf2
test rbx, rbx
jne 0x14002fda1
lea rcx, str.GetFileTitleA
call fcn.14002fc60
mov rbx, rax
test rax, rax
je 0x14002fdbd
mov qword [0x1404b6a10], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x14002fdd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002fdd6
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002fdef
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 0x140042218
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 0x140042241
mov rdi, qword [rdx + 0x10]
jmp 0x140042292
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 0x140042262
call fcn.14000956c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14004227c
call fcn.14000956c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x140042292
call fcn.14000956c
call fcn.140015804
cmp qword [rax + 0x68], 0
je 0x1400422ac
mov rdx, rdi
mov rcx, rbp
call fcn.140041524
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.140042518
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400422d3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400422e2
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 0x1400426ac
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 [0x1404b6b68]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x1400426f8
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x140042701
call fcn.14000fbe8
test eax, eax
je 0x14004271d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140042728
xor eax, eax
jmp 0x1400427b7
test r14, r14
jne 0x140042745
lea rcx, str.CreatePropertySheetPageA
call fcn.1400429c4
test rax, rax
je 0x140042782
mov qword [0x1404b6b68], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140042766
cmp dword [rdi], 0x60
jb 0x140042766
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1404ab798]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1404b6b68]
mov rcx, rbx
call fcn.1401bba3c
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 0x140042799
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004279b
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400427b4
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 0x1400427d0
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 [0x1404b6b70]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x14004281b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x140042824
call fcn.14000fbe8
test eax, eax
je 0x140042840
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140042848
xor eax, eax
jmp 0x1400428ad
test rbx, rbx
jne 0x140042868
lea rcx, str.DestroyPropertySheetPage
call fcn.1400429c4
mov rbx, rax
test rax, rax
je 0x14004287b
mov qword [0x1404b6b70], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x140042890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140042892
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400428ab
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 0x1400428c4
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 [0x1404b6b78]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x140042913
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x14004291c
call fcn.14000fbe8
test eax, eax
je 0x140042938
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140042942
or rax, 0xffffffffffffffff
jmp 0x1400429ac
test rbx, rbx
jne 0x140042962
lea rcx, str.PropertySheetA
call fcn.1400429c4
mov rbx, rax
test rax, rax
je 0x140042977
mov qword [0x1404b6b78], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x14004298e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140042990
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400429a9
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 0x140048c94
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 [0x1404b6ba0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x140048cdf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x140048ce8
call fcn.14000fbe8
test eax, eax
je 0x140048d04
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140048d0c
xor eax, eax
jmp 0x140048d71
test rbx, rbx
jne 0x140048d2c
lea rcx, str.GetOpenFileNameA
call fcn.14002fc60
mov rbx, rax
test rax, rax
je 0x140048d3f
mov qword [0x1404b6ba0], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x140048d54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140048d56
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140048d6f
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 0x140048d88
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 [0x1404b6ba8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x140048dd3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x140048ddc
call fcn.14000fbe8
test eax, eax
je 0x140048df8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140048e00
xor eax, eax
jmp 0x140048e65
test rbx, rbx
jne 0x140048e20
lea rcx, str.GetSaveFileNameA
call fcn.14002fc60
mov rbx, rax
test rax, rax
je 0x140048e33
mov qword [0x1404b6ba8], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x140048e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140048e4a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140048e63
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 0x140069764
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x140068e12
xor eax, eax
add rsp, 0x28
ret
call fcn.140068e24
mov rcx, rax
add rsp, 0x28
jmp 0x140069764
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 [0x1404b6f98]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x1400697af
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x1400697b8
call fcn.14000fbe8
test eax, eax
je 0x1400697d4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400697dc
xor eax, eax
jmp 0x140069841
test rbx, rbx
jne 0x1400697fc
lea rcx, str.ImageList_Destroy
call fcn.140020cf4
mov rbx, rax
test rax, rax
je 0x14006980f
mov qword [0x1404b6f98], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x140069824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140069826
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14006983f
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 0x140069858
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 [0x1404b6fa0]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x1400698b5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x1400698be
call fcn.14000fbe8
test eax, eax
je 0x1400698da
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400698e5
xor eax, eax
jmp 0x140069978
test rbx, rbx
jne 0x140069905
lea rcx, str.ImageList_LoadImageA
call fcn.140020cf4
mov rbx, rax
test rax, rax
je 0x140069944
mov qword [0x1404b6fa0], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x14006995a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14006995c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140069975
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 0x140078134
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 0x140078165
call fcn.140015804
mov rdi, qword [rax + 0x18]
lea r8, [0x1401ff598]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x140078184
xor eax, eax
jmp 0x1400781d0
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140078180
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400781c5
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400781ec
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 0x14007af18
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 [0x1404b7558]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x14007af63
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x14007af6c
call fcn.14000fbe8
test eax, eax
je 0x14007af88
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14007af90
xor eax, eax
jmp 0x14007aff5
test rbx, rbx
jne 0x14007afb0
lea rcx, str.ImageList_GetImageCount
call fcn.140020cf4
mov rbx, rax
test rax, rax
je 0x14007afc3
mov qword [0x1404b7558], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x14007afd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14007afda
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14007aff3
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 0x140105990
Capabilities:
Delete registry value

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

Function at 0x140105b60
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_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x140105ba2
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 0x14010600c
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 0x1401060de
test rbx, rbx
je 0x1401060e4
test r9, r9
je 0x1401060ea
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_RegQueryValueExA]
test eax, eax
jne 0x1401060c7
cmp dword [rsp + 0x48], 3
jne 0x1401060c7
test eax, eax
jne 0x1401060c7
cmp dword [rdi], eax
je 0x1401060c7
mov ecx, dword [rdi]
call fcn.1400087ac
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_RegQueryValueExA]
test eax, eax
jne 0x1401060bb
cmp dword [rsp + 0x48], 3
jne 0x1401060bb
test eax, eax
jne 0x1401060bb
mov eax, 1
jmp 0x1401060c9
mov rcx, qword [rbx]
call fcn.1400087a4
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.14000a6e0
int3
call fcn.14000a6e0
int3
call fcn.14000a6e0
int3

Function at 0x140106410
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140106421
xor eax, eax
jmp 0x14010644f
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_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140106458
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140106469
xor eax, eax
jmp 0x14010648d
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_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140166f30
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 [0x1404bb2e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x140166f7b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x140166f84
call fcn.14000fbe8
test eax, eax
je 0x140166fa0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140166fa8
xor eax, eax
jmp 0x14016700d
test rbx, rbx
jne 0x140166fc8
lea rcx, str.ChooseColorA
call fcn.14002fc60
mov rbx, rax
test rax, rax
je 0x140166fdb
mov qword [0x1404bb2e8], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x140166ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140166ff2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016700b
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 0x14016bb24
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 [0x1404bb438]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404b2f50]
test eax, eax
je 0x14016bb6f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404b2f50]
test eax, eax
jne 0x14016bb78
call fcn.14000fbe8
test eax, eax
je 0x14016bb94
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404ab798]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14016bb9c
xor eax, eax
jmp 0x14016bc01
test rbx, rbx
jne 0x14016bbbc
lea rcx, str.PrintDlgA
call fcn.14002fc60
mov rbx, rax
test rax, rax
je 0x14016bbcf
mov qword [0x1404bb438], rax
mov rcx, rbx
call fcn.1401bba3c
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 0x14016bbe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14016bbe6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016bbff
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