joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e8e10
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 0x1400e8ef8
xor edx, edx
call fcn.140079ca8
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x1400e8e5a
mov rdx, rbp
call fcn.140141348
jmp 0x1400e8f03
call fcn.140079ca0
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x1400e8e70
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x1400e8ef8
cmp r14d, esi
jge 0x1400e8ef8
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x1400e8e9e
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.14003d068
bt eax, 0x16
jae 0x1400e8ec0
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroyDescriptor
cmp edi, eax
jne 0x1400e8eba
lea edi, [rax + 2]
jmp 0x1400e8ec0
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x1400e8fbd
sub edi, 0xe
je 0x1400e8f99
sub edi, 0xa
je 0x1400e8f8b
sub edi, 2
je 0x1400e8f39
mov rcx, rbx
cmp edi, 1
je 0x1400e8f1c
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x1400e8f32
mov rdx, rbp
mov rcx, rbx
call fcn.140080020
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.1400799b0
mov rdx, rax
mov rcx, rbx
call fcn.140078e28
mov eax, 1
jmp 0x1400e8f03
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.14007a744
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14007a744
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 0x1400e8ef8
sub dword [rbx + 0x1138], 1
jns 0x1400e8f51
lea eax, [rsi - 1]
jmp 0x1400e8f4b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x1403f4e30], r15d
jmp 0x1400e8ef8
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400799b0
mov rdx, rax
mov rcx, rbx
call fcn.140078e28
test eax, eax
jne 0x1400e8f32
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.1400799b0
mov rdx, rax
mov rcx, rbx
call fcn.140080234
jmp 0x1400e8f32
Function at 0x1400eb7f8
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 [reloc.OLEAUT32.dll_SafeArrayDestroy]
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.14003f75c
mov rsi, rax
cmp rax, rdi
je 0x1400eb8f8
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400eb8f8
test rsi, rsi
je 0x1400eb89d
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.CMultiPaneFrameWnd
call fcn.14003f75c
mov r14, rax
jmp 0x1400eb8a0
mov r14, rbx
cmp ebp, 2
jne 0x1400eb913
test r14, r14
je 0x1400eb8dd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x1400eb8f8
cmp qword [rsp + 0x50], rbx
je 0x1400eb8dd
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 0x1400eb8fa
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 0x1400eb8f8
test rsi, rsi
je 0x1400eb8f8
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x1400eb8f8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x1400eb8f8
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 0x1400eb8fa
Function at 0x1400ee09c
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 [0x1403f8220]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1403f4f20], eax
jle 0x1400ee123
lea rcx, [0x1403f4f20]
call fcn.140240e2c
cmp dword [0x1403f4f20], 0xffffffff
jne 0x1400ee123
call fcn.140014770
mov rcx, rax
test rax, rax
je 0x1400ee1f2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
lea rcx, [0x1402dbd20]
mov qword [0x1403f4f18], rax
call fcn.140240c24
lea rcx, [0x1403f4f20]
call fcn.140240dcc
test rdi, rdi
je 0x1400ee1fd
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x1400ee1e0
cmp qword [rax + 0x40], 0
je 0x1400ee1e0
test rax, rax
je 0x1400ee150
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x1400ee1e0
mov rax, qword [rdi + 8]
sub rax, 1
je 0x1400ee1a7
sub rax, 1
je 0x1400ee176
cmp rax, 1
jne 0x1400ee1e0
mov ebx, 0x428e
jmp 0x1400ee1ac
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400ee1ac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x1400ee1ac
mov ebx, 0x3ea4
jmp 0x1400ee1ac
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.140031aec
test rax, rax
je 0x1400ee203
mov r8d, ebx
lea rcx, [0x1403f4f18]
mov rdx, rax
call fcn.140007318
test eax, eax
je 0x1400ee203
mov rax, qword [0x1403f4f18]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x1400ee1e2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004b6c
int3
call fcn.140010b1c
int3
call fcn.140010b1c
int3
Function at 0x1400f2688
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 [0x1403f4f98]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x1400f26d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x1400f26dc
call fcn.1400198e8
test eax, eax
je 0x1400f26f8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403e2448]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f2700
xor eax, eax
jmp 0x1400f275d
test rbx, rbx
jne 0x1400f2720
lea rcx, str.ImageList_Destroy
call fcn.14002cea8
mov rbx, rax
test rax, rax
je 0x1400f272b
mov qword [0x1403f4f98], 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 0x1400f2740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f2742
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f275b
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 0x1401011cc
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 0x1401011f5
mov rdi, qword [rdx + 0x10]
jmp 0x140101246
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140101216
call fcn.14001626c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x140101230
call fcn.14001626c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x140101246
call fcn.14001626c
call fcn.1400321b4
cmp qword [rax + 0x68], 0
je 0x140101260
mov rdx, rdi
mov rcx, rbp
call fcn.1401005b8
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1401015d4
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x140101287
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x140101296
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 0x140101744
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 [0x1403f5100]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x140101790
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x140101799
call fcn.1400198e8
test eax, eax
je 0x1401017b5
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1403e2448]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401017c0
xor eax, eax
jmp 0x140101844
test r14, r14
jne 0x1401017dd
lea rcx, str.CreatePropertySheetPageW
call fcn.140101a40
test rax, rax
je 0x14010180f
mov qword [0x1403f5100], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1401017fe
cmp dword [rdi], 0x60
jb 0x1401017fe
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1403e2448]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x1403f5100]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x140101826
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140101828
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140101841
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 0x14010185c
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 [0x1403f5108]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x1401018a7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x1401018b0
call fcn.1400198e8
test eax, eax
je 0x1401018cc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403e2448]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401018d4
xor eax, eax
jmp 0x140101931
test rbx, rbx
jne 0x1401018f4
lea rcx, str.DestroyPropertySheetPage
call fcn.140101a40
mov rbx, rax
test rax, rax
je 0x1401018ff
mov qword [0x1403f5108], 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 0x140101914
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140101916
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010192f
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 0x140101948
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 [0x1403f5110]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x140101997
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x1401019a0
call fcn.1400198e8
test eax, eax
je 0x1401019bc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403e2448]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401019c6
or rax, 0xffffffffffffffff
jmp 0x140101a28
test rbx, rbx
jne 0x1401019e6
lea rcx, str.PropertySheetW
call fcn.140101a40
mov rbx, rax
test rax, rax
je 0x1401019f3
mov qword [0x1403f5110], 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 0x140101a0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140101a0c
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140101a25
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 0x140101cb8
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov ebx, 1
mov esi, r8d
xor r13d, r13d
mov r14d, r8d
mov r15, rdx
mov r12, rcx
and esi, ebx
je 0x140101d99
mov qword [rax - 0x60], r13
lea r8, str.Insertable
mov qword [rax - 0x68], r13
mov rdx, rcx
mov ebx, 0x2001f
mov qword [rbp - 0x18], r13
mov dword [rax - 0x70], ebx
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov dword [rax - 0x78], r13d
mov dword [rbp - 0x10], r13d
mov edi, r13d
mov qword [rbp - 8], r13
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
mov qword [rbp - 0x20], r13
call fcn.140040dcc
test eax, eax
jne 0x140101d71
mov qword [rsp + 0x38], r13
lea r8, str.Insertable
mov qword [rsp + 0x30], r13
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov rdx, r15
mov dword [rsp + 0x20], r13d
call fcn.140040dcc
mov rdi, qword [rbp - 0x30]
lea ebx, [r13 + 1]
test eax, eax
je 0x140101d74
mov ebx, r13d
test rdi, rdi
je 0x140101d82
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140101d91
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140101e64
mov al, r14b
lea rcx, str.Apartment
and al, 2
lea rdx, str.Free
mov al, r14b
lea rdi, str.Both
cmove rcx, r13
and al, 4
cmove rdx, rcx
and r14b, 6
cmp r14b, 6
cmovne rdi, rdx
test rdi, rdi
je 0x140101e59
lea rax, [rbp + 0x48]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.InprocServer32
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, r13d
sete bl
test ebx, ebx
je 0x140101e49
mov rcx, rdi
call fcn.14027bf28
mov rcx, qword [rbp + 0x48]
lea rdx, str.ThreadingModel
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x48]
mov ebx, r13d
test eax, eax
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140101e59
call fcn.1400321b4
cmp byte [rax + 0x28], r13b
jne 0x140101e64
mov ebx, 1
test ebx, ebx
je 0x140101e64
mov eax, 1
jmp 0x140101e8a
test esi, esi
je 0x140101e88
lea rdx, str.Insertable
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.Insertable
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140102948
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
and dword [rax - 0x20], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionPreviewHandlers
and qword [rax - 0x18], 0
mov rdi, rcx
mov rdx, 0xffffffff80000002
lea rcx, [rax - 0x28]
mov r9d, 0x2001f
mov qword [rax - 0x28], rdx
call fcn.14005394c
test eax, eax
jne 0x1401029ad
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rsp + 0x20], 0
je 0x1401029a8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
mov r9d, 0x2001f
lea r8, str.CLSID
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x20]
call fcn.14005394c
test eax, eax
jne 0x1401029f0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140102a34
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140102a00
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
jmp 0x1401029f5
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140102a00
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140106e04
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 [0x1403e39c0]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x140106ffa
test r8, r8
je 0x140107000
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 0x140106fb8
sub ecx, 1
je 0x140106e8c
sub ecx, 1
je 0x140106f38
cmp ecx, 1
jne 0x140106fd6
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140106fb3
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.14010d2a0
test eax, eax
je 0x140106fb3
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140106fac
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.14010d2a0
test eax, eax
je 0x140106fac
cmp esi, 1
jne 0x140106f99
test byte [rbp + 0x180], 0x10
jne 0x140106fb3
test byte [rsp + 0x50], 0x10
jne 0x140106fac
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x140106fd6
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 0x140106fd6
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 0x140106fd6
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x140106fd6
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x140106fb3
setg bl
jmp 0x140106fd6
mov ebx, 1
jmp 0x140106fd6
or ebx, 0xffffffff
jmp 0x140106fd6
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 0x140106fd3
xor eax, eax
jmp 0x140106fd8
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1402410d0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.140010b1c
int3
call fcn.140010b1c
int3
Function at 0x14010b244
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
cmp qword [rcx + 0x150], 0
mov rdi, rcx
jne 0x14010b318
cmp qword [rcx + 0x130], 0
je 0x14010b318
call fcn.1400321b4
mov rdx, qword [rdi + 0x130]
mov r8d, 5
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14010b318
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14010b318
call fcn.1400321b4
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x14010b318
mov ecx, SafeArrayAllocData
call fcn.140010904
mov r9, qword [rbx]
mov r8, rbp
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call qword [r9 + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov rdx, qword [rdi + 0x158]
mov qword [rdi + 0x150], rsi
test rdx, rdx
je 0x14010b311
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 0x30]
mov rcx, qword [rdi + 0x158]
mov edx, SafeArrayAllocData
call fcn.140240780
mov qword [rdi + 0x158], rsi
mov rax, qword [rdi + 0x150]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14010d500
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
je 0x14010d551
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010d565
lea rdx, str.SetFileAttributesTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14010d565
mov r8, qword [rbx]
mov edx, edi
mov rcx, rsi
call rax
jmp 0x14010d567
cmp dword [rcx + 8], 0
je 0x14010d565
mov edx, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14010d567
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret