joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140113f6c
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 [0x1403f5288]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x140113fb7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x140113fc0
call fcn.1400198e8
test eax, eax
je 0x140113fdc
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 0x140113fe4
xor eax, eax
jmp 0x140114041
test rbx, rbx
jne 0x140114004
lea rcx, str.GetOpenFileNameW
call fcn.14005a8f0
mov rbx, rax
test rax, rax
je 0x14011400f
mov qword [0x1403f5288], 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 0x140114024
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140114026
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14011403f
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 0x140114058
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 [0x1403f5290]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x1401140a3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x1401140ac
call fcn.1400198e8
test eax, eax
je 0x1401140c8
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 0x1401140d0
xor eax, eax
jmp 0x14011412d
test rbx, rbx
jne 0x1401140f0
lea rcx, str.GetSaveFileNameW
call fcn.14005a8f0
mov rbx, rax
test rax, rax
je 0x1401140fb
mov qword [0x1403f5290], 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 0x140114110
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140114112
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14011412b
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 0x14013c528
Capabilities:
Print debug messages

Disassembly:
mov rcx, qword [rcx + 0x40]
jmp 0x14013d080
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 [0x1403f5768]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x14013d0cb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x14013d0d4
call fcn.1400198e8
test eax, eax
je 0x14013d0f0
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 0x14013d0f8
xor eax, eax
jmp 0x14013d155
test rbx, rbx
jne 0x14013d118
lea rcx, str.MakeDragList
call fcn.14002cea8
mov rbx, rax
test rax, rax
je 0x14013d123
mov qword [0x1403f5768], 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 0x14013d138
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14013d13a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013d153
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 0x14013cb40
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 [0x1403f5748]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x14013cb9d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x14013cba6
call fcn.1400198e8
test eax, eax
je 0x14013cbc2
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1403e2448]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14013cbcd
xor eax, eax
jmp 0x14013cc58
test rbx, rbx
jne 0x14013cbed
lea rcx, str.ImageList_LoadImageW
call fcn.14002cea8
mov rbx, rax
test rax, rax
je 0x14013cc24
mov qword [0x1403f5748], 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 0x14013cc3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14013cc3c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013cc55
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 0x14013cda4
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 qword [rax - 0x18], rdi
mov rbx, qword [0x1403f5750]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x14013cdf0
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x14013cdf9
call fcn.1400198e8
test eax, eax
je 0x14013ce15
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 0x14013ce1d
xor eax, eax
jmp 0x14013ce7e
test rbx, rbx
jne 0x14013ce3d
lea rcx, str.ImageList_Read
call fcn.14002cea8
mov rbx, rax
test rax, rax
je 0x14013ce4a
mov qword [0x1403f5750], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14013ce60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14013ce62
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013ce7b
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 0x14013d080
Capabilities:
Print debug messages

Disassembly:
mov rcx, qword [rcx + 0x40]
jmp 0x14013d080
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 [0x1403f5768]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x14013d0cb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x14013d0d4
call fcn.1400198e8
test eax, eax
je 0x14013d0f0
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 0x14013d0f8
xor eax, eax
jmp 0x14013d155
test rbx, rbx
jne 0x14013d118
lea rcx, str.MakeDragList
call fcn.14002cea8
mov rbx, rax
test rax, rax
je 0x14013d123
mov qword [0x1403f5768], 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 0x14013d138
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14013d13a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013d153
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 0x140152d98
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 0x140152f4c
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 0x140152f8e
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 0x14015339c
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 0x14015346e
test rbx, rbx
je 0x140153474
test r9, r9
je 0x14015347a
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 0x140153457
cmp dword [rsp + 0x48], 3
jne 0x140153457
test eax, eax
jne 0x140153457
cmp dword [rdi], eax
je 0x140153457
mov ecx, dword [rdi]
call fcn.140011164
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 0x14015344b
cmp dword [rsp + 0x48], 3
jne 0x14015344b
test eax, eax
jne 0x14015344b
mov eax, 1
jmp 0x140153459
mov rcx, qword [rbx]
call fcn.140010948
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.140010b1c
int3
call fcn.140010b1c
int3
call fcn.140010b1c
int3

Function at 0x1401537b8
Capabilities:
Set registry value

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

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x1403e2a28], edi
je 0x140154fc9
cmp dword [0x1403e2e60], 0xfffffffe
jne 0x140154fae
cmp ecx, 0xffffffff
je 0x140154fc9
mov edx, dword [0x1403f8220]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1403f5d30], ecx
jle 0x140154f4c
lea rcx, [0x1403f5d30]
call fcn.140240e2c
cmp dword [0x1403f5d30], 0xffffffff
jne 0x140154f4c
lea rcx, [0x1403f5cf8]
call fcn.14006c834
lea rcx, [0x1402dbe78]
call fcn.140240c24
lea rcx, [0x1403f5d30]
call fcn.140240dcc
lea rcx, [0x1403f5d08]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1403f5cd0], rdi
jne 0x140154fd4
xor r8d, r8d
lea rcx, [0x140154fdc]
xor edx, edx
call fcn.14028b454
mov qword [0x1403f5cd0], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140154f98
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1403e2e60], ebx
jmp 0x140154f9f
mov qword [0x1403f5cd0], rdi
lea rcx, [0x1403f5d08]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140154fc9
mov rax, qword [0x1403f5cd0]
cmp ecx, 0xffffffff
mov dword [0x1403e2e60], ecx
cmove rax, rdi
mov qword [0x1403f5cd0], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140010b1c
int3
Function at 0x14016095c
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 0x140160b2b
je 0x140160b51
cmp eax, 0xa1
jb 0x140160ba1
cmp eax, 0xa2
jbe 0x140160b51
cmp eax, 0xa3
jbe 0x140160ba1
cmp eax, 0xa5
jbe 0x140160b51
cmp eax, 0xa6
jbe 0x140160ba1
cmp eax, 0xa8
jbe 0x140160b51
cmp eax, 0x100
jne 0x140160ba1
cmp dword [rbx + 0x154], 0xffffffff
je 0x140160b51
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140160b51
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x140160aac
cmp rax, 1
jne 0x140160b51
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x140160aa2
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 0x140160a5b
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x140160a2b
jmp 0x140160aa2
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.14003dcb4
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 0x140160bcf
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x140160aa2
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 0x140160ae7
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x140160abf
jmp 0x140160aa2
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.14003dcb4
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x140160a9c
cmp eax, 0x200
jb 0x140160ba1
cmp eax, 0x202
jbe 0x140160b51
cmp eax, 0x203
jbe 0x140160ba1
cmp eax, 0x205
jbe 0x140160b51
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140160ba1
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x140160b7c
cmp qword [rcx + 0x40], rdi
je 0x140160b7c
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 0x140160ba1
cmp qword [rcx + 0x40], rdi
je 0x140160ba1
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 0x140160bc4
lea rax, [rbx + 0x3208]
test rax, rax
je 0x140160bba
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x140160aa2
mov rdx, rbp
mov rcx, rbx
call fcn.1400bc208
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14017afb4
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 [0x1403e39c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x14017b05a
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.14017ec8c
mov rcx, rbx
call fcn.14017cda8
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.1402410d0
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 0x14017b079
cmp r8, 0x79
je 0x14017b070
cmp r8, 0x12
jne 0x14017b075
mov esi, 1
mov eax, esi
jmp 0x14017b039
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
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 0x14017b0ae
cmp rdi, 0x79
jne 0x14017b028
cmp qword [0x1403f4d28], rsi
jne 0x14017b037
test byte [rbx + 0x478], 2
jne 0x14017b037
cmp rdi, 0x12
je 0x14017b0e4
cmp rdi, 0x79
jne 0x14017b037
test ebp, ebp
jne 0x14017b037
test eax, eax
jne 0x14017b037
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140036160
cmp rax, rbx
jne 0x14017b109
bt r15, 0x1e
jb 0x14017b109
cmp rdi, 0x79
jne 0x14017b119
mov rcx, r14
jmp 0x14017b112
cmp rdi, 0x79
jne 0x14017b119
mov rcx, rbx
call fcn.14003dcb4
jmp 0x14017b139
cmp dword [rbx + 0x414], esi
jge 0x14017b139
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 0x14017b039
Function at 0x1401884ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401886b7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1401886b7
cmp word [rax + 0xe], 8
ja 0x1401886b7
mov ecx, dword [rax]
add ecx, 0x40
mov ebx, ecx
call fcn.14028a4ac
mov rsi, rax
test rax, rax
je 0x1401886b7
mov r9d, ebx
mov r8, r14
mov edx, ebx
mov rcx, rax
call fcn.140013180
mov r12d, dword [rsi]
lea rax, [0x14032a580]
add r12, rsi
xor ebp, ebp
lea r13d, [rbp + 1]
mov edx, dword [r12 + rbp*4]
xor ecx, ecx
xor r15d, r15d
cmp edx, dword [rax + r15*8]
je 0x140188561
add ecx, r13d
add r15, r13
movsxd rax, ecx
cmp rax, 4
lea rax, [0x14032a580]
jb 0x140188543
jmp 0x1401885cb
test edi, edi
je 0x140188577
cmp dword [rax + r15*8 + 4], 0x12
je 0x1401885d2
mov dword [r12 + rbp*4], 0xffffff
jmp 0x1401885d2
mov ecx, dword [rax + r15*8 + 4]
call qword [sym.imp.USER32.dll_GetSysColor]
shr ax, 8
movzx ebx, al
lea rax, [0x14032a580]
mov ecx, dword [rax + r15*8 + 4]
shl ebx, 8
call qword [sym.imp.USER32.dll_GetSysColor]
shr eax, 0x10
movzx edi, al
lea rax, [0x14032a580]
mov ecx, dword [rax + r15*8 + 4]
or edi, ebx
call qword [sym.imp.USER32.dll_GetSysColor]
movzx ecx, al
shl ecx, 0x10
or ecx, edi
mov edi, dword [rsp + 0xd0]
mov dword [r12 + rbp*4], ecx
lea rax, [0x14032a580]
add rbp, r13
cmp rbp, 0x10
jl 0x14018853a
mov ebx, dword [rsi + 8]
xor ecx, ecx
mov r12d, dword [rsi + 4]
mov dword [rsp + 0xd8], ebx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, ebx
mov edx, r12d
mov rcx, rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
test rax, rax
je 0x140188694
mov rcx, rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, r15
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov cl, byte [rsi + 0xe]
xor edx, edx
mov dword [rsp + 0x60], 0xcc0020
mov rbx, rax
mov eax, dword [rsp + 0xd8]
mov r9d, r12d
mov dword [rsp + 0x58], edx
xor r8d, r8d
mov qword [rsp + 0x50], rsi
shl r13, cl
lea rcx, [r13 + 0xa]
lea rcx, [r14 + rcx*4]
mov qword [rsp + 0x48], rcx
mov rcx, rdi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchDIBits]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rsi
call fcn.140288318
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, r15
jmp 0x1401886b9
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b0f74
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 [0x1403f6e20]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403ee544]
test eax, eax
je 0x1401b0fbf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403ee544]
test eax, eax
jne 0x1401b0fc8
call fcn.1400198e8
test eax, eax
je 0x1401b0fe4
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 0x1401b0fec
xor eax, eax
jmp 0x1401b1049
test rbx, rbx
jne 0x1401b100c
lea rcx, str.ChooseColorW
call fcn.14005a8f0
mov rbx, rax
test rax, rax
je 0x1401b1017
mov qword [0x1403f6e20], 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 0x1401b102c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401b102e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401b1047
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