joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054360
Capabilities:
Encode data using xor

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov r14d, r9d
movsxd rsi, r8d
mov ebp, edx
mov rdi, rcx
cmp esi, dword [rcx + 0x80]
jle 0x1400543bb
mov qword [rcx + 0x80], rsi
mov rcx, qword [rcx + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsi*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
nop
mov qword [rdi + 0x78], rax
mov rbx, qword [rdi + 0x78]
mov r9d, esi
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14003aec0
nop
mov rax, qword [rdi + 0x48]
movsxd rcx, dword [rax + 0x10]
mov eax, ecx
imul eax, ebp
movsxd r10, eax
add r10, qword [rdi + 0x70]
mov r11d, dword [rdi + 0x58]
imul r11d, r14d
sar r11d, 8
cmp r11d, 0xfe
jge 0x1400544f5
mov rdi, rcx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbx]
mov r9d, edx
shr r9d, 8
and r9d, 0xff00ff
imul r9d, r11d
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
mov ecx, 0x100
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
and r8d, 0xff00ff
imul r8d, ecx
shr r8d, 8
and r8d, 0xff00ff
and edx, 0xff00ff
imul edx, r11d
shr edx, 8
and edx, 0xff00ff
add r8d, edx
shr eax, 8
and eax, 0xff00ff
imul eax, ecx
shr eax, 8
and eax, 0xff00ff
add r9d, eax
mov eax, r9d
shr eax, 8
and eax, 0xff00ff
mov edx, 0x100
sub edx, eax
shl edx, 8
mov eax, r9d
shl eax, 8
or edx, eax
mov eax, r8d
shr eax, 8
and eax, 0xff00ff
mov ecx, 0x100
sub ecx, eax
or ecx, r8d
xor edx, ecx
and edx, 0xff00ff
mov eax, r9d
shr eax, 8
and eax, 0xff00ff
mov ecx, 0x100
sub ecx, eax
shl ecx, 8
shl r9d, 8
or ecx, r9d
xor edx, ecx
mov dword [r10], edx
lea rbx, [rbx + 4]
add r10, rdi
dec esi
test esi, esi
jg 0x140054410
jmp 0x1400545c4
mov r11, rcx
nop dword [rax + rax]
mov edx, dword [rbx]
mov r9d, edx
shr r9d, 8
and r9d, 0xff00ff
mov eax, r9d
shr eax, 0x10
mov ecx, 0x100
sub ecx, eax
mov eax, dword [r10]
mov r8d, eax
and r8d, 0xff00ff
imul r8d, ecx
shr r8d, 8
and r8d, 0xff00ff
and edx, 0xff00ff
add r8d, edx
shr eax, 8
and eax, 0xff00ff
imul eax, ecx
shr eax, 8
and eax, 0xff00ff
add r9d, eax
mov eax, r9d
shr eax, 8
and eax, 0xff00ff
mov edx, 0x100
sub edx, eax
shl edx, 8
mov eax, r9d
shl eax, 8
or edx, eax
mov eax, r8d
shr eax, 8
and eax, 0xff00ff
mov ecx, 0x100
sub ecx, eax
or ecx, r8d
xor edx, ecx
and edx, 0xff00ff
mov eax, r9d
shr eax, 8
and eax, 0xff00ff
mov ecx, 0x100
sub ecx, eax
shl ecx, 8
shl r9d, 8
or ecx, r9d
xor edx, ecx
mov dword [r10], edx
lea rbx, [rbx + 4]
add r10, r11
dec esi
test esi, esi
jg 0x140054500
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400546a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword [rcx]
mov r11d, r8d
shr r11d, 8
mov edi, r9d
and r11d, 0xff00ff
mov rbx, rdx
and r8d, 0xff00ff
movsxd rsi, dword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov ecx, 0x100
shr eax, 0x10
mov edx, 0x100
sub ecx, eax
dec edi
mov eax, dword [rbx]
mov r9d, eax
shr eax, 8
and r9d, 0xff00ff
and eax, 0xff00ff
imul r9d, ecx
imul eax, ecx
mov ecx, 0x100
shr r9d, 8
shr eax, 8
and r9d, 0xff00ff
and eax, 0xff00ff
add r9d, r8d
lea r10d, [rax + r11]
mov eax, r10d
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r10d
shl eax, 8
shl edx, 8
or edx, eax
mov eax, r9d
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, r10d
or ecx, r9d
shr eax, 8
xor edx, ecx
shl r10d, 8
and eax, 0xff00ff
and edx, 0xff00ff
mov ecx, 0x100
sub ecx, eax
shl ecx, 8
or ecx, r10d
xor edx, ecx
mov dword [rbx], edx
add rbx, rsi
test edi, edi
jg 0x1400546e0
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400562e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rbx, [r8 + 0x10]
mov r11, rcx
xor ecx, ecx
lea r9, [rbx + 4]
cmp rbx, r9
mov edi, 4
mov rsi, rdx
movabs rax, 0xcbf29ce484222325
cmova edi, ecx
mov r10, rbx
ja 0x140056349
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
inc r10
xor rax, rcx
mov rcx, r10
sub rcx, rbx
imul rax, rdx
cmp rcx, rdi
jne 0x140056330
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, rax
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140056389
cmp rax, r8
jne 0x14005637f
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x140056394
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x140056394
cmp rax, r8
jne 0x140056394
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r11 + 0x10]
call fcn.14010a370
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140056420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rbx, [r8 + 0x10]
mov r11, rcx
xor ecx, ecx
lea r9, [rbx + 8]
cmp rbx, r9
mov edi, 8
mov rsi, rdx
movabs rax, 0xcbf29ce484222325
cmova edi, ecx
mov r10, rbx
ja 0x140056489
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
inc r10
xor rax, rcx
mov rcx, r10
sub rcx, rbx
imul rax, rdx
cmp rcx, rdi
jne 0x140056470
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, rax
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x1400564c9
cmp rax, r8
jne 0x1400564bf
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1400564d4
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1400564d4
cmp rax, r8
jne 0x1400564d4
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r11 + 0x10]
call fcn.14010a370
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140059660
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r13, rcx
xor bpl, bpl
mov r14, qword [rcx + 0x18]
movsxd rax, dword [rcx + 0x24]
lea r15, [r14 + rax*8]
cmp r14, r15
je 0x140059829
mov r12d, 1
nop dword [rax + rax]
mov rsi, qword [r14]
test byte [rsi + 0x28], 0x70
je 0x140059817
cmp qword [0x14047d358], 0
je 0x140059712
call fcn.140081e90
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
shl ebx, 4
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
and al, 1
cmove edi, ebx
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, edi
or ecx, 0x40
and al, 1
cmove ecx, edi
mov eax, dword [0x14047d2c0]
and eax, 0xffffff8f
or eax, ecx
mov dword [0x14047d2c0], eax
test byte [0x14047d2c0], 0x70
je 0x140059817
cmp dword [rsi + 0x14], 1
je 0x1400597d2
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rbx, qword [rsp + 0x88]
call fcn.1401c5390
mov rax, qword [0x14047d830]
test rax, rax
je 0x14005976d
cmp qword [0x14047d7e0], 0
je 0x14005976d
call rax
mov rcx, rax
call qword [0x14047d7e0]
cmp eax, 2
sete al
jmp 0x140059772
call fcn.1401c52f0
test al, al
je 0x1400597be
mov rax, qword [0x14047d100]
test rax, rax
jne 0x1400597a4
mov ecx, 0x128
call fcn.14010a334
mov qword [rsp + 0x90], rax
mov rcx, rax
call fcn.14023c250
nop
mov qword [0x14047d100], rax
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x98]
mov rcx, qword [rax + 0x78]
call fcn.140094110
mov rbx, qword [rax]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
shr rbx, 0x20
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
jmp 0x1400597dc
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x1c]
addss xmm0, dword [rsi + 0x20]
addss xmm1, dword [rsi + 0x24]
movss dword [rsi + 0x18], xmm0
movss dword [rsi + 0x1c], xmm1
mov rcx, qword [rsi + 8]
xor eax, eax
lock cmpxchg dword [rcx + 0x18], r12d
jne 0x140059814
mov rcx, qword [rsi + 8]
call fcn.140169820
test al, al
jne 0x140059814
mov rcx, qword [rsi + 8]
xor eax, eax
xchg dword [rcx + 0x18], eax
mov bpl, 1
add r14, 8
cmp r14, r15
jne 0x1400596a0
test bpl, bpl
jne 0x140059831
mov rcx, r13
call fcn.14016aa10
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140067220
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rdx + 0x10]
mov rdi, rdx
mov edx, dword [rcx + 0x100]
mov rbx, rcx
mov rcx, qword [rcx + 0xd0]
mov r9b, 1
call fcn.1401e6270
mov rcx, qword [rbx + 0xd0]
lea rdx, [rbx + 0xe0]
add rcx, 0x108
mov r8, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14022d980
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov rdx, qword [rcx + 8]
add rdx, 0x40
mov rax, qword [rdx]
cmp byte [rax], 0
je 0x14022da80
lea rcx, [rsp + 0x38]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14022da80
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll___RTDynamicCast
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x60], rcx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14008ee90
nop
mov ebx, dword [rdi + 0x1c]
nop word [rax + rax]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14022da53
cmp qword [rax + 0x10], 0
je 0x14022da53
test ebx, ebx
jle 0x14022da53
mov eax, dword [rdi + 0x1c]
dec ebx
cmp ebx, eax
jl 0x14022da3a
lea ebx, [rax - 1]
mov eax, ebx
shr eax, 0x1f
xor al, 1
je 0x14022da53
movsxd rcx, ebx
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov r8, rsi
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14022da10
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14022da80
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14022da80
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140068030
Capabilities:
Get file attributes

Disassembly:
test dl, dl
je 0x14006810c
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rcx
call fcn.1401d59f0
lea rdx, [rdi + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x14006807c
cmp eax, 0xffffffff
je 0x14006807c
mov al, 1
jmp 0x14006807e
xor al, al
mov byte [rdi + 0xa0], al
test al, al
je 0x1400680fd
cmp qword [rdi + 0x90], 0
jne 0x1400680f1
mov ecx, 0xa8
call fcn.14010a334
mov qword [rsp + 0x50], rax
mov rcx, qword [rdi + 0x80]
mov r8, qword [rdi + 0xa8]
mov rdx, qword [rcx + 0x48]
mov rcx, rax
call fcn.14022d7c0
mov rbx, rax
mov rcx, qword [rdi + 0x80]
mov r8d, dword [rcx + 0x58]
mov r9d, r8d
shr r9d, 1
and r9b, 1
and r8b, 1
lea rdx, [rdi + 0x70]
mov rcx, rax
call fcn.14022d4f0
mov r8b, 1
mov rdx, rbx
mov rcx, rdi
call fcn.140068110
lea rcx, [rdi + 0x68]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140068830
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1401d51e0
mov rcx, qword [rbx + 0x78]
lea rdx, [rbx + 0x70]
add rcx, 0x130
add rsp, 0x20
pop rbx
jmp fcn.14022d880
Function at 0x140081e90
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
mov ecx, select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
shr eax, 0xf
mov edi, ebx
or edi, 2
and al, 1
cmove edi, ebx
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
shr eax, 0xf
mov esi, edi
or esi, 4
and al, 1
cmove esi, edi
mov ebx, esi
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
shr eax, 0xf
test al, 1
je 0x140081f1e
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
shr eax, 0xf
test al, 1
jne 0x140081f1e
and ebx, 0xfffffffd
or ebx, 4
mov eax, dword [0x14047d2c0]
and eax, 0x70
or eax, ebx
mov dword [0x14047d2c0], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140081f40
Capabilities:
Log keystrokes via polling

Disassembly:
movzx eax, cl
mov rdx, rcx
mov r9, rcx
shl rdx, 4
and edx, 0x10
mov r8d, edx
or r8d, 0x20
and al, 2
mov eax, dword [0x14047d2c0]
cmove r8d, edx
and eax, 0xffffff8f
mov ecx, r8d
or ecx, 0x40
and r9b, 0x10
cmove ecx, r8d
or ecx, eax
mov dword [0x14047d2c0], ecx
jmp fcn.140081e90
Function at 0x140085950
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbp, rdx
mov rdi, rcx
call fcn.140081e90
lea rax, [rbp - 0x10]
xor esi, esi
cmp rax, 0x95
ja case.0x1400859b4.19
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x85bd0]
mov edx, dword [rcx + rax*4 + 0x85bc4]
add rdx, rcx
jmp rdx
mov rcx, rdi
call fcn.1400856f0
jmp 0x140085aff
mov dl, 1
mov rcx, rdi
call fcn.1401cfa60
movzx ebx, al
mov ecx, dword [0x14047d2c0]
and ecx, 0xffffff8f
bts ebp, 0x10
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x38], esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401cfbc0
test al, al
jne 0x140085b9b
test bl, bl
jmp 0x140085af9
mov dl, 1
mov rcx, rdi
call fcn.1401cfa60
movzx r14d, al
mov dword [rsp + 0x20], esi
mov r9d, 0x103
lea r8d, [r9 - 1]
mov rdx, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140085af6
lea edx, [rax + 2]
mov ecx, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r15d, eax
xor edx, edx
mov ecx, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetKeyboardState]
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xb0]
mov edx, ebx
mov ecx, ebp
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x140085abd
movzx eax, si
mov word [rsp + 0x88], ax
jmp 0x140085ac5
movzx eax, word [rsp + 0x88]
movzx edx, ax
mov eax, dword [0x14047d2c0]
and eax, 0xffffff8f
movzx ecx, r15w
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401cfbc0
test al, al
jne 0x140085b9b
test r14b, r14b
jne 0x140085b9b
mov rbx, qword [0x14047d3d8]
test rbx, rbx
jne 0x140085b5f
lea ecx, [rbx + 0x28]
call fcn.14010a334
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.14016ad20
nop
lea rcx, [rbx + 0x10]
call fcn.14016a060
nop
lea rax, vtable.juce::ModalComponentManager.0
mov qword [rbx], rax
lea rax, vtable.juce::ModalComponentManager.1.0
mov qword [rbx + 0x10], rax
lea rax, [rbx + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rax
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [0x14047d3d8], rbx
mov eax, dword [rbx + 0x24]
sub eax, 1
js 0x140085b97
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
lea rdx, [rax + rcx*8]
mov r8, qword [rdx]
cmp byte [r8 + 0x5c], 0
je 0x140085b84
mov eax, esi
inc esi
test eax, eax
je 0x140085b90
sub rdx, 8
sub rcx, 1
js 0x140085b97
jmp 0x140085b72
cmp qword [r8 + 0x40], 0
jne 0x140085b9b
xor al, al
jmp 0x140085b9d
mov al, 1
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14010a310
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088970
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov ebp, r9d
mov r14, r8
mov rdi, rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd rsi, eax
test eax, eax
jle 0x140088a19
mov qword [rsp + 0x60], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
shr rcx, 1
inc rcx
lea edx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r9d, esi
mov r8, rax
mov edx, ebp
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14001ba80
mov dword [rsp + 0x20], 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140088a2b
lea rax, [0x1402be078]
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140088b20
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov r14, r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [r11 + 0x18], rdx
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov esi, 1
mov dword [rsp + 0x20], esi
test r8, r8
je 0x140088c71
test r9b, 0x20
je 0x140088c71
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x20]
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd r15, eax
test eax, eax
jle 0x140088c71
mov rbp, r15
shr rbp, 2
lea rcx, [rbp*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x30], rax
mov r9d, r15d
mov r8, rax
lea edx, [rsi + 0x1f]
mov rcx, r14
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x140088c68
cmp rbp, rsi
jbe 0x140088c68
mov rcx, rbx
nop dword [rax]
lea r14, [rcx + 4]
mov r9d, dword [rcx]
mov r8d, r9d
cmp r9d, dword [r14]
cmovl r8d, dword [r14]
mov edx, dword [r12]
lea ecx, [rdx + r8]
lea eax, [rdx + r9]
mov dword [rsp + 0x80], eax
cmp eax, ecx
cmovl r9d, r8d
add r9d, edx
mov dword [rsp + 0x84], r9d
mov edx, dword [rdi + 0xc]
lea ecx, [rdx + 1]
cmp ecx, dword [rdi + 8]
jle 0x140088c3e
mov eax, ecx
test ecx, ecx
jns 0x140088c29
lea eax, [rcx + 1]
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, rdi
call fcn.14001a990
mov edx, dword [rdi + 0xc]
lea eax, [rdx + 1]
mov dword [rdi + 0xc], eax
movsxd rcx, edx
mov rax, qword [rdi]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x80]
mov qword [rdx], rax
mov rcx, r14
inc rsi
cmp rsi, rbp
jb 0x140088be0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140088f80
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov r15, r9
mov r14, r8
mov esi, edx
mov rbx, rcx
call fcn.14016ad20
nop
lea rax, vtable.juce::WindowsMessageBox.0
mov qword [rbx], rax
mov edi, 0x12000
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x58]
lea rcx, [0x1401c4150]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 0x52000
cmp byte [rsp + 0x58], 0
cmovne edi, eax
sub esi, 1
je 0x140088ffe
sub esi, 1
je 0x140088ff9
cmp esi, 1
jne 0x140089001
or edi, 0x40
jmp 0x140089001
or edi, 0x30
jmp 0x140089001
or edi, 0x20
or edi, dword [rsp + 0x78]
mov dword [rbx + 0x10], edi
xor edi, edi
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14008905d
test byte [rax + 0xa8], 1
je 0x140089027
mov rcx, rax
call fcn.1401d0610
jmp 0x140089035
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14008905d
call fcn.140245fa0
mov rcx, rax
test rax, rax
je 0x14008905d
mov rax, qword [rax]
mov rdx, qword [rax + 8]
lea r8, vtable.juce::HWNDComponentPeer.1.0
cmp rax, r8
jne 0x1400890ea
mov rax, qword [rcx + 0x80]
jmp 0x140089060
mov rax, rdi
mov qword [rbx + 0x18], rax
mov rax, qword [r14]
mov qword [rbx + 0x20], rax
lea rcx, [rax - 0x10]
lea r8, [0x1402be068]
mov edx, 1
cmp rcx, r8
je 0x140089086
mov eax, edx
lock xadd dword [rcx], eax
mov rax, qword [r15]
mov qword [rbx + 0x28], rax
lea rcx, [rax - 0x10]
cmp rcx, r8
je 0x14008909c
mov eax, edx
lock xadd dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x30], rax
cmp byte [rsp + 0x88], 0
je 0x1400890d3
mov rcx, qword [rbx + 8]
xor eax, eax
lock cmpxchg dword [rcx + 0x18], edx
jne 0x1400890d3
mov rcx, qword [rbx + 8]
call fcn.140169820
test al, al
jne 0x1400890d3
mov rax, qword [rbx + 8]
xchg dword [rax + 0x18], edi
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
call rdx
nop
jmp 0x140089060