joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053368
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 0x14005365c
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 0x14005369e
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 0x140053a94
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 0x140053b5e
test rbx, rbx
je 0x140053b5e
test r9, r9
je 0x140053b5e
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 0x140053b5a
cmp dword [rsp + 0x48], 3
jne 0x140053b5a
cmp dword [rdi], eax
je 0x140053b5a
mov ecx, dword [rdi]
call fcn.14001ec00
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 0x140053b4e
cmp dword [rsp + 0x48], 3
jne 0x140053b4e
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.140032fbc
and qword [rbx], 0
xor eax, eax
jmp 0x140053b39
call fcn.14003cf80
int3

Function at 0x140053f78
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140053fd1
xor eax, eax
jmp 0x140053ff5
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 0x14005a370
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, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14005a3e7
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14005a3b7
call fcn.14003e5c0
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14005a3d1
call fcn.14003e5c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14005a3e7
call fcn.14003e5c0
call fcn.1400412a8
cmp qword [rax + 0x68], 0
je 0x14005a401
mov rdx, rbx
mov rcx, rbp
call fcn.140059834
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14005a65c
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14005a428
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14005a437
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006b494
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
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x14006b4bf
call fcn.1400412a8
mov rbx, qword [rax + 0x18]
lea r8, [0x140205b78]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14006b518
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006b518
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14006b518
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.14006b530
jmp 0x14006b51a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a0274
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x1400a02a6
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a02a6
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140121a1c
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400a25dc
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rdi, rcx
mov esi, 1
mov rax, qword [rcx + 0x20]
neg rax
sbb rdx, rdx
mov qword [rbp + 7], rdx
cmp qword [rcx + 0x20], 0
je 0x1400a27ca
xor esi, esi
and qword [rbp + 0x17], rsi
and dword [rbp + 0x1f], esi
and qword [rbp + 0x27], rsi
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov rax, qword [rax + 0x40]
call qword [case.0x14007a07a.0]
mov rbx, rax
call fcn.1400412a8
mov rbx, qword [rbx]
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.1400484fc
and qword [rbp + 0x77], rsi
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a268c
mov rax, qword [rbp + 0x77]
mov qword [rbp + 0x17], rax
and dword [rbp + 0x1f], ebx
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a26b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007a07a.0]
test ebx, ebx
jne 0x1400a27bb
call fcn.14003d6a4
mov rcx, rax
test rax, rax
je 0x1400a27d8
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007a07a.0]
add rax, 0x18
mov qword [rbp + 0x6f], rax
call fcn.14003d6a4
mov rcx, rax
test rax, rax
je 0x1400a27e3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007a07a.0]
add rax, 0x18
mov qword [rbp + 0x7f], rax
lea rcx, [rdi + 8]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 7]
call fcn.1400a0854
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x1400a2753
mov rcx, rbx
call fcn.1401db588
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 + 0x6f]
mov rcx, qword [rbp + 0x17]
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 0x1400a2775
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007a07a.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a279a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007a07a.0]
cmp qword [rbp + 7], 0
jne 0x1400a26b9
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400a27b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400a27cc
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400a27ca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.14001e8f0
nop
mov ecx, 0x80004005
call fcn.14001e8f0
int3
Function at 0x1400a35b4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x1400a35f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400a35f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140143dd0
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1400a3904
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x1400a3916
xor eax, eax
jmp 0x1400a3944
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a3940
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140143dd0
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret

Function at 0x1400a3a20
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1400a3a6f
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a3a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rdi]
mov ecx, eax
call fcn.140143dd0
cmp dword [rsp + 0x50], ebx
jne 0x1400a3a70
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.14001eae0
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.140143930
int3

Function at 0x1400c2f0c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x28]
xor ebx, ebx
mov rdi, rcx
cmp dword [rax - 0x10], ebx
je 0x1400c2f7b
call fcn.140047b80
test rax, rax
je 0x1400c2f4a
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rdx + 0xe8]
call qword [case.0x14007a07a.0]
test rax, rax
je 0x1400c2f4a
mov rbx, qword [rax + 0x40]
mov rdx, qword [rdi + 0x18]
mov rcx, rbx
mov r9, qword [rdi + 0x10]
mov r8, qword [rdi + 0x28]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jb 0x1400c2f7b
mov eax, 1
jmp 0x1400c2f7d
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140111fe4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rsi, rdx
cmp eax, ecx
ja 0x140112193
je 0x1401121b9
cmp eax, 0xa1
jb 0x140112204
cmp eax, 0xa2
jbe 0x1401121b9
cmp eax, 0xa3
jbe 0x140112204
cmp eax, 0xa5
jbe 0x1401121b9
cmp eax, 0xa6
jbe 0x140112204
cmp eax, 0xa8
jbe 0x1401121b9
cmp eax, 0x100
jne 0x140112204
cmp dword [rbx + 0x154], 0xffffffff
je 0x1401121b9
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1401121b9
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x1401120ed
cmp rax, 1
jne 0x1401121b9
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x140112222
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x14007a07a.0]
test eax, eax
jne 0x140112135
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x1401120b3
jmp 0x140112222
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x140112222
mov eax, esi
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x14007a07a.0]
test eax, eax
jne 0x140112135
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x140112104
jmp 0x140112222
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x14007a07a.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x14007a07a.0]
mov rcx, rax
call fcn.1400403e0
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x14007a07a.0]
mov dword [rbx + 0x3b8], edi
jmp 0x140112222
cmp eax, 0x200
jb 0x140112204
cmp eax, 0x202
jbe 0x1401121b9
cmp eax, 0x203
jbe 0x140112204
cmp eax, 0x205
jbe 0x1401121b9
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140112204
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x1401121e1
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1401121e1
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x140112204
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140112204
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 8], 0x203
jne 0x140112229
lea rax, [rbx + 0x3208]
test rax, rax
je 0x14011221d
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x140112229
mov eax, 1
jmp 0x140112234
mov rdx, rsi
mov rcx, rbx
call fcn.14010aecc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140180c44
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401e228c
test eax, eax
jne 0x140180ca8
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.1400491c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140180cba
jmp 0x140180c68
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401befd4
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x1401bf0ff
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1401bf0ff
cmp ebx, 0x43
je 0x1401bf022
cmp ebx, 0x2d
jne 0x1401bf0ff
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401bf0ff
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.14003d6a4
mov rcx, rax
test rax, rax
je 0x1401bf11e
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007a07a.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rbp + 0x196]
movzx r9d, byte [rbp + 0x195]
movzx r8d, byte [rbp + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.14001ea00
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, SafeArrayGetDim
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401bf0ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007a07a.0]
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.14001e8f0
int3

Function at 0x1401d552c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401d53bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d53bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d53bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d53bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d53bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d53bf
cmp dword [rcx + 0xf8], 0
je 0x1401d53bf
mov ecx, ebx
call fcn.1401d5460
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401d5250
cmp dword [rbp + 0x20], 0
je 0x1401d540c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401d5414
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401d5358
Function at 0x180008a20
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x640
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180008a40
mov byte [0x1801b59a8], 1
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180008a86
movzx eax, byte [0x1801b5291]
test eax, eax
jne 0x180008a6d
mov dword [rsp + 0x628], 1
jmp 0x180008a78
mov dword [rsp + 0x628], 0
movzx eax, byte [rsp + 0x628]
mov byte [0x1801b5291], al
lea rcx, [rsp + 0x20]
call fcn.1800da030
mov rcx, rax
call fcn.1800ddc40
movzx eax, al
test eax, eax
jne 0x180008aa4
jmp 0x180008b25
mov ecx, 0x55
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180008b1b
movzx eax, byte [0x1801b59d5]
test eax, eax
jne 0x180008ad1
mov dword [rsp + 0x62c], 1
jmp 0x180008adc
mov dword [rsp + 0x62c], 0
movzx eax, byte [rsp + 0x62c]
mov byte [0x1801b59d5], al
movzx eax, byte [0x1801b59d7]
test eax, eax
jne 0x180008b02
mov dword [rsp + 0x630], 1
jmp 0x180008b0d
mov dword [rsp + 0x630], 0
movzx eax, byte [rsp + 0x630]
mov byte [0x1801b59d7], al
call fcn.18000e4d0
call fcn.18000e2d0
add rsp, 0x640
pop rdi
ret

Function at 0x18000e2d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x640
movzx eax, byte [0x1801b59bd]
test eax, eax
je 0x18000e3b8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e3b8
mov eax, dword [0x1801b58e8]
mov ecx, dword [0x1801b4748]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x628], eax
mov eax, dword [0x1801b58e8]
inc eax
mov dword [0x1801b58e8], eax
cmp dword [rsp + 0x628], 0
jl 0x18000e33d
mov dword [rsp + 0x62c], 1
jmp 0x18000e348
mov dword [rsp + 0x62c], 0
cmp dword [rsp + 0x62c], 0
je 0x18000e364
lea rcx, [rsp + 0x20]
call fcn.1800da030
mov rcx, rax
call fcn.1800dda80
movzx eax, byte [0x1801b4776]
test eax, eax
je 0x18000e3a5
xor r9d, r9d
mov r8d, 2
mov edx, 0x204
mov rcx, qword [0x1801b58f0]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov r8d, 2
mov edx, 0x205
mov rcx, qword [0x1801b58f0]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1801b58e8], 0x14
jl 0x18000e3b8
mov dword [0x1801b58e8], 0
movzx eax, byte [0x1801b59de]
test eax, eax
je 0x18000e47a
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e47a
mov eax, dword [0x1801b58e8]
mov ecx, dword [0x1801b4780]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x630], eax
mov eax, dword [0x1801b58e8]
inc eax
mov dword [0x1801b58e8], eax
cmp dword [rsp + 0x630], 0
jl 0x18000e41c
mov dword [rsp + 0x634], 1
jmp 0x18000e427
mov dword [rsp + 0x634], 0
cmp dword [rsp + 0x634], 0
je 0x18000e467
xor r9d, r9d
mov r8d, 2
mov edx, 0x204
mov rcx, qword [0x1801b58f0]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov r8d, 2
mov edx, 0x205
mov rcx, qword [0x1801b58f0]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1801b58e8], 0x14
jl 0x18000e47a
mov dword [0x1801b58e8], 0
add rsp, 0x640
pop rdi
ret
Function at 0x18000e4d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x810
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e518
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e518
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e51a
jmp 0x18000e58d
movzx eax, byte [0x1801b59aa]
test eax, eax
je 0x18000e58d
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e54f
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e58d
lea rcx, [rsp + 0x20]
call fcn.1800da030
mov qword [rsp + 0x800], rax
lea rdx, [rsp + 0x628]
mov rcx, qword [rsp + 0x800]
call fcn.1800dc9a0
mov qword [rsp + 0x808], rax
mov dl, 1
mov rcx, qword [rsp + 0x808]
call fcn.1800da6c0
add rsp, 0x810
pop rdi
ret

Function at 0x180011b30
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x850
lea rdi, [rsp + 0x20]
mov ecx, 0x20c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1801b4ec0]
xor rax, rsp
mov qword [rsp + 0x840], rax
movzx eax, byte [0x1801b59d9]
cmp eax, 1
je 0x180011b6d
jmp 0x180011c25
mov edx, 0x1d8
lea rcx, [rsp + 0x30]
call fcn.18000e860
lea rcx, [rsp + 0x230]
call fcn.1800da030
mov qword [rsp + 0x838], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x838]
call fcn.1800dc9a0
lea rcx, [rsp + 0x30]
call fcn.1800dc100
movzx eax, al
test eax, eax
je 0x180011c25
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180011c25
lea rcx, [rsp + 0x30]
call fcn.1800dbae0
movzx eax, al
test eax, eax
jne 0x180011bdc
jmp 0x180011c25
lea rcx, [rsp + 0x30]
call fcn.1800daa60
movsd qword [rsp + 0x218], xmm0
lea rcx, [rsp + 0x30]
call fcn.1800dada0
movsd qword [rsp + 0x220], xmm0
lea rcx, [rsp + 0x30]
call fcn.1800db2a0
movzx eax, al
test eax, eax
je 0x180011c25
movss xmm1, dword [0x1801059b0]
lea rcx, [rsp + 0x30]
call fcn.1800dba00
mov rcx, rsp
lea rdx, [0x1801059a0]
call fcn.1800e8bd0
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1800e9000
add rsp, 0x850
pop rdi
ret
Function at 0x1800135f0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1801b4ec0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x30], rax
mov r8d, 4
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
mov dword [rsp + 0x84], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x64]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18010c010]
call fcn.1800e8bd0
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800e9000
add rsp, 0xb0
pop rdi
ret