joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057890
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 [0x14039e2c8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x1400578db
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x1400578e4
call fcn.14001e78c
test eax, eax
je 0x140057900
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140057908
xor eax, eax
jmp 0x14005796d
test rbx, rbx
jne 0x140057928
lea rcx, str.ChooseFontA
call fcn.1400401d4
mov rbx, rax
test rax, rax
je 0x14005793b
mov qword [0x14039e2c8], rax
mov rcx, rbx
call fcn.1401d8170
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 0x140057950
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140057952
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005796b
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 0x140057984
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 [0x14039ab18]
test eax, eax
je 0x1400579c6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x1400579cf
call fcn.14001e78c
test eax, eax
je 0x1400579eb
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400579f3
xor eax, eax
jmp 0x140057a37
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 edi, edi
sete bl
test ebx, ebx
je 0x140057a1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140057a1c
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140057a35
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 0x140059420
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14, r8
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140003f20
nop
cmp rbx, 0xffffffff80000000
jne 0x1400594bb
call fcn.14002d0d4
cmp eax, 1
jne 0x1400594bb
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.14001cab0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003a70
nop
mov rsi, qword [rsp + 0x20]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400594b4
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401d8170
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov r9, rbp
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ebp, eax
mov rsi, qword [rsp + 0x50]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400594ff
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401d8170
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140059514
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14d, r8d
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140003f20
nop
cmp rbx, 0xffffffff80000000
jne 0x1400595af
call fcn.14002d0d4
cmp eax, 1
jne 0x1400595af
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.14001cab0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003a70
nop
mov rsi, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400595a8
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401d8170
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9, rbp
mov r8d, r14d
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebp, eax
mov rsi, qword [rsp + 0x60]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400595fe
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401d8170
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140060848
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 0x140060871
mov rdi, qword [rdx + 0x10]
jmp 0x1400608c2
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 0x140060892
call fcn.14003a3d0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400608ac
call fcn.14003a3d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400608c2
call fcn.14003a3d0
call fcn.14002d058
cmp qword [rax + 0x68], 0
je 0x1400608dc
mov rdx, rdi
mov rcx, rbp
call fcn.14005fb54
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.140060b48
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x140060903
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x140060912
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 0x140060cdc
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 [0x14039e858]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x140060d28
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x140060d31
call fcn.14001e78c
test eax, eax
je 0x140060d4d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140060d58
xor eax, eax
jmp 0x140060de7
test r14, r14
jne 0x140060d75
lea rcx, str.CreatePropertySheetPageA
call fcn.140060ff4
test rax, rax
je 0x140060db2
mov qword [0x14039e858], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140060d96
cmp dword [rdi], 0x60
jb 0x140060d96
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402bd008]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x14039e858]
mov rcx, rbx
call fcn.1401d8170
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 0x140060dc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140060dcb
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140060de4
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 0x140060e00
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 [0x14039e860]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x140060e4b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x140060e54
call fcn.14001e78c
test eax, eax
je 0x140060e70
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140060e78
xor eax, eax
jmp 0x140060edd
test rbx, rbx
jne 0x140060e98
lea rcx, str.DestroyPropertySheetPage
call fcn.140060ff4
mov rbx, rax
test rax, rax
je 0x140060eab
mov qword [0x14039e860], rax
mov rcx, rbx
call fcn.1401d8170
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 0x140060ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140060ec2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140060edb
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 0x140060ef4
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 [0x14039e868]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x140060f43
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x140060f4c
call fcn.14001e78c
test eax, eax
je 0x140060f68
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140060f72
or rax, 0xffffffffffffffff
jmp 0x140060fdc
test rbx, rbx
jne 0x140060f92
lea rcx, str.PropertySheetA
call fcn.140060ff4
mov rbx, rax
test rax, rax
je 0x140060fa7
mov qword [0x14039e868], rax
mov rcx, rbx
call fcn.1401d8170
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 0x140060fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140060fc0
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140060fd9
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 0x140064970
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 [0x14039e880]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x1400649bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x1400649c4
call fcn.14001e78c
test eax, eax
je 0x1400649e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400649e8
xor eax, eax
jmp 0x140064a4d
test rbx, rbx
jne 0x140064a08
lea rcx, str.GetOpenFileNameA
call fcn.1400401d4
mov rbx, rax
test rax, rax
je 0x140064a1b
mov qword [0x14039e880], rax
mov rcx, rbx
call fcn.1401d8170
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 0x140064a30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140064a32
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140064a4b
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 0x140064a64
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 [0x14039e888]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x140064aaf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x140064ab8
call fcn.14001e78c
test eax, eax
je 0x140064ad4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140064adc
xor eax, eax
jmp 0x140064b41
test rbx, rbx
jne 0x140064afc
lea rcx, str.GetSaveFileNameA
call fcn.1400401d4
mov rbx, rax
test rax, rax
je 0x140064b0f
mov qword [0x14039e888], rax
mov rcx, rbx
call fcn.1401d8170
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 0x140064b24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140064b26
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140064b3f
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 0x14006fa40
Capabilities:
Delete file

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

Function at 0x14006fa84
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14006faaf
mov r8, rdx
mov rdx, qword [rdi]
call fcn.140050fa8
jmp 0x14006fb27
cmp byte [0x14039e910], 0
jne 0x14006faf6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14006fae6
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14039e908], rax
jmp 0x14006faed
mov rbx, qword [0x14039e908]
mov byte [0x14039e910], 1
jmp 0x14006fafd
mov rbx, qword [0x14039e908]
test rbx, rbx
je 0x14006fb1b
mov rcx, rbx
call fcn.1401d8170
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x14006fb27
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a79a4
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 0x1400a79d5
call fcn.14002d058
mov rdi, qword [rax + 0x18]
lea r8, [0x14022c2f0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x1400a79f4
xor eax, eax
jmp 0x1400a7a40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400a79f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400a7a35
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400a7a5c
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 0x1400aa6e4
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 [0x14039f428]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x1400aa72f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x1400aa738
call fcn.14001e78c
test eax, eax
je 0x1400aa754
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400aa75c
xor eax, eax
jmp 0x1400aa7c1
test rbx, rbx
jne 0x1400aa77c
lea rcx, str.ImageList_GetImageCount
call fcn.140029bc8
mov rbx, rax
test rax, rax
je 0x1400aa78f
mov qword [0x14039f428], rax
mov rcx, rbx
call fcn.1401d8170
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 0x1400aa7a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400aa7a6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400aa7bf
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 0x14012e3a4
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 0x14012e574
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 0x14012e5b6
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 0x14012ea20
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 0x14012eaf2
test rbx, rbx
je 0x14012eaf8
test r9, r9
je 0x14012eafe
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 0x14012eadb
cmp dword [rsp + 0x48], 3
jne 0x14012eadb
test eax, eax
jne 0x14012eadb
cmp dword [rdi], eax
je 0x14012eadb
mov ecx, dword [rdi]
call fcn.1400066a0
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 0x14012eacf
cmp dword [rsp + 0x48], 3
jne 0x14012eacf
test eax, eax
jne 0x14012eacf
mov eax, 1
jmp 0x14012eadd
mov rcx, qword [rbx]
call fcn.140014f10
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.140020148
int3
call fcn.140020148
int3
call fcn.140020148
int3

Function at 0x14012ee24
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14012ee7d
xor eax, eax
jmp 0x14012eea1
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 0x1401896f4
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 [0x1403a30b0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14039ab18]
test eax, eax
je 0x14018973f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14039ab18]
test eax, eax
jne 0x140189748
call fcn.14001e78c
test eax, eax
je 0x140189764
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402bd008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018976c
xor eax, eax
jmp 0x1401897d1
test rbx, rbx
jne 0x14018978c
lea rcx, str.ChooseColorA
call fcn.1400401d4
mov rbx, rax
test rax, rax
je 0x14018979f
mov qword [0x1403a30b0], rax
mov rcx, rbx
call fcn.1401d8170
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 0x1401897b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401897b6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401897cf
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 0x1401efeb8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401efd4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401efd4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401efd4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401efd4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401efd4b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401efd4b
cmp dword [rcx + 0xf8], 0
je 0x1401efd4b
mov ecx, ebx
call fcn.1401efdec
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401efbdc
cmp dword [rbp + 0x20], 0
je 0x1401efd98
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401efda0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401efce4