joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400060cd
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400756cc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140075497
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140075497
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140075497
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140075497
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140075497
cmp dword [rcx + 0x84], 0xe
jbe 0x140075497
cmp dword [rcx + 0xf8], 0
je 0x140075497
mov ecx, ebx
call fcn.140075610
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140075178
nop
cmp dword [rbp + 0x20], 0
je 0x1400754e5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140075520
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140075428

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

Disassembly:
jmp 0x140031078
jmp 0x140050b18
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400310aa
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003108d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000439a

Function at 0x1400061a9
Capabilities:
Create thread

Disassembly:
jmp 0x14007e704
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
test r8, r8
jne 0x14007e734
call fcn.140002d79
mov dword [rax], 0x16
call fcn.140001816
xor eax, eax
jmp 0x14007e7b6
mov rdx, r9
mov rcx, r8
call fcn.14007e4e4
mov rbx, rax
test rax, rax
je 0x14007e784
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14007e26c]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
test rax, rax
jne 0x14007e7c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400027f2
xor ecx, ecx
test rbx, rbx
je 0x14007e7b3
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007e79a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14007e7a9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140001294
xor ecx, ecx
mov rax, rcx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14007e7b3
mov eax, dword [rsp + 0x50]
mov dword [rdx], eax
jmp 0x14007e7b3
Function at 0x140017294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017294
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400172de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400172de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400172de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400172de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400172de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400172e0
xor al, al
add rsp, 0x28
ret
Function at 0x1400d3ee8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140001f19
sub rsp, rax
mov rax, qword [0x140122258]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400062a8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d3f37
mov rax, rbp
jmp 0x1400d403f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x126b10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140002c89
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x126b10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d403b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d403b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140002c89
test rax, rax
js 0x1400d403b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d403b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d402d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d402d
cmp byte [rcx], 0xd
jne 0x1400d4013
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d4022
cmp byte [rcx + 1], 0xa
jne 0x1400d4022
inc rcx
jmp 0x1400d4022
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x122d90]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d3ff5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d403f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140003788
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d4d28
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140126b10]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400d4d86
cmp word [rdx], r12w
jne 0x1400d4d86
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400d4d8c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400d4ee7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400d4ec2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400d4dc5
mov rcx, r9
jmp 0x1400d4de8
cmp r9, rdx
jae 0x1400d4dff
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400d4da9
jmp 0x1400d4ee7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d4ebc
cmp dword [rsp + 0x80], edi
je 0x1400d4ebc
mov rdx, r14
lea r11, [0x140126b10]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400d4e95
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400d4e68
mov word [rbx], r12w
jmp 0x1400d4ee3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400d4e71
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400d4ee3
cmp word [rsp + 0x70], r12w
jne 0x1400d4ea2
cmp rbx, rsi
je 0x1400d4e62
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140001dc0
cmp word [rsp + 0x70], r12w
je 0x1400d4ee7
mov word [rbx], r13w
jmp 0x1400d4ee3
lea r11, [0x140126b10]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400d4edf
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400d4ee7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140042ad0
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 0x140042b04
xor eax, eax
jmp 0x140042cfc
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 0x140042b34
xor eax, eax
jmp 0x140042cfc
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140042b56
mov rax, qword [rsp + 0x40]
add rax, 0x88
mov qword [rsp + 0x58], rax
jmp 0x140042b64
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 0x140042c94
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 0x140042c7d
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x140042c92
cmp dword [rsp + 0x34], 0
jle 0x140042c90
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140042c92
jmp 0x140042c94
jmp 0x140042c1f
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jl 0x140042cac
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jl 0x140042cb0
xor eax, eax
jmp 0x140042cfc
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 0x140042cea
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x30], eax
jae 0x140042cea
xor eax, eax
jmp 0x140042cfc
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret
Function at 0x1400433d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov rax, qword [0x140668b00]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.1400434f0
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 0x14004342c
mov eax, dword [rsp + 0x30]
jmp 0x1400434b9
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x278]
lea rcx, [rsp + 0x40]
call fcn.140043370
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 0x140043482
mov eax, dword [rsp + 0x30]
jmp 0x1400434b9
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.14019e430
add rsp, 0x268
ret
Function at 0x1400435d0
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 [0x140668b00]
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, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
je 0x14004363e
mov eax, dword [rsp + 0x20]
jmp 0x140043767
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, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400436bb
jmp 0x14004373b
mov dword [rsp + 0x24], 0
jmp 0x1400436cf
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 0x14004373b
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, pe_nt_image_headers64
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 0x140043739
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov dword [rsp + 0x20], 0
jmp 0x14004373b
jmp 0x1400436c5
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.14019e430
add rsp, 0x198
pop rdi
pop rsi
ret

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

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x140668b00]
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 0x1400437f2
mov edx, dword [rsp + 0x24]
lea rcx, str.Failed_to_query_code_integrity_status:__08X_n
call fcn.140043000
mov eax, dword [rsp + 0x2c]
and eax, 3
cmp eax, 1
jne 0x140043805
mov byte [rsp + 0x20], 1
jmp 0x14004380a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019e430
add rsp, 0x40
pop rdi
ret
Function at 0x140043830
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140668b00]
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.14019e430
add rsp, 0x48
ret
Function at 0x1400440a0
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140668b00]
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.14019e430
add rsp, 0x48
ret
Function at 0x14005cd00
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, [0x1401a5ce0]
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 0x14005cd8e
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 0x14005cd32
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14005cda0
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, [0x1401a5ce0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14005cea4
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 0x14005ce9f
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 0x14005ce74
cmp qword [rsp + 0x38], 2
jb 0x14005ce74
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005ce74
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005ce74
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 0x14005cde7
jmp 0x14005cf36
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 0x14005cf36
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14005cf0c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005cf0c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005cf0c
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 0x14005cea4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400a2960
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 0x1400a2986
mov dword [rsp + 0x20], 1
jmp 0x1400a298e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400c7240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140668b00]
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.1400c7ef0
nop
lea rax, [0x1400c6ea0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
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 + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x1400c7322
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 0x1400c733c
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.1400c8fc0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14019e430
add rsp, 0x80
pop rdi
ret
Function at 0x1400e10e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140668b00]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x1400e111d
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400e1124
mov al, 1
jmp 0x1400e12ad
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x3c], 0xffffffff
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x3c], eax
jne 0x1400e1180
mov dword [rsp + 0x40], 1
jmp 0x1400e1188
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400e11a1
xor al, al
jmp 0x1400e12ad
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 0x1400e1214
cmp dword [rsp + 0x34], 1
je 0x1400e1220
cmp dword [rsp + 0x34], 3
je 0x1400e129b
jmp 0x1400e12ab
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 + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x1400e1272
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x50], rax
je 0x1400e1272
xor al, al
jmp 0x1400e12ad
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400e128c
mov dword [rsp + 0x44], 1
jmp 0x1400e1294
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
jmp 0x1400e12ad
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400e12ad
xor al, al
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14019e430
add rsp, 0xb8
ret