joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d9d8
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 0x14004dbac
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.14003385c
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.140020030
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.1400474cc
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 0x14004da7e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14004db9d
call fcn.14001af90
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14004db92
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
call fcn.14001af90
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14004db87
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.14004ba58
xor eax, eax
mov rbx, qword [rbp + 0x30]
test rbx, rbx
setne al
test eax, eax
je 0x14004db2d
mov rcx, rbx
call fcn.1401ab854
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 0x14004db48
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 0x14004db66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x38], 0
jne 0x14004da86
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14004db80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14004dbae
mov ecx, 0x80004005
call fcn.14000c138
nop
mov ecx, 0x80004005
call fcn.14000c138
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14004dbac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14004f3a4
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 [0x1402947e0]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x14004f402
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x14004f40b
call fcn.140017360
test eax, eax
je 0x14004f427
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14004f431
movzx eax, r13w
jmp 0x14004f49a
test rbx, rbx
jne 0x14004f451
lea rcx, str.GetFileTitleW
call fcn.140036884
mov rbx, rax
test rax, rax
je 0x14004f465
mov qword [0x1402947e0], 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 0x14004f47c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004f47e
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14004f497
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 0x140054e6c
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 [0x140294ba0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x140054eb7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x140054ec0
call fcn.140017360
test eax, eax
je 0x140054edc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140054ee4
xor eax, eax
jmp 0x140054f41
test rbx, rbx
jne 0x140054f04
lea rcx, str.ImageList_GetImageCount
call fcn.140016da4
mov rbx, rax
test rax, rax
je 0x140054f0f
mov qword [0x140294ba0], 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 0x140054f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140054f26
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140054f3f
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 0x140059b78
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 0x140059ba9
call fcn.14003385c
mov rdi, qword [rax + 0x18]
lea r8, [0x1401ea5d8]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140059bc8
xor eax, eax
jmp 0x140059c14
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140059bc4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140059c09
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140059c30
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 0x14006b87c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x10d], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14006b94c
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.1400113cc
cmp qword [rbx + 0x138], 0
jne 0x14006b8bc
mov qword [rbx + 0x138], rdi
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov byte [rbx + 0x10d], 1
call qword [rax + 0x418]
lea rcx, [rbx + 0x1d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, 1
je 0x14006b91c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x14006b91c
call fcn.14003385c
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rbx + 0x178]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x14006b947
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.14005471c
mov rcx, rax
call fcn.14007acb0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6018
Capabilities:
Log keystrokes via polling

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
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x1400c6100
xor edx, edx
call fcn.1400609bc
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x1400c6062
mov rdx, rbp
call fcn.140103668
jmp 0x1400c610b
call fcn.1400609b4
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x1400c6078
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x1400c6100
cmp r14d, esi
jge 0x1400c6100
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x1400c60a6
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x27
mov rcx, rbx
call fcn.14001931c
bt eax, 0x16
jae 0x1400c60c8
mov eax, 0x25
cmp edi, eax
jne 0x1400c60c2
lea edi, [rax + 2]
jmp 0x1400c60c8
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x1400c61c5
sub edi, 0xe
je 0x1400c61a1
sub edi, 0xa
je 0x1400c6193
sub edi, 2
je 0x1400c6141
mov rcx, rbx
cmp edi, 1
je 0x1400c6124
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x1400c613a
mov rdx, rbp
mov rcx, rbx
call fcn.140066704
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
mov edx, dword [rbx + 0x1138]
call fcn.14006075c
mov rdx, rax
mov rcx, rbx
call fcn.14005fd68
mov eax, 1
jmp 0x1400c610b
inc dword [rbx + 0x1138]
mov eax, dword [rbx + 0x1138]
cmp eax, esi
cmovge eax, r15d
mov dword [rbx + 0x1138], eax
mov edx, r14d
mov rcx, rbx
call fcn.1400611d0
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400611d0
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x1138]
call qword [rax + 0x4b8]
jmp 0x1400c6100
sub dword [rbx + 0x1138], 1
jns 0x1400c6159
lea eax, [rsi - 1]
jmp 0x1400c6153
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x1402973d0], r15d
jmp 0x1400c6100
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14006075c
mov rdx, rax
mov rcx, rbx
call fcn.14005fd68
test eax, eax
jne 0x1400c613a
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14006075c
mov rdx, rax
mov rcx, rbx
call fcn.140066918
jmp 0x1400c613a
Function at 0x1400c8940
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rdx
mov qword [rax + 8], rbx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x370]
mov edx, dword [0x140288854]
lea r8, [rsp + 0x50]
or ecx, 0xffffffff
and al, 0x80
mov rax, qword [rdi]
cmovne edx, ecx
mov rcx, rdi
call qword [rax + 0x568]
mov rdx, qword [rsp + 0x50]
lea rcx, str.CDockablePane
mov ebp, eax
call fcn.140037938
mov rsi, rax
cmp rax, rdi
je 0x1400c8a40
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400c8a40
test rsi, rsi
je 0x1400c89e5
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.CMultiPaneFrameWnd
call fcn.140037938
mov r14, rax
jmp 0x1400c89e8
mov r14, rbx
cmp ebp, 2
jne 0x1400c8a5b
test r14, r14
je 0x1400c8a25
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x1400c8a40
cmp qword [rsp + 0x50], rbx
je 0x1400c8a25
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x498]
test eax, eax
mov rax, rdi
sete bl
mov dword [r15], ebx
jmp 0x1400c8a42
mov rax, qword [rdi]
mov r9d, 5
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x3f0]
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
cmp ebp, 3
jne 0x1400c8a40
test rsi, rsi
je 0x1400c8a40
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x1400c8a40
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x1400c8a40
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x480]
mov rax, qword [rdi]
lea r9d, [rbp - 2]
lea r8d, [rbp + 2]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x698]
test rax, rax
setne bl
mov dword [r15], ebx
jmp 0x1400c8a42
Function at 0x1400cb1c8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rsi, rcx
mov edx, dword [0x14029ac78]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1402974c0], eax
jle 0x1400cb24f
lea rcx, [0x1402974c0]
call fcn.14019f750
cmp dword [0x1402974c0], 0xffffffff
jne 0x1400cb24f
call fcn.14001af90
mov rcx, rax
test rax, rax
je 0x1400cb31e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [0x1401d84d0]
mov qword [0x1402974b8], rax
call fcn.14019f2f4
lea rcx, [0x1402974c0]
call fcn.14019f6f0
test rdi, rdi
je 0x1400cb329
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x1400cb30c
cmp qword [rax + 0x40], 0
je 0x1400cb30c
test rax, rax
je 0x1400cb27c
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x1400cb30c
mov rax, qword [rdi + 8]
sub rax, 1
je 0x1400cb2d3
sub rax, 1
je 0x1400cb2a2
cmp rax, 1
jne 0x1400cb30c
mov ebx, 0x428e
jmp 0x1400cb2d8
mov ecx, 0x11
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400cb2d8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x1400cb2d8
mov ebx, 0x3ea4
jmp 0x1400cb2d8
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.140033360
test rax, rax
je 0x1400cb32f
mov r8d, ebx
lea rcx, [0x1402974b8]
mov rdx, rax
call fcn.14000da7c
test eax, eax
je 0x1400cb32f
mov rax, qword [0x1402974b8]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x1400cb30e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000c138
int3
call fcn.140019dcc
int3
call fcn.140019dcc
int3
Function at 0x1400cd210
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 [0x140297538]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x1400cd25b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x1400cd264
call fcn.140017360
test eax, eax
je 0x1400cd280
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cd288
xor eax, eax
jmp 0x1400cd2e5
test rbx, rbx
jne 0x1400cd2a8
lea rcx, str.ImageList_Destroy
call fcn.140016da4
mov rbx, rax
test rax, rax
je 0x1400cd2b3
mov qword [0x140297538], 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 0x1400cd2c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400cd2ca
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cd2e3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400fed2a
xor eax, eax
add rsp, 0x28
ret
call fcn.1400fed3c
mov rcx, rax
add rsp, 0x28
jmp 0x1400cd210
Function at 0x1400d9e68
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 [0x1402899b0]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x1400da05e
test r8, r8
je 0x1400da064
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 0x1400da01c
sub ecx, 1
je 0x1400d9ef0
sub ecx, 1
je 0x1400d9f9c
cmp ecx, 1
jne 0x1400da03a
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400da017
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.1400dbcd8
test eax, eax
je 0x1400da017
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400da010
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.1400dbcd8
test eax, eax
je 0x1400da010
cmp esi, 1
jne 0x1400d9ffd
test byte [rbp + 0x180], 0x10
jne 0x1400da017
test byte [rsp + 0x50], 0x10
jne 0x1400da010
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x1400da03a
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 0x1400da03a
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 0x1400da03a
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x1400da03a
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x1400da017
setg bl
jmp 0x1400da03a
mov ebx, 1
jmp 0x1400da03a
or ebx, 0xffffffff
jmp 0x1400da03a
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 0x1400da037
xor eax, eax
jmp 0x1400da03c
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.14019fa40
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.140019dcc
int3
call fcn.140019dcc
int3
Function at 0x1400ff4a4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x140297cc8]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x1400ff501
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x1400ff50a
call fcn.140017360
test eax, eax
je 0x1400ff526
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400ff531
xor eax, eax
jmp 0x1400ff5bc
test rbx, rbx
jne 0x1400ff551
lea rcx, str.ImageList_LoadImageW
call fcn.140016da4
mov rbx, rax
test rax, rax
je 0x1400ff588
mov qword [0x140297cc8], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400ff59e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400ff5a0
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ff5b9
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x140113e40
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 0x140113f78
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 0x140113fba
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 0x1401143c8
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 0x14011449a
test rbx, rbx
je 0x1401144a0
test r9, r9
je 0x1401144a6
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 0x140114483
cmp dword [rsp + 0x48], 3
jne 0x140114483
test eax, eax
jne 0x140114483
cmp dword [rdi], eax
je 0x140114483
mov ecx, dword [rdi]
call fcn.14000dee8
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 0x140114477
cmp dword [rsp + 0x48], 3
jne 0x140114477
test eax, eax
jne 0x140114477
mov eax, 1
jmp 0x140114485
mov rcx, qword [rbx]
call fcn.14000dee0
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.140019dcc
int3
call fcn.140019dcc
int3
call fcn.140019dcc
int3

Function at 0x140114764
Capabilities:
Set registry value

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

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x140288a38], edi
je 0x140115ee9
cmp dword [0x140288e60], 0xfffffffe
jne 0x140115ece
cmp ecx, 0xffffffff
je 0x140115ee9
mov edx, dword [0x14029ac78]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x140298288], ecx
jle 0x140115e6c
lea rcx, [0x140298288]
call fcn.14019f750
cmp dword [0x140298288], 0xffffffff
jne 0x140115e6c
lea rcx, [0x140298250]
call fcn.140055530
lea rcx, [0x1401d8634]
call fcn.14019f2f4
lea rcx, [0x140298288]
call fcn.14019f6f0
lea rcx, [0x140298260]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140298228], rdi
jne 0x140115ef4
xor r8d, r8d
lea rcx, [0x140115efc]
xor edx, edx
call fcn.1401ad3c4
mov qword [0x140298228], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140115eb8
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140288e60], ebx
jmp 0x140115ebf
mov qword [0x140298228], rdi
lea rcx, [0x140298260]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140115ee9
mov rax, qword [0x140298228]
cmp ecx, 0xffffffff
mov dword [0x140288e60], ecx
cmove rax, rdi
mov qword [0x140298228], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140019dcc
int3