joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1c00
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x12c0]
mov rdi, rcx
cmp qword [rdx], rax
jne 0x1400d1d59
call qword [sym.imp.USER32.dll_GetMessagePos]
lea rdx, [rsp + 0x38]
movsx ecx, ax
shr eax, 0x10
mov dword [rsp + 0x38], ecx
mov rcx, qword [rdi + 0x12c0]
cwde
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r11, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x12c0]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x1012
mov qword [rsp + 0x40], r11
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x48], 1
je 0x1400d1d59
cmp dword [rsp + 0x4c], 0xffffffff
je 0x1400d1d59
mov ecx, reloc.SHELL32.dll_ILClone
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.SHELL32.dll_ILRemoveLastID
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.SHELL32.dll_ILFindLastID
movzx esi, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, bx
je 0x1400d1d32
mov rcx, qword [rdi + 0xa50]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rcx, qword [rdi + 0xa50]
mov edx, dword [rsp + 0x4c]
mov r8, qword [rcx]
mov rbx, rax
call qword [r8 + 0x118]
lea r9d, [rsi + 1]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, str.properties
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.1400ae080
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400d1d4c
test cx, si
je 0x1400d1d6c
mov r8d, 1
xor r9d, r9d
mov edx, dword [rsp + 0x4c]
mov rcx, rdi
call fcn.1400c41c0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x60
pop rdi
ret
xor r8d, r8d
test cx, ax
je 0x1400d1d3d
lea r9d, [r8 + 1]
jmp 0x1400d1d40
Function at 0x1400d2f20
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x298
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r12, r9
mov r13d, r8d
mov rbp, rdx
mov rdi, rcx
cmp r8d, 0xb1
je 0x1400d30fc
cmp r8d, 0x8037
jne 0x1400d3184
cmp r9, 9
je 0x1400d305e
cmp r9, 0x71
jne 0x1400d3184
lea r9, [rsp + 0x70]
lea edx, [r12 - 0x64]
mov r8d, 0x104
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xa50]
mov edx, dword [rdi + 0xf404]
mov rax, qword [rcx]
call qword [rax + 0xf8]
test al, 0x10
jne 0x1400d3184
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
dec ebx
movsxd rcx, ebx
js 0x1400d3184
nop dword [rax + rax]
cmp word [rsp + rcx*2 + 0x70], 0x2e
je 0x1400d2fe4
dec ebx
dec rcx
jns 0x1400d2fd0
jmp 0x1400d3184
mov eax, dword [rdi + 0x1b98]
test eax, eax
jne 0x1400d301f
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0xb1
mov rcx, rbp
movsxd r9, eax
lea eax, [rbx + 1]
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x1b98], 1
jmp 0x1400d3184
cmp eax, 1
jne 0x1400d3034
mov dword [rdi + 0x1b98], 2
or r9, 0xffffffffffffffff
jmp 0x1400d3048
cmp eax, 2
jne 0x1400d3184
xor esi, esi
movsxd r9, ebx
mov dword [rdi + 0x1b98], esi
xor r8d, r8d
mov edx, 0xb1
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400d3184
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, 2
or r8, 0xffffffffffffffff
mov rcx, rax
mov edx, 0x100c
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.USER32.dll_GetParent]
lea r9, [rsp + 0x20]
xor esi, esi
movsxd r8, ebx
mov edx, 0x102b
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x2c], esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
dec eax
cmp ebx, eax
je 0x1400d30d5
lea esi, [rbx + 1]
mov rcx, rbp
movsxd rbx, esi
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x1076
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x1400d319a
cmp dword [rcx + 0xf3fc], 0
je 0x1400d3184
test r9, r9
jne 0x1400d3184
cmp qword [rsp + 0x2f0], 0xffffffffffffffff
jne 0x1400d3184
lea r9, [rsp + 0x70]
mov edx, ILFindLastID
mov r8d, 0x104
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xa50]
mov edx, dword [rdi + 0xf404]
mov rax, qword [rcx]
call qword [rax + 0xf8]
xor esi, esi
test al, 0x10
jne 0x1400d317e
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
js 0x1400d317e
nop dword [rax]
cmp word [rsp + rcx*2 + 0x70], 0x2e
je 0x1400d3171
dec eax
dec rcx
jns 0x1400d3160
jmp 0x1400d317e
cdqe
mov r12, rsi
mov qword [rsp + 0x2f0], rax
mov dword [rdi + 0xf3fc], esi
mov r9, qword [rsp + 0x2f0]
mov r8, r12
mov edx, r13d
mov rcx, rbp
call fcn.140001a50
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x298
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d4dd0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov r13, rdx
mov rdi, rcx
call fcn.1400d2900
mov r12, rax
mov rcx, qword [rdi + 0xa50]
mov r8, qword [rcx]
call qword [r8 + 0x70]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.SHELL32.dll_ILClone]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.SHELL32.dll_ILRemoveLastID]
mov rcx, rbp
call qword [sym.imp.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0xe8], rax
xor r14d, r14d
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xe0], r14
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x1400d4e9a
mov rdx, qword [rsp + 0xe0]
mov rcx, rsi
call fcn.140092a30
mov ebx, eax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
je 0x1400d4e9a
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov ebx, eax
jmp 0x1400d4ee8
mov qword [rsp + 0xe0], r14
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400fa1e0]
xor r8d, r8d
mov rdx, rsi
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
test ebx, ebx
js 0x1400d4f9b
mov qword [rsp + 0xe0], r14
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r14
lea rdx, [0x1400fa3e0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xe8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x50]
test eax, eax
js 0x1400d4f8d
mov r9, rdi
mov r8, qword [rsp + 0xe0]
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.14008de20
nop
mov rax, qword [rdi + 0x12a0]
mov rdx, qword [rdi + 0x68]
test rdx, rdx
je 0x1400d4f74
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
lea rcx, [rsp + 0x50]
call fcn.14008e210
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
nop
lea rcx, [rsp + 0x50]
call fcn.14008dcf0
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyMenu]
add rsp, 0x90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d4fd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x68]
mov rsi, rdx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1400d513a
mov ecx, reloc.SHELL32.dll_ILRemoveLastID
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1400d513a
mov ecx, reloc.SHELL32.dll_ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1400d513a
mov rax, qword [rsi]
mov rcx, qword [rdi + 0x12c0]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rdi + 0x12c0]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1012
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x78], 1
jne 0x1400d513a
movsxd rax, dword [rsp + 0x7c]
cmp eax, 0xffffffff
je 0x1400d513a
mov rcx, qword [rdi + 0x12c0]
mov r8, rax
mov edx, 0x102c
mov r9d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
je 0x1400d513a
xor r9d, r9d
mov qword [rsp + 0xb0], rbx
mov rbx, qword [rdi + 0x12c0]
lea edx, [r9 + 0xb]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x102b
mov rcx, rbx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x2c], 0
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rsp + 0x7c]
mov rcx, qword [rdi + 0x12c0]
lea r9, [rsp + 0x20]
mov edx, 0x102b
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x2c], 2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rdi + 0x12c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rsi
mov rcx, rdi
test eax, eax
jne 0x1400d5163
call fcn.1400d4dd0
jmp 0x1400d5168
call fcn.1400d4b30
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14004ae00
mov rsi, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400d67b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx + 0x10]
mov rbx, rdx
cmp eax, 0xfffffffc
je 0x1400d67c6
cmp eax, 0xfffffffe
jne 0x1400d6804
mov rcx, qword [rcx + 8]
mov edx, 0x523
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp qword [rbx], rax
jne 0x1400d6804
lea r8, [rbx + 0x88]
lea rdx, [0x14010c6f8]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400d8ec0
Capabilities:
Get file system object information

Disassembly:
push rsi
sub rsp, 0x320
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x3f8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1400d8f93
mov qword [rsp + 0x338], rbx
mov qword [rsp + 0x340], rdi
mov edi, eax
xor ebx, ebx
nop word [rax + rax]
mov rcx, qword [rsi + 0x3f8]
lea r9, [rsp + 0x30]
mov r8, rbx
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400d8f7b
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
movsxd r9, dword [rsp + 0x58]
movsxd r8, dword [rsp + 0x34]
mov rcx, qword [rsi + 0x3f8]
mov edx, 0x42b
call qword [sym.imp.USER32.dll_SendMessageW]
inc rbx
dec rdi
jne 0x1400d8f20
mov rdi, qword [rsp + 0x340]
mov rbx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x320
pop rsi
ret

Function at 0x1400d8fc0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x320
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbp, rcx
mov rcx, qword [rcx + 0x3f8]
mov rsi, rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov rdi, rax
test eax, eax
jle 0x1400d9083
nop dword [rax + rax]
mov rcx, qword [rbp + 0x3f8]
lea r9, [rsp + 0x30]
movsxd r8, ebx
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400d9041
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400d9049
inc ebx
cmp ebx, edi
jl 0x1400d9010
jmp 0x1400d9083
lea r8, [rsp + 0x50]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
movsxd r9, dword [rsp + 0x58]
movsxd r8, dword [rsp + 0x34]
mov rcx, qword [rbp + 0x3f8]
mov edx, 0x42b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x350]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d9190
Capabilities:
Get file system object information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x360
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rsi, rcx
xor edi, edi
lea rax, [r11 - 0x78]
mov rcx, rdx
mov rbp, rdx
lea r8, [r11 - 0x78]
sub rcx, rax
lea r9d, [rdi + 0x20]
lea rax, [r9 + 0x7fffffde]
test rax, rax
je 0x1400d91f6
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400d91f6
mov word [r8], ax
add r8, 2
dec r9
jne 0x1400d91d1
jmp 0x1400d91fb
test r9, r9
jne 0x1400d91ff
sub r8, 2
lea rcx, [rsp + 0x310]
mov word [r8], di
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x30e], 0x5c
jne 0x1400d9238
lea rcx, [rsp + 0x310]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov word [rsp + rcx*2 + 0x30e], di
lea r8, [rsp + 0x50]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.14004af90
mov rcx, rbp
mov r13, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbp
inc eax
mov rcx, r13
movsxd rdx, eax
call fcn.140001240
mov rcx, qword [rsi + 0x3f8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, edi
mov r12, rax
test eax, eax
jle 0x1400d92ea
nop dword [rax]
mov rcx, qword [rsi + 0x3f8]
lea r9, [rsp + 0x30]
movsxd r8, ebx
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400d92e3
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
js 0x1400d92ea
inc edi
inc ebx
cmp ebx, r12d
jl 0x1400d92b0
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsi + 0x3f8]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov eax, dword [rsi + 0xf290]
movsxd r8, edi
add eax, 0xb798
mov edx, 0x443
mov word [rsp + 0x38], 0x5004
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400d933f
inc dword [rsi + 0xf290]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x360
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d9820
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
xor r12d, r12d
mov rsi, rcx
lea r8d, [r12 + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov edi, r12d
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x30]
call fcn.14004ba9c
mov edx, 0x451
mov rcx, rsi
movsxd rbp, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
cmp rbx, rax
jne 0x1400d9890
mov edx, 0x450
jmp 0x1400d9910
mov edx, 0x452
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
cmp rbx, rax
jne 0x1400d98aa
mov edx, 0x44e
jmp 0x1400d9910
mov edx, 0x453
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
cmp rbx, rax
jne 0x1400d98c4
mov edx, 0x44f
jmp 0x1400d9910
mov edx, 0x457
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
cmp rbx, rax
jne 0x1400d98de
mov edx, 0x454
jmp 0x1400d9910
mov edx, 0x458
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
cmp rbx, rax
jne 0x1400d98f8
mov edx, 0x455
jmp 0x1400d9910
mov edx, 0x459
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp rbx, rax
jne 0x1400d9919
mov edx, 0x456
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
mov r9, rbp
mov edx, 0x405
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x450
xor r9d, r9d
lea r8d, [rdx - 0x50]
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x44e
xor r9d, r9d
lea r8d, [rdx - 0x4e]
mov rcx, rsi
mov qword [rsp + 0x20], r12
mov rdi, rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x44f
lea r8d, [rdx - 0x4f]
xor r9d, r9d
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [0x140149308]
movzx r8d, al
movzx eax, bl
shl eax, 8
shl r8d, 0x10
xor r9d, r9d
or r8d, eax
movzx eax, dil
mov edx, 0x8068
or r8d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x454
xor r9d, r9d
lea r8d, [rdx - 0x54]
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x455
xor r9d, r9d
lea r8d, [rdx - 0x55]
mov rcx, rsi
mov qword [rsp + 0x20], r12
mov rdi, rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x456
lea r8d, [rdx - 0x56]
xor r9d, r9d
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [0x140149308]
movzx r8d, al
movzx eax, bl
shl eax, 8
shl r8d, 0x10
xor r9d, r9d
or r8d, eax
movzx eax, dil
mov edx, 0x806c
or r8d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400daa00
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, rdx
add rcx, 0x220
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rdx, [0x14010c928]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret

Function at 0x1400daa50
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rcx + 0x220]
mov r10, rdx
lea rdx, [0x14010c908]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov r9d, 4
xor r8d, r8d
mov rcx, r10
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x1400dcc90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x220]
mov rbx, rcx
mov rdi, rdx
lea rcx, [rsp + 0x40]
lea rdx, str.InitialColor
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x224]
lea rdx, str.CustomColors
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + Shell_GetImageLists], 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400dcd20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rcx + 0x220]
mov rbx, rcx
lea rdx, [0x14010c9f0]
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rbx + 0x224]
lea rdx, [0x14010ca10]
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], Shell_GetImageLists
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e1049
Capabilities:
Get file system object information

Disassembly:
cmp edx, 0xffffffff
je 0x1400e11a3
push rsi
sub rsp, 0x570
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x400]
movsxd r8, edx
lea r9, [rsp + 0x68]
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400e118b
mov qword [rsp + 0x590], rbx
mov qword [rsp + 0x598], rdi
mov rdi, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x400
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400e1107
lea r8, [rsp + 0x30]
mov edx, ILFindLastID
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400e10fe
mov rcx, qword [rsp + 0x30]
lea rdx, [rdi + 0x400]
lea r8, [rsp + 0x350]
mov r9d, 0x104
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x350]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x98]
movsxd r8, dword [rsp + 0x6c]
mov rcx, qword [rsi + 0x400]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x38], 0x30
mov dword [rsp + 0x3c], 3
cmp dword [rdi + 0x800], 0
lea rax, [0x140104b7c]
cmovne rax, rdi
lea r9, [rsp + 0x38]
mov edx, 0x440
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x598]
mov rbx, qword [rsp + 0x590]
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x570
pop rsi
repz ret
Function at 0x1400e11b0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x540
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x400
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400e1243
lea r8, [rsp + 0x30]
mov edx, ILFindLastID
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400e123a
mov rcx, qword [rsp + 0x30]
lea rdx, [rdi + 0x400]
lea r8, [rsp + 0x320]
mov r9d, 0x104
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x320]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x68]
xor edx, edx
test rax, rax
mov word [rsp + 0x40], 0x1004
mov qword [rsp + 0x48], rdi
cmove ecx, edx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsi + 0xf2ac]
lea eax, [rcx + 0xbf68]
mov dword [rsp + 0x3c], eax
cmp dword [rdi + 0x800], edx
je 0x1400e12ad
mov byte [rsp + 0x41], 0x50
mov qword [rsp + 0x50], rdi
lea eax, [rcx + 1]
mov rcx, qword [rsi + 0x400]
lea r9, [rsp + 0x38]
mov edx, 0x444
mov r8d, 1
mov dword [rsi + 0xf2ac], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsi + 0x400]
mov rcx, qword [rsi + 0x78]
call fcn.140094e10
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret