joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005350
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140005378
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000539e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400053a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400053f9
test ecx, ecx
jle 0x1400053d9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400053f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400053f9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140005420
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005442
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005458
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005474
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005476
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400054b2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000554e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400054ed
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000552e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000554e
cmp rbx, rax
ja 0x140005500
test rbx, rbx
je 0x14000554e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400059b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400059dd
xor eax, eax
jmp 0x140005b49
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005a17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005a17
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005b49
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005b3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005a5a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005a85
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005b41
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005af4
sub eax, 1
je 0x140005af4
cmp eax, 2
jne 0x140005b3c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005b41
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005b22
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140005b3c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005b41
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000d300
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006170
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006243
cmp byte [rcx + 0x71], 0
je 0x140006243
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000623f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006204
sub eax, 1
je 0x140006208
cmp eax, 2
jne 0x14000623f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000d300
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006236
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000623f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400061ec
xor al, al
jmp 0x1400061ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000d300
add rsp, 0x60
pop rbx
ret
Function at 0x14000af60
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x14000aff1
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000aff1
cmp dword [rsp + 0x38], edi
je 0x14000afed
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000afd3
jmp 0x14000aff1
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x14000b000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000d300
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000b030
Capabilities:
Get explorer pid

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.14000af60
cmp eax, dword [rsp + 0x20]
jne 0x14000b0bd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Pausing_to_allow_for_debugging
call fcn.1400064a0
lea rdx, [0x140006680]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Press_enter_to_close
call fcn.1400064a0
lea rdx, [0x140006680]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000d300
add rsp, 0x38
ret
Function at 0x14000b600
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000b712
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000b712
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x14000b679
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14000b71d
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14000b700
mov edx, dword [rbx + 4]
test edx, edx
je 0x14000b700
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14000b6d9
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14000b6f5
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000c020
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000b691
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14000b71d
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000d300
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000d0b0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
lea r9, [rsp + 0x20]
mov rsi, rcx
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000d141
test rbx, rbx
je 0x14000d109
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000d0f3
test eax, eax
jns 0x14000d162
test rbx, rbx
je 0x14000d167
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000d22d
test rbx, rbx
jne 0x14000d16e
xor eax, eax
jmp 0x14000d22d
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x14000d215
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rcx, 0x30
add rdx, rcx
lea rcx, [rsp + 0x28]
add rdx, rbx
call fcn.140005f40
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000d1b3
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000d24a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000d20b
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d206
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d293
call fcn.14000d320
inc edi
cmp edi, dword [rbx]
jb 0x14000d180
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000d300
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000d29f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d29a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d29a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d320
mov rax, rdi
jmp 0x14000d228
Function at 0x14000dec8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000df12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000df12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000df12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000df12
cmp dword [rcx + 0x84], 0xe
jbe 0x14000df12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000df14
xor al, al
add rsp, 0x28
ret
Function at 0x14001f900
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14028a040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1402a71dc], 0
jne 0x14001fafb
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [0x1402a71ec]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001570
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001f9b5
js 0x14001f9b5
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001f9b0
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001f9b0
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001f9b5
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004210
cmp byte [0x1402a70e0], 0
je 0x14001faee
cmp qword [0x1402a8810], 0
je 0x14001faee
lea rcx, [rbp + 0x20]
call fcn.14001fb30
mov qword [rbp + 0xb8], 0
movd xmm1, dword [0x1402a70f4]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1402a70e8]
mov r8d, dword [0x1402a70f0]
call fcn.14002ecc0
test al, al
je 0x14001fae5
mov ecx, dword [0x1402a70e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001fae5
cmp byte [rbp + 0x60], 0
jne 0x14001fae5
cmp byte [0x1402a70e9], 0
je 0x14001fa53
cmp byte [rbp + 0xb4], 0
je 0x14001fae5
mov ecx, dword [0x1402a70ec]
test ecx, ecx
je 0x14001fa9b
sub ecx, 1
je 0x14001fa81
cmp ecx, 1
jne 0x14001fac2
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x60f2
lea rdx, [rsp + 0x58]
jmp 0x14001fab3
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x9995
lea rdx, [rsp + 0x64]
jmp 0x14001fab3
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x796e
lea rdx, [rsp + 0x70]
mov r8, rax
call fcn.14002e440
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
mov r9d, dword [0x1402a70fc]
mov r8d, dword [0x1402a70f8]
lea rdx, [rsp + 0x40]
call fcn.14002f0f0
nop
lea rcx, [rbp + 0x20]
call fcn.1400047e0
cmp byte [0x1402a71dc], 0
je 0x14001f960
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400813e0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x140020990
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14028a040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1402a71dc], 0
jne 0x140020b9a
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [0x1402a71ec]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001570
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x140020a45
js 0x140020a45
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x140020a40
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x140020a40
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x140020a45
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004210
cmp byte [0x1402a7114], 0
je 0x140020b8d
cmp qword [0x1402a8810], 0
je 0x140020b8d
lea rcx, [rbp + 0x20]
call fcn.14001fb30
mov qword [rbp + 0xb8], 0
movd xmm1, dword [0x1402a7118]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1402a7120]
mov r8d, dword [0x1402a7124]
call fcn.14002ecc0
test al, al
je 0x140020b6f
cmp byte [rbp + 0x60], 0
jne 0x140020b6f
cmp byte [0x1402a70e9], 0
je 0x140020ace
cmp byte [rbp + 0xb4], 0
je 0x140020b6f
mov ecx, dword [0x1402a711c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140020b6f
mov ecx, dword [0x1402a7128]
test ecx, ecx
je 0x140020b2b
sub ecx, 1
je 0x140020b11
cmp ecx, 1
jne 0x140020b52
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x60f2
lea rdx, [rsp + 0x58]
jmp 0x140020b43
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x9995
lea rdx, [rsp + 0x64]
jmp 0x140020b43
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001fbe0
mov r9d, 0x796e
lea rdx, [rsp + 0x70]
mov r8, rax
call fcn.14002e440
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x40]
call fcn.140020630
mov byte [0x1402a84b8], 1
jmp 0x140020b84
cmp byte [0x1402a84b8], 0
je 0x140020b84
call fcn.140020440
mov byte [0x1402a84b8], 0
lea rcx, [rbp + 0x20]
call fcn.1400047e0
cmp byte [0x1402a71dc], 0
je 0x1400209f0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400813e0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x14002e440
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x14028a040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
mov qword [r11 - 0x68], r8
mov dword [r11 - 0x60], ebx
mov rdx, qword [0x1402a8348]
add rdx, qword [r8]
xor r14d, r14d
mov rcx, qword [0x1402a8438]
test rcx, rcx
je 0x14002e4b8
cmp dword [0x1402a83a4], r14d
je 0x14002e4b8
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [r11 - 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402a8438]
mov ebx, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x14002e657
test rcx, rcx
je 0x14002e53f
cmp dword [0x1402a83a4], r14d
je 0x14002e502
add rdx, 0x68
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402a8438]
mov ebx, dword [rsp + 0xd8]
test rcx, rcx
je 0x14002e53f
cmp dword [0x1402a83a4], r14d
je 0x14002e53f
mov rdx, qword [rsp + 0xe8]
add rdx, 0x178
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [rsp + 0xd8]
mov r9, qword [rsp + 0xf0]
mov qword [rsi + 0x38], r9
movzx ecx, bl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rsp + 0xd9]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0xda]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0xdb]
xor rcx, rax
imul rcx, rdx
mov rdx, qword [rsi + 0x78]
and rdx, rcx
add rdx, rdx
mov rcx, qword [rsi + 0x60]
mov rax, qword [rcx + rdx*8 + 8]
mov r8, qword [rsi + 0x50]
cmp rax, r8
je 0x14002e5d0
mov rcx, qword [rcx + rdx*8]
cmp ebx, dword [rax + 0x10]
je 0x14002e5d3
nop dword [rax + rax]
cmp rax, rcx
je 0x14002e5d0
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14002e5c0
jmp 0x14002e5d3
mov rax, r14
test rax, rax
cmove rax, r8
cmp rax, r8
jne 0x14002e646
mov dword [rsp + 0xe0], r14d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001fbe0
lea r9, [rsp + 0xe0]
mov r8d, ebx
mov rdx, rax
call fcn.14002e690
test al, al
je 0x14002e657
mov ebx, dword [rsp + 0xe0]
test ebx, ebx
je 0x14002e657
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xf0]
lea rcx, [rsi + 0x48]
call fcn.1400307d0
mov rdx, qword [rax]
mov dword [rdx + 0x14], ebx
mov r8d, ebx
mov rdx, qword [rsi + 0x38]
mov rcx, rdi
call fcn.14002e210
jmp 0x14002e65e
mov r8d, dword [rax + 0x14]
mov rdx, r9
mov rcx, rdi
call fcn.14002e210
jmp 0x14002e65e
mov qword [rdi], r14
mov dword [rdi + 8], r14d
mov rcx, rsi
call fcn.1400047e0
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400813e0
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret