joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009338c
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 0x14009355b
je 0x140093581
cmp eax, 0xa1
jb 0x1400935d1
cmp eax, 0xa2
jbe 0x140093581
cmp eax, 0xa3
jbe 0x1400935d1
cmp eax, 0xa5
jbe 0x140093581
cmp eax, 0xa6
jbe 0x1400935d1
cmp eax, 0xa8
jbe 0x140093581
cmp eax, 0x100
jne 0x1400935d1
cmp dword [rbx + 0x154], 0xffffffff
je 0x140093581
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140093581
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x1400934dc
cmp rax, 1
jne 0x140093581
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x1400934d2
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 0x14009348b
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x14009345b
jmp 0x1400934d2
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.140018760
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 0x1400935ff
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x1400934d2
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 0x140093517
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x1400934ef
jmp 0x1400934d2
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.140018760
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x1400934cc
cmp eax, 0x200
jb 0x1400935d1
cmp eax, 0x202
jbe 0x140093581
cmp eax, 0x203
jbe 0x1400935d1
cmp eax, 0x205
jbe 0x140093581
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1400935d1
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x1400935ac
cmp qword [rcx + 0x40], rdi
je 0x1400935ac
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x1400935d1
cmp qword [rcx + 0x40], rdi
je 0x1400935d1
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rbp + 8], 0x203
jne 0x1400935f4
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1400935ea
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x1400934d2
mov rdx, rbp
mov rcx, rbx
call fcn.1400892a8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400d0b34
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x10d], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400d0c04
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.140011b8c
cmp qword [rbx + 0x138], 0
jne 0x1400d0b74
mov qword [rbx + 0x138], rdi
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov byte [rbx + 0x10d], 1
call qword [rax + 0x418]
lea rcx, [rbx + 0x1d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, 1
je 0x1400d0bd4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x1400d0bd4
call fcn.14000eab4
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rbx + 0x178]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x1400d0bff
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.1400ef8b4
mov rcx, rax
call fcn.1400daeb0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ee43c
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 0x1400ee580
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 0x1400ee5c2
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 0x1400ee9b0
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 0x1400eea82
test rbx, rbx
je 0x1400eea88
test r9, r9
je 0x1400eea8e
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 0x1400eea6b
cmp dword [rsp + 0x48], 3
jne 0x1400eea6b
test eax, eax
jne 0x1400eea6b
cmp dword [rdi], eax
je 0x1400eea6b
mov ecx, dword [rdi]
call fcn.140005a40
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 0x1400eea5f
cmp dword [rsp + 0x48], 3
jne 0x1400eea5f
test eax, eax
jne 0x1400eea5f
mov eax, 1
jmp 0x1400eea6d
mov rcx, qword [rbx]
call fcn.140005a38
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.14000ce6c
int3
call fcn.14000ce6c
int3
call fcn.14000ce6c
int3

Function at 0x1400eed48
Capabilities:
Set registry value

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

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x14025e8a4], edi
je 0x140123f7d
cmp dword [0x14025ee58], 0xfffffffe
jne 0x140123f62
cmp ecx, 0xffffffff
je 0x140123f7d
mov edx, dword [0x14026f4a8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x14026d6d0], ecx
jle 0x140123f00
lea rcx, [0x14026d6d0]
call fcn.140192aac
cmp dword [0x14026d6d0], 0xffffffff
jne 0x140123f00
lea rcx, [0x14026d698]
call fcn.14005ee90
lea rcx, [0x1401bd298]
call fcn.1401928ec
lea rcx, [0x14026d6d0]
call fcn.140192a4c
lea rcx, [0x14026d6a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14026d690], rdi
jne 0x140123f88
xor r8d, r8d
lea rcx, [0x140123f90]
xor edx, edx
call fcn.14019a0f4
mov qword [0x14026d690], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140123f4c
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x14025ee58], ebx
jmp 0x140123f53
mov qword [0x14026d690], rdi
lea rcx, [0x14026d6a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140123f7d
mov rax, qword [0x14026d690]
cmp ecx, 0xffffffff
mov dword [0x14025ee58], ecx
cmove rax, rdi
mov qword [0x14026d690], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14000ce6c
int3
Function at 0x14012614c
Capabilities:
Log keystrokes via polling

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
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x140126234
xor edx, edx
call fcn.14007bb2c
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x140126196
mov rdx, rbp
call fcn.14006078c
jmp 0x14012623f
call fcn.14007bb24
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x1401261ac
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x140126234
cmp r14d, esi
jge 0x140126234
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x1401261da
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x27
mov rcx, rbx
call fcn.140017e1c
bt eax, 0x16
jae 0x1401261fc
mov eax, 0x25
cmp edi, eax
jne 0x1401261f6
lea edi, [rax + 2]
jmp 0x1401261fc
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x1401262f9
sub edi, 0xe
je 0x1401262d5
sub edi, 0xa
je 0x1401262c7
sub edi, 2
je 0x140126275
mov rcx, rbx
cmp edi, 1
je 0x140126258
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x14012626e
mov rdx, rbp
mov rcx, rbx
call fcn.14008185c
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 edx, dword [rbx + 0x1138]
call fcn.14007b9ec
mov rdx, rax
mov rcx, rbx
call fcn.14007b000
mov eax, 1
jmp 0x14012623f
inc dword [rbx + 0x1138]
mov eax, dword [rbx + 0x1138]
cmp eax, esi
cmovge eax, r15d
mov dword [rbx + 0x1138], eax
mov edx, r14d
mov rcx, rbx
call fcn.14007c37c
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14007c37c
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x1138]
call qword [rax + 0x4b8]
jmp 0x140126234
sub dword [rbx + 0x1138], 1
jns 0x14012628d
lea eax, [rsi - 1]
jmp 0x140126287
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x14026d6f8], r15d
jmp 0x140126234
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14007b9ec
mov rdx, rax
mov rcx, rbx
call fcn.14007b000
test eax, eax
jne 0x14012626e
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14007b9ec
mov rdx, rax
mov rcx, rbx
call fcn.140081a70
jmp 0x14012626e
Function at 0x14012c400
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rdx
mov qword [rax + 8], rbx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x370]
mov edx, dword [0x14025eb54]
lea r8, [rsp + 0x50]
or ecx, 0xffffffff
and al, 0x80
mov rax, qword [rdi]
cmovne edx, ecx
mov rcx, rdi
call qword [rax + 0x568]
mov rdx, qword [rsp + 0x50]
lea rcx, str.CDockablePane
mov ebp, eax
call fcn.14001b5b0
mov rsi, rax
cmp rax, rdi
je 0x14012c500
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14012c500
test rsi, rsi
je 0x14012c4a5
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.CMultiPaneFrameWnd
call fcn.14001b5b0
mov r14, rax
jmp 0x14012c4a8
mov r14, rbx
cmp ebp, 2
jne 0x14012c51b
test r14, r14
je 0x14012c4e5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x14012c500
cmp qword [rsp + 0x50], rbx
je 0x14012c4e5
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x498]
test eax, eax
mov rax, rdi
sete bl
mov dword [r15], ebx
jmp 0x14012c502
mov rax, qword [rdi]
mov r9d, 5
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x3f0]
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
cmp ebp, 3
jne 0x14012c500
test rsi, rsi
je 0x14012c500
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x14012c500
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x14012c500
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x480]
mov rax, qword [rdi]
lea r9d, [rbp - 2]
lea r8d, [rbp + 2]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x698]
test rax, rax
setne bl
mov dword [r15], ebx
jmp 0x14012c502
Function at 0x14012ec30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rsi, rcx
mov edx, dword [0x14026f4a8]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x14026d8d8], eax
jle 0x14012ecb7
lea rcx, [0x14026d8d8]
call fcn.140192aac
cmp dword [0x14026d8d8], 0xffffffff
jne 0x14012ecb7
call fcn.14000e434
mov rcx, rax
test rax, rax
je 0x14012ed86
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [0x1401bd2f4]
mov qword [0x14026d8d0], rax
call fcn.1401928ec
lea rcx, [0x14026d8d8]
call fcn.140192a4c
test rdi, rdi
je 0x14012ed91
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x14012ed74
cmp qword [rax + 0x40], 0
je 0x14012ed74
test rax, rax
je 0x14012ece4
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x14012ed74
mov rax, qword [rdi + 8]
sub rax, 1
je 0x14012ed3b
sub rax, 1
je 0x14012ed0a
cmp rax, 1
jne 0x14012ed74
mov ebx, 0x428e
jmp 0x14012ed40
mov ecx, 0x11
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14012ed40
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x14012ed40
mov ebx, 0x3ea4
jmp 0x14012ed40
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.14000de90
test rax, rax
je 0x14012ed97
mov r8d, ebx
lea rcx, [0x14026d8d0]
mov rdx, rax
call fcn.140003140
test eax, eax
je 0x14012ed97
mov rax, qword [0x14026d8d0]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x14012ed76
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400028e0
int3
call fcn.14000ce6c
int3
call fcn.14000ce6c
int3

Function at 0x140144d90
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 [0x14026dcd0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402657b8]
test eax, eax
je 0x140144ddb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402657b8]
test eax, eax
jne 0x140144de4
call fcn.140007414
test eax, eax
je 0x140144e00
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025e018]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140144e08
xor eax, eax
jmp 0x140144e65
test rbx, rbx
jne 0x140144e28
lea rcx, str.ChooseColorA
call fcn.140023794
mov rbx, rax
test rax, rax
je 0x140144e33
mov qword [0x14026dcd0], 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 0x140144e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140144e4a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140144e63
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 0x140149648
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 [0x14026de20]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402657b8]
test eax, eax
je 0x140149693
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402657b8]
test eax, eax
jne 0x14014969c
call fcn.140007414
test eax, eax
je 0x1401496b8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025e018]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401496c0
xor eax, eax
jmp 0x14014971d
test rbx, rbx
jne 0x1401496e0
lea rcx, str.PrintDlgA
call fcn.140023794
mov rbx, rax
test rax, rax
je 0x1401496eb
mov qword [0x14026de20], 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 0x140149700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140149702
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14014971b
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 0x140161c14
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 [0x14025f760]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x140161cba
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.140162e38
mov rcx, rbx
call fcn.1401620cc
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.140192d50
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 0x140161cd9
cmp r8, 0x79
je 0x140161cd0
cmp r8, 0x12
jne 0x140161cd5
mov esi, 1
mov eax, esi
jmp 0x140161c99
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 0x140161d0e
cmp rdi, 0x79
jne 0x140161c88
cmp qword [0x14026bed8], rsi
jne 0x140161c97
test byte [rbx + 0x478], 2
jne 0x140161c97
cmp rdi, 0x12
je 0x140161d44
cmp rdi, 0x79
jne 0x140161c97
test ebp, ebp
jne 0x140161c97
test eax, eax
jne 0x140161c97
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140011b8c
cmp rax, rbx
jne 0x140161d69
bt r15, 0x1e
jb 0x140161d69
cmp rdi, 0x79
jne 0x140161d79
mov rcx, r14
jmp 0x140161d72
cmp rdi, 0x79
jne 0x140161d79
mov rcx, rbx
call fcn.140018760
jmp 0x140161d99
cmp dword [rbx + 0x414], esi
jge 0x140161d99
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 0x140161c99

Function at 0x1401927b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140192841
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140192841
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140192841
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140192825
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14019281f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140192827
add rdx, 0x28
jmp 0x140192804
xor edx, edx
test rdx, rdx
jne 0x140192830
xor al, al
jmp 0x140192847
test dword [rdx + 0x24], 0x80000000
je 0x14019283d
xor al, al
jmp 0x140192847
mov al, 1
jmp 0x140192847
xor al, al
jmp 0x140192847
add rsp, 0x18
ret
Function at 0x1401b422b
Capabilities:
Read file on windows

Disassembly:
lea r14, [r14 + riz]
mov qword [rsp + r14], rcx
jmp 0x1401b14f2
push r14
jmp 0x1401b9c5f
push rbx
jmp 0x1401b4312
movabs rbx, 0xfffffffff194cdac
jmp 0x1401b432f
xor rbx, 0xffffffffecea070c
add rbx, 0x26f4ff27
sub rbx, 0x7c3c4885
jmp 0x1401b4391
sub rbx, 0xffffffffadbd9838
jmp 0x1401b4898
xor rbx, 0xffffffff80c26fcd
jmp 0x1401b4927
jmp 0x1401bb235
xor rbx, 0x358ba7b5
sub rbx, 0x21e8cf19
add rbx, 0xffffffff8541bd79
jmp 0x1401b5c21
xor rbx, 0x3be93ebf
xor rbx, 0xffffffffba95a5fe
sub rbx, 0xffffffffbd11cf26
xor rbx, 0x5952171f
jmp 0x1401b6f53
lea rbx, [rbx + riz]
jmp 0x1401b6f6c
mov qword [rsp + rbx], rdx
pop rbx
jmp 0x1401b2a9e
movabs r14, 0x14f8e7258
jmp 0x1401b9cc1
add r14, 0xffffffff824a64fc
jmp 0x1401b9e95
jmp 0x1401ba413
xor r14, 0x73c095f
xor r14, 0xffffffffae24ab8c
jmp 0x1401ba436
jmp 0x1401ba452
add r14, 0x55e818c2
jmp 0x1401ba485
sub r14, 0x4979054f
xor r14, 0xffffffff852f88ea
jmp 0x1401b1476
add rbx, 0x6b91a1f2
jmp 0x1401b59dd
Function at 0x1400ae53e
Capabilities:
Encode data using xor

Disassembly:
invalid
jge 0x1400ae4f0
lodsd eax, dword [rsi]
xor byte [rsi + 0x6e], bh
sbb eax, 0x9a3317a7
mov ch, 0x3d
pop rcx
stosd dword [rdi], eax
xor ebx, dword [rdx - 0x54a6c24b]
push 0xffffffffda92440e
xchg edx, eax
je 0x1400ae547
mov ah, 0x9a
nop
sbb eax, 0x97698ec7
hlt
Function at 0x14000179c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14000d958]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400017dc
mov eax, 0xff
jmp 0x14000197f
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x14000e5c0], r8d
mov dword [0x14000e5c8], ecx
mov dword [0x14000e5cc], edx
mov dword [0x14000e5d0], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x14000e5c4], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001872
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001872
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140001872
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x140001874
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x140001874
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140002cb8
test eax, eax
jne 0x1400018aa
cmp dword [0x14000e028], 2
je 0x140001896
call fcn.140002aa0
mov ecx, 0x1c
call fcn.140002aec
mov ecx, 0xff
call fcn.1400026d0
call fcn.1400025b0
test eax, eax
jne 0x1400018d6
cmp dword [0x14000e028], 2
je 0x1400018c1
call fcn.140002aa0
mov ecx, 0x10
call fcn.140002aec
mov ecx, 0xff
call fcn.1400026d0
nop
call fcn.140002d2c
test eax, eax
jns 0x1400018e9
mov ecx, 0x1b
call fcn.1400026ec
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x140010130], rax
call fcn.14000352c
mov qword [0x14000e020], rax
call fcn.140002fbc
test eax, eax
jns 0x140001914
mov ecx, 8
call fcn.1400026ec
call fcn.1400032f0
test eax, eax
jns 0x140001927
mov ecx, 9
call fcn.1400026ec
mov ecx, edi
call fcn.140002750
test eax, eax
je 0x140001939
mov ecx, eax
call fcn.1400026ec
mov r8, qword [0x14000e5b0]
mov qword [0x14000e5e0], r8
mov rdx, qword [0x14000e5a8]
mov ecx, dword [0x14000e5a0]
call fcn.1400013e8
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400019a0
call fcn.14000273c
jmp 0x14000197d
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400019f0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140002a90
nop
mov ecx, eax
call fcn.140002660
nop
int3
sub rsp, 0x28
call fcn.140137000
add rsp, 0x28
jmp 0x14000179c