joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400512e0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
xor edx, edx
xor edi, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, eax
test eax, eax
je 0x14005133a
cmp ebx, 0xa3
je 0x140051323
cmp ebx, 0xa5
je 0x140051323
cmp ebx, 0x2e
ja 0x140051328
movabs rdx, 0x61fe00000000
bt rdx, rbx
jae 0x140051328
mov edi, 0x1000000
shl ecx, 0x10
or ecx, edi
mov eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140051bd0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov edx, 0x414
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x40
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140051fa0
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x140051c68
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsi + 0x28f4]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140051c50
jmp 0x140051d33
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b0550
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051ca0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdi, [rsi + 0x28f4]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003b440
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140051cc1
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140051cd7
add rbx, 2
test eax, eax
jne 0x140051cc4
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x140051cee
mov rcx, qword [rsp + 0x58]
call fcn.1400e4058
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x140051d33
mov dword [rsi + 0x28f0], 0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, r9
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdi], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 2]
test ax, ax
jne 0x140051d20
cmp r8, 8
jb 0x140051d41
mov rcx, r9
call fcn.1400e4058
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140051d60
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov edx, 0x414
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r8d, 0x40
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140051fa0
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x140051df8
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rcx, r9
lea rdx, [rsi + 0x28f4]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140051de0
jmp 0x140051ec3
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b0550
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051e30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdi, [rsi + 0x28f4]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003b440
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140051e51
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140051e67
add rbx, 2
test eax, eax
jne 0x140051e54
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x140051e7e
mov rcx, qword [rsp + 0x58]
call fcn.1400e4058
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x140051ec3
mov dword [rsi + 0x28f0], 0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, r9
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdi], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 2]
test ax, ax
jne 0x140051eb0
cmp r8, 8
jb 0x140051ed1
mov rcx, r9
call fcn.1400e4058
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14005a530
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x14005a728
cmp byte [rcx + 0x81], 0
je 0x14005a728
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14005a57e
xor al, al
jmp 0x14005a72a
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r14d, r14d
mov r9, qword [rbp - 0x10]
nop
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
cmovae r8, qword [rbp - 0x28]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x18]
add r9, rdx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x14005a5f6
dec eax
jne 0x14005a6eb
jmp 0x14005a5fd
mov byte [rdi + 0x81], r14b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x14005a647
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.1400ea640
mov r9, qword [rbp - 0x10]
cmp rbx, rax
jne 0x14005a6f4
cmp byte [rdi + 0x81], r14b
je 0x14005a712
test rbx, rbx
jne 0x14005a5b0
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x14005a705
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x14005a6f8
cmp r9, rbx
jae 0x14005a693
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c5e0
mov r9, qword [rbp - 0x10]
jmp 0x14005a6b1
test rbx, rbx
jne 0x14005a6ba
mov qword [rbp - 0x18], r14
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax], r14b
jmp 0x14005a5ab
test rbx, rbx
je 0x14005a5b0
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rax + rcx], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rbx + rax], dl
jmp 0x14005a5ab
mov r9, qword [rbp - 0x10]
sub eax, 2
je 0x14005a712
xor bl, bl
jmp 0x14005a714
lea rcx, str.string_too_long
call fcn.1400e3108
int3
lea rcx, str.string_too_long
call fcn.1400e3108
int3
mov bl, 1
cmp r9, 0x10
jb 0x14005a723
mov rcx, qword [rbp - 0x28]
call fcn.1400e4058
movzx eax, bl
jmp 0x14005a72a
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140060770
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [r9]
xor ebx, ebx
mov r14, r9
mov ebp, r8d
mov rsi, rdx
test rcx, rcx
je 0x1400607d2
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000302
call qword [rax + 0x18]
cmp dword [rsp + 0x58], ebx
je 0x1400607d2
mov rcx, qword [r14]
test rcx, rcx
je 0x1400607ca
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000313
call qword [rax + 0x18]
mov ebx, dword [rsp + 0x58]
shr ebx, 0x16
and ebx, 1
jmp 0x1400607ec
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400607ec
mov ebx, 1
test rsi, rsi
je 0x14006096d
cmp dword [rdi + 0x88], 0
je 0x14006096d
mov eax, dword [rdi + 0x4c]
test al, al
js 0x14006096d
bt eax, 0xe
jb 0x14006096d
mov rcx, rsi
call fcn.1400a9df0
test eax, eax
je 0x14006096d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1400a9c70
bt eax, 0xa
jb 0x14006096d
test ebp, ebp
je 0x14006096d
test ebx, ebx
je 0x1400608df
cmp dword [rdi + 0xdc], 0
jne 0x14006096d
lea rcx, [0x14026e350]
mov rdx, rsi
call fcn.140008b60
mov ecx, dword [rdi + 0x10]
lea eax, [rcx - 1]
test eax, 0xfffffffa
jne 0x14006096d
cmp ecx, 2
je 0x14006096d
mov rax, qword [rsi + 0x48]
mov rdx, qword [rax + 0xfc8]
mov rax, qword [rdx]
cmp rax, rdx
je 0x1400608b2
nop word [rax + rax]
test byte [rax + 0x10], 0x10
jne 0x14006096d
mov rax, qword [rax]
cmp rax, rdx
jne 0x1400608a0
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x14026e350]
mov r9d, 6
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.1400087d0
mov dword [rdi + 0xdc], 1
jmp 0x14006096d
cmp dword [rdi + 0xdc], 0
je 0x14006096d
lea rcx, [0x14026e350]
mov rdx, rsi
call fcn.140008b60
mov eax, dword [rdi + 0x10]
cmp eax, 1
jne 0x14006094a
mov rbx, qword [rsi + 0x48]
mov rcx, rsi
call fcn.1400a9d40
mov rdx, qword [rbx + 0xfc8]
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x14006092d
nop
test dword [rcx + 0x10], eax
jne 0x14006096d
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x140060920
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x14026e350]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.1400087d0
jmp 0x140060963
add eax, 0xfffffffb
cmp eax, 1
ja 0x14006096d
mov r9d, ebp
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140060b50
mov dword [rdi + 0xdc], 0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140062480
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x40
cmp dword [rcx + 0x370], 0
mov ebp, edx
mov rbx, rcx
je 0x14006261a
mov rdx, rcx
mov rcx, qword [0x14026e108]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
call qword [sym.imp.USER32.dll_KillTimer]
xor r14d, r14d
mov qword [rbx + 0x370], r14
mov qword [rbx + 0x4f8], r14
mov rcx, qword [0x14026e108]
mov qword [0x14026d198], r14
mov rdx, qword [rbx + 0x48]
lea r9, [0x1400269d0]
add rdx, 0xd
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
mov rdx, qword [rbx + 0x48]
mov rcx, qword [0x14026e108]
lea r9, [0x140026ae0]
add rdx, 0xb
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [rbx + 0x37c], r14d
je 0x1400625a3
mov rcx, qword [rbx + 0x48]
call fcn.140021b90
test al, 0x40
jne 0x140062610
mov rcx, qword [rbx + 0x48]
call fcn.140021b90
lea edi, [r14 + 1]
test al, 0x40
jne 0x140062595
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140062563
mov rcx, qword [rbx + 0x38]
mov edx, edi
mov rcx, qword [rcx + 0x30]
call fcn.1400b8560
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0xe8]
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x48]
mov dword [rsp + 0x30], r14d
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
call fcn.1400277b0
mov rcx, qword [0x14026fa20]
call fcn.1400b5d60
jmp 0x140062606
mov edi, 1
test ebp, ebp
mov eax, r14d
cmovne eax, edi
mov qword [rsp + 0x50], rsi
mov esi, edi
mov dword [rbx + 0x514], eax
test eax, eax
je 0x1400625f3
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9c20
bt eax, 0x1b
jae 0x1400625f3
mov rcx, qword [0x14026e108]
lea rdx, [rbx + 0xe]
lea r9, [0x140064da0]
lea r8d, [rdi + 0x63]
mov esi, r14d
call qword [sym.imp.USER32.dll_SetTimer]
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0xe8]
mov rsi, qword [rsp + 0x50]
test ebp, ebp
je 0x140062610
mov dword [rbx + 0x514], edi
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140062eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rbx, rcx
jne 0x140062eca
xor eax, eax
add rsp, 0x20
pop rbx
ret
call fcn.140062de0
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x3b0]
jl 0x140062ec2
movzx r11d, byte [rbx + 0x490]
mov qword [rsp + 0x30], rdi
xor edi, edi
xor cl, cl
mov r10d, edi
mov r9d, edi
test r11b, r11b
je 0x140062f3e
movzx edx, byte [rbx + 0x41c]
nop
cmp cl, dl
jae 0x140062f29
movzx eax, byte [rbx + 0x41d]
add al, cl
cmp al, dl
jb 0x140062f13
sub al, dl
movzx eax, al
mov r8d, dword [rbx + rax*4 + 0x3b4]
test r8d, r8d
je 0x140062f29
add r10d, r8d
inc r9d
inc cl
cmp cl, r11b
jb 0x140062f00
test r9d, r9d
je 0x140062f3e
mov eax, r10d
cdq
idiv r9d
mov edi, eax
mov dword [rbx + 0x494], edi
mov rdi, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rbx
ret
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rdi, rcx
je 0x14006319c
add rsp, 0x20
pop rdi
jmp 0x140062eb0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x3b0]
call fcn.1400a9a30
movss xmm0, dword [rdi + 0x360]
cvtps2pd xmm0, xmm0
bt eax, 0xb
mov eax, 0x3c
cmovb ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
andps xmm0, xmmword [0x1401289d0]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x1400631ef
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400a99e0
bt eax, 0x1c
jae 0x14006324d
movss xmm0, dword [rdi + 0x364]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140063214
je 0x14006324d
movss xmm2, dword [rdi + 0x360]
comiss xmm2, xmm1
jbe 0x140063226
comiss xmm0, xmm1
ja 0x140063230
comiss xmm1, xmm2
jbe 0x14006324d
comiss xmm1, xmm0
jbe 0x14006324d
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140124928]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x508], xmm0
jmp 0x140063259
mov eax, dword [rdi + 0x360]
mov dword [rdi + 0x508], eax
mov eax, dword [rdi + 0x508]
mov rcx, rdi
mov dword [rdi + 0x50c], 0
mov dword [rdi + 0x364], eax
call fcn.14006b3d0
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140063180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rbx, rcx
jne 0x140062eca
xor eax, eax
add rsp, 0x20
pop rbx
ret
call fcn.140062de0
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x3b0]
jl 0x140062ec2
movzx r11d, byte [rbx + 0x490]
mov qword [rsp + 0x30], rdi
xor edi, edi
xor cl, cl
mov r10d, edi
mov r9d, edi
test r11b, r11b
je 0x140062f3e
movzx edx, byte [rbx + 0x41c]
nop
cmp cl, dl
jae 0x140062f29
movzx eax, byte [rbx + 0x41d]
add al, cl
cmp al, dl
jb 0x140062f13
sub al, dl
movzx eax, al
mov r8d, dword [rbx + rax*4 + 0x3b4]
test r8d, r8d
je 0x140062f29
add r10d, r8d
inc r9d
inc cl
cmp cl, r11b
jb 0x140062f00
test r9d, r9d
je 0x140062f3e
mov eax, r10d
cdq
idiv r9d
mov edi, eax
mov dword [rbx + 0x494], edi
mov rdi, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rbx
ret
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rdi, rcx
je 0x14006319c
add rsp, 0x20
pop rdi
jmp 0x140062eb0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x3b0]
call fcn.1400a9a30
movss xmm0, dword [rdi + 0x360]
cvtps2pd xmm0, xmm0
bt eax, 0xb
mov eax, 0x3c
cmovb ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
andps xmm0, xmmword [0x1401289d0]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x1400631ef
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400a99e0
bt eax, 0x1c
jae 0x14006324d
movss xmm0, dword [rdi + 0x364]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140063214
je 0x14006324d
movss xmm2, dword [rdi + 0x360]
comiss xmm2, xmm1
jbe 0x140063226
comiss xmm0, xmm1
ja 0x140063230
comiss xmm1, xmm2
jbe 0x14006324d
comiss xmm1, xmm0
jbe 0x14006324d
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140124928]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x508], xmm0
jmp 0x140063259
mov eax, dword [rdi + 0x360]
mov dword [rdi + 0x508], eax
mov eax, dword [rdi + 0x508]
mov rcx, rdi
mov dword [rdi + 0x50c], 0
mov dword [rdi + 0x364], eax
call fcn.14006b3d0
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140064e80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x48]
mov edi, edx
call fcn.140021b90
test al, 0x40
jne 0x140064ef7
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140064ec3
mov rcx, qword [rbx + 0x38]
mov edx, 1
mov rcx, qword [rcx + 0x30]
call fcn.1400b8560
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0xe8]
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x48]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x30], eax
lea r9d, [rax + 3]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.1400277b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400653c0
Capabilities:
Log keystrokes via polling

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, 0x40
cmp dword [rcx + 0x370], 0
mov ebp, r9d
mov r14, r8
mov edi, edx
mov rbx, rcx
je 0x1400653fd
test edx, edx
jne 0x1400653fd
cmp dword [rsp + 0x70], edx
jne 0x1400653fd
call fcn.140062480
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9c70
test al, 0x40
je 0x140065423
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a99e0
bt eax, 0x12
jb 0x140065423
neg edi
mov esi, dword [rbx + 0x68]
xor r8d, r8d
xor edx, edx
shr esi, 3
mov rcx, rbx
and esi, 1
call fcn.1400a9c70
test al, al
jns 0x140065446
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov rcx, qword [rbx + 0x70]
mov r8d, dword [rbx + 0x78]
mov dword [rsp + 0x38], ebp
mov rax, qword [rcx]
mov dword [rsp + 0x30], 0
mov r9d, edi
mov rdx, rbx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call qword [rax + 0x48]
cmp dword [rbx + 0x370], 0
mov edi, eax
je 0x1400654d1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400654aa
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400654aa
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400654d1
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400654c5
mov edx, 1
mov dword [0x14026e058], edx
xor edx, edx
mov rcx, rbx
call fcn.140062480
jmp 0x1400654f7
test edi, edi
je 0x1400654e6
cmp edi, 1
je 0x140065512
jle 0x1400654f7
cmp edi, 3
jle 0x1400654c5
cmp edi, 4
jne 0x1400654f7
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0xe8]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a99e0
bt eax, 0xa
jb 0x140065536
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9c20
test al, 2
je 0x1400654f7
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a99e0
bt eax, 0x12
jae 0x1400654f7
test ebp, ebp
je 0x140065566
inc dword [rbx + 0x578]
cmp dword [rbx + 0x578], 0x28
jbe 0x1400654f7
mov rcx, rbx
call fcn.140066680
jmp 0x1400654f7
cmp dword [rbx + 0x54c], 0
je 0x1400654f7
mov rcx, rbx
call fcn.140062630
mov eax, dword [rbx + 0x4e0]
mov ecx, dword [rbx + 0x54c]
cmp eax, 1
jne 0x140065596
cmp dword [rbx + 0x4a8], 0xffffffff
je 0x1400655a9
or edx, 0xffffffff
jmp 0x1400655ab
cmp eax, 0xffffffff
jne 0x1400655a9
cmp dword [rbx + 0x4a4], 0xffffffff
je 0x1400655a9
lea edx, [rax + 2]
jmp 0x1400655ab
xor edx, edx
mov dword [rbx + 0x54c], edx
cmp ecx, edx
je 0x1400655bb
inc dword [rbx + 0x550]
cmp dword [rbx + 0x550], 2
jne 0x1400654f7
mov rcx, rbx
call fcn.140066680
mov dword [rbx + 0x54c], 0
jmp 0x1400654f7
Function at 0x140071ee0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2b0], 2
mov r9, rdx
mov rbx, rcx
jne 0x140071f44
test r8, r8
je 0x140071eff
mov rdx, r8
jmp 0x140071f05
lea edx, [rcx + 0x710]
mov rcx, r9
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rbx + 0x30], 0
mov dword [rbx + 0x2b0], 1
mov rcx, qword [0x14026e108]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x14026d648], 0
mov qword [0x14026d650], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140072e20
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x240
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rdx, [0x1401226e8]
mov rcx, rdi
call fcn.14000b5d0
mov dword [rsp + 0x20], 1
mov word [rsp + 0x30], si
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140072e9c
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072e90
jmp 0x140072ecd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140072edd
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072ec3
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000c250
mov rax, rdi
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140072f00
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2bc0]
mov eax, 0x2cc0
call fcn.1400e5910
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2cf0], rbx
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [0x1401226e8]
mov rcx, r14
call fcn.14000b5d0
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
mov dword [rbp + 0x2c08], edi
lea rdx, [rbp + 0x2c08]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x40], 0x238
cmp rsi, 0xffffffffffffffff
je 0x140073118
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14007310f
mov eax, dword [rbp + 0x2c08]
cmp dword [rsp + 0x48], eax
je 0x140072fbd
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x140072f9a
lea rcx, [rsp + 0x6c]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072fd0
mov r8d, eax
lea rdx, [rsp + 0x6c]
mov rcx, r14
call fcn.14000c250
nop word [rax + rax]
movzx eax, word [rsp + rdi + 0x6c]
mov word [rbp + rdi + 0x180], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140072ff0
mov r8d, dword [rbp + 0x2c08]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140073084
lea r9, [rsp + 0x24]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x14007307c
mov r9d, 0x104
lea r8, [rbp + 0x180]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea rax, [rbp + 0x180]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140073060
mov r8d, ebx
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.14000c250
mov rcx, rdi
jmp 0x140073109
lea rcx, [0x14026d730]
call fcn.140084880
test eax, eax
je 0x14007310f
mov dword [rbp + 0x390], 0xe
mov eax, dword [rbp + 0x2c08]
mov dword [rbp + 0x398], eax
mov rax, qword [0x14026e108]
mov qword [rbp + 0x3a0], rax
lea r9, str.SynGetModulePathNameEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x14007310f
lea rdx, [rbp + 0x390]
lea rcx, [0x14026d730]
call fcn.140084b80
test rax, rax
je 0x140073106
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [r15 + 0x20]
mov rcx, r14
call fcn.14000b740
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov rbx, qword [rsp + 0x2cf0]
add rsp, 0x2cc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret