joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f7400
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 [0x1402cc5b8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1402c63e4]
test eax, eax
je 0x1400f744f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c63e4]
test eax, eax
jne 0x1400f7458
call fcn.14001e558
test eax, eax
je 0x1400f7474
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402be010]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f747e
or rax, 0xffffffffffffffff
jmp 0x1400f74e0
test rbx, rbx
jne 0x1400f749e
lea rcx, str.PropertySheetW
call fcn.1400f74f8
mov rbx, rax
test rax, rax
je 0x1400f74ab
mov qword [0x1402cc5b8], rax
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 0x1400f74c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f74c4
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f74dd
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 0x1400fd3b4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400fd3da
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1400cad78
jmp 0x1400fd441
cmp byte [0x1402cc7a0], 0
jne 0x1400fd41e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fd40e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402cc798], rax
jmp 0x1400fd415
mov rax, qword [0x1402cc798]
mov byte [0x1402cc7a0], 1
jmp 0x1400fd425
mov rax, qword [0x1402cc798]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400fd43b
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400fd441
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400fd44c
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 0x1400fd6a4
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 0x1400fd6e6
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 0x1400fdaf4
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 0x1400fdbc6
test rbx, rbx
je 0x1400fdbcc
test r9, r9
je 0x1400fdbd2
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 0x1400fdbaf
cmp dword [rsp + 0x48], 3
jne 0x1400fdbaf
test eax, eax
jne 0x1400fdbaf
cmp dword [rdi], eax
je 0x1400fdbaf
mov ecx, dword [rdi]
call fcn.140015c98
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 0x1400fdba3
cmp dword [rsp + 0x48], 3
jne 0x1400fdba3
test eax, eax
jne 0x1400fdba3
mov eax, 1
jmp 0x1400fdbb1
mov rcx, qword [rbx]
call fcn.140015c90
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.140070980
int3
call fcn.140070980
int3
call fcn.140070980
int3

Function at 0x1400fdf98
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400fdff1
xor eax, eax
jmp 0x1400fe015
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 0x14010064c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x1402be32c], edi
je 0x140100755
cmp dword [0x1402beb10], 0xfffffffe
jne 0x14010073a
cmp ecx, 0xffffffff
je 0x140100755
mov edx, dword [0x1402d02f8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1402cc968], ecx
jle 0x1401006d8
lea rcx, [0x1402cc968]
call fcn.1401ceb34
cmp dword [0x1402cc968], 0xffffffff
jne 0x1401006d8
lea rcx, [0x1402cc930]
call fcn.14003c400
lea rcx, [0x1402024fc]
call fcn.1401ce974
lea rcx, [0x1402cc968]
call fcn.1401cead4
lea rcx, [0x1402cc940]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1402cc908], rdi
jne 0x140100760
xor r8d, r8d
lea rcx, [0x140100768]
xor edx, edx
call fcn.1401d699c
mov qword [0x1402cc908], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140100724
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1402beb10], ebx
jmp 0x14010072b
mov qword [0x1402cc908], rdi
lea rcx, [0x1402cc940]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140100755
mov rax, qword [0x1402cc908]
cmp ecx, 0xffffffff
mov dword [0x1402beb10], ecx
cmove rax, rdi
mov qword [0x1402cc908], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140070980
int3
Function at 0x140116f38
Capabilities:
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402bf900]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r14d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov word [r8], r15w
test rcx, rcx
je 0x1401170f2
mov dword [rsp + 0x20], 0x800
mov r9d, 0x2b8
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1401170f2
test dword [rsp + 0x6c], 0x10000
je 0x1401170f2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140234f10]
xor r8d, r8d
lea rdx, [0x140234f00]
lea rcx, [rsp + 0x30]
call fcn.140117348
test eax, eax
js 0x1401170f2
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401170f2
mov qword [rsp + 0x40], r15
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1402682f0]
call qword [rax]
test eax, eax
js 0x1401170e7
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140015900
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401170c8
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x28]
test eax, eax
js 0x1401170b7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8d, [r15 + 2]
mov rdx, qword [rdi + 0x40]
call qword [rax + 0x98]
test eax, eax
js 0x1401170b7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401170b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x1401170f4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401170c8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401170e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1401cedb0
add rsp, 0x338
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401176e0
Capabilities:
Move file

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 0x140117745
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140117759
lea rdx, str.MoveFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140117759
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], 2
mov rdx, rdi
call rax
jmp 0x14011775b
cmp dword [rcx + 8], 0
je 0x140117759
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14011775b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401179f4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140117a4a
cmp qword [rdx], 0
je 0x140117a40
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140117a54
lea rdx, str.DeleteFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140117a46
mov rdx, qword [rbx]
mov rcx, rdi
call rax
jmp 0x140117a50
cmp dword [rdx + 8], 0
jne 0x140117a4a
xor eax, eax
jmp 0x140117a50
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140117a64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140192824
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140117a70
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
test r8, r8
je 0x140117a91
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call fcn.1401176e0
jmp 0x140117a97
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140117aab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140192824
add rsp, 0x20
pop rbx
ret
Function at 0x140117f28
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 [0x1402cd7b0]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x1402c63e4]
test eax, eax
je 0x140117f86
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c63e4]
test eax, eax
jne 0x140117f8f
call fcn.14001e558
test eax, eax
je 0x140117fab
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402be010]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140117fb5
movzx eax, r13w
jmp 0x14011801e
test rbx, rbx
jne 0x140117fd5
lea rcx, str.GetFileTitleW
call fcn.1400c4094
mov rbx, rax
test rax, rax
je 0x140117fe9
mov qword [0x1402cd7b0], 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 0x140118000
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140118002
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14011801b
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 0x14012f924
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402bf900]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x14012f9ca
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
add eax, 4
mov rcx, rbx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
add eax, 0x17
mov dword [rsp + 0x24], eax
call fcn.140130f0c
mov rcx, rbx
call fcn.14012fddc
mov rcx, qword [rbx + 0x40]
mov edx, 0xec1a
call qword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401cedb0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor esi, esi
cmp dword [rcx + 0x458], esi
jne 0x14012f9e9
cmp r8, 0x79
je 0x14012f9e0
cmp r8, 0x12
jne 0x14012f9e5
mov esi, 1
mov eax, esi
jmp 0x14012f9a9
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
shr ebp, 0xf
and ebp, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
cmp rdi, 0x12
je 0x14012fa1e
cmp rdi, 0x79
jne 0x14012f998
cmp qword [0x1402cace0], rsi
jne 0x14012f9a7
test byte [rbx + 0x478], 2
jne 0x14012f9a7
cmp rdi, 0x12
je 0x14012fa54
cmp rdi, 0x79
jne 0x14012f9a7
test ebp, ebp
jne 0x14012f9a7
test eax, eax
jne 0x14012f9a7
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140021218
cmp rax, rbx
jne 0x14012fa79
bt r15, 0x1e
jb 0x14012fa79
cmp rdi, 0x79
jne 0x14012fa89
mov rcx, r14
jmp 0x14012fa82
cmp rdi, 0x79
jne 0x14012fa89
mov rcx, rbx
call fcn.140029fb8
jmp 0x14012faa9
cmp dword [rbx + 0x414], esi
jge 0x14012faa9
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov edx, 0xec1a
mov r8d, 0xc8
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x14012f9a9
Function at 0x140173a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x1402bf900]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x140173ab4
xor eax, eax
jmp 0x140173be1
test r8, r8
je 0x140173aad
call fcn.14004c910
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140173aad
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140173aad
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140173c07
mov rcx, rax
call fcn.1401d6b60
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x140173b9a
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x140173b78
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140173b56
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401cee80
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x140173c0d
mov dword [rdi], 0xcccc
jmp 0x140173b94
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401d5694
mov rdi, rax
test rax, rax
je 0x140173b9d
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x140173b9d
mov rdi, rbx
test rdi, rdi
je 0x140173c0d
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14005f344
test rax, rax
je 0x140173bc5
mov rdx, rax
mov rcx, r12
call fcn.140176234
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140173bdf
call fcn.1401d568c
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401cedb0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.140070980
int3
call fcn.140070980
int3
Function at 0x14017ea80
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 [0x1402cf048]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c63e4]
test eax, eax
je 0x14017eacb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c63e4]
test eax, eax
jne 0x14017ead4
call fcn.14001e558
test eax, eax
je 0x14017eaf0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402be010]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017eaf8
xor eax, eax
jmp 0x14017eb55
test rbx, rbx
jne 0x14017eb18
lea rcx, str.PrintDlgW
call fcn.1400c4094
mov rbx, rax
test rax, rax
je 0x14017eb23
mov qword [0x1402cf048], 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 0x14017eb38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017eb3a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017eb53
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 0x14017ff48
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
lea rax, vtable.CDataRecoveryHandler.0
mov qword [rcx], rax
cmp qword [rcx + 0x138], 0
je 0x14017ffbb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x120]
call fcn.140159f18
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14017ffb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbx + 0x138], 0
jne 0x14017ff73
mov rdx, qword [rbx + 0x180]
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
nop
mov rdx, qword [rbx + 0x160]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14017ffed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx + 0x158]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14018000f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0x120]
call fcn.140159a64
nop
lea rcx, [rbx + 0xe8]
lea rdi, vtable.CMap_class_CDocument____ptr64__class_CDocument____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64_.0
mov qword [rcx], rdi
call fcn.14018202c
nop
lea rcx, [rbx + 0xb0]
mov qword [rcx], rdi
call fcn.14018202c
nop
lea rcx, [rbx + 0x78]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__bool__bool_.0
mov qword [rcx], rax
call fcn.140182218
nop
lea rcx, [rbx + 0x40]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__class_CDocument____ptr64__class_CDocument____ptr64_.0
mov qword [rcx], rax
call fcn.1401820c8
nop
lea rcx, [rbx + 8]
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64_.0
mov qword [rcx], rax
call fcn.140182160
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140180bd8
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 0x140180c0a
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140180c0a
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140159b3c
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140182ef8
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rdi, rcx
mov esi, 1
mov rax, qword [rcx + 0x20]
neg rax
sbb rdx, rdx
mov qword [rbp + 0x38], rdx
je 0x1401830cc
xor esi, esi
and qword [rbp - 0x20], rsi
and dword [rbp - 0x18], esi
and qword [rbp - 0x10], rsi
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + 0x40]
nop
mov rbx, qword [rax]
call fcn.14004c910
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.1400c61f8
mov rdx, rax
and qword [rsp + 0x38], rsi
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rbx
lea rcx, [rbp - 0x20]
call fcn.1400fd0c4
test eax, eax
sete bl
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140182f9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1401830bd
call fcn.14005f388
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1401830b2
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
call fcn.14005f388
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1401830a7
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rcx, [rdi + 8]
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x38]
call fcn.140181178
xor eax, eax
mov rbx, qword [rbp + 0x30]
test rbx, rbx
setne al
test eax, eax
je 0x14018304d
mov rcx, rbx
call fcn.1401d56d4
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140183068
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140183086
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x38], 0
jne 0x140182fa6
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401830a0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1401830ce
mov ecx, 0x80004005
call fcn.140012790
nop
mov ecx, 0x80004005
call fcn.140012790
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401830cc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret