joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016638
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x14026f40c]
test eax, eax
je 0x140016682
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x14001668b
call fcn.14000cd14
test eax, eax
je 0x1400166a7
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400166af
xor eax, eax
jmp 0x1400166f6
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExA]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x1400166d9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400166db
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x1400166f4
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14001670c
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 [0x1402727e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x140016757
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x140016760
call fcn.14000cd14
test eax, eax
je 0x14001677c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140016784
xor eax, eax
jmp 0x1400167e1
test rbx, rbx
jne 0x1400167a4
lea rcx, str.InitCommonControlsEx
call fcn.14001643c
mov rbx, rax
test rax, rax
je 0x1400167af
mov qword [0x1402727e8], rax
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 0x1400167c4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400167c6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x1400167df
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 0x1400168c4
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 rdi, rcx
xor r14d, r14d
mov word [rax - 0x18], r14w
mov qword [rax + 0x10], r14
mov ebx, r14d
mov eax, dword [0x14026f40c]
test eax, eax
je 0x14001690c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x140016915
call fcn.14000cd14
test eax, eax
je 0x140016931
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14001693b
movzx eax, r14w
jmp 0x140016983
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x140016964
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x140016967
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test edi, edi
je 0x140016980
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140016b90
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0xc8], 0
jne 0x140016bce
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x140016c86
call fcn.140008f20
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140016bed
mov ecx, 0x80004005
call fcn.1400022c0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + pe_nt_image_headers64]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1401837d8
test eax, eax
je 0x140016c55
cmp eax, 0xc
je 0x140016c4f
cmp eax, 0x16
je 0x140016c49
cmp eax, 0x22
je 0x140016c49
cmp eax, 0x50
je 0x140016c55
call fcn.140009564
int3
call fcn.140009564
int3
call fcn.140009588
int3
test rbx, rbx
je 0x140016c65
mov rcx, rbx
call fcn.140182f40
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140016c84
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001b15c
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 0x14001b1d6
xor r8d, r8d
call fcn.14001b418
mov rsi, rax
test rax, rax
jne 0x14001b192
mov eax, edi
jmp 0x14001b1ec
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
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 0x14001b18e
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
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 0x14001c1b4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14001c217
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test rax, rax
je 0x14001c22b
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x14001c22b
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14001c230
cmp dword [rcx + 8], 0
je 0x14001c22b
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14001c230
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002adcc
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 [0x14026f40c]
test eax, eax
je 0x14002ae0e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x14002ae17
call fcn.14000cd14
test eax, eax
je 0x14002ae33
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002ae3b
xor eax, eax
jmp 0x14002ae7f
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 eax, eax
sete bl
test ebx, ebx
je 0x14002ae62
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x14002ae64
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x14002ae7d
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 0x1400787ec
Capabilities:
Delete file

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

Function at 0x140078830
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x140078856
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14001c1b4
jmp 0x1400788bd
cmp byte [0x140275380], 0
jne 0x14007889a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test rax, rax
je 0x14007888a
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140275378], rax
jmp 0x140078891
mov rax, qword [0x140275378]
mov byte [0x140275380], 1
jmp 0x1400788a1
mov rax, qword [0x140275378]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400788b7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400788bd
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007c9ec
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 edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x140275388]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x14007ca4a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x14007ca53
call fcn.14000cd14
test eax, eax
je 0x14007ca6f
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14007ca79
movzx eax, r13w
jmp 0x14007cae2
test rbx, rbx
jne 0x14007ca99
lea rcx, str.GetFileTitleA
call fcn.14007c93c
mov rbx, rax
test rax, rax
je 0x14007caad
mov qword [0x140275388], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x14007cac4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x14007cac6
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x14007cadf
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
movzx eax, di
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 0x14007dd28
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 [0x140275400]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x14007dd73
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x14007dd7c
call fcn.14000cd14
test eax, eax
je 0x14007dd98
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14007dda0
xor eax, eax
jmp 0x14007ddfd
test rbx, rbx
jne 0x14007ddc0
lea rcx, str.ImageList_GetImageCount
call fcn.14001643c
mov rbx, rax
test rax, rax
je 0x14007ddcb
mov qword [0x140275400], rax
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 0x14007dde0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x14007dde2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x14007ddfb
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 0x140082188
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 0x1400821b9
call fcn.140029348
mov rdi, qword [rax + 0x18]
lea r8, [0x1401d71d0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x1400821d8
xor eax, eax
jmp 0x140082224
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400821d4
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov r14, rax
test rax, rax
je 0x140082219
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140082240
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 0x1400ca374
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 [0x140276090]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x1400ca3bf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x1400ca3c8
call fcn.14000cd14
test eax, eax
je 0x1400ca3e4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ca3ec
xor eax, eax
jmp 0x1400ca449
test rbx, rbx
jne 0x1400ca40c
lea rcx, str.ImageList_Destroy
call fcn.14001643c
mov rbx, rax
test rax, rax
je 0x1400ca417
mov qword [0x140276090], rax
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 0x1400ca42c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400ca42e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x1400ca447
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 0x1401318f6
xor eax, eax
add rsp, 0x28
ret
call fcn.140131914
mov rcx, rax
add rsp, 0x28
jmp 0x1400ca374

Function at 0x1400d2df8
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 0x1400d2f34
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
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 0x1400d2f76
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 0x1400d3364
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 0x1400d3436
test rbx, rbx
je 0x1400d343c
test r9, r9
je 0x1400d3442
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400d341f
cmp dword [rsp + 0x48], 3
jne 0x1400d341f
test eax, eax
jne 0x1400d341f
cmp dword [rdi], eax
je 0x1400d341f
mov ecx, dword [rdi]
call fcn.140007ac4
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400d3413
cmp dword [rsp + 0x48], 3
jne 0x1400d3413
test eax, eax
jne 0x1400d3413
mov eax, 1
jmp 0x1400d3421
mov rcx, qword [rbx]
call fcn.140007b08
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.140009564
int3
call fcn.140009564
int3
call fcn.140009564
int3

Function at 0x1400d37fc
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400d3855
xor eax, eax
jmp 0x1400d3879
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
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 0x14013123c
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 [0x1402775d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x140131287
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x140131290
call fcn.14000cd14
test eax, eax
je 0x1401312ac
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401312b4
xor eax, eax
jmp 0x140131311
test rbx, rbx
jne 0x1401312d4
lea rcx, str.GetOpenFileNameA
call fcn.14007c93c
mov rbx, rax
test rax, rax
je 0x1401312df
mov qword [0x1402775d8], rax
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 0x1401312f4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1401312f6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x14013130f
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 0x140131328
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 [0x1402775e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14026f40c]
test eax, eax
je 0x140131373
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [0x14026f40c]
test eax, eax
jne 0x14013137c
call fcn.14000cd14
test eax, eax
je 0x140131398
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140266220]
call qword [sym.imp.KERNEL32.DLL_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401313a0
xor eax, eax
jmp 0x1401313fd
test rbx, rbx
jne 0x1401313c0
lea rcx, str.GetSaveFileNameA
call fcn.14007c93c
mov rbx, rax
test rax, rax
je 0x1401313cb
mov qword [0x1402775e0], rax
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 0x1401313e0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1401313e2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_DeactivateActCtx]
test ebx, ebx
je 0x1401313fb
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