joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e75a8
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 0x1400e75d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400e75de
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.140003900
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400f04fc
int3

Function at 0x1400e7904
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x1400e7916
xor eax, eax
jmp 0x1400e7933
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e7939
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.140003900
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400f04fc
int3

Function at 0x1400e7a50
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1400e7a8e
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400e7a8f
cmp dword [rsp + 0x50], ebx
jne 0x1400e7aac
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.140003900
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400f04fc
int3
lea rcx, [rdi + 0x18]
call fcn.140003900
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.1400f0058
int3

Function at 0x1400eb05c
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 0x1400eb0d3
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x1400eb0a3
call fcn.14001f5a8
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x1400eb0bd
call fcn.14001f5a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x1400eb0d3
call fcn.14001f5a8
call fcn.1400234f8
cmp qword [rax + 0x68], 0
je 0x1400eb0ed
mov rdx, rbx
mov rcx, rbp
call fcn.1400ea51c
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.1400eb35c
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400eb114
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400eb123
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 0x1400eb150
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 rdi, rdx
mov rbx, rcx
call fcn.140029c54
xor ebp, ebp
test eax, eax
jne 0x1400eb1fe
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetPropA]
mov rsi, rax
test rax, rax
je 0x1400eb221
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400eb221
cmp dword [rax], 1
jne 0x1400eb218
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x1400eb218
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_RemovePropA]
test rax, rax
je 0x1400eb1eb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xc0]
mov rcx, rbx
call qword [case.0x140140b05.0]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rdi + 8], 0x100
jne 0x1400eb268
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400eb268
mov rax, qword [rdi + 0x10]
cmp rax, 9
je 0x1400eb24e
add rax, 0xffffffffffffffdf
cmp rax, 1
ja 0x1400eb268
mov rcx, qword [rbx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x1400eb1fe
mov rdx, rdi
mov rcx, rbx
call fcn.140029c30
jmp 0x1400eb203
Function at 0x1400f0d00
Capabilities:
Get file attributes
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1402557c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
xor edx, edx
mov r8d, 0x128
call fcn.1401c3970
mov r8, qword [rdi + 0x18]
lea rcx, [rbx + 0x24]
or r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.1401a8f08
xor esi, esi
test eax, eax
je 0x1400f0d66
cmp eax, 0xc
je 0x1400f0ef1
cmp eax, 0x50
jne 0x1400f0ef7
mov rcx, qword [rdi + 8]
cmp rcx, qword [0x1401eb910]
je 0x1400f0ec9
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1400f0eed
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400f0eed
mov rax, qword [rbp - 9]
mov qword [rbx + 0x18], rax
mov rcx, qword [rdi + 0x18]
cmp dword [rcx - 0x10], esi
je 0x1400f0de5
cmp qword [rdi + 0x20], rsi
je 0x1400f0dda
mov rdx, rcx
lea r9, [rbp + 0xf]
mov rcx, qword [rdi + 0x20]
xor r8d, r8d
call fcn.1400f0a04
neg eax
sbb eax, eax
and eax, dword [rbp + 0xf]
jmp 0x1400f0de0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400f0de7
mov eax, esi
mov rcx, rbx
mov dword [rbx + 0x20], eax
lea rcx, [rbp - 0x21]
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x1400f0e2a
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1400f0e2a
or r8d, 0xffffffff
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.1400f0864
mov rcx, qword [rax]
mov qword [rbx], rcx
jmp 0x1400f0e2d
mov qword [rbx], rsi
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x1400f0e51
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x1400f0e5d
lea rax, [rbx + 0x10]
mov rdi, rax
mov qword [rax], rsi
jmp 0x1400f0e78
or r8d, 0xffffffff
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
lea rdi, [rbx + 0x10]
call fcn.1400f0864
mov rcx, qword [rax]
mov qword [rdi], rcx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x1400f0e9c
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x1400f0ea1
mov rax, rsi
jmp 0x1400f0eb5
or r8d, 0xffffffff
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.1400f0864
mov rax, qword [rax]
mov qword [rbx + 8], rax
cmp qword [rbx], rsi
jne 0x1400f0ec1
mov qword [rbx], rax
cmp qword [rdi], rsi
jne 0x1400f0ec9
mov qword [rdi], rax
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14019d900
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x1400f0ece
call fcn.140005274
int3
call fcn.140005250
int3
Function at 0x140102eec
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
xor ebx, ebx
cmp dword [rdi - 0x10], ebx
je 0x140102f64
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.14002189c
mov rcx, rax
test rax, rax
je 0x140102f3b
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x140140b05.0]
test rax, rax
je 0x140102f3b
mov rcx, qword [rax + 0x40]
jmp 0x140102f3e
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x140102f66
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14010a824
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14010a95c
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_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x14010a99e
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 0x14010aa98
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r8
mov rsi, rdx
mov r15, rcx
test rdx, rdx
je 0x14010abaf
mov rcx, r8
call fcn.140003290
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14010ab9c
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14010ab9c
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x14010ab13
lea eax, [rbx + 1]
jmp 0x14010ab9e
lea ecx, [rbp + 1]
call fcn.140003970
mov rcx, qword [r15 + 8]
lea r9, [rsp + 0x78]
mov rdi, rax
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14010ab90
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14010ab90
test rdi, rdi
je 0x14010ab7d
cmp dword [rsp + 0x68], ebx
je 0x14010ab6c
mov eax, dword [rsp + 0x68]
cmp byte [rax + rdi - 1], bl
je 0x14010ab6e
jmp 0x14010ab90
mov byte [rdi], bl
test rdi, rdi
je 0x14010ab7d
mov rcx, rdi
call fcn.1401a8e60
mov ebx, eax
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.140003310
mov ebx, 1
mov rcx, rdi
call fcn.140003980
mov eax, ebx
jmp 0x14010ab9e
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140005250
int3
Function at 0x14010adb0
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 0x14010ae7a
test rbx, rbx
je 0x14010ae7a
test r9, r9
je 0x14010ae7a
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_RegQueryValueExA]
test eax, eax
jne 0x14010ae76
cmp dword [rsp + 0x48], 3
jne 0x14010ae76
cmp dword [rdi], eax
je 0x14010ae76
mov ecx, dword [rdi]
call fcn.140003970
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_RegQueryValueExA]
test eax, eax
jne 0x14010ae6a
cmp dword [rsp + 0x48], 3
jne 0x14010ae6a
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.140003980
and qword [rbx], 0
xor eax, eax
jmp 0x14010ae55
call fcn.140005250
int3

Function at 0x14010b138
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010b149
xor eax, eax
jmp 0x14010b177
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_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14010b180
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010b191
xor eax, eax
jmp 0x14010b1b5
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_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14010c7c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1402549f4], 0
mov ebx, ecx
je 0x14010c85d
cmp dword [0x140254be0], 0xfffffffe
jne 0x14010c84a
cmp ecx, 0xffffffff
je 0x14010c85d
lea rcx, [0x140288a20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140288a48], 0
jne 0x14010c863
xor r8d, r8d
lea rcx, [0x14010c86c]
xor edx, edx
call fcn.1401aa120
mov rcx, rax
mov qword [0x140288a48], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14010c82f
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140254be0], ebx
jmp 0x14010c837
and qword [0x140288a48], 0
lea rcx, [0x140288a20]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x140254be0], ebx
cmp ebx, 0xffffffff
jne 0x14010c85d
and qword [0x140288a48], 0
add rsp, 0x20
pop rbx
ret
call fcn.140005250
int3
Function at 0x1401154d4
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 0x140115675
je 0x14011569a
sub eax, 0xa1
je 0x14011569a
sub eax, 1
je 0x14011569a
sub eax, 2
je 0x14011569a
sub eax, 1
je 0x14011569a
sub eax, 2
je 0x14011569a
sub eax, 1
je 0x14011569a
cmp eax, 0x58
jne 0x1401156e5
cmp dword [rbx + 0x154], 0xffffffff
je 0x14011569a
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14011569a
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x1401155cf
cmp rax, 1
jne 0x14011569a
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x140115703
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x140140b05.0]
test eax, eax
jne 0x140115617
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x140115595
jmp 0x140115703
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x140115703
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.0x140140b05.0]
test eax, eax
jne 0x140115617
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x1401155e6
jmp 0x140115703
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x140140b05.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x140140b05.0]
mov rcx, rax
call fcn.14002dc64
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x140140b05.0]
mov dword [rbx + 0x3b8], edi
jmp 0x140115703
sub eax, 0x200
je 0x14011569a
sub eax, 1
je 0x14011569a
sub eax, 1
je 0x14011569a
sub eax, 2
je 0x14011569a
sub eax, 1
je 0x14011569a
sub eax, 2
je 0x14011569a
cmp eax, 1
jne 0x1401156e5
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x1401156c2
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1401156c2
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1401156e5
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1401156e5
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rsi + 8], 0x203
jne 0x14011570a
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1401156fe
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x14011570a
mov eax, 1
jmp 0x140115715
mov rdx, rsi
mov rcx, rbx
call fcn.14008e9b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401488e4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rbx, rcx
jne 0x1401489f2
cmp qword [rdx + 0x10], 9
je 0x140148928
cmp qword [rdx + 0x10], 0x1b
jne 0x14014897c
call fcn.1400272e4
test rax, rax
je 0x14014897c
mov rcx, rbx
call fcn.1400272e4
jmp 0x14014896a
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140026cd8
test rax, rax
je 0x14014897c
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140026cd8
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.140026cd8
mov rcx, rax
call fcn.14002dc64
mov eax, 1
jmp 0x1401489fd
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140026cd8
cmp rax, rbx
jne 0x1401489f2
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401489f2
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1401489eb
cmp rax, 0x43
je 0x1401489e4
cmp rax, 0x56
je 0x1401489cd
cmp rax, 0x58
je 0x1401489c6
cmp rax, 0x5a
jne 0x1401489f2
lea edx, [rax + 0x6d]
jmp 0x1401489d2
mov edx, 0x300
jmp 0x1401489d2
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageA]
jmp 0x140148972
mov edx, 0x301
jmp 0x1401489d2
mov edx, 0x303
jmp 0x1401489d2
mov rdx, rdi
mov rcx, rbx
call fcn.140182998
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14014c5d0
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 rdi, rdx
mov rsi, rcx
cmp dword [rdx + 8], 0x100
jne 0x14014c703
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14014c703
cmp ebx, 0x43
je 0x14014c61e
cmp ebx, 0x2d
jne 0x14014c703
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14014c703
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.14001e464
mov rcx, rax
test rax, rax
je 0x14014c722
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140140b05.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x196]
movzx r9d, byte [rsi + 0x195]
movzx r8d, byte [rsi + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.1400038d0
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14014c6db
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14014c6db
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, 1
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 0x14014c703
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140140b05.0]
mov rdx, rdi
mov rcx, rsi
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.140002be0
int3
Function at 0x140152228
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x90
mov rax, qword [0x1402557c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.1401521d4
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x1401522bd
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.140152380
cmp eax, 1
je 0x140152336
mov ecx, dword [rsp + 0xd8]
or r8d, 0xffffffff
xor edx, edx
call fcn.14001db88
mov rcx, rdi
call fcn.140152178
jmp 0x140152336
call fcn.1401a8968
mov ebx, dword [rax]
call fcn.1401a8968
and dword [rax], 0
call fcn.140002bd0
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1401a8164
call fcn.1401a8968
cmp dword [rax], 0
je 0x140152322
call fcn.1401a8968
cmp dword [rax], 0
je 0x140152329
cmp dword [rax], 0xc
je 0x14015236a
cmp dword [rax], 0x16
je 0x14015235f
cmp dword [rax], 0x22
je 0x14015235f
cmp dword [rax], 0x50
jne 0x140152354
jmp 0x140152329
call fcn.1401a8968
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400312e8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14019d900
add rsp, 0x90
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002be0
int3
mov ecx, 0x80070057
call fcn.140002be0
int3
mov ecx, 0x8007000e
call fcn.140002be0
int3

Function at 0x140152840
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.1401b2fd8
test eax, eax
jne 0x1401528a4
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.14001a36c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140152864
jmp 0x1401528b6
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14016a704
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14016a7c5
mov ebx, 0x811c9dc5
xor esi, esi
mov rcx, rdx
call fcn.1401a8e60
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x14016a768
movsx ecx, byte [rsi + rdi]
imul ebx, ebx, 0x1000193
xor ebx, ecx
add esi, edx
cmp esi, r8d
jb 0x14016a755
mov dword [r14], ebx
xor edx, edx
mov eax, ebx
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14016a7a5
mov rbx, qword [rbx + rdx*8]
jmp 0x14016a7a0
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14016a79d
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.1401aa200
nop
test eax, eax
je 0x14016a7c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14016a784
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rax, rbx
jmp 0x14016a7a7
call fcn.140005250
int3