joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400019d0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 0x10
call fcn.140001ecc
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r9, qword [rdx + 0x20]
xor r11d, r11d
test r9, r9
je 0x140001a7b
mov r8, qword [r9 + 0x50]
mov edx, r11d
movzx eax, word [r9 + 0x48]
shr eax, 1
je 0x140001a70
mov r10d, eax
nop word [rax + rax]
movzx ecx, word [r8]
lea r8, [r8 + 2]
lea eax, [rcx - 0x20]
cmp cx, 0x61
cmovb ax, cx
movzx ecx, ax
imul edx, edx, 0x83
add edx, ecx
sub r10, 1
jne 0x140001a40
btr edx, 0x1f
cmp edx, 0x1cca9ce6
je 0x140001a75
mov r9, qword [r9]
jmp 0x140001a1e
mov r10, qword [r9 + 0x20]
jmp 0x140001a7e
mov r10, r11
mov rsi, qword [r15]
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x140001b42
cmp dword [rax + r10 + 0x8c], r11d
je 0x140001b42
lea rax, [r10 + rcx]
mov edi, dword [rax + 0x18]
test edi, edi
je 0x140001b42
mov ebx, dword [rax + 0x20]
add rbx, r10
mov ebp, dword [rax + 0x1c]
add rbp, r10
mov r14d, dword [rax + 0x24]
add r14, r10
mov r9d, r11d
test edi, edi
je 0x140001b42
nop dword [rax]
mov r8d, dword [rbx]
add r8, r10
mov rdx, r8
mov ecx, r11d
movzx eax, byte [r8]
test al, al
je 0x140001b12
nop dword [rax]
nop dword [rax + rax]
imul ecx, ecx, 0x83
movsx eax, al
add ecx, eax
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140001af0
btr ecx, 0x1f
cmp ecx, 0x5e893462
je 0x140001b20
inc r9d
add rbx, 4
cmp r9d, edi
jae 0x140001b42
jmp 0x140001ad0
test rsi, rsi
jne 0x140001b37
mov eax, r9d
movzx ecx, word [r14 + rax*2]
mov r11d, dword [rbp + rcx*4]
add r11, r10
jmp 0x140001b42
mov rdx, r8
mov rcx, r10
call rsi
mov r11, rax
mov qword [r15 + 8], r11
lea rcx, [rsp + 0x20]
call fcn.140001220
nop
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [r15 + 8]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001bc7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002158
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001c10
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x180002a7c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x180002aac
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x180002a8e
mov rax, r8
ret

Function at 0x180003e4c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180003e88
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x180003e30]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180007ed8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rdx, rcx
jmp 0x180007ee0
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x180007eed
mov rax, rcx
ret
Function at 0x1800097ac
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x40
mov edx, dword [0x1800cb208]
mov rbx, rcx
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1800cc168], eax
jg 0x180009890
cmp byte [0x1800cc164], 0
mov ecx, 0x56
je 0x1800097fe
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18000981e
mov byte [0x1800cc164], 0
jmp 0x18000981e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18000981e
cmp byte [0x1800cb684], 0
mov byte [0x1800cc164], 1
sete byte [0x1800cb684]
cmp byte [0x1800cb684], 0
je 0x180009884
lea rax, [rsp + 0x58]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rbx]
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rax
call fcn.180009708
cmp byte [rsp + 0x58], 0
jne 0x180009884
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov dl, 0x1b
mov rcx, qword [rcx]
call fcn.180022a20
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], 0
xor edx, edx
mov rcx, qword [rcx]
call fcn.180022a20
mov al, byte [0x1800cb684]
add rsp, 0x40
pop rbx
ret
lea rcx, [0x1800cc168]
call fcn.1800a22e0
cmp dword [0x1800cc168], 0xffffffff
jne 0x1800097dc
mov ecx, 0x56
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
lea rcx, [0x1800cc168]
and al, 1
mov byte [0x1800cc164], al
call fcn.1800a2274
jmp 0x1800097dc

Function at 0x180009b10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
mov ecx, 0x51
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
jne 0x180009b4b
test al, al
je 0x180009be9
cmp byte [0x1800cb685], 0
mov rax, qword [rdi]
mov byte [rax], 1
je 0x180009b75
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov dl, 0x1b
mov rcx, qword [rcx]
call fcn.180022a20
jmp 0x180009bdb
test bl, bl
je 0x180009b83
movss xmm1, dword [0x1800bae4c]
jmp 0x180009b8b
movss xmm1, dword [0x1800baf04]
mov rax, qword [rdi + 8]
mov r8, qword [rax]
mov rax, qword [r8 + 0x130]
test rax, rax
je 0x180009be9
movss xmm3, dword [rax + 0x124]
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rax + 0x11c]
addss xmm3, xmm1
movsd qword [rsp + 0x30], xmm0
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x30]
call fcn.18001fe2c
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.18001f888
cmp byte [0x1800cb685], 0
sete byte [0x1800cb685]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18000a0fc
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 5], 0
cmp al, byte [rbx + 4]
je 0x18000a132
test al, al
je 0x18000a132
mov byte [rbx + 4], al
mov byte [rbx + 5], 1
cmp byte [rbx + 8], 0
sete al
mov byte [rbx + 8], al
jmp 0x18000a135
mov byte [rbx + 4], al
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18000c934
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800c86c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000c9a3
cmp byte [rcx + 0x71], 0
je 0x18000c9a3
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000c9f8
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 0x18000c9bd
sub eax, 1
je 0x18000c9c1
cmp eax, 2
jne 0x18000c9f8
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a21a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000c9ef
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 0x18000c9f8
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000c9a5
xor al, al
jmp 0x18000c9a5

Function at 0x18000dbec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18000dc1c
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 0x18000dc95
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18000dc33
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000dc35
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000dc8f
test ecx, ecx
jle 0x18000dc6f
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call qword [sym.imp.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 0x18000dc8f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000dc8f
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18000dcb0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000dcde
xor eax, eax
jmp 0x18000ddc8
cmp qword [rcx + 0x68], 0
je 0x18000dcf0
call 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]
jmp 0x18000ddc8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000dd07
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000dd09
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000dd3c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000ddc2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000dd73
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18000dd9d
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000ddc2
cmp rsi, rbx
ja 0x18000dd7a
test rsi, rsi
je 0x18000ddc2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000e1ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800c86c0]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x18000e1e5
xor eax, eax
jmp 0x18000e305
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x18000e21f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x18000e21f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x18000e305
cmp qword [rbx + 0x80], 0
je 0x18000e303
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000e25a
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 0x18000e27b
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x18000e300
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
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 0x18000e2c9
sub eax, 1
je 0x18000e2c9
cmp eax, 2
jne 0x18000e303
movsx ecx, byte [rbp - 0x40]
jmp 0x18000e267
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x18000e2f4
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x18000e303
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800a21a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x18000eab8
Capabilities:
Hash data using fnv

Disassembly:
mov rdx, rcx
jmp 0x18000ecfc
movzx eax, byte [rdx]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
ret
Function at 0x180011fcc
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 rsi, rcx
mov r14, r13
mov r15, r9
sar r14, 1
mov rbp, r8
mov rdi, rdx
mov r12, rdx
mov rcx, rdx
cmp rdx, r14
jge 0x180012055
lea rbx, [rcx + rcx]
lea rdx, [rbx + 2]
shl rdx, 5
add rdx, rsi
lea r8, [rdx - 0x20]
call fcn.180011f20
shl rdi, 5
movzx ecx, al
xor rcx, 1
inc rcx
add rcx, rbx
mov rax, rcx
shl rax, 5
movups xmm0, xmmword [rax + rsi]
movdqu xmmword [rdi + rsi], xmm0
movups xmm1, xmmword [rax + rsi + 0x10]
movdqu xmmword [rdi + rsi + 0x10], xmm1
mov rdi, rcx
cmp rcx, r14
jl 0x180012009
cmp rcx, r14
jne 0x180012080
test bpl, 1
jne 0x180012080
shl rbp, 5
shl rdi, 5
movups xmm0, xmmword [rsi + rbp - 0x20]
movdqu xmmword [rdi + rsi], xmm0
movups xmm1, xmmword [rsi + rbp - 0x10]
movdqu xmmword [rdi + rsi + 0x10], xmm1
mov rdi, r13
cmp r12, rdi
jge 0x1800120c4
lea rbx, [rdi - 1]
mov r8, r15
sar rbx, 1
mov rbp, rbx
shl rbp, 5
add rbp, rsi
mov rdx, rbp
call fcn.180011f20
test al, al
je 0x1800120c4
movups xmm0, xmmword [rbp]
shl rdi, 5
movdqu xmmword [rdi + rsi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movdqu xmmword [rdi + rsi + 0x10], xmm1
mov rdi, rbx
cmp r12, rbx
jl 0x180012085
movups xmm0, xmmword [r15]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
shl rdi, 5
movdqu xmmword [rdi + rsi], xmm0
movups xmm1, xmmword [r15 + 0x10]
movdqu xmmword [rdi + rsi + 0x10], xmm1
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1800131f8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
movss dword [rsp + 0x20], xmm3
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
xor ebx, ebx
and al, 1
mov byte [rdi + 0x25], bl
cmp al, byte [rdi + 0x24]
je 0x18001323e
test al, al
je 0x18001323e
mov byte [rdi + 0x24], al
mov byte [rdi + 0x25], 1
cmp byte [rdi + 0x28], bl
sete al
mov byte [rdi + 0x28], al
jmp 0x180013241
mov byte [rdi + 0x24], al
mov ecx, dword [rdi + 0x2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x31], bl
cmp al, byte [rdi + 0x30]
je 0x18001325f
test al, al
je 0x18001325f
mov byte [rdi + 0x31], 1
lea rcx, [rsp + 0x40]
mov byte [rdi + 0x30], al
call fcn.180002f24
mov rax, qword [rsp + 0x40]
cmp byte [rdi + 0x40], bl
jne 0x18001328c
mov rcx, rax
movabs rdx, 0x2540be400
sub rcx, qword [rdi + 0x48]
cmp rcx, rdx
jl 0x1800132d2
mov byte [rdi + 0x40], bl
mov rbx, qword [rdi + 0x38]
mov qword [rdi + 0x48], rax
lea rcx, [rbx + 8]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rcx, [rdi + 0x60]
call fcn.1800138d8
lea rcx, [rsp + 0x48]
mov byte [rsp + 0x48], 1
call fcn.180006d1c
mov rcx, qword [rdi + 0x38]
mov dl, al
add rcx, 0x10
call fcn.180005a08
lea rcx, [rbx + 8]
xchg byte [rax], dl
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rcx, qword [rdi + 0x38]
add rcx, 0x10
call fcn.180005a08
mov rbx, qword [rsp + 0x30]
mov al, byte [rax]
nop
add rsp, 0x20
pop rdi
ret
Function at 0x18001a330
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x4f]
sub rsp, 0xf0
mov rax, qword [0x1800c86c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rax, rdx
mov rdi, rcx
cmp byte [rcx + 8], 0
jne 0x18001a499
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.180022cdc
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rbp - 0x51], xmm0
lea rcx, [rbp - 0x51]
call fcn.18001ed2c
test al, al
je 0x18001a499
lea rcx, [rbp - 0x51]
call fcn.180005a04
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.18002ba10
nop
lea rdx, [rbp + 0x1f]
mov rcx, qword [rdi]
call fcn.18001ad54
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov ecx, 0x20
call fcn.1800a21c0
mov rbx, rax
mov dword [rax], 1
mov dword [rax + 4], 2
xor eax, eax
mov qword [rbx + 8], rax
and qword [rbx + 0x10], rax
and dword [rbx + 0x18], eax
mov qword [rbp - 0x59], rbx
mov rcx, rbx
call fcn.180005a08
lock inc dword [rax]
mov qword [rbp - 0x71], rbx
mov ecx, 0x18
call fcn.1800a21c0
mov qword [rax], rdi
and qword [rbp - 0x71], 0
mov qword [rax + 8], rbx
lea rcx, [0x18001a4cc]
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18001bc30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x69], rax
test rax, rax
je 0x18001a4bc
mov rcx, qword [rdi]
add rcx, 0x18
lea rdx, [rbp - 0x69]
call fcn.18000d7f0
lea rcx, [rbp - 0x69]
call fcn.1800032a4
mov byte [rdi + 8], 1
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x18001a499
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a2204
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800a21a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
and dword [rbp - 0x61], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180023640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rdx, rcx
jmp 0x180023b60
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 4
jb 0x180023b6d
mov rax, rcx
ret

Function at 0x1800247a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800247cd
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800247cd
xor al, al
jmp 0x1800247d8
mov rcx, rbx
call fcn.180005a08
mov al, byte [rax]
nop
add rsp, 0x20
pop rbx
ret

Function at 0x180025d3c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x1390
call fcn.1800a21c0
mov rbx, rax
mov qword [rsp + 0x30], rax
movabs rax, 0x5555555555555555
mov qword [rbx + 0x1388], rax
mov qword [rbx + 8], rdi
mov eax, 1
lea rdx, [rbx + 0x10]
mov r9d, 0x138
mov rcx, rdi
shr rcx, 0x3e
xor rdi, rcx
movabs r8, 0x5851f42d4c957f2d
imul rdi, r8
add rdi, rax
mov qword [rdx], rdi
inc rax
lea rdx, [rdx + 8]
cmp rax, r9
jb 0x180025d8c
mov dword [rbx], r9d
xor edi, edi
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsp + 0x30], rbx
lea ecx, [rdi + 0x18]
call fcn.1800a21c0
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.._AV___Ref_count_V__mersenne_twister_engine__K_0EA__0BDI__0JM__0BP__0_EKPNJAKFFGJJOGBH__0BN__0FFFFFFFFFFFFFFFF__0BB__0HBNGHPPPONKGAAAA__0CF__0_IBBCAAAAAAAAA__0CL__0FIFBPECNEMJFHPCN__std___std__.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [rsi], rbx
mov qword [rsi + 8], rax
mov edx, 0x1390
xor ecx, ecx
call fcn.1800a2204
mov qword [rsi + 0x10], rdi
or qword [rsi + 0x18], 0xffffffffffffffff
mov rax, rsi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180025e28
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x20
lea rbp, [0x1800cc250]
mov ecx, 0x1390
call fcn.1800a21c0
mov rbx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [rbx + 0x1388], rax
mov qword [rbx + 8], rcx
mov edx, 1
lea r8, [rbx + 0x10]
mov r9d, 0x138
mov rax, rcx
shr rax, 0x3e
xor rax, rcx
movabs rcx, 0x5851f42d4c957f2d
imul rcx, rax
add rcx, rdx
mov qword [r8], rcx
inc rdx
lea r8, [r8 + 8]
cmp rdx, r9
jb 0x180025e7c
mov dword [rbx], r9d
xorps xmm0, xmm0
movdqu xmmword [0x1800cc250], xmm0
mov qword [rsp + 0x30], rbx
mov ecx, 0x18
call fcn.1800a21c0
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.._AV___Ref_count_V__mersenne_twister_engine__K_0EA__0BDI__0JM__0BP__0_EKPNJAKFFGJJOGBH__0BN__0FFFFFFFFFFFFFFFF__0BB__0HBNGHPPPONKGAAAA__0CF__0_IBBCAAAAAAAAA__0CL__0FIFBPECNEMJFHPCN__std___std__.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [0x1800cc250], rbx
mov qword [0x1800cc258], rax
mov edx, 0x1390
xor ecx, ecx
call fcn.1800a2204
and qword [0x1800cc260], 0
or qword [0x1800cc268], 0xffffffffffffffff
mov rax, rbp
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret

Function at 0x18002610c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9d, 0x138
cmp dword [rbx], r9d
jne 0x18002616b
lea r8, [rbx + 0x10]
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8]
lea r8, [r8 + 8]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180026124
jmp 0x18002617b
cmp dword [rbx], 0x270
jb 0x18002617b
mov rcx, rbx
call fcn.1800261d4
mov eax, dword [rbx]
mov rdx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rcx, rdx
mov rax, qword [rbx + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 0x20
pop rbx
ret