joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010496c
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 [0x1402a4a28]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14029d688]
test eax, eax
je 0x1401049c9
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029d688]
test eax, eax
jne 0x1401049d2
call fcn.140023358
test eax, eax
je 0x1401049ee
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140295120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1401049f9
xor eax, eax
jmp 0x140104a84
test rbx, rbx
jne 0x140104a19
lea rcx, str.ImageList_LoadImageW
call fcn.140023020
mov rbx, rax
test rax, rax
je 0x140104a50
mov qword [0x1402a4a28], 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 0x140104a66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140104a68
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140104a81
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 0x140118590
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 0x1401186c8
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 0x14011870a
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 0x140118b18
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 0x140118bea
test rbx, rbx
je 0x140118bf0
test r9, r9
je 0x140118bf6
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 0x140118bd3
cmp dword [rsp + 0x48], 3
jne 0x140118bd3
test eax, eax
jne 0x140118bd3
cmp dword [rdi], eax
je 0x140118bd3
mov ecx, dword [rdi]
call fcn.14001449c
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 0x140118bc7
cmp dword [rsp + 0x48], 3
jne 0x140118bc7
test eax, eax
jne 0x140118bc7
mov eax, 1
jmp 0x140118bd5
mov rcx, qword [rbx]
call fcn.140014494
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.14002ac4c
int3
call fcn.14002ac4c
int3
call fcn.14002ac4c
int3

Function at 0x140118fbc
Capabilities:
Set registry value

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

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x140295b04], edi
je 0x14011a741
cmp dword [0x140295d50], 0xfffffffe
jne 0x14011a726
cmp ecx, 0xffffffff
je 0x14011a741
mov edx, dword [0x1402a79ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1402a4fe8], ecx
jle 0x14011a6c4
lea rcx, [0x1402a4fe8]
call fcn.1401a5a44
cmp dword [0x1402a4fe8], 0xffffffff
jne 0x14011a6c4
lea rcx, [0x1402a4fb0]
call fcn.14005619c
lea rcx, [0x1401e25b8]
call fcn.1401a5e30
lea rcx, [0x1402a4fe8]
call fcn.1401a59e4
lea rcx, [0x1402a4fc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1402a4f88], rdi
jne 0x14011a74c
xor r8d, r8d
lea rcx, [0x14011a754]
xor edx, edx
call fcn.1401b5f7c
mov qword [0x1402a4f88], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14011a710
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140295d50], ebx
jmp 0x14011a717
mov qword [0x1402a4f88], rdi
lea rcx, [0x1402a4fc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14011a741
mov rax, qword [0x1402a4f88]
cmp ecx, 0xffffffff
mov dword [0x140295d50], ecx
cmove rax, rdi
mov qword [0x1402a4f88], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14002ac4c
int3
Function at 0x1401233dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rbp, rdx
cmp eax, ecx
ja 0x1401235ab
je 0x1401235d1
cmp eax, 0xa1
jb 0x140123621
cmp eax, 0xa2
jbe 0x1401235d1
cmp eax, 0xa3
jbe 0x140123621
cmp eax, 0xa5
jbe 0x1401235d1
cmp eax, 0xa6
jbe 0x140123621
cmp eax, 0xa8
jbe 0x1401235d1
cmp eax, 0x100
jne 0x140123621
cmp dword [rbx + 0x154], 0xffffffff
je 0x1401235d1
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1401235d1
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x14012352c
cmp rax, 1
jne 0x1401235d1
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x140123522
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x1401234db
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x1401234ab
jmp 0x140123522
mov r8, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [r8 + 0x428]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x420]
mov rcx, rax
call fcn.1400389f4
mov r8, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [r8 + 0x4e0]
mov dword [rbx + 0x3b8], edi
mov eax, 1
jmp 0x14012364f
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x140123522
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x140123567
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x14012353f
jmp 0x140123522
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [rax + 0x428]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x420]
mov rcx, rax
call fcn.1400389f4
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x14012351c
cmp eax, 0x200
jb 0x140123621
cmp eax, 0x202
jbe 0x1401235d1
cmp eax, 0x203
jbe 0x140123621
cmp eax, 0x205
jbe 0x1401235d1
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140123621
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x1401235fc
cmp qword [rcx + 0x40], rdi
je 0x1401235fc
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x140123621
cmp qword [rcx + 0x40], rdi
je 0x140123621
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp + 8], 0x203
jne 0x140123644
lea rax, [rbx + 0x3208]
test rax, rax
je 0x14012363a
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x140123522
mov rdx, rbp
mov rcx, rbx
call fcn.14009dc08
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140135974
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 [0x140296908]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x140135a1a
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.140136b98
mov rcx, rbx
call fcn.140135e2c
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.1401a55b0
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 0x140135a39
cmp r8, 0x79
je 0x140135a30
cmp r8, 0x12
jne 0x140135a35
mov esi, 1
mov eax, esi
jmp 0x1401359f9
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 0x140135a6e
cmp rdi, 0x79
jne 0x1401359e8
cmp qword [0x1402a4048], rsi
jne 0x1401359f7
test byte [rbx + 0x478], 2
jne 0x1401359f7
cmp rdi, 0x12
je 0x140135aa4
cmp rdi, 0x79
jne 0x1401359f7
test ebp, ebp
jne 0x1401359f7
test eax, eax
jne 0x1401359f7
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140032028
cmp rax, rbx
jne 0x140135ac9
bt r15, 0x1e
jb 0x140135ac9
cmp rdi, 0x79
jne 0x140135ad9
mov rcx, r14
jmp 0x140135ad2
cmp rdi, 0x79
jne 0x140135ad9
mov rcx, rbx
call fcn.1400389f4
jmp 0x140135af9
cmp dword [rbx + 0x414], esi
jge 0x140135af9
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 0x1401359f9
Function at 0x140156c0c
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 [0x1402a5fe0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14029d688]
test eax, eax
je 0x140156c57
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029d688]
test eax, eax
jne 0x140156c60
call fcn.140023358
test eax, eax
je 0x140156c7c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140295120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140156c84
xor eax, eax
jmp 0x140156ce1
test rbx, rbx
jne 0x140156ca4
lea rcx, str.ChooseColorW
call fcn.14003bfc4
mov rbx, rax
test rax, rax
je 0x140156caf
mov qword [0x1402a5fe0], 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 0x140156cc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140156cc6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140156cdf
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 0x14015bac4
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 [0x140296908]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x14015bcba
test r8, r8
je 0x14015bcc0
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 0x14015bc78
sub ecx, 1
je 0x14015bb4c
sub ecx, 1
je 0x14015bbf8
cmp ecx, 1
jne 0x14015bc96
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14015bc73
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.1400dd840
test eax, eax
je 0x14015bc73
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14015bc6c
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.1400dd840
test eax, eax
je 0x14015bc6c
cmp esi, 1
jne 0x14015bc59
test byte [rbp + 0x180], 0x10
jne 0x14015bc73
test byte [rsp + 0x50], 0x10
jne 0x14015bc6c
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x14015bc96
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 0x14015bc96
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 0x14015bc96
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x14015bc96
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x14015bc73
setg bl
jmp 0x14015bc96
mov ebx, 1
jmp 0x14015bc96
or ebx, 0xffffffff
jmp 0x14015bc96
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 0x14015bc93
xor eax, eax
jmp 0x14015bc98
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401a55b0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.14002ac4c
int3
call fcn.14002ac4c
int3
Function at 0x1401623bc
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.140038618
test eax, eax
je 0x1401624f0
cmp dword [rbx + 0xb28], 0
je 0x14016240c
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 0x1401624f5
call fcn.140038f70
mov rcx, qword [rax + 8]
call fcn.14002d60c
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.140013e2c
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x140162447
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400326b0
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140012be8
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 0x14016249a
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 0x1401624e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.14002f7c0
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14016d64c
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
xor eax, eax
cmp qword [0x14029d678], rax
setne al
test eax, eax
jne 0x14016d67d
call fcn.14002ac4c
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x14016d696
xor eax, eax
jmp 0x14016d804
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14016d68f
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14016d6ce
call fcn.14002ac4c
int3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x14029d678]
call fcn.1400172c4
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call qword [rax + 0x2c8]
nop
mov rax, qword [rbp + 0x6f]
mov edx, dword [rax - 0x10]
test edx, edx
jns 0x14016d71c
mov ecx, 0x80070057
call fcn.14000e734
int3
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x14016d73d
lea rcx, [rbp + 0x6f]
call fcn.14000e6d4
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14016d7ff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14016fe68
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2f0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x14016febf
test esi, esi
js 0x14016febf
cmp ax, 0x20
je 0x14016feb1
cmp bp, 0x71
jne 0x14016febf
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x320]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14017cb00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x140296908]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x14017cb44
xor eax, eax
jmp 0x14017cc71
test r8, r8
je 0x14017cb3d
call fcn.140038f70
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14017cb3d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14017cb3d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14017cc97
mov rcx, rax
call fcn.1401b5d80
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x14017cc2a
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x14017cc08
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14017cbe6
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401a6000
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x14017cc9d
mov dword [rdi], 0xcccc
jmp 0x14017cc24
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401b2714
mov rdi, rax
test rax, rax
je 0x14017cc2d
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x14017cc2d
mov rdi, rbx
test rdi, rdi
je 0x14017cc9d
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14002af74
test rax, rax
je 0x14017cc55
mov rdx, rax
mov rcx, r12
call fcn.14017f2c4
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14017cc6f
call fcn.1401adaf4
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401a55b0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.14002ac4c
int3
call fcn.14002ac4c
int3