joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005271c
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 [0x1402d5e20]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x140052767
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x140052770
call fcn.14002362c
test eax, eax
je 0x14005278c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140052794
xor eax, eax
jmp 0x1400527f9
test rbx, rbx
jne 0x1400527b4
lea rcx, str.GetOpenFileNameA
call fcn.140038ccc
mov rbx, rax
test rax, rax
je 0x1400527c7
mov qword [0x1402d5e20], rax
mov rcx, rbx
call fcn.1401d9430
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 0x1400527dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400527de
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400527f7
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 0x140052810
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 [0x1402d5e28]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x14005285b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x140052864
call fcn.14002362c
test eax, eax
je 0x140052880
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140052888
xor eax, eax
jmp 0x1400528ed
test rbx, rbx
jne 0x1400528a8
lea rcx, str.GetSaveFileNameA
call fcn.140038ccc
mov rbx, rax
test rax, rax
je 0x1400528bb
mov qword [0x1402d5e28], rax
mov rcx, rbx
call fcn.1401d9430
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 0x1400528d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400528d2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400528eb
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 0x140053210
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 [0x1402d2598]
test eax, eax
je 0x140053252
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14005325b
call fcn.14002362c
test eax, eax
je 0x140053277
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14005327f
xor eax, eax
jmp 0x1400532c3
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 0x1400532a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400532a8
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400532c1
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 0x14005b070
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 0x14005b099
mov rdi, qword [rdx + 0x10]
jmp 0x14005b0ea
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 0x14005b0ba
call fcn.140033ca4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14005b0d4
call fcn.140033ca4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14005b0ea
call fcn.140033ca4
call fcn.140037994
cmp qword [rax + 0x68], 0
je 0x14005b104
mov rdx, rdi
mov rcx, rbp
call fcn.14005a468
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14005b370
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14005b12b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14005b13a
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 0x14005b504
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 [0x1402d62e8]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x14005b550
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14005b559
call fcn.14002362c
test eax, eax
je 0x14005b575
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005b580
xor eax, eax
jmp 0x14005b60f
test r14, r14
jne 0x14005b59d
lea rcx, str.CreatePropertySheetPageA
call fcn.14005b81c
test rax, rax
je 0x14005b5da
mov qword [0x1402d62e8], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14005b5be
cmp dword [rdi], 0x60
jb 0x14005b5be
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402ca008]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1402d62e8]
mov rcx, rbx
call fcn.1401d9430
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 0x14005b5f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005b5f3
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14005b60c
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 0x14005b628
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 [0x1402d62f0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x14005b673
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14005b67c
call fcn.14002362c
test eax, eax
je 0x14005b698
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005b6a0
xor eax, eax
jmp 0x14005b705
test rbx, rbx
jne 0x14005b6c0
lea rcx, str.DestroyPropertySheetPage
call fcn.14005b81c
mov rbx, rax
test rax, rax
je 0x14005b6d3
mov qword [0x1402d62f0], rax
mov rcx, rbx
call fcn.1401d9430
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 0x14005b6e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005b6ea
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005b703
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 0x14005b71c
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 [0x1402d62f8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x14005b76b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14005b774
call fcn.14002362c
test eax, eax
je 0x14005b790
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005b79a
or rax, 0xffffffffffffffff
jmp 0x14005b804
test rbx, rbx
jne 0x14005b7ba
lea rcx, str.PropertySheetA
call fcn.14005b81c
mov rbx, rax
test rax, rax
je 0x14005b7cf
mov qword [0x1402d62f8], rax
mov rcx, rbx
call fcn.1401d9430
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 0x14005b7e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005b7e8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005b801
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 0x14007d998
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 0x14007d9ca
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14007d9ca
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14014a940
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007d9dc
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 0x14007da07
mov r8, rdx
mov rdx, qword [rdi]
call fcn.14004f3ac
jmp 0x14007da7f
cmp byte [0x1402d7748], 0
jne 0x14007da4e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14007da3e
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1402d7740], rax
jmp 0x14007da45
mov rbx, qword [0x1402d7740]
mov byte [0x1402d7748], 1
jmp 0x14007da55
mov rbx, qword [0x1402d7740]
test rbx, rbx
je 0x14007da73
mov rcx, rbx
call fcn.1401d9430
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x14007da7f
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 0x14008e968
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 [0x1402d77b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x14008e9b3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14008e9bc
call fcn.14002362c
test eax, eax
je 0x14008e9d8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14008e9e0
xor eax, eax
jmp 0x14008ea45
test rbx, rbx
jne 0x14008ea00
lea rcx, str.ImageList_GetImageCount
call fcn.140023164
mov rbx, rax
test rax, rax
je 0x14008ea13
mov qword [0x1402d77b8], rax
mov rcx, rbx
call fcn.1401d9430
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 0x14008ea28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14008ea2a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14008ea43
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 0x14009321c
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 0x14009324d
call fcn.140037994
mov rdi, qword [rax + 0x18]
lea r8, [0x14022bc50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x14009326c
xor eax, eax
jmp 0x1400932b8
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140093268
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400932ad
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400932d4
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 0x140121fe8
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 0x1401221b8
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 0x1401221fa
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 0x140122664
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 0x140122736
test rbx, rbx
je 0x14012273c
test r9, r9
je 0x140122742
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 0x14012271f
cmp dword [rsp + 0x48], 3
jne 0x14012271f
test eax, eax
jne 0x14012271f
cmp dword [rdi], eax
je 0x14012271f
mov ecx, dword [rdi]
call fcn.14002211c
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 0x140122713
cmp dword [rsp + 0x48], 3
jne 0x140122713
test eax, eax
jne 0x140122713
mov eax, 1
jmp 0x140122721
mov rcx, qword [rbx]
call fcn.140022114
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.14003072c
int3
call fcn.14003072c
int3
call fcn.14003072c
int3

Function at 0x140122a68
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140122ac1
xor eax, eax
jmp 0x140122ae5
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 0x1401883e8
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 [0x1402daec8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x140188433
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x14018843c
call fcn.14002362c
test eax, eax
je 0x140188458
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140188460
xor eax, eax
jmp 0x1401884c5
test rbx, rbx
jne 0x140188480
lea rcx, str.ChooseColorA
call fcn.140038ccc
mov rbx, rax
test rax, rax
je 0x140188493
mov qword [0x1402daec8], rax
mov rcx, rbx
call fcn.1401d9430
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 0x1401884a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401884aa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401884c3
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 0x1401d86b4
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 [0x1402dc1d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d2598]
test eax, eax
je 0x1401d86ff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d2598]
test eax, eax
jne 0x1401d8708
call fcn.14002362c
test eax, eax
je 0x1401d8724
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402ca008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401d872c
xor eax, eax
jmp 0x1401d8791
test rbx, rbx
jne 0x1401d874c
lea rcx, str.PrintDlgA
call fcn.140038ccc
mov rbx, rax
test rax, rax
je 0x1401d875f
mov qword [0x1402dc1d8], rax
mov rcx, rbx
call fcn.1401d9430
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 0x1401d8774
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401d8776
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401d878f
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 0x1401f1d2c
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401f1b00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f1b00
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f1b00
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f1b00
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401f1b00
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f1b00
cmp dword [rcx + 0xf8], esi
je 0x1401f1b00
mov ecx, r14d
call fcn.1401f1c48
mov ecx, 2
call fcn.1401f40e4
nop
cmp byte [0x1402dd1b0], 0
jne 0x1401f1bca
mov r15d, 1
mov eax, r15d
xchg dword [0x1402dd1a0], eax
test ebx, ebx
jne 0x1401f1b73
mov rdi, qword [0x1402cb768]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1402dd1a8]
cmp rcx, rax
je 0x1401f1b6a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140006610]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402dd2e8]
jmp 0x1401f1b7f
cmp ebx, r15d
jne 0x1401f1b85
lea rcx, [0x1402dd300]
call fcn.1401f27e0
nop
test ebx, ebx
jne 0x1401f1b9c
lea rdx, [0x140218ba0]
lea rcx, [0x140218b80]
call fcn.1401f2b44
lea rdx, [0x140218bb0]
lea rcx, [0x140218ba8]
call fcn.1401f2b44
movzx eax, byte [0x1402dd1b0]
test esi, esi
cmove eax, r15d
mov byte [0x1402dd1b0], al
jmp 0x1401f1bca
mov ecx, 2
call fcn.1401f4138
test esi, esi
jne 0x1401f1be1
mov ecx, r14d
call fcn.1401f1bfc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401f1a90