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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140041334
xor eax, eax
jmp 0x14004152c
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x140041364
xor eax, eax
jmp 0x14004152c
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140041386
mov rax, qword [rsp + 0x40]
add rax, 0x88
mov qword [rsp + 0x58], rax
jmp 0x140041394
mov rax, qword [rsp + 0x40]
add rax, 0x78
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x2c], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
dec eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jl 0x1400414c4
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
sar eax, 1
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1400414ad
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1400414c2
cmp dword [rsp + 0x34], 0
jle 0x1400414c0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1400414c2
jmp 0x1400414c4
jmp 0x14004144f
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jl 0x1400414dc
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jl 0x1400414e0
xor eax, eax
jmp 0x14004152c
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jb 0x14004151a
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x30], eax
jae 0x14004151a
xor eax, eax
jmp 0x14004152c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret
Function at 0x140041c20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140041d40
mov rdx, qword [rsp + 0x270]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140041c7c
mov eax, dword [rsp + 0x30]
jmp 0x140041d09
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x278]
lea rcx, [rsp + 0x40]
call fcn.140041bc0
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.ImagePath
mov rdx, qword [rsp + 0x270]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140041cd2
mov eax, dword [rsp + 0x30]
jmp 0x140041d09
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
mov rdx, qword [rsp + 0x270]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x268
ret
Function at 0x140041e20
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rax], 0
mov dword [rsp + 0x180], 0
lea r9, [rsp + 0x180]
xor r8d, r8d
xor edx, edx
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
je 0x140041e8e
mov eax, dword [rsp + 0x20]
jmp 0x140041fb7
mov eax, dword [rsp + 0x180]
shl rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword gs:[0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x38]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x180]
shl eax, 1
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x28]
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140041f0b
jmp 0x140041f8b
mov dword [rsp + 0x24], 0
jmp 0x140041f1f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x140041f8b
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov rdi, rcx
lea rsi, [rdx + rax + 8]
mov ecx, 0x128
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rsp + 0x76]
lea rax, [rsp + rax + 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140041f89
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov dword [rsp + 0x20], 0
jmp 0x140041f8b
jmp 0x140041f15
mov rax, qword gs:[0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x198
pop rdi
pop rsi
ret

Function at 0x140041fe0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 8
lea rdx, [rsp + 0x28]
mov ecx, 0x67
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140042043
mov edx, dword [rsp + 0x24]
lea rcx, str.Failed_to_query_code_integrity_status:__08X_n
call fcn.140041840
nop
mov eax, dword [rsp + 0x2c]
and eax, 3
cmp eax, 1
jne 0x140042056
mov byte [rsp + 0x20], 1
jmp 0x14004205b
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x40
pop rdi
ret
Function at 0x140042080
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x48
ret
Function at 0x1400428f0
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x48
ret

Function at 0x14004b3b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14004c6a0
nop
lea rax, [0x14004a7b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rcx
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 + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x14004b495
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x14004b4af
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x68]
call fcn.14004e7d0
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x80
pop rdi
ret
Function at 0x140060510
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
movss dword [rsp + 0x18], xmm2
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x30], 0
cvtss2sd xmm0, dword [rsp + 0xb0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x48]
call fcn.140076380
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14006fb90
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
lea r9, [rsp + 0x68]
mov r8, rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x48]
call fcn.14006e350
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x98
ret
Function at 0x140060950
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x118
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xd8], 0
cmp dword [rsp + 0x120], 0
jl 0x1400609b3
cmp dword [rsp + 0x120], 0x7c
jge 0x1400609b3
lea r8, [rsp + 0xd8]
mov edx, dword [rsp + 0x120]
lea rcx, [0x14066c9e0]
call fcn.1400617c0
nop
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.14004cfc0
nop
lea rcx, [rsp + 0xe0]
call fcn.14006cb10
nop
cmp qword [rsp + 0xd8], 0
jne 0x140060a4b
lea rax, [0x1401a2dd8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x1400609fc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov r8, rax
lea rdx, [0x1401a2dd8]
lea rcx, [rsp + 0xe0]
call fcn.14006fa20
mov qword [rsp + 0xc0], rax
jmp 0x140060ac2
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x140060a6b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov r8, rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.14006fa20
mov qword [rsp + 0xc8], rax
cmp dword [rsp + 0x130], 1
jne 0x140060b40
lea rax, [0x1401a2de8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x140060ae4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov r8, rax
lea rdx, [0x1401a2de8]
lea rcx, [rsp + 0xe0]
call fcn.14006fa20
mov qword [rsp + 0xd0], rax
movss xmm0, dword [0x1401a3ff4]
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x54], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xe0]
call fcn.14006fb90
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400ee0b0
movzx eax, al
test eax, eax
je 0x140060bd6
cmp dword [rsp + 0x130], 0
jne 0x140060bd6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x128]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0xe0]
call fcn.14006e350
nop
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x118
ret
Function at 0x14006cc10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x14006cc4d
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006cc54
mov al, 1
jmp 0x14006cde0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x60]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14006ccb0
mov dword [rsp + 0x38], 1
jmp 0x14006ccb8
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
movzx eax, al
test eax, eax
je 0x14006ccd4
xor al, al
jmp 0x14006cde0
mov qword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x74
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x80]
mov rdx, rcx
mov rcx, qword [rsp + 0x68]
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 + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14006cd47
cmp dword [rsp + 0x34], 1
je 0x14006cd53
cmp dword [rsp + 0x34], 3
je 0x14006cdce
jmp 0x14006cdde
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x14006cda5
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x58], rax
je 0x14006cda5
xor al, al
jmp 0x14006cde0
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006cdbf
mov dword [rsp + 0x3c], 1
jmp 0x14006cdc7
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
jmp 0x14006cde0
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006cde0
xor al, al
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14019a660
add rsp, 0xb8
ret
Function at 0x140070d10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140070d56
xor eax, eax
jmp 0x140070dd6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
nop
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.14006fea0
test eax, eax
jne 0x140070d8d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140070dd6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140070dc9
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.14006fea0
test eax, eax
jne 0x140070dc7
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140070dd6
jmp 0x140070d8d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14019a660
add rsp, 0x178
ret
Function at 0x140077740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x140077779
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 0x1400778d6
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], 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 + 0x28], rax
cmp qword [rsp + 0x70], 0
jle 0x14007787e
cmp qword [rsp + 0x28], 0
jle 0x14007787e
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x70], rax
jge 0x1400777c1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], 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 + 0x38], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x14007782f
mov qword [rsp + 0x30], 0
jmp 0x1400777fa
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
je 0x14007782d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov byte [rax], cl
jmp 0x1400777ed
jmp 0x140077844
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
nop
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x28]
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]
nop
cmp qword [rsp + 0x70], 0
jle 0x1400778c6
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x1400778c6
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 + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret
Function at 0x140097b80
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401a7bc0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140097c0e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140097bb2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140097c20
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401a7bc0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140097d24
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140097d1f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140097cf4
cmp qword [rsp + 0x38], 2
jb 0x140097cf4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140097cf4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140097cf4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140097c67
jmp 0x140097db6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140097db6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140097d8c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140097d8c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140097d8c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140097d24
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400dabc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400dabe6
mov dword [rsp + 0x20], 1
jmp 0x1400dabee
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret