joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058bc0
Capabilities:
Extract resource via kernel32 functions

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
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140058bf1
call fcn.140007f48
mov rdi, qword [rax + 0x18]
lea r8, [0x1401c5f60]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x140058c10
xor eax, eax
jmp 0x140058c5c
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140058c0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140058c51
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140058c78
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
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

Function at 0x14005b8cc
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 [0x140253628]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14024f054]
test eax, eax
je 0x14005b917
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14024f054]
test eax, eax
jne 0x14005b920
call fcn.1400128d4
test eax, eax
je 0x14005b93c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140248130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005b944
xor eax, eax
jmp 0x14005b9a1
test rbx, rbx
jne 0x14005b964
lea rcx, str.ImageList_GetImageCount
call fcn.140012318
mov rbx, rax
test rax, rax
je 0x14005b96f
mov qword [0x140253628], 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 0x14005b984
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005b986
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005b99f
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 0x14008254c
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 0x14008271b
je 0x140082741
cmp eax, 0xa1
jb 0x140082791
cmp eax, 0xa2
jbe 0x140082741
cmp eax, 0xa3
jbe 0x140082791
cmp eax, 0xa5
jbe 0x140082741
cmp eax, 0xa6
jbe 0x140082791
cmp eax, 0xa8
jbe 0x140082741
cmp eax, 0x100
jne 0x140082791
cmp dword [rbx + 0x154], 0xffffffff
je 0x140082741
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140082741
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x14008269c
cmp rax, 1
jne 0x140082741
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x140082692
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 0x14008264b
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x14008261b
jmp 0x140082692
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.140012f20
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 0x1400827bf
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x140082692
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 0x1400826d7
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x1400826af
jmp 0x140082692
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.140012f20
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x14008268c
cmp eax, 0x200
jb 0x140082791
cmp eax, 0x202
jbe 0x140082741
cmp eax, 0x203
jbe 0x140082791
cmp eax, 0x205
jbe 0x140082741
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140082791
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x14008276c
cmp qword [rcx + 0x40], rdi
je 0x14008276c
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 0x140082791
cmp qword [rcx + 0x40], rdi
je 0x140082791
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 0x1400827b4
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1400827aa
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x140082692
mov rdx, rbp
mov rcx, rbx
call fcn.140078694
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400be200
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 0x1400be2d0
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.14000c8f0
cmp qword [rbx + 0x138], 0
jne 0x1400be240
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 0x1400be2a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x1400be2a0
call fcn.140007f48
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 0x1400be2cb
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.1400dcff0
mov rcx, rax
call fcn.1400c8538
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400dbb84
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 0x1400dbcbc
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 0x1400dbcfe
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 0x1400dc0ec
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 0x1400dc1be
test rbx, rbx
je 0x1400dc1c4
test r9, r9
je 0x1400dc1ca
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 0x1400dc1a7
cmp dword [rsp + 0x48], 3
jne 0x1400dc1a7
test eax, eax
jne 0x1400dc1a7
cmp dword [rdi], eax
je 0x1400dc1a7
mov ecx, dword [rdi]
call fcn.1400025f0
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 0x1400dc19b
cmp dword [rsp + 0x48], 3
jne 0x1400dc19b
test eax, eax
jne 0x1400dc19b
mov eax, 1
jmp 0x1400dc1a9
mov rcx, qword [rbx]
call fcn.1400025e8
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.1400142ec
int3
call fcn.1400142ec
int3
call fcn.1400142ec
int3

Function at 0x1400dc484
Capabilities:
Set registry value

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

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x14024888c], edi
je 0x1401127e5
cmp dword [0x140248e48], 0xfffffffe
jne 0x1401127ca
cmp ecx, 0xffffffff
je 0x1401127e5
mov edx, dword [0x140258bc0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x140256da0], ecx
jle 0x140112768
lea rcx, [0x140256da0]
call fcn.1401816cc
cmp dword [0x140256da0], 0xffffffff
jne 0x140112768
lea rcx, [0x140256d68]
call fcn.14004e408
lea rcx, [0x1401ad984]
call fcn.14018142c
lea rcx, [0x140256da0]
call fcn.14018166c
lea rcx, [0x140256d78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140256d60], rdi
jne 0x1401127f0
xor r8d, r8d
lea rcx, [0x1401127f8]
xor edx, edx
call fcn.140188c9c
mov qword [0x140256d60], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1401127b4
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140248e48], ebx
jmp 0x1401127bb
mov qword [0x140256d60], rdi
lea rcx, [0x140256d78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1401127e5
mov rax, qword [0x140256d60]
cmp ecx, 0xffffffff
mov dword [0x140248e48], ecx
cmove rax, rdi
mov qword [0x140256d60], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400142ec
int3
Function at 0x1401149b4
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 0x140114a9c
xor edx, edx
call fcn.14006afa0
xor r15d, r15d
mov rcx, rbx
test rax, rax
je 0x1401149fe
mov rdx, rbp
call fcn.14004fcd0
jmp 0x140114aa7
call fcn.14006af98
mov esi, eax
cmp dword [rbx + 0x1394], r15d
je 0x140114a14
sub esi, dword [rbx + 0x1388]
mov r14d, dword [rbx + 0x1138]
test r14d, r14d
js 0x140114a9c
cmp r14d, esi
jge 0x140114a9c
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x140114a42
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.140012c78
bt eax, 0x16
jae 0x140114a64
mov eax, 0x25
cmp edi, eax
jne 0x140114a5e
lea edi, [rax + 2]
jmp 0x140114a64
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x140114b61
sub edi, 0xe
je 0x140114b3d
sub edi, 0xa
je 0x140114b2f
sub edi, 2
je 0x140114add
mov rcx, rbx
cmp edi, 1
je 0x140114ac0
mov rax, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [rax + 0x728]
test eax, eax
jne 0x140114ad6
mov rdx, rbp
mov rcx, rbx
call fcn.140070cd0
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.14006ae60
mov rdx, rax
mov rcx, rbx
call fcn.14006a474
mov eax, 1
jmp 0x140114aa7
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.14006b7f0
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14006b7f0
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 0x140114a9c
sub dword [rbx + 0x1138], 1
jns 0x140114af5
lea eax, [rsi - 1]
jmp 0x140114aef
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x6c8]
mov dword [0x140256dc8], r15d
jmp 0x140114a9c
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14006ae60
mov rdx, rax
mov rcx, rbx
call fcn.14006a474
test eax, eax
jne 0x140114ad6
mov edx, dword [rbx + 0x1138]
mov rcx, rbx
call fcn.14006ae60
mov rdx, rax
mov rcx, rbx
call fcn.140070ee4
jmp 0x140114ad6
Function at 0x14011aba4
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 [0x140248b44]
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.140014c4c
mov rsi, rax
cmp rax, rdi
je 0x14011aca4
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14011aca4
test rsi, rsi
je 0x14011ac49
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.CMultiPaneFrameWnd
call fcn.140014c4c
mov r14, rax
jmp 0x14011ac4c
mov r14, rbx
cmp ebp, 2
jne 0x14011acbf
test r14, r14
je 0x14011ac89
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x14011aca4
cmp qword [rsp + 0x50], rbx
je 0x14011ac89
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 0x14011aca6
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 0x14011aca4
test rsi, rsi
je 0x14011aca4
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x14011aca4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x14011aca4
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 0x14011aca6
Function at 0x14011d408
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 [0x140258bc0]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x140256fa8], eax
jle 0x14011d48f
lea rcx, [0x140256fa8]
call fcn.1401816cc
cmp dword [0x140256fa8], 0xffffffff
jne 0x14011d48f
call fcn.140016fb4
mov rcx, rax
test rax, rax
je 0x14011d55e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [0x1401ad9e0]
mov qword [0x140256fa0], rax
call fcn.14018142c
lea rcx, [0x140256fa8]
call fcn.14018166c
test rdi, rdi
je 0x14011d569
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x14011d54c
cmp qword [rax + 0x40], 0
je 0x14011d54c
test rax, rax
je 0x14011d4bc
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x14011d54c
mov rax, qword [rdi + 8]
sub rax, 1
je 0x14011d513
sub rax, 1
je 0x14011d4e2
cmp rax, 1
jne 0x14011d54c
mov ebx, 0x428e
jmp 0x14011d518
mov ecx, 0x11
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14011d518
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x14011d518
mov ebx, 0x3ea4
jmp 0x14011d518
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.140016a10
test rax, rax
je 0x14011d56f
mov r8d, ebx
lea rcx, [0x140256fa0]
mov rdx, rax
call fcn.140004e1c
test eax, eax
je 0x14011d56f
mov rax, qword [0x140256fa0]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x14011d54e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004454
int3
call fcn.1400142ec
int3
call fcn.1400142ec
int3

Function at 0x140130ad8
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 [0x140257398]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14024f054]
test eax, eax
je 0x140130b23
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14024f054]
test eax, eax
jne 0x140130b2c
call fcn.1400128d4
test eax, eax
je 0x140130b48
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140248130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130b50
xor eax, eax
jmp 0x140130bad
test rbx, rbx
jne 0x140130b70
lea rcx, str.ChooseColorA
call fcn.14001da20
mov rbx, rax
test rax, rax
je 0x140130b7b
mov qword [0x140257398], 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 0x140130b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130b92
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130bab
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 0x14013526c
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 [0x1402574e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14024f054]
test eax, eax
je 0x1401352b7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14024f054]
test eax, eax
jne 0x1401352c0
call fcn.1400128d4
test eax, eax
je 0x1401352dc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140248130]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401352e4
xor eax, eax
jmp 0x140135341
test rbx, rbx
jne 0x140135304
lea rcx, str.PrintDlgA
call fcn.14001da20
mov rbx, rax
test rax, rax
je 0x14013530f
mov qword [0x1402574e8], 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 0x140135324
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140135326
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013533f
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 0x14014d8ec
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 [0x140249750]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x14014d992
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.14014eb10
mov rcx, rbx
call fcn.14014dda4
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.140181500
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 0x14014d9b1
cmp r8, 0x79
je 0x14014d9a8
cmp r8, 0x12
jne 0x14014d9ad
mov esi, 1
mov eax, esi
jmp 0x14014d971
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
mov ecx, 0x10
shr ebp, 0xf
and ebp, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
cmp rdi, 0x12
je 0x14014d9e6
cmp rdi, 0x79
jne 0x14014d960
cmp qword [0x1402555a8], rsi
jne 0x14014d96f
test byte [rbx + 0x478], 2
jne 0x14014d96f
cmp rdi, 0x12
je 0x14014da1c
cmp rdi, 0x79
jne 0x14014d96f
test ebp, ebp
jne 0x14014d96f
test eax, eax
jne 0x14014d96f
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14000c8f0
cmp rax, rbx
jne 0x14014da41
bt r15, 0x1e
jb 0x14014da41
cmp rdi, 0x79
jne 0x14014da51
mov rcx, r14
jmp 0x14014da4a
cmp rdi, 0x79
jne 0x14014da51
mov rcx, rbx
call fcn.140012f20
jmp 0x14014da71
cmp dword [rbx + 0x414], esi
jge 0x14014da71
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 0x14014d971

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

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140181381
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140181381
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140181381
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 0x140181365
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14018135f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140181367
add rdx, 0x28
jmp 0x140181344
xor edx, edx
test rdx, rdx
jne 0x140181370
xor al, al
jmp 0x140181387
test dword [rdx + 0x24], 0x80000000
je 0x14018137d
xor al, al
jmp 0x140181387
mov al, 1
jmp 0x140181387
xor al, al
jmp 0x140181387
add rsp, 0x18
ret