joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050da0
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 0x140050dfa
cmp ebx, 0xa3
je 0x140050de3
cmp ebx, 0xa5
je 0x140050de3
cmp ebx, 0x2e
ja 0x140050de8
movabs rdx, 0x61fe00000000
bt rdx, rbx
jae 0x140050de8
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 0x140051690
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.140051a60
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x140051728
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 0x140051710
jmp 0x1400517f3
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b0300
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051760
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.14003ae70
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140051781
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140051797
add rbx, 2
test eax, eax
jne 0x140051784
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x1400517ae
mov rcx, qword [rsp + 0x58]
call fcn.1400e3e78
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x1400517f3
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 0x1400517e0
cmp r8, 8
jb 0x140051801
mov rcx, r9
call fcn.1400e3e78
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140051820
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.140051a60
nop
mov edx, dword [rsi + 0x28f0]
test edx, edx
jne 0x1400518b8
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 0x1400518a0
jmp 0x140051983
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov r9, qword [rsi + 8]
lea rcx, [rsp + 0x120]
call fcn.1400b0300
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400518f0
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.14003ae70
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140051911
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140051927
add rbx, 2
test eax, eax
jne 0x140051914
test ecx, ecx
setne bl
cmp qword [rsp + 0x70], 8
jb 0x14005193e
mov rcx, qword [rsp + 0x58]
call fcn.1400e3e78
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
test bl, bl
je 0x140051983
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 0x140051970
cmp r8, 8
jb 0x140051991
mov rcx, r9
call fcn.1400e3e78
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140059d80
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 0x140059f78
cmp byte [rcx + 0x81], 0
je 0x140059f78
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140059dce
xor al, al
jmp 0x140059f7a
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 0x140059e46
dec eax
jne 0x140059f3b
jmp 0x140059e4d
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 0x140059e97
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.1400ea460
mov r9, qword [rbp - 0x10]
cmp rbx, rax
jne 0x140059f44
cmp byte [rdi + 0x81], r14b
je 0x140059f62
test rbx, rbx
jne 0x140059e00
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x140059f55
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140059f48
cmp r9, rbx
jae 0x140059ee3
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c3f0
mov r9, qword [rbp - 0x10]
jmp 0x140059f01
test rbx, rbx
jne 0x140059f0a
mov qword [rbp - 0x18], r14
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax], r14b
jmp 0x140059dfb
test rbx, rbx
je 0x140059e00
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 0x140059dfb
mov r9, qword [rbp - 0x10]
sub eax, 2
je 0x140059f62
xor bl, bl
jmp 0x140059f64
lea rcx, str.string_too_long
call fcn.1400e2f28
int3
lea rcx, str.string_too_long
call fcn.1400e2f28
int3
mov bl, 1
cmp r9, 0x10
jb 0x140059f73
mov rcx, qword [rbp - 0x28]
call fcn.1400e3e78
movzx eax, bl
jmp 0x140059f7a
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 0x140060020
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 0x140060082
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000302
call qword [rax + 0x18]
cmp dword [rsp + 0x58], ebx
je 0x140060082
mov rcx, qword [r14]
test rcx, rcx
je 0x14006007a
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 0x14006009c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14006009c
mov ebx, 1
test rsi, rsi
je 0x14006021d
cmp dword [rdi + 0x88], 0
je 0x14006021d
mov eax, dword [rdi + 0x4c]
test al, al
js 0x14006021d
bt eax, 0xe
jb 0x14006021d
mov rcx, rsi
call fcn.1400a9ba0
test eax, eax
je 0x14006021d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1400a9a20
bt eax, 0xa
jb 0x14006021d
test ebp, ebp
je 0x14006021d
test ebx, ebx
je 0x14006018f
cmp dword [rdi + 0xdc], 0
jne 0x14006021d
lea rcx, [0x14026e3d8]
mov rdx, rsi
call fcn.140008960
mov ecx, dword [rdi + 0x10]
lea eax, [rcx - 1]
test eax, 0xfffffffa
jne 0x14006021d
cmp ecx, 2
je 0x14006021d
mov rax, qword [rsi + 0x48]
mov rdx, qword [rax + 0xfb8]
mov rax, qword [rdx]
cmp rax, rdx
je 0x140060162
nop word [rax + rax]
test byte [rax + 0x10], 0x10
jne 0x14006021d
mov rax, qword [rax]
cmp rax, rdx
jne 0x140060150
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x14026e3d8]
mov r9d, 6
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.1400085d0
mov dword [rdi + 0xdc], 1
jmp 0x14006021d
cmp dword [rdi + 0xdc], 0
je 0x14006021d
lea rcx, [0x14026e3d8]
mov rdx, rsi
call fcn.140008960
mov eax, dword [rdi + 0x10]
cmp eax, 1
jne 0x1400601fa
mov rbx, qword [rsi + 0x48]
mov rcx, rsi
call fcn.1400a9af0
mov rdx, qword [rbx + 0xfb8]
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x1400601dd
nop
test dword [rcx + 0x10], eax
jne 0x14006021d
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x1400601d0
mov r8d, dword [rdi + 0x4c]
lea rcx, [0x14026e3d8]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.1400085d0
jmp 0x140060213
add eax, 0xfffffffb
cmp eax, 1
ja 0x14006021d
mov r9d, ebp
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140060400
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 0x140061d30
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 0x140061eca
mov rdx, rcx
mov rcx, qword [0x14026e190]
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 [0x14026e190]
mov qword [0x14026d220], r14
mov rdx, qword [rbx + 0x48]
lea r9, [0x140025b30]
add rdx, 0xd
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
mov rdx, qword [rbx + 0x48]
mov rcx, qword [0x14026e190]
lea r9, [0x140025c40]
add rdx, 0xb
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [rbx + 0x37c], r14d
je 0x140061e53
mov rcx, qword [rbx + 0x48]
call fcn.140020e70
test al, 0x40
jne 0x140061ec0
mov rcx, qword [rbx + 0x48]
call fcn.140020e70
lea edi, [r14 + 1]
test al, 0x40
jne 0x140061e45
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140061e13
mov rcx, qword [rbx + 0x38]
mov edx, edi
mov rcx, qword [rcx + 0x30]
call fcn.1400b8310
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.140026690
mov rcx, qword [0x14026fac0]
call fcn.1400b5b10
jmp 0x140061eb6
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 0x140061ea3
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a99d0
bt eax, 0x1b
jae 0x140061ea3
mov rcx, qword [0x14026e190]
lea rdx, [rbx + 0xe]
lea r9, [0x140064650]
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 0x140061ec0
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 0x140062760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rbx, rcx
jne 0x14006277a
xor eax, eax
add rsp, 0x20
pop rbx
ret
call fcn.140062690
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x3b0]
jl 0x140062772
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 0x1400627ee
movzx edx, byte [rbx + 0x41c]
nop
cmp cl, dl
jae 0x1400627d9
movzx eax, byte [rbx + 0x41d]
add al, cl
cmp al, dl
jb 0x1400627c3
sub al, dl
movzx eax, al
mov r8d, dword [rbx + rax*4 + 0x3b4]
test r8d, r8d
je 0x1400627d9
add r10d, r8d
inc r9d
inc cl
cmp cl, r11b
jb 0x1400627b0
test r9d, r9d
je 0x1400627ee
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 0x140062a4c
add rsp, 0x20
pop rdi
jmp 0x140062760
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x3b0]
call fcn.1400a97e0
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 [0x140128990]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x140062a9f
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400a9790
bt eax, 0x1c
jae 0x140062afd
movss xmm0, dword [rdi + 0x364]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140062ac4
je 0x140062afd
movss xmm2, dword [rdi + 0x360]
comiss xmm2, xmm1
jbe 0x140062ad6
comiss xmm0, xmm1
ja 0x140062ae0
comiss xmm1, xmm2
jbe 0x140062afd
comiss xmm1, xmm0
jbe 0x140062afd
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140124918]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x508], xmm0
jmp 0x140062b09
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.14006ac80
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140062a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48c], 0
mov rbx, rcx
jne 0x14006277a
xor eax, eax
add rsp, 0x20
pop rbx
ret
call fcn.140062690
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x3b0]
jl 0x140062772
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 0x1400627ee
movzx edx, byte [rbx + 0x41c]
nop
cmp cl, dl
jae 0x1400627d9
movzx eax, byte [rbx + 0x41d]
add al, cl
cmp al, dl
jb 0x1400627c3
sub al, dl
movzx eax, al
mov r8d, dword [rbx + rax*4 + 0x3b4]
test r8d, r8d
je 0x1400627d9
add r10d, r8d
inc r9d
inc cl
cmp cl, r11b
jb 0x1400627b0
test r9d, r9d
je 0x1400627ee
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 0x140062a4c
add rsp, 0x20
pop rdi
jmp 0x140062760
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x3b0]
call fcn.1400a97e0
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 [0x140128990]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm1
jbe 0x140062a9f
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400a9790
bt eax, 0x1c
jae 0x140062afd
movss xmm0, dword [rdi + 0x364]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140062ac4
je 0x140062afd
movss xmm2, dword [rdi + 0x360]
comiss xmm2, xmm1
jbe 0x140062ad6
comiss xmm0, xmm1
ja 0x140062ae0
comiss xmm1, xmm2
jbe 0x140062afd
comiss xmm1, xmm0
jbe 0x140062afd
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140124918]
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x508], xmm0
jmp 0x140062b09
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.14006ac80
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140064730
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.140020e70
test al, 0x40
jne 0x1400647a7
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140064773
mov rcx, qword [rbx + 0x38]
mov edx, 1
mov rcx, qword [rcx + 0x30]
call fcn.1400b8310
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.140026690
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140064c70
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 0x140064cad
test edx, edx
jne 0x140064cad
cmp dword [rsp + 0x70], edx
jne 0x140064cad
call fcn.140061d30
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9a20
test al, 0x40
je 0x140064cd3
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9790
bt eax, 0x12
jb 0x140064cd3
neg edi
mov esi, dword [rbx + 0x68]
xor r8d, r8d
xor edx, edx
shr esi, 3
mov rcx, rbx
and esi, 1
call fcn.1400a9a20
test al, al
jns 0x140064cf6
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 0x140064d81
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140064d5a
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140064d5a
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140064d81
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140064d75
mov edx, 1
mov dword [0x14026e0e0], edx
xor edx, edx
mov rcx, rbx
call fcn.140061d30
jmp 0x140064da7
test edi, edi
je 0x140064d96
cmp edi, 1
je 0x140064dc2
jle 0x140064da7
cmp edi, 3
jle 0x140064d75
cmp edi, 4
jne 0x140064da7
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.1400a9790
bt eax, 0xa
jb 0x140064de6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a99d0
test al, 2
je 0x140064da7
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400a9790
bt eax, 0x12
jae 0x140064da7
test ebp, ebp
je 0x140064e16
inc dword [rbx + 0x578]
cmp dword [rbx + 0x578], 0x28
jbe 0x140064da7
mov rcx, rbx
call fcn.140065f30
jmp 0x140064da7
cmp dword [rbx + 0x54c], 0
je 0x140064da7
mov rcx, rbx
call fcn.140061ee0
mov eax, dword [rbx + 0x4e0]
mov ecx, dword [rbx + 0x54c]
cmp eax, 1
jne 0x140064e46
cmp dword [rbx + 0x4a8], 0xffffffff
je 0x140064e59
or edx, 0xffffffff
jmp 0x140064e5b
cmp eax, 0xffffffff
jne 0x140064e59
cmp dword [rbx + 0x4a4], 0xffffffff
je 0x140064e59
lea edx, [rax + 2]
jmp 0x140064e5b
xor edx, edx
mov dword [rbx + 0x54c], edx
cmp ecx, edx
je 0x140064e6b
inc dword [rbx + 0x550]
cmp dword [rbx + 0x550], 2
jne 0x140064da7
mov rcx, rbx
call fcn.140065f30
mov dword [rbx + 0x54c], 0
jmp 0x140064da7
Function at 0x1400717b0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2b0], 2
mov r9, rdx
mov rbx, rcx
jne 0x140071814
test r8, r8
je 0x1400717cf
mov rdx, r8
jmp 0x1400717d5
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 [0x14026e190]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x14026d6c8], 0
mov qword [0x14026d6d0], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140072710
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.14000b410
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 0x14007278c
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140072780
jmp 0x1400727bd
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 0x1400727cd
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400727b3
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000c060
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 0x1400727f0
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.1400e5730
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.14000b410
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 0x140072a08
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400729ff
mov eax, dword [rbp + 0x2c08]
cmp dword [rsp + 0x48], eax
je 0x1400728ad
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14007288a
lea rcx, [rsp + 0x6c]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400728c0
mov r8d, eax
lea rdx, [rsp + 0x6c]
mov rcx, r14
call fcn.14000c060
nop word [rax + rax]
movzx eax, word [rsp + rdi + 0x6c]
mov word [rbp + rdi + 0x180], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x1400728e0
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 0x140072974
lea r9, [rsp + 0x24]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x14007296c
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 0x140072950
mov r8d, ebx
lea rdx, [rbp + 0x180]
mov rcx, r14
call fcn.14000c060
mov rcx, rdi
jmp 0x1400729f9
lea rcx, [0x14026d7b0]
call fcn.1400840f0
test eax, eax
je 0x1400729ff
mov dword [rbp + 0x390], 0xe
mov eax, dword [rbp + 0x2c08]
mov dword [rbp + 0x398], eax
mov rax, qword [0x14026e190]
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 0x1400729ff
lea rdx, [rbp + 0x390]
lea rcx, [0x14026d7b0]
call fcn.1400843f0
test rax, rax
je 0x1400729f6
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [r15 + 0x20]
mov rcx, r14
call fcn.14000b580
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