joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018b70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140194120]
lea rdx, [0x1400aec10]
mov r8d, ecx
mov rbx, qword [rax + 0x3fe0]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140018c27
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140018c13
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140018c18
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14002d3f0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a880
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140194120]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x14001a8e1
cmp byte [rbx + 0x43fe], 0
jne 0x14001a8e1
movsx r9d, word [rbx + 0x54e2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140008ca0
test dil, 1
je 0x14001aa09
jmp 0x14001a971
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54e2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400ba7c8]
mulss xmm1, dword [0x1400ba78c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x1400ba6bc]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.140008ca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a9c1
lea r11, [0x1400aec10]
cmp r9b, 0x23
jne 0x14001a9a4
cmp byte [r8], r9b
jne 0x14001a9a4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001a991
not ecx
call fcn.140012210
test rax, rax
je 0x14001aa09
cmp byte [rax + 0xcb], 0
je 0x14001aa09
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54e2]
mov edx, 0x10
movsx r9d, word [rbx + 0x54e2]
call fcn.140008ca0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.1400150c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a55b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001fc20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001fcc3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001fc76
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002d120
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400098b0
mov eax, dword [rbx]
lea rcx, [0x140194112]
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001fccb
mov rcx, rbx
call fcn.1400098b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020010
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140020062
lea r11, [0x1400aec10]
cmp r9b, 0x23
jne 0x140020045
cmp byte [r8], r9b
jne 0x140020045
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140020032
mov r11, qword [0x140194120]
xor r9d, r9d
mov r10, qword [r11 + 0x5598]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x1400200ae
not eax
cmp dword [r9], eax
je 0x1400200b7
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140020085
mov rcx, rbx
pop rbx
jmp fcn.14001ff20
mov rax, r9
pop rbx
ret

Function at 0x1400200c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140194120]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020123
mov qword [rsp], rbx
lea rbx, [0x1400aec10]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020103
cmp byte [r8], r9b
jne 0x140020103
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400200f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140020157
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002015e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140020144
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140023c70
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140023ebe
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400aec10]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140023e86
mov rcx, rbp
call fcn.1400231b0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140023d41
movsxd rdx, dword [rbp + 0x5530]
mov r8, qword [rbp + 0x5538]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140023d31
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140023d29
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140023d2c
mov rdx, rcx
test rdx, rdx
jne 0x140023d00
cmp r8, r10
je 0x140023d41
cmp dword [r8], r9d
jne 0x140023d41
mov rcx, qword [r8 + 8]
jmp 0x140023d43
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140023dd7
cmp qword [rcx + 0x20], 0
jne 0x140023dcc
mov qword [rcx + 0x20], rbx
jmp 0x140023dd7
cmp qword [rcx + 0x28], 0
jne 0x140023dd7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140023e1c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140023e10
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140008ca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140023e78
cmp r9b, 0x23
jne 0x140023e5b
cmp byte [r8], r9b
jne 0x140023e5b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140023e48
not ecx
call fcn.140012210
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140023cc0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a55b0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14002b950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14002b99d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x14002b9a2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14002b9cd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14002b9cd
mov rax, qword [rax + 0x390]
test rax, rax
je 0x14002b9cd
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x14002b9d2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14002b9ec
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x14002b9f1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14002ba73
inc ecx
test r8d, r8d
je 0x14002ba5e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002ba63
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1400068f0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14002bab2
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.14002b950
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x14002bac2
inc esi
jmp 0x14002b980
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140059650
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov rbx, rcx
lea rcx, [rsp + 0xe1]
mov dword [rsp + 0xd4], eax
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x1f3
mov byte [rsp + 0xe0], al
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rcx, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400a55b0
add rsp, 0x2f0
pop rbx
ret
Function at 0x14005a550
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14005a581
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.1400577c0
mov rdi, rax
mov rdx, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 0x15
jb 0x14005a79f
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005a5c1
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x15
lea r9, str._CreateDir____Dir__
lea rcx, [rsp + 0x70]
call fcn.14002ded0
nop
mov r8d, 0x11
lea rdx, str._Return_value_
lea rcx, [rsp + 0x70]
call fcn.14002e000
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rdi
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.14009e390
lea rcx, [rsp + 0x48]
call fcn.140059e90
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x14005a68e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a688
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14005a6d1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a6cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a6cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
movdqa xmm0, xmmword [0x1400ba950]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x14005a72e
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005a764
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005a75f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005a798
mov rcx, r8
call fcn.1400a55d0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400a55b0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140007aa0
nop
int3
Function at 0x14005c250
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x120
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x110], rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1401912a0]
add rcx, 0x2faf080
cmp rcx, rax
jge 0x14005c2cf
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401912a0], rax
mov rcx, qword [0x1401947d0]
mov rdx, qword [0x1401947d8]
cmp rcx, rdx
je 0x14005c2c0
call fcn.14009cfa0
mov rax, qword [0x1401947d0]
mov qword [0x1401947d8], rax
xor edx, edx
lea rcx, [0x14005bf10]
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1401912a8]
add rcx, 0x1e8480
cmp rcx, rax
jge 0x14005c48c
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401912a8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140191740], rax
mov r8d, 0xc8
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x14005c340
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x14005c4b1
cmp rbx, 0xf
ja 0x14005c39b
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], sil
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x14005c42f
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x14005c3d4
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a5700
test rax, rax
je 0x14005c480
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005c40c
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14005c3ff
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005c4b7
jmp 0x14005c3b5
test rcx, rcx
je 0x14005c40c
call fcn.1400a5700
mov rsi, rax
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rdx, [rsp + 0x20]
cmp rdi, 0xf
cmova rdx, rsi
mov r8, rbx
lea rcx, [0x140191748]
call fcn.14009be30
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14005c48c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c487
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400a55b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140007aa0
int3
call fcn.140007a00
int3
Function at 0x1400636a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 0x18
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400636c7
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [rdi + 0x64], 0x7fffffff
jne 0x1400636e3
mov ecx, 6
mov dword [rdi + 0x64], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdi + 0x70]
mov qword [rsp + 0x38], rsi
mov rsi, qword [rdi + 0x78]
cmp rbx, rsi
je 0x14006371f
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x14006370c
xor al, al
jmp 0x140063712
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rsi
jne 0x140063700
mov rax, qword [rdi]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rax, qword [rdi + 8]
je case.default.0x140063748
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x18]
mov byte [rdi + 0x68], 0
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]

Function at 0x140063750
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
push r15
sub rsp, 0x28
mov rdi, rcx
add rcx, 0x18
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140063775
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [rdi + 0x64], 0x7fffffff
jne 0x140063791
mov ecx, 6
mov dword [rdi + 0x64], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
xor r14b, r14b
mov qword [rsp + 0x40], rdi
cmp byte [rdi + 0x94], r14b
je 0x1400637bd
call fcn.14005a7b0
test al, al
je 0x1400637bd
mov r14b, 1
xor sil, sil
jmp 0x1400637ca
lea rcx, [rsp + 0x40]
call fcn.140063860
movzx esi, al
cmp dword [rdi + 0x90], 1
jne 0x14006382d
test sil, sil
jne 0x14006382d
mov qword [rsp + 0x48], rbx
mov rbx, qword [rdi + 0x70]
mov qword [rsp + 0x50], rbp
mov rbp, qword [rdi + 0x78]
mov rcx, rbp
sub rcx, rbx
sub rcx, 0x28
cmp rcx, 0x28
jb 0x1400637ff
test r14b, r14b
je 0x140063823
cmp rbx, rbp
je 0x140063823
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140063810
xor al, al
jmp 0x140063816
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rbp
jne 0x140063804
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
cmp byte [rdi + 0x97], 0
mov r14, qword [rsp + 0x20]
je 0x14006383f
xor sil, 1
lea rcx, [rdi + 0x18]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, sil
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop r15
pop rdi
ret
Function at 0x140063ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0x6666666666666667
mov rcx, qword [rcx]
mov rdi, qword [rcx + 0x78]
mov rbx, qword [rcx + 0x70]
mov rdx, rdi
sub rdx, rbx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140063bf9
mov ecx, dword [rcx + 0x90]
test ecx, ecx
je 0x140063c0b
cmp ecx, 1
jne 0x140063bf9
cmp rbx, rdi
je 0x140063b69
cmp byte [rbx], 0
mov ecx, dword [rbx + 4]
je 0x140063b4d
cmp ecx, 0xffffffff
jne 0x140063b43
xor al, al
not al
jmp 0x140063b5c
call qword [sym.imp.USER32.dll_GetKeyState]
not al
jmp 0x140063b5c
cmp ecx, 0xffffffff
jne 0x140063b56
xor al, al
jmp 0x140063b5c
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140063b7b
add rbx, 0x28
cmp rbx, rdi
jne 0x140063b30
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi]
mov rdi, qword [rax + 0x78]
mov rbx, qword [rax + 0x70]
cmp rbx, rdi
je 0x140063bf9
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140063b9c
xor eax, eax
jmp 0x140063ba3
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
jne 0x140063bf0
cmp byte [rbx], 0
mov ecx, dword [rbx + 4]
je 0x140063bc7
cmp ecx, 0xffffffff
jne 0x140063bbd
xor al, al
not al
jmp 0x140063bd6
call qword [sym.imp.USER32.dll_GetKeyState]
not al
jmp 0x140063bd6
cmp ecx, 0xffffffff
jne 0x140063bd0
xor al, al
jmp 0x140063bd6
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140063bf0
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140063be6
xor al, al
jmp 0x140063bec
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rdi
jne 0x140063b90
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x70]
mov rdi, qword [rcx + 0x78]
cmp rbx, rdi
je 0x140063b69
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140063c2f
xor eax, eax
jmp 0x140063c36
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x140063bf9
add rbx, 0x28
cmp rbx, rdi
jne 0x140063c23
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret