joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f754c
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 [0x1402a0bc8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x1400f7597
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x1400f75a0
call fcn.140026ce4
test eax, eax
je 0x1400f75bc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f75c4
xor eax, eax
jmp 0x1400f7621
test rbx, rbx
jne 0x1400f75e4
lea rcx, str.GetOpenFileNameW
call fcn.14005a4b4
mov rbx, rax
test rax, rax
je 0x1400f75ef
mov qword [0x1402a0bc8], 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 0x1400f7604
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f7606
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f761f
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 0x1400f7638
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 [0x1402a0bd0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x1400f7683
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x1400f768c
call fcn.140026ce4
test eax, eax
je 0x1400f76a8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f76b0
xor eax, eax
jmp 0x1400f770d
test rbx, rbx
jne 0x1400f76d0
lea rcx, str.GetSaveFileNameW
call fcn.14005a4b4
mov rbx, rax
test rax, rax
je 0x1400f76db
mov qword [0x1402a0bd0], 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 0x1400f76f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f76f2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f770b
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 0x140101170
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400276b8
test eax, eax
je 0x1401012a4
cmp dword [rbx + 0xb28], 0
je 0x1401011c0
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x1401012a9
call fcn.14002f678
mov rcx, qword [rax + 8]
call fcn.14001db04
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.14001bc14
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x1401011fb
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140021470
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400555bc
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010124e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010129a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.14001e53c
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14010c414
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
xor eax, eax
cmp qword [0x14029d130], rax
setne al
test eax, eax
jne 0x14010c445
call fcn.14001a4e4
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x14010c45e
xor eax, eax
jmp 0x14010c5cc
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14010c457
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14010c496
call fcn.14001a4e4
int3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x14029d130]
call fcn.14002ee0c
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call qword [rax + 0x2c8]
nop
mov rax, qword [rbp + 0x6f]
mov edx, dword [rax - 0x10]
test edx, edx
jns 0x14010c4e4
mov ecx, 0x80070057
call fcn.140002ad8
int3
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x14010c505
lea rcx, [rbp + 0x6f]
call fcn.140002f54
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14010c5c7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14010ecf8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2f0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x14010ed4f
test esi, esi
js 0x14010ed4f
cmp ax, 0x20
je 0x14010ed41
cmp bp, 0x71
jne 0x14010ed4f
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x320]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140110a1c
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x140110176
xor eax, eax
add rsp, 0x28
ret
call fcn.140110194
mov rcx, rax
add rsp, 0x28
jmp 0x140110a1c
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 [0x1402a0fb0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x140110a67
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x140110a70
call fcn.140026ce4
test eax, eax
je 0x140110a8c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140110a94
xor eax, eax
jmp 0x140110af1
test rbx, rbx
jne 0x140110ab4
lea rcx, str.ImageList_Destroy
call fcn.140026728
mov rbx, rax
test rax, rax
je 0x140110abf
mov qword [0x1402a0fb0], 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 0x140110ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140110ad6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140110aef
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 0x140110b08
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402a0fb8]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x140299b84]
test eax, eax
je 0x140110b65
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x140110b6e
call fcn.140026ce4
test eax, eax
je 0x140110b8a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140110b95
xor eax, eax
jmp 0x140110c20
test rbx, rbx
jne 0x140110bb5
lea rcx, str.ImageList_LoadImageW
call fcn.140026728
mov rbx, rax
test rax, rax
je 0x140110bec
mov qword [0x1402a0fb8], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140110c02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140110c04
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140110c1d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x1401169f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x140292900]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x140116a3c
xor eax, eax
jmp 0x140116b69
test r8, r8
je 0x140116a35
call fcn.14002f678
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140116a35
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140116a35
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140116b8f
mov rcx, rax
call fcn.1401b4af0
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x140116b22
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x140116b00
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140116ade
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401a8b50
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x140116b95
mov dword [rdi], 0xcccc
jmp 0x140116b1c
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401b4624
mov rdi, rax
test rax, rax
je 0x140116b25
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x140116b25
mov rdi, rbx
test rdi, rdi
je 0x140116b95
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14001bb4c
test rax, rax
je 0x140116b4d
mov rdx, rax
mov rcx, r12
call fcn.1401191bc
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140116b67
call fcn.1401b43cc
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401a82a0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.14001a4e4
int3
call fcn.14001a4e4
int3
Function at 0x140149dac
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 [0x140292900]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x140149e52
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.14014afd0
mov rcx, rbx
call fcn.14014a264
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.1401a82a0
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 0x140149e71
cmp r8, 0x79
je 0x140149e68
cmp r8, 0x12
jne 0x140149e6d
mov esi, 1
mov eax, esi
jmp 0x140149e31
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 0x140149ea6
cmp rdi, 0x79
jne 0x140149e20
cmp qword [0x14029e708], rsi
jne 0x140149e2f
test byte [rbx + 0x478], 2
jne 0x140149e2f
cmp rdi, 0x12
je 0x140149edc
cmp rdi, 0x79
jne 0x140149e2f
test ebp, ebp
jne 0x140149e2f
test eax, eax
jne 0x140149e2f
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140020d54
cmp rax, rbx
jne 0x140149f01
bt r15, 0x1e
jb 0x140149f01
cmp rdi, 0x79
jne 0x140149f11
mov rcx, r14
jmp 0x140149f0a
cmp rdi, 0x79
jne 0x140149f11
mov rcx, rbx
call fcn.140027a94
jmp 0x140149f31
cmp dword [rbx + 0x414], esi
jge 0x140149f31
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 0x140149e31
Function at 0x140155138
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 [0x140291c64]
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.140030f3c
mov rsi, rax
cmp rax, rdi
je 0x140155238
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140155238
test rsi, rsi
je 0x1401551dd
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.CMultiPaneFrameWnd
call fcn.140030f3c
mov r14, rax
jmp 0x1401551e0
mov r14, rbx
cmp ebp, 2
jne 0x140155253
test r14, r14
je 0x14015521d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x140155238
cmp qword [rsp + 0x50], rbx
je 0x14015521d
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 0x14015523a
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 0x140155238
test rsi, rsi
je 0x140155238
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x140155238
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x140155238
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 0x14015523a
Function at 0x14015799c
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 [0x1402a3c68]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1402a21b8], eax
jle 0x140157a23
lea rcx, [0x1402a21b8]
call fcn.1401a89e4
cmp dword [0x1402a21b8], 0xffffffff
jne 0x140157a23
call fcn.14001bb90
mov rcx, rax
test rax, rax
je 0x140157af2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [0x1401e1af8]
mov qword [0x1402a21b0], rax
call fcn.1401a8588
lea rcx, [0x1402a21b8]
call fcn.1401a8984
test rdi, rdi
je 0x140157afd
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x140157ae0
cmp qword [rax + 0x40], 0
je 0x140157ae0
test rax, rax
je 0x140157a50
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x140157ae0
mov rax, qword [rdi + 8]
sub rax, 1
je 0x140157aa7
sub rax, 1
je 0x140157a76
cmp rax, 1
jne 0x140157ae0
mov ebx, 0x428e
jmp 0x140157aac
mov ecx, 0x11
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140157aac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x140157aac
mov ebx, 0x3ea4
jmp 0x140157aac
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.1400196e0
test rax, rax
je 0x140157b03
mov r8d, ebx
lea rcx, [0x1402a21b0]
mov rdx, rax
call fcn.140019a88
test eax, eax
je 0x140157b03
mov rax, qword [0x1402a21b0]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x140157ae2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002ad8
int3
call fcn.14001a4e4
int3
call fcn.14001a4e4
int3

Function at 0x140192d28
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 [0x1402a2da8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x140192d73
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x140192d7c
call fcn.140026ce4
test eax, eax
je 0x140192d98
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140192da0
xor eax, eax
jmp 0x140192dfd
test rbx, rbx
jne 0x140192dc0
lea rcx, str.ChooseColorW
call fcn.14005a4b4
mov rbx, rax
test rax, rax
je 0x140192dcb
mov qword [0x1402a2da8], 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 0x140192de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140192de2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140192dfb
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 0x1401a3b34
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 [0x1402a3370]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140299b84]
test eax, eax
je 0x1401a3b7f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140299b84]
test eax, eax
jne 0x1401a3b88
call fcn.140026ce4
test eax, eax
je 0x1401a3ba4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402913a8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401a3bac
xor eax, eax
jmp 0x1401a3c09
test rbx, rbx
jne 0x1401a3bcc
lea rcx, str.PrintDlgW
call fcn.14005a4b4
mov rbx, rax
test rax, rax
je 0x1401a3bd7
mov qword [0x1402a3370], 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 0x1401a3bec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401a3bee
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401a3c07
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 0x1401a844c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1401a84dd
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1401a84dd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a84dd
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 0x1401a84c1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1401a84bb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1401a84c3
add rdx, 0x28
jmp 0x1401a84a0
xor edx, edx
test rdx, rdx
jne 0x1401a84cc
xor al, al
jmp 0x1401a84e3
test dword [rdx + 0x24], 0x80000000
je 0x1401a84d9
xor al, al
jmp 0x1401a84e3
mov al, 1
jmp 0x1401a84e3
xor al, al
jmp 0x1401a84e3
add rsp, 0x18
ret