joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059550
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 + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400595f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400595aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14005b880
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140044170
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401689d9]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400595ff
mov rcx, rbx
call fcn.140044170
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140059a80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401689e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140059ae3
mov qword [rsp], rbx
lea rbx, [0x140096d30]
nop dword [rax]
cmp r9b, 0x23
jne 0x140059ac3
cmp byte [r8], r9b
jne 0x140059ac3
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 0x140059ab0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bc8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140059b17
mov r10, qword [r10 + 0x5bd0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140059b1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140059b04
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 0x14008d408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008d452
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008d452
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008d452
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008d452
cmp dword [rcx + 0x84], 0xe
jbe 0x14008d452
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008d454
xor al, al
add rsp, 0x28
ret

Function at 0x14008d640
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008d67a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008d67f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008d6c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140094e50]
cmp byte [rcx + rax], 0
je 0x14008d6c8
dec r8
sub rdx, 1
jne 0x14008d6ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14008de8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14008d758
mov ebx, eax
test eax, eax
jne 0x14008debc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14008df1f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008df16
test al, 0x10
je 0x14008df16
bt eax, 0xa
jae 0x14008df0f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14008df30
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14008df0b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14008df0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14008df16
and dword [rsp + 0x3c], 0
jmp 0x14008df1b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400044d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rbx, r8
mov r14, rdx
movabs r8, 0xcbf29ce484222325
mov r10, rcx
xor r9d, r9d
movzx eax, byte [rbx + r9 + 0x10]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 4
jb 0x140004503
mov rcx, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x140004553
cmp qword [rdx + rcx*8], rbx
jne 0x140004548
mov rax, qword [r10 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x14000454c
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x140004560
cmp qword [rdx + rcx*8], rbx
jne 0x140004560
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rsi, qword [rbx]
dec qword [r10 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rsi
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400045b8
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400045b8
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x14001a498]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400045b8
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x14001a498]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140004de4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140004e14
cvtsi2ss xmm0, rdx
jmp 0x140004e29
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x14001c708]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140004e57
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140004e57
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140004e85
cmp rbx, 0x200
jae 0x140004e82
shl rbx, 3
cmp rbx, rcx
jae 0x140004e85
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x140004eae
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140003cc8
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140004fbd
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 4
jb 0x140004f07
and r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140004f43
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x140004fb1
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x140004f86
mov r10, qword [r10]
cmp r10, rax
je 0x140004f3c
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140004f3c
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x140004fd3
cmp qword [rdi + r11*8], r10
jne 0x140004f7c
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140004ef7
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140004fb1
Function at 0x140005a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x18]
mov rdi, rcx
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdi + 0x10]
movabs rcx, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, rcx
cmp r8, 4
jb 0x140005a4e
mov rax, qword [r9 + 0x80]
mov rcx, qword [r9 + 0x68]
and rax, rdx
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [r9 + 0x58]
je 0x140005aa3
mov rcx, qword [rcx + rax*8]
mov eax, dword [rdi + 0x10]
jmp 0x140005a9c
cmp rbx, rcx
je 0x140005aa3
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140005a93
jmp 0x140005aa5
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [r9 + 0x58]
cmp rbx, qword [r9 + 0x58]
je 0x140005af0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
test rcx, rcx
jne 0x140005ace
xor edx, edx
mov ecx, 0x152139a
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2055]
int3
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x14001a498]
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x30]
add rcx, 0x50
mov r8, rbx
call fcn.1400044d8
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400088f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx]
mov rbx, rcx
mov rax, qword [rax + 0x10]
call qword [0x14001a498]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008930
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x18]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140008990
lea rax, [rbx + 0x10]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400089a0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008977
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 8]
inc rax
test rax, 0xfffffffffffffffe
je 0x140008990
mov rax, qword [rbx + 0x18]
add rsp, 0x30
pop rbx
ret
mov ecx, 0x30303030
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2904]
int3

Function at 0x140009840
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0xe0]
jmp 0x140009875
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400098aa
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14001a498]
mov rcx, qword [rbx + 0xe0]
mov r8d, 1
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x140009859
mov rcx, qword [rbx + 0xd0]
call fcn.1400089c4
mov rcx, qword [rbx + 0xd8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400089c4
xor edx, edx
mov ecx, 0x152139a
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2055]
int3
Function at 0x14000e938
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r10, rdx
mov r11, rcx
movabs r8, 0xcbf29ce484222325
lea edi, [r9 + 1]
movzx eax, byte [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
add r9, rdi
imul r8, rcx
cmp r9, 4
jb 0x14000e959
mov rcx, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and rcx, r8
mov rax, qword [r11 + 8]
add rcx, rcx
mov rbx, qword [rdx + rcx*8 + 8]
cmp rbx, rax
je 0x14000e9ab
mov r8d, dword [r10]
jmp 0x14000e9a3
cmp rbx, qword [rdx + rcx*8]
je 0x14000e9ab
mov rbx, qword [rbx + 8]
cmp r8d, dword [rbx + 0x10]
jne 0x14000e999
jmp 0x14000e9ad
xor ebx, ebx
test rbx, rbx
je 0x14000ea46
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x14000e9d4
cmp qword [rdx + rcx*8], rbx
jne 0x14000e9c9
mov qword [rdx + rcx*8], rax
jmp 0x14000e9cd
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x14000e9e1
cmp qword [rdx + rcx*8], rbx
jne 0x14000e9e1
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rcx, qword [rbx]
dec qword [r11 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000ea19
or eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, edi
jne 0x14000ea19
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001a498]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000ea3b
or eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, edi
jne 0x14000ea3b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001a498]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000ea48
xor edi, edi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140010f2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r13, [r8 - 1]
mov r12, r9
mov r14, r13
mov rbp, r8
sar r14, 1
mov rdi, rdx
mov rsi, rcx
mov r15, rdx
mov rbx, rdx
cmp rdx, r14
jge 0x140010fac
add rbx, rbx
lea rcx, [rbx + 2]
shl rcx, 5
add rcx, rsi
lea rdx, [rcx - 0x20]
call fcn.140010ba4
movzx eax, al
xor rax, 1
shl rdi, 5
inc rax
add rbx, rax
mov rdx, rbx
shl rdx, 5
lea rcx, [rdi + rsi]
add rdx, rsi
call fcn.14000ca5c
mov rdi, rbx
cmp rbx, r14
jl 0x140010f69
cmp rbx, r14
jne 0x140010fd2
test bpl, 1
jne 0x140010fd2
shl rdi, 5
lea rdx, [rsi - 0x20]
shl rbp, 5
add rdx, rbp
lea rcx, [rdi + rsi]
call fcn.14000ca5c
mov rdi, r13
cmp r15, rdi
jge 0x14001100f
lea rbx, [rdi - 1]
mov rdx, r12
sar rbx, 1
mov rbp, rbx
shl rbp, 5
add rbp, rsi
mov rcx, rbp
call fcn.140010ba4
test al, al
je 0x14001100f
shl rdi, 5
mov rdx, rbp
lea rcx, [rdi + rsi]
call fcn.14000ca5c
mov rdi, rbx
cmp r15, rbx
jl 0x140010fd7
shl rdi, 5
mov rdx, r12
lea rcx, [rdi + rsi]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14000ca5c
Function at 0x140018528
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018572
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018572
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018572
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018572
cmp dword [rcx + 0x84], 0xe
jbe 0x140018572
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140018574
xor al, al
add rsp, 0x28
ret

Function at 0x140018afc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140018b74
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140018b74
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140018b74
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140018b68
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140018b86
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140018b56
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140018b76
Function at 0x140002f90
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rbp, r8
movsxd r8, dword [0x1400ebf94]
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm7
lea rdx, [rax - 0x78]
movaps xmmword [rax - 0x48], xmm8
mov rdi, rcx
shl r8, 5
lea rcx, [0x1400ebfb0]
add r8, qword [0x1400ebf98]
mov rbx, r9
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
call fcn.140004dc0
mov rcx, qword [0x1400ebde8]
lea r8, [rsp + 0x30]
xorps xmm9, xmm9
mov rax, qword [rax]
mov eax, dword [rax + 0x40]
shl eax, 5
movsxd rdx, eax
add rdx, rbx
mov qword [rsp + 0x30], 0
xor ebx, ebx
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0xc]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm8, dword [rsp + 0x34]
movss xmm7, dword [rsp + 0x30]
subss xmm8, dword [rdi + 0x24]
subss xmm7, dword [rdi + 0x20]
movss xmm6, dword [rsp + 0x38]
subss xmm6, dword [rdi + 0x28]
movaps xmm1, xmm8
movaps xmm0, xmm7
xorps xmm6, xmmword [0x1400d5cc0]
call fcn.140099824
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.140099b74
movaps xmm10, xmm0
movaps xmm1, xmm7
mulss xmm10, dword [0x1400d5a10]
movaps xmm0, xmm8
subss xmm10, dword [rdi + 0x38]
call fcn.140099b74
movaps xmm7, xmm0
xorps xmm8, xmm8
mulss xmm7, dword [0x1400d5a10]
movaps xmm0, xmm10
xorps xmm6, xmm6
subss xmm7, dword [rdi + 0x3c]
movaps xmm1, xmm7
call fcn.140099824
movss xmm1, dword [0x1400ebf88]
comiss xmm1, xmm0
jbe 0x1400030be
movaps xmm8, xmm10
movaps xmm6, xmm7
movss xmm7, dword [0x1400d5a1c]
comiss xmm8, xmm7
movss xmm1, dword [0x1400d5a40]
movss xmm0, dword [0x1400d5a30]
jbe 0x1400030e2
comiss xmm0, xmm8
jae 0x140003100
comiss xmm8, xmm0
movaps xmm7, xmm8
jbe 0x1400030f0
subss xmm7, xmm1
movss xmm2, dword [0x1400d5ab0]
comiss xmm2, xmm7
jbe 0x140003100
movaps xmm7, xmm2
comiss xmm6, xmm0
jbe 0x140003109
subss xmm6, xmm1
movss xmm0, dword [0x1400d5ab8]
comiss xmm0, xmm6
jbe 0x14000311a
addss xmm6, xmm1
divss xmm7, dword [0x1400ebf84]
divss xmm6, dword [0x1400ebf84]
ucomiss xmm7, xmm9
jp 0x140003146
jne 0x140003146
ucomiss xmm6, xmm9
jp 0x140003146
jne 0x140003146
mov qword [0x1400ebdd0], rbx
jmp 0x1400031c7
cmp byte [0x1400ebfc0], bl
je 0x140003182
movsxd r8, dword [0x1400ebfc4]
lea rdx, [rsp + 0x40]
shl r8, 5
lea rcx, [0x1400ebff8]
add r8, qword [0x1400ebfe0]
call fcn.140004dc0
mov rcx, qword [rax]
mov ecx, dword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400031c7
addss xmm7, dword [rsi]
addss xmm6, dword [rsi + 4]
movss xmm1, dword [rsi + 8]
lea r8, [rsp + 0x30]
mov rcx, qword [0x1400ebde8]
addss xmm1, xmm9
mov r9d, 0xc
mov qword [rsp + 0x20], rbx
movaps xmm0, xmm7
mov rdx, rbp
unpcklps xmm0, xmm6
movsd qword [rsp + 0x30], xmm0
movss dword [rsp + 0x38], xmm1
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bf70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400e90a0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dil, 1
mov qword [rsp + 0xd0], rbx
movzx esi, dil
mov r14, rdx
mov rbp, rcx
nop word [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001bfc6
test sil, sil
sete sil
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001c02b
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x58], 0x12
je 0x14001c028
test dil, dil
je 0x14001c02b
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14001bfe5
jmp 0x14001c02b
xor dil, dil
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14001c17e
mov rax, qword [0x1400ebe88]
test rax, rax
je 0x14001c054
mov rcx, qword [rax + 0x98]
jmp 0x14001c056
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14001c062
call fcn.14004b470
call fcn.14004c560
call fcn.140023a70
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movsd xmm1, qword [r14 + 0x10]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.140007210
test sil, sil
je 0x14001c0a1
movzx ecx, dil
call fcn.14001b9a0
mov r8d, 0x80088
jmp 0x14001c0a7
mov r8d, 0x800a8
mov rcx, qword [rbp + 0x58]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.140025640
call fcn.140025a40
mov rcx, qword [rbp + 0xb8]
lea r8, [rbp + 0xc8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x80], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rbp + 0xb8]
lea r8, [rsp + 0x80]
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400ebe88]
mov rcx, qword [rax + 0x48d8]
mov rax, qword [rcx]
xor ecx, ecx
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14004a810
mov rcx, qword [rbp + 0xc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
jne 0x14001bfb0
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140072210
mov rbp, qword [rsp + 0xd8]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret
mov rcx, rbp
call fcn.14001c190
xor ecx, ecx
call fcn.140079320
int3