joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011ee00
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 0x14011ee65
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011ee79
lea rdx, str.MoveFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011ee79
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 0x14011ee7b
cmp dword [rcx + 8], 0
je 0x14011ee79
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14011ee7b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14011f114
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14011f16a
cmp qword [rdx], 0
je 0x14011f160
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011f174
lea rdx, str.DeleteFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011f166
mov rdx, qword [rbx]
mov rcx, rdi
call rax
jmp 0x14011f170
cmp dword [rdx + 8], 0
jne 0x14011f16a
xor eax, eax
jmp 0x14011f170
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14011f184
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.14017a048
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14011f190
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
test r8, r8
je 0x14011f1b1
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call fcn.14011ee00
jmp 0x14011f1b7
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14011f1cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.14017a048
add rsp, 0x20
pop rbx
ret
Function at 0x14011f648
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 [0x1402e0830]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x14011f6a6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x14011f6af
call fcn.140022f2c
test eax, eax
je 0x14011f6cb
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14011f6d5
movzx eax, r13w
jmp 0x14011f73e
test rbx, rbx
jne 0x14011f6f5
lea rcx, str.GetFileTitleW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x14011f709
mov qword [0x1402e0830], 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 0x14011f720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14011f722
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14011f73b
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 0x14013f188
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 [0x1402d18f8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x14013f22e
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.140140518
mov rcx, rbx
call fcn.14013f640
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.1401cf0f0
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 0x14013f24d
cmp r8, 0x79
je 0x14013f244
cmp r8, 0x12
jne 0x14013f249
mov esi, 1
mov eax, esi
jmp 0x14013f20d
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 0x14013f282
cmp rdi, 0x79
jne 0x14013f1fc
cmp qword [0x1402dde70], rsi
jne 0x14013f20b
test byte [rbx + 0x478], 2
jne 0x14013f20b
cmp rdi, 0x12
je 0x14013f2b8
cmp rdi, 0x79
jne 0x14013f20b
test ebp, ebp
jne 0x14013f20b
test eax, eax
jne 0x14013f20b
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14001d010
cmp rax, rbx
jne 0x14013f2dd
bt r15, 0x1e
jb 0x14013f2dd
cmp rdi, 0x79
jne 0x14013f2ed
mov rcx, r14
jmp 0x14013f2e6
cmp rdi, 0x79
jne 0x14013f2ed
mov rcx, rbx
call fcn.140023d54
jmp 0x14013f30d
cmp dword [rbx + 0x414], esi
jge 0x14013f30d
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 0x14013f20d
Function at 0x140162b7c
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 [0x1402e19a8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x140162bc7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140162bd0
call fcn.140022f2c
test eax, eax
je 0x140162bec
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140162bf4
xor eax, eax
jmp 0x140162c51
test rbx, rbx
jne 0x140162c14
lea rcx, str.PrintDlgW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x140162c1f
mov qword [0x1402e19a8], 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 0x140162c34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140162c36
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140162c4f
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 0x140164044
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 0x1401640b7
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x120]
call fcn.1401799fc
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 0x1401640ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbx + 0x138], 0
jne 0x14016406f
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 0x1401640e9
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 0x14016410b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0x120]
call fcn.140179548
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.140166148
nop
lea rcx, [rbx + 0xb0]
mov qword [rcx], rdi
call fcn.140166148
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.140166334
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.1401661e4
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.14016627c
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140164cd4
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 0x140164d06
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140164d06
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140179620
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140167014
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 0x1401671e8
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.14004e0d4
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.140073d78
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.1400f5c78
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 0x1401670ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1401671d9
call fcn.1400256ec
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1401671ce
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
call fcn.1400256ec
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1401671c3
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.140165294
xor eax, eax
mov rbx, qword [rbp + 0x30]
test rbx, rbx
setne al
test eax, eax
je 0x140167169
mov rcx, rbx
call fcn.1401d9a08
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 0x140167184
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 0x1401671a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x38], 0
jne 0x1401670c2
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401671bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1401671ea
mov ecx, 0x80004005
call fcn.140003220
nop
mov ecx, 0x80004005
call fcn.140003220
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401671e8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14017ceb4
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 [0x1402e19d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x14017ceff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x14017cf08
call fcn.140022f2c
test eax, eax
je 0x14017cf24
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017cf2c
xor eax, eax
jmp 0x14017cf89
test rbx, rbx
jne 0x14017cf4c
lea rcx, str.GetOpenFileNameW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x14017cf57
mov qword [0x1402e19d8], 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 0x14017cf6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017cf6e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017cf87
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 0x14017cfa0
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 [0x1402e19e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x14017cfeb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x14017cff4
call fcn.140022f2c
test eax, eax
je 0x14017d010
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14017d018
xor eax, eax
jmp 0x14017d075
test rbx, rbx
jne 0x14017d038
lea rcx, str.GetSaveFileNameW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x14017d043
mov qword [0x1402e19e0], 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 0x14017d058
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14017d05a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017d073
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 0x1401a0820
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 [0x1402e20e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1401a086b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1401a0874
call fcn.140022f2c
test eax, eax
je 0x1401a0890
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401a0898
xor eax, eax
jmp 0x1401a08f5
test rbx, rbx
jne 0x1401a08b8
lea rcx, str.ChooseFontW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x1401a08c3
mov qword [0x1402e20e8], 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 0x1401a08d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401a08da
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401a08f3
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 0x1401a5dcc
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd40]
sub rsp, 0xe40
mov rax, qword [0x1402d18f8]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x1401a5fc2
test r8, r8
je 0x1401a5fc8
mov qword [rbp + 0x170], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov ecx, r9d
mov qword [rsp + 0x40], rbx
test r9d, r9d
je 0x1401a5f80
sub ecx, 1
je 0x1401a5e54
sub ecx, 1
je 0x1401a5f00
cmp ecx, 1
jne 0x1401a5f9e
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1401a5f7b
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.14017a96c
test eax, eax
je 0x1401a5f7b
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1401a5f74
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.14017a96c
test eax, eax
je 0x1401a5f74
cmp esi, 1
jne 0x1401a5f61
test byte [rbp + 0x180], 0x10
jne 0x1401a5f7b
test byte [rsp + 0x50], 0x10
jne 0x1401a5f74
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x1401a5f9e
mov rcx, qword [r10 + 8]
lea r8, [rbp + 0x650]
mov esi, 0x408
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1401a5f9e
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x390]
mov r9d, 0x2b8
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1401a5f9e
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x1401a5f9e
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x1401a5f7b
setg bl
jmp 0x1401a5f9e
mov ebx, 1
jmp 0x1401a5f9e
or ebx, 0xffffffff
jmp 0x1401a5f9e
mov rcx, qword [rdx]
mov r9, qword [r8 + 0x10]
mov r8, qword [rdx + 0x10]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x1401a5f9b
xor eax, eax
jmp 0x1401a5fa0
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401cf0f0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.1400251b0
int3
call fcn.1400251b0
int3
Function at 0x1401a6e10
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 [0x1402e2170]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1401a6e5b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1401a6e64
call fcn.140022f2c
test eax, eax
je 0x1401a6e80
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401a6e88
xor eax, eax
jmp 0x1401a6ee5
test rbx, rbx
jne 0x1401a6ea8
lea rcx, str.ChooseColorW
call fcn.140070468
mov rbx, rax
test rax, rax
je 0x1401a6eb3
mov qword [0x1402e2170], 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 0x1401a6ec8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401a6eca
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401a6ee3
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 0x1401af1d4
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.140023954
test eax, eax
je 0x1401af308
cmp dword [rbx + 0xb28], 0
je 0x1401af224
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x1401af30d
call fcn.14004e0d4
mov rcx, qword [rax + 8]
call fcn.140023f40
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.140011b10
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x1401af25f
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14001d6bc
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14003a5b0
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401af2b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401af2fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.140013f00
mov eax, 1
add rsp, 0x40
pop rbx
ret