joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x140021197
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x14002126a
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jb 0x1400211c5
jmp 0x14002126a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140021206
jmp 0x14002118d
mov edx, 0x811c9dc5
mov rcx, qword [rsp + 0x48]
call fcn.140056140
cmp eax, 0xf652bc95
jne 0x140021265
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov ecx, dword [rsp + 0x20]
add rax, qword [rsp + 0x70]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x24], ax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
movzx ecx, word [rsp + 0x24]
add rax, qword [rsp + 0x70]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14002126c
jmp 0x14002118d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140027db0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movabs rax, 0xcbf29ce484222325
mov qword [rsp], rax
mov qword [rsp + 8], 0
jmp 0x140027de4
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x140027e2c
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp]
imul rcx, rax
mov rax, rcx
mov qword [rsp], rax
jmp 0x140027dd7
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x140029be0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400366a0
lea rax, [0x140028320]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140029c7f
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140029c95
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
lea rcx, [rsp + 0x30]
call fcn.14003f210
add rsp, 0x68
ret
Function at 0x140040d20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x140040d42
mov rcx, qword [rsp + 0x40]
call fcn.140047bd0
jmp 0x140040d59
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x140040d59
mov rcx, qword [rsp + 0x40]
call fcn.140047980
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140041e70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14007ce40
mov qword [0x140119388], rax
mov dword [rsp + 0x50], 0
lea rax, [0x140119370]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140119388]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [0x14004be10]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.14007f070
test rax, rax
jne 0x140041f1b
mov rcx, qword [0x140119388]
call fcn.14007e1c0
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [0x140119388]
call fcn.14007e1c0
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x78
ret
Function at 0x140044db0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140044ddb
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140044de2
mov al, 1
jmp 0x140044f49
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x3c], 0xffffffff
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0xffffffff
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jne 0x140044e2e
mov dword [rsp + 0x34], 1
jmp 0x140044e36
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140044e46
xor al, al
jmp 0x140044f49
mov qword [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140044eb6
cmp dword [rsp + 0x30], 1
je 0x140044ec2
cmp dword [rsp + 0x30], 3
je 0x140044f37
jmp 0x140044f47
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140044f0e
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140044f0e
xor al, al
jmp 0x140044f49
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140044f28
mov dword [rsp + 0x38], 1
jmp 0x140044f30
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
jmp 0x140044f49
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140044f49
xor al, al
add rsp, 0xa8
ret
Function at 0x140047980
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0x137
mov qword [rsp + 0x48], 0x9c
mov qword [rsp], 0
jmp 0x1400479b0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x140047a4e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
and rax, 1
test rax, rax
je 0x140047a14
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x18], rax
jmp 0x140047a1d
mov qword [rsp + 0x18], 0
mov rax, qword [rsp + 0x10]
shr rax, 1
xor rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400479a5
mov qword [rsp + 8], 0x9c
jmp 0x140047a66
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x137
jae 0x140047b09
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 8]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 1
test rax, rax
je 0x140047acd
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x28], rax
jmp 0x140047ad6
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
shr rax, 1
xor rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140047a59
mov qword [rsp + 0x50], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 1
test rax, rax
je 0x140047b6f
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x38], rax
jmp 0x140047b78
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x30]
shr rax, 1
xor rax, qword [rsp + 0x38]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x70]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
add rsp, 0x68
ret
Function at 0x140047bd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp], 0x138
jmp 0x140047bee
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x270
jae 0x140047c8c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 - 0x9b8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 - 0x9b0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x140047c52
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x140047c5b
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140047be3
add rsp, 0x28
ret

Function at 0x1400541e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14005425d
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14005424a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x140118e34], eax
mov eax, dword [rsp + 0x38]
jmp 0x14005426a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140054218
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x168
ret

Function at 0x140056140
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14005616d
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x1400561ac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.140056140
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140060410
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
lea rax, [rsp + 0x70]
lea rcx, [0x1400ec568]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_sendto
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x13
movsx eax, byte [rsp + rax + 0x70]
test eax, eax
je 0x14006044f
mov dword [rsp + 0x24], 1
jmp 0x140060457
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400604ad
mov dword [rsp + 0x20], 0
jmp 0x140060474
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x14
jge 0x1400604ad
movsxd rax, dword [rsp + 0x20]
movsx eax, byte [rsp + rax + 0x70]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, gethostname
idiv ecx
mov eax, edx
add eax, 0x30
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x70], al
jmp 0x14006046a
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.14003aee0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x1400604e4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call fcn.140022690
lea rcx, [rsp + 0xa8]
call fcn.14004bd50
mov rcx, rax
call fcn.140067570
lea rcx, [rsp + 0xa8]
call fcn.1400493f0
call fcn.1400623e0
mov byte [0x140118e68], 1
lea rax, [0x140056b10]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.140029be0
lea rax, [0x140065040]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.140029be0
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14006059b
call fcn.140058a50
jmp 0x140060584
lea rcx, [rsp + 0x98]
call fcn.140056420
lea rcx, [rsp + 0x88]
call fcn.140056420
cmp dword [rsp + 0x90], 0
je 0x1400605c9
mov dword [rsp + 0x28], 1
jmp 0x1400605d1
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400605e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
cmp dword [rsp + 0xa0], 0
je 0x1400605f4
mov dword [rsp + 0x2c], 1
jmp 0x1400605fc
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14006060b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x140067180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x1400671bb
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call 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]
jmp 0x140067308
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x70], 0
jle 0x1400672b0
cmp qword [rsp + 0x20], 0
jle 0x1400672b0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x70], rax
jge 0x140067203
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
je 0x140067266
mov qword [rsp + 0x28], 0
jmp 0x140067231
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
je 0x140067264
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov byte [rax], cl
jmp 0x140067224
jmp 0x140067277
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x70], 0
jle 0x1400672f8
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x1400672f8
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140068080
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov qword [rsp + 8], 0
jmp 0x1400680af
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 4
jae 0x1400680f3
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp]
imul rcx, rax
mov rax, rcx
mov qword [rsp], rax
jmp 0x1400680a2
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x140070200
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x140119f30]
test eax, eax
jne 0x14007024c
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, [0x1400ee240]
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
mov rcx, qword [rcx + rax*8]
call fcn.14006b9e0
movzx eax, al
test eax, eax
je 0x140070247
mov byte [0x140119f30], 1
jmp 0x1400702e5
movzx eax, byte [0x140119f30]
cmp eax, 1
jne 0x1400702e5
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
lea rcx, [0x1400eea34]
call fcn.14006b9e0
lea rax, [0x1400eed90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x1400702a6
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x1400702e5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400702e3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x140119f30], 0
jmp 0x140070298
add rsp, 0x48
ret

Function at 0x140071570
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140119ab8]
je 0x140071587
jmp 0x1400715ff
call fcn.14006fb60
mov qword [rsp + 0x20], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400715aa
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x10], 1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1400715c3
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x10], 0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
cvtsi2ss xmm0, dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
movss dword [rax + 8], xmm0
cvtsi2ss xmm0, dword [rsp + 0x2c]
mov rax, qword [rsp + 0x20]
movss dword [rax + 0xc], xmm0
add rsp, 0x30
pop rdi
ret
Function at 0x1400818e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140081904
xor eax, eax
jmp 0x140081932
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14008192d
xor eax, eax
jmp 0x140081932
mov rax, qword [rsp + 8]
add rsp, 0x18
ret