joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000794c
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r9d
mov r14, r8
mov rdi, rdx
mov ebx, 0xc0000001
lea rax, [rdx - 0x10001]
movabs rdx, 0x7ffffffefffd
cmp rax, rdx
ja 0x1400079d3
mov ecx, ecx
lea rdx, [r11 + 0x10]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x1400079d3
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, qword [rsp + 0x68]
mov rdx, r14
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov ebx, eax
mov dword [rsp + 0x40], eax
jmp 0x1400079d3
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x1400079ec
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rdx
mov ecx, ecx
lea rdx, [rsp + 0x30]
mov r15d, r9d
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebp, eax
test eax, eax
js 0x140007b00
cmp qword [rsp + 0x30], 0
je 0x140007b00
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b00
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rdi, rax
test rax, rax
jne 0x140007a6f
mov eax, 0xc0000001
jmp 0x140007b02
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov rsi, rax
test rax, rax
jne 0x140007a96
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x140007a65
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007ad5
mov rbx, cr8
mov eax, 2
mov cr8, rax
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140009640
movzx eax, bl
mov cr8, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, ebp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140009430
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007b48
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, rdx
mov ecx, ecx
lea rdx, [rsp + 0x30]
mov r15d, r9d
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov r14d, eax
test eax, eax
js 0x140007c66
cmp qword [rsp + 0x30], 0
je 0x140007c66
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007c66
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rsi, rax
test rax, rax
jne 0x140007bce
mov eax, 0xc0000001
jmp 0x140007c69
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov rbp, rax
test rax, rax
jne 0x140007bf5
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x140007bc4
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdi, cr8
mov eax, 2
mov cr8, rax
cli
mov rbx, cr0
mov rax, rbx
btc rax, 0x10
mov cr0, rax
mov r8, r15
mov rdx, rbp
mov rcx, r12
call fcn.140009640
mov cr0, rbx
sti
movzx eax, dil
mov cr8, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140009430
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007e18
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13d, r9d
mov rbx, r8
mov rdi, rdx
mov esi, ecx
mov r8d, 0x3e7
mov edx, r9d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r14, rax
test rax, rax
je 0x140007e69
mov r8d, r13d
mov rdx, rbx
mov rcx, rax
call fcn.140009640
mov rcx, rsi
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov r15d, eax
test eax, eax
js 0x140007f75
cmp qword [rsp + 0x30], 0
je 0x140007f75
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007f75
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov edx, 8
lea r8d, [rdx - 7]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
nop
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rdi, rax
test rax, rax
jne 0x140007eed
mov eax, 0xc0000001
jmp 0x140007f86
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov rsi, rax
test rax, rax
jne 0x140007f14
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x140007ee3
mov rbx, cr8
mov eax, 2
mov cr8, rax
mov r8, r13
mov rdx, r14
mov rcx, rsi
call fcn.140009640
movzx eax, bl
mov cr8, rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140007f75
mov edx, 0x3e7
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, r15d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140009430
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x140008020
Capabilities:
Parse pe header

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
xor edi, edi
mov r13, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400080b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400080b4
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400080b4
mov eax, dword [rax + rcx + 0x78]
mov esi, edi
add rax, rcx
mov r14d, dword [rax + 0x1c]
mov ebp, dword [rax + 0x20]
add r14, rcx
mov r15d, dword [rax + 0x24]
add rbp, rcx
mov r12d, dword [rax + 0x18]
add r15, rcx
test r12d, r12d
je 0x1400080b4
mov ecx, dword [rbp]
mov rdx, r13
add rcx, rbx
call fcn.1400083c8
test eax, eax
je 0x1400080a5
inc esi
add rbp, 4
cmp esi, r12d
jb 0x140008086
jmp 0x1400080b4
movsxd rax, esi
movzx ecx, word [r15 + rax*2]
mov edi, dword [r14 + rcx*4]
add rdi, rbx
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400080d4
Capabilities:
Parse pe header
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 r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r13, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000816b
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000816b
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000816b
mov eax, dword [rax + rcx + 0x88]
mov esi, edi
add rax, rcx
mov r14d, dword [rax + 0x1c]
mov ebp, dword [rax + 0x20]
add r14, rcx
mov r15d, dword [rax + 0x24]
add rbp, rcx
mov r12d, dword [rax + 0x18]
add r15, rcx
test r12d, r12d
je 0x14000816b
mov ecx, dword [rbp]
mov rdx, r13
add rcx, rbx
call fcn.1400083c8
test eax, eax
je 0x14000815c
inc esi
add rbp, 4
cmp esi, r12d
jb 0x14000813d
jmp 0x14000816b
movsxd rax, esi
movzx ecx, word [r15 + rax*2]
mov edi, dword [r14 + rcx*4]
add rdi, rbx
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000818c
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm6, xmmword [rdx]
mov rbp, r8
mov r14d, ecx
mov esi, 0x400
mov r8d, 0xc0d1d
mov edx, esi
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x1400081e4
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140009900
mov r8, rdi
movdqa xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x30]
mov ecx, r14d
call fcn.140008290
mov rcx, r14
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140008267
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
mov rdx, rbp
mov rcx, rsi
test rax, rax
je 0x14000823b
call fcn.140008020
jmp 0x140008240
call fcn.1400080d4
lea rcx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, 0xc0d1d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140009430
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008290
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
mov ecx, ecx
lea rdx, [rbp - 0x60]
mov r14, r8
xor edi, edi
movdqu xmmword [rbp - 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400082e1
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1400082e1
xor eax, eax
jmp 0x1400083ac
mov rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x60]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
test rax, rax
je 0x140008342
mov eax, dword [rax + 0xc]
mov esi, dword [rax + 0x14]
mov ebx, esi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov edx, dword [rbx + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140008337
mov ebx, dword [rbx]
cmp rbx, rsi
je 0x140008395
jmp 0x140008305
mov eax, dword [rbx + 0x18]
mov edi, dword [rbx + 0x10]
mov qword [r14], rax
jmp 0x140008395
mov rcx, qword [rbp - 0x60]
call sub.ntoskrnl.exe_PsGetProcessPeb
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rbx, rsi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov rdx, qword [rbx + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x14000838a
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x140008356
jmp 0x140008395
mov rcx, qword [rbx + 0x30]
mov rdi, qword [rbx + 0x20]
mov qword [r14], rcx
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140009430
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140008418
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x58], 0
mov rbx, rcx
mov dword [rsp + 0x50], 0xc30000
test rcx, rcx
jne 0x14000843e
mov eax, 0xc0000141
jmp 0x140008530
xor edx, edx
lea r8d, [rdx + 0x50]
call fcn.140009900
lea rcx, [0x14000a0b0]
call fcn.1400085b8
lea rcx, [0x14000a0d0]
mov dword [rbx + 0x18], eax
call fcn.1400085b8
lea rcx, [0x14000a0e0]
mov dword [rbx + 0x1c], eax
call fcn.1400085b8
lea rcx, [0x140009e10]
mov dword [rbx + 0x20], eax
call fcn.1400085b8
cmp qword [rbx + 0x40], 0
mov dword [rbx + 0x28], eax
jne 0x1400084bc
lea rdx, [0x14000a0f0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdx, rax
mov qword [rbx + 0x40], rax
lea rcx, [0x14000a110]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rbx + 0x48], 0
jne 0x1400084f3
lea rdx, [0x14000a120]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdx, rax
mov qword [rbx + 0x48], rax
lea rcx, [0x14000a140]
call sub.ntoskrnl.exe_DbgPrint
mov r9, qword [sym.imp.ntoskrnl.exe_ExGetPreviousMode]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
mov r8d, 3
mov qword [rsp + 0x20], 0x20
mov dl, 0xcc
call fcn.140005bd4
test eax, eax
js 0x14000852e
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax - 2]
mov dword [rbx + 4], ecx
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x1400085b8
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
xor ebx, ebx
lea rdx, [0x14000a070]
lea rcx, [rbp - 0x41]
mov qword [rbp + 0x6f], rbx
mov qword [rbp - 0x49], rbx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 0x20
xorps xmm0, xmm0
mov qword [rbp - 0x11], rax
lea esi, [rbx + 1]
mov dword [rbp - 0x21], 0x30
lea r9, [rbp - 0x31]
mov qword [rbp - 0x19], rbx
lea r8, [rbp - 0x21]
mov dword [rbp - 9], 0x240
mov edx, 0x120089
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x7f]
movdqu xmmword [rbp - 1], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x140008734
mov rax, qword [rbp + 0x7f]
lea edi, [rbx + 2]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x21]
mov dword [rsp + 0x28], 0x1000000
lea rcx, [rbp + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0xf001f
mov qword [rbp - 0x11], rbx
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
js 0x14000872a
mov rcx, qword [rbp + 0x77]
lea rax, [rbp - 0x49]
mov dword [rsp + 0x48], edi
lea r8, [rbp + 0x6f]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], esi
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
js 0x140008720
mov rdx, qword [rbp + 0x6f]
mov esi, ebx
movsxd rax, dword [rdx + 0x3c]
mov edi, dword [rax + rdx + 0x78]
add rdi, rdx
mov r15d, dword [rdi + 0x1c]
mov r12d, dword [rdi + 0x20]
add r15, rdx
mov r13d, dword [rdi + 0x24]
add r12, rdx
add r13, rdx
cmp dword [rdi + 0x14], ebx
jbe 0x140008716
mov eax, esi
mov ecx, dword [r12 + rax*4]
movzx eax, word [r13 + rax*2]
add rcx, rdx
mov r14d, dword [r15 + rax*4]
add r14, rdx
mov rdx, qword [rbp + 0x67]
call sub.ntoskrnl.exe__stricmp
mov rdx, qword [rbp + 0x6f]
test eax, eax
je 0x140008711
inc esi
cmp esi, dword [rdi + 0x14]
jb 0x1400086e1
jmp 0x140008716
movzx ebx, word [r14 + 1]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000874c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
mov r15, rdx
mov dword [rsp + 0x20], ebp
mov r14, rcx
lea rdx, [rsp + 0x30]
mov r8d, 0x130
lea ecx, [rbp + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dl, 1
mov rcx, r14
mov ebx, eax
call fcn.140008538
mov r12, rax
cmp ebx, 0xc0000004
jne 0x140008896
mov edi, dword [rsp + 0x20]
lea ecx, [rbp + 1]
add edi, 0x130
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140009900
lea r9, [rsp + 0x20]
mov r8d, edi
mov rdx, rsi
lea ecx, [rbp + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jns 0x14000880f
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x1400088a4
lea rdx, [0x14000a060]
mov rcx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140008881
lea rdx, [0x140009a20]
mov rcx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140008881
mov edi, ebp
cmp dword [rsi], ebp
jbe 0x14000888b
movsxd rax, edi
imul r14, rax, 0x128
lea rbx, [r14 + rsi]
lea rcx, [rbx + 0x30]
call sub.ntoskrnl.exe__strupr
mov rdx, r12
lea rcx, [rbx + 0x30]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x14000886d
inc edi
cmp edi, dword [rsi]
jb 0x14000883d
jmp 0x14000888b
test r15, r15
je 0x14000887a
mov rax, qword [r14 + rsi + 0x18]
mov qword [r15], rax
mov ebp, dword [r14 + rsi + 0x20]
jmp 0x14000888b
mov rax, qword [rsi + 0x18]
mov qword [r15], rax
mov ebp, dword [rsi + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140009430
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140008b54
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
movsxd rbx, r9d
mov r15, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20c
call fcn.140009900
mov r9, rbx
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
call fcn.140008ad0
xor r12d, r12d
lea rdx, [rsp + 0x260]
mov rcx, rsi
mov qword [rsp + 0x260], r12
call fcn.14000874c
mov rbp, qword [rsp + 0x260]
mov r14, rax
test rbp, rbp
jne 0x140008bdb
xor eax, eax
jmp 0x140008caa
movsxd rbx, dword [rbp + 0x3c]
mov esi, r12d
add rbx, rbp
movzx eax, word [rbx + 0x14]
lea rdi, [rbx + 0x18]
add rdi, rax
cmp r12w, word [rbx + 6]
jae 0x140008c38
mov rax, qword [rdi]
lea rcx, [rsp + 0x260]
mov rdx, r15
mov qword [rsp + 0x260], rax
mov byte [rsp + 0x268], r12b
call sub.ntoskrnl.exe__stricmp
test eax, eax
je 0x140008c2e
movzx eax, word [rbx + 6]
add rdi, 0x28
inc esi
cmp esi, eax
jl 0x140008bf7
jmp 0x140008c38
mov eax, dword [rdi + 0xc]
mov r14d, dword [rdi + 0x10]
add rbp, rax
mov edx, r14d
xor ecx, ecx
mov edi, r14d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rsi, rax
mov qword [rsp + 0x40], r12
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, rsi
mov r8, rbx
mov rcx, rax
mov rdx, rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], rdi
call sub.ntoskrnl.exe_MmCopyVirtualMemory
lea rdx, [rdi + rbp]
mov r9d, 1
lea r8, [rsp + 0x50]
mov rcx, rbp
call fcn.14000892c
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140009430
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000338d
lea rbx, [0x1400d6e90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003374
cmp r10, 2
jb 0x140003374
cmp byte [r9], r8b
jne 0x140003374
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003350
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400033cf
lea rbx, [0x1400d6e90]
cmp r8b, 0x23
jne 0x1400033b3
cmp byte [r9], r8b
jne 0x1400033b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400033a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003510
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000352a
mov qword [r8], 0
lea rdx, [0x1400d69f0]
call fcn.1400033e0
mov rbx, rax
test rax, rax
jne 0x14000354a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003621
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003621
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003621
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003621
cmp rdi, 0xffffffffffffffff
je 0x140003621
mov rax, qword [0x140126fa0]
test rax, rax
je 0x1400035be
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003621
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000360e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140126fa0]
test rax, rax
je 0x140003603
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000362a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000361c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000362c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret