joyce8/EMBER2024-capa huggingface dataset:
Function at 0x564b20
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
cmp dword [rsi + 0x24], 0xcc
je 0x564b58
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rdx, qword [rsi + 0x220]
cmp dword [rdx + 0x10], 0
je 0x564bfd
lea r14, [rsi + 0xa8]
mov eax, dword [rsi + 0xa8]
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jae 0x564bce
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x564b9a
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ecx
mov rcx, rsi
call qword [rdx]
mov eax, dword [rsi + 0xa8]
mov edi, eax
mov rax, qword [rsi + 0x228]
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov rcx, rsi
mov r8, r14
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, edi
je 0x564c11
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jb 0x564b80
mov rdx, qword [rsi + 0x220]
mov rcx, rsi
call qword [rdx + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x220]
xor eax, eax
cmp dword [rdx + 0x10], 0
jne 0x564b76
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rsi
sub byte [r8 + rax], dl
add byte [rax], al
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test edi, edi
mov eax, 1
cmovg eax, edi
mov rcx, qword [rsi + 0x240]
cmp dword [rcx + 0x24], 0
je 0x564de9
mov ecx, dword [rsi + 0xac]
cmp eax, ecx
cmovg eax, ecx
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp 0x564b20

Function at 0x564d90
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov edi, edx
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x564dc7
cmp eax, 0xcf
je 0x564dc7
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
sub byte [r8 + rax], dl
add byte [rax], al
Function at 0x583790
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push rbp
push rbx
mov byte [rsp - 0x3f8], 0
mov byte [rsp - 0x13f8], 0
sub rsp, 0x13f8
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x1410], rcx
mov qword [rbp + 0x1418], rdx
mov rcx, qword [rbp + 0x1418]
call fcn.00416230
nop
mov dword [rbp + 0x13b0], 0x18
mov dword [rbp + 0x13c0], 0xffffffff
mov qword [rbp + 0x13b8], 0
lea rcx, [rbp + 0x13d0]
lea rdx, [rbp + 0x13c8]
lea r8, [rbp + 0x13b0]
xor r9, r9
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x583a11
nop
lea rcx, [rbp + 0x1348]
mov edx, 0x68
xor r8, r8
call fcn.0040afb0
mov dword [rbp + 0x1348], 0x68
mov rax, qword [rbp + 0x13d0]
mov qword [rbp + 0x1398], rax
mov rax, qword [rbp + 0x13c8]
mov qword [rbp + 0x13a0], rax
mov rax, qword [rbp + 0x13c8]
mov qword [rbp + 0x13a8], rax
mov dword [rbp + 0x1384], 0x101
mov word [rbp + 0x1388], 0
lea rcx, [rbp + 0x58]
call fcn.00583270
lea rcx, [rbp + 0x60]
mov edx, 3
mov r8, qword [rbp + 0x58]
lea r9, [0x00583adc]
mov rax, qword [rbp + 0x1410]
mov qword [rsp + 0x20], rax
call fcn.00410f30
mov rcx, qword [rbp + 0x60]
call fcn.004109e0
xor ecx, ecx
mov rdx, rax
lea r8, [rbp + 0x13b0]
lea r9, [rbp + 0x13b0]
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x1348]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x13d8]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x5839f8
nop
mov rcx, qword [rbp + 0x13d8]
mov edx, 0x64
call sub.kernel32.dll_WaitForSingleObject
mov dword [rbp + 0x7c], eax
mov rcx, qword [rbp + 0x13d0]
xor edx, edx
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_PeekNamedPipe
cmp dword [rbp + 0x78], 0
jbe 0x5839c8
mov dword [rbp + 0x80], 0
mov rcx, qword [rbp + 0x13d0]
lea rdx, [rbp + 0x9e7]
mov r8d, 0x960
lea r9, [rbp + 0x80]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
mov eax, dword [rbp + 0x80]
mov byte [rax + rbp + 0x9e7], 0
lea rcx, [rbp + 0x9e7]
lea rdx, [rbp + 0x86]
call sub.user32.dll_OemToCharA
mov rcx, qword [rbp + 0x1418]
lea rdx, [rbp + 0x86]
mov rax, qword [rbp + 0x1418]
mov rbx, qword [rax]
call qword [rbx + 0x18]
cmp dword [rbp + 0x80], 0x960
jae 0x58394d
mov ecx, 1
call sub.kernel32.dll_Sleep
cmp dword [rbp + 0x7c], 0x102
je 0x58390d
nop
mov rcx, qword [rbp + 0x13d8]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x13e0]
call sub.kernel32.dll_CloseHandle
nop
mov rcx, qword [rbp + 0x13d0]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x13c8]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x58]
mov edx, 2
call fcn.0040f170
lea rcx, [rbp + 0x1418]
call fcn.00416120
lea rsp, [rbp + 0x13f8]
pop rbx
pop rbp
ret
Function at 0x5890b0
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
nop
mov rcx, qword [0x00588f78]
mov dl, 1
call fcn.0040be00
mov rbx, rax
lea rcx, [rbp + 0x60]
test rbx, rbx
jne 0x589112
mov rdx, rbx
jmp 0x589116
lea rdx, [rbx + 0x10]
call fcn.00416160
lea rcx, [rbp + 0x58]
call fcn.0055d440
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x58]
lea r8, [0x00589250]
call fcn.00410e00
lea rcx, [rbp + 0x50]
xor edx, edx
call fcn.00409840
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x68]
call fcn.00411010
test eax, eax
je 0x5891e3
lea rcx, [rbp + 0x48]
xor edx, edx
call fcn.00409840
mov rcx, qword [rbp + 0x48]
call fcn.004109e0
mov rsi, rax
mov rcx, qword [rbp + 0x68]
call fcn.004109e0
mov rcx, rsi
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_CopyFileW
call fcn.0057f9c0
mov rcx, rax
lea rdx, [rbp + 0x38]
lea r8, [0x00589278]
call fcn.0057f3e0
lea rcx, [rbp + 0x40]
mov edx, 4
mov r8, qword [rbp + 0x38]
lea r9, [0x00589378]
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea rax, [0x0058938c]
mov qword [rsp + 0x28], rax
call fcn.00410f30
mov rcx, qword [rbp + 0x40]
test rbx, rbx
jne 0x5891da
mov rdx, rbx
jmp 0x5891de
lea rdx, [rbx + 0x18]
call fcn.00583790
nop
lea rcx, [rbp + 0x38]
mov edx, 5
call fcn.0040f170
lea rcx, [rbp + 0x60]
call fcn.00416120
lea rcx, [rbp + 0x68]
call fcn.0040f090
lea rsp, [rbp + 0x70]
pop rbx
pop rsi
pop rbp
ret
Function at 0x140004210
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140003cf0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000424f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14003f2c8]
jmp 0x140004259
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140025c80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140001650
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov rbp, rcx
test rcx, rcx
je 0x140001706
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rsi, qword [rdx + 0x20]
test rsi, rsi
je 0x140001706
mov r15d, 0x103
mov r14, qword [rsi + 0x50]
test r14, r14
je 0x140001706
cmp word [rsi + 0x48], r15w
jae 0x1400016fe
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140001120
xor ebx, ebx
cmp word [r14], bx
je 0x1400016e1
nop dword [rax]
cmp ebx, r15d
jae 0x1400016e1
movzx ecx, byte [r14 + rbx*2]
call fcn.140001590
mov r14, qword [rsi + 0x50]
mov byte [rsp + rbx + 0x20], al
inc ebx
cmp word [r14 + rbx*2], 0
jne 0x1400016c0
mov rcx, rbp
mov byte [rsp + rbx + 0x20], 0
call fcn.1400014b0
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400014b0
cmp eax, ebx
je 0x140001725
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140001693
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rax, qword [rsi + 0x20]
jmp 0x140001708

Function at 0x140001730
Capabilities:
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, 0x240
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x14000188a
test edx, edx
je 0x14000188a
movsxd r12, dword [rcx + 0x3c]
xor r14d, r14d
mov eax, dword [r12 + rcx + 0x88]
add rax, rcx
mov ebx, dword [rax + 0x20]
mov r13d, dword [rax + 0x1c]
add rbx, rcx
mov edi, dword [rax + 0x24]
add r13, rcx
mov esi, dword [rax + 0x18]
add rdi, rcx
test esi, esi
je 0x140001885
nop word [rax + rax]
mov ecx, dword [rbx]
dec esi
add rcx, rbp
call fcn.1400014b0
cmp eax, r15d
je 0x1400017c5
add rbx, 4
add rdi, 2
test esi, esi
jne 0x1400017a0
mov rax, r14
jmp 0x14000188c
movzx eax, word [rdi]
mov ecx, dword [r12 + rbp + 0x88]
mov edx, dword [r13 + rax*4]
lea r14, [rdx + rbp]
cmp ecx, edx
ja 0x140001885
add ecx, dword [r12 + rbp + 0x8c]
cmp ecx, edx
jb 0x140001885
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140001120
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.140001120
mov rcx, r14
call fcn.140001460
test eax, eax
je 0x14000188a
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, r14
mov ebx, eax
call fcn.1400010d0
lea rcx, [r14 + 1]
add rcx, rbx
call fcn.140001540
lea rdx, [rbx + 1]
mov r8, rax
add rdx, r14
lea rcx, [rsp + 0x130]
call fcn.1400010d0
lea rcx, [rsp + 0x20]
call fcn.140001900
mov rbx, rax
test rax, rax
je 0x140001885
lea rcx, [rsp + 0x130]
call fcn.1400014b0
mov edx, eax
mov rcx, rbx
call fcn.140001730
mov r14, rax
mov rax, r14
jmp 0x14000188c
xor eax, eax
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400019c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
xor ebx, ebx
lea rdx, str.KnownDlls_
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x2a0], ebx
mov ebp, ebx
mov edi, ebx
call fcn.140001610
lea rdx, [0x1400060d8]
lea rcx, [rsp + 0x70]
call fcn.1400015c0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140001500
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x2a8]
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x58], 0x40
lea ecx, [rbx + 0xc]
movdqu xmmword [rsp + 0x60], xmm0
call fcn.140004bd0
cmp dword [rsp + 0x2a8], ebx
jl 0x140001bc6
cmp rax, 0xffffffffffffffff
je 0x140001bc6
lea rcx, [rsp + 0x2a8]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x20], 2
xor edx, edx
call fcn.140004a40
lea rcx, str.NTDLL.DLL
mov rsi, rax
call fcn.140001650
cmp dword [rsp + 0x2a8], ebx
jl 0x140001bd2
mov r8, rax
test rsi, rsi
je 0x140001bd2
test rax, rax
je 0x140001bd2
mov eax, 0x5a4d
cmp word [r8], ax
jne 0x140001bd2
movsxd rcx, dword [r8 + 0x3c]
add rcx, r8
cmp dword [rcx], 0x4550
jne 0x140001bd2
movzx edx, word [rcx + 6]
test rdx, rdx
je 0x140001bd2
movzx eax, word [rcx + 0x14]
add rcx, 0x24
add rcx, rax
nop word [rax + rax]
mov eax, dword [rcx - 0xc]
or eax, 0x20202020
cmp eax, 0x7865742e
jne 0x140001b1c
mov eax, dword [rcx]
mov edi, dword [rcx - 4]
lea rbx, [rax + r8]
lea rbp, [rax + rsi]
add rcx, 0x28
sub rdx, 1
jne 0x140001b00
test rdi, rdi
je 0x140001bd2
test rbx, rbx
je 0x140001bd2
test rbp, rbp
je 0x140001bd2
lea rax, [rsp + 0x2a0]
mov r9d, 0x80
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rbx
xor ecx, ecx
call fcn.140004c70
cmp dword [rsp + 0x2a0], 0
mov r14d, eax
jl 0x140001bd2
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.1400010d0
lea rax, [rsp + 0x2a0]
mov r9d, r14d
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rbx
xor ecx, ecx
call fcn.140004c70
cmp dword [rsp + 0x2a0], 0
jl 0x140001bd2
lea r8, [rsp + 0x2a0]
mov rdx, rsi
xor ecx, ecx
call fcn.140004d60
cmp dword [rsp + 0x2a0], 0
jl 0x140001bd2
mov eax, 1
jmp 0x140001bd4
lea rcx, str.NTDLL.DLL
call fcn.140001650
xor eax, eax
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001bf0
Capabilities:
Check os version

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov rbx, qword gs:[0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x361c
jne 0x140001cde
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetMenu]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMenu]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetMenuItemID]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
jmp 0x140001cf2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], rsi
test rbx, rbx
je 0x140001d48
cmp dword [rbx + 0x118], 0xa
jne 0x140001d48
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov rbp, qword [rbx + 0x10]
movsxd rsi, dword [rbp + 0x3c]
lea rbx, [rbp + 0x108]
add rbx, rsi
mov rcx, rbx
call fcn.1400014b0
cmp eax, 0x9f520b2d
je 0x140001d5e
movzx eax, word [rsi + rbp + 6]
add rbx, 0x28
inc rdi
cmp rdi, rax
jbe 0x140001d28
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
mov edi, dword [rbx + 0xc]
mov ebx, dword [rbx + 0x10]
add rdi, rbp
je 0x140001d48
test rbx, rbx
je 0x140001d48
call fcn.1400018b0
test eax, eax
je 0x140001d48
lea rax, [rsp + 0x50]
mov r8d, ebx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov ecx, 1
call fcn.140001300
test eax, eax
jne 0x140001d48
mov rdx, qword [rsp + 0x50]
lea r8d, [rax + 1]
mov rcx, qword [rsp + 0x58]
call fcn.140001dc0
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x1400041c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x1400070a0]
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x1400041d0
ret

Function at 0x140004270
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000429e
lea r10, [0x1400070a0]
nop dword [rax]
movzx r9d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r9, rax
movzx eax, r9b
xor ecx, dword [r10 + rax*4]
sub r8, 1
jne 0x140004280
mov eax, ecx
ret

Function at 0x140004ec0
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x140004ee8
mov rax, qword [rsp + 0x10]
cmp dword [rax + 0x118], 0xa
je 0x140004eef
xor eax, eax
jmp 0x14000503e
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x140004f23
xor eax, eax
jmp 0x14000503e
mov rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140004f42
xor eax, eax
jmp 0x14000503e
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x140004f6e
xor eax, eax
jmp 0x14000503e
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x140004fa1
xor eax, eax
jmp 0x14000503e
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp]
mov qword [0x140007060], rax
mov rax, qword [rsp + 0x18]
mov qword [0x140007068], rax
mov rax, qword [rsp + 0x20]
mov qword [0x140007070], rax
mov rax, qword [rsp + 8]
mov qword [0x140007078], rax
mov rax, qword [rsp + 0x30]
mov qword [0x140007080], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140007088], rax
mov rax, qword [rsp + 0x40]
mov qword [0x140007090], rax
mov eax, 1
add rsp, 0x58
ret
Function at 0x1400056e1
Capabilities:
Execute syscall

Disassembly:
mov rax, rcx
mov r10, rax
mov eax, dword [section..data]
syscall
ret
Function at 0x140002508
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14000a460]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov qword [0x14000a530], rcx
mov rbx, rcx
mov r14d, 0x80
mov r8d, r14d
lea rcx, [rsp + 0x70]
xor edx, edx
mov edi, 0xc0000001
call fcn.140006dc0
mov r8d, r14d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140006dc0
mov r8d, r14d
lea rdx, [rsp + 0x70]
lea rcx, [0x1400076a0]
call fcn.140001320
test al, al
je 0x140002671
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8d, r14d
lea rdx, [rbp - 0x10]
lea rcx, [0x1400076a0]
call fcn.140001374
test al, al
je 0x140002671
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r9d, [r14 - 0x5e]
mov byte [rsp + 0x28], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov dword [rsp + 0x20], 0x100
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
js 0x140002671
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov qword [0x14000a528], rax
lea rcx, [rsp + 0x58]
or dword [rax + 0x30], 4
mov rax, qword [rsp + 0x40]
btr dword [rax + 0x30], 7
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x14000262f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x140002671
lea rax, [0x1400024e8]
mov ecx, 0x1c
lea rdi, [rbx + 0x70]
rep stosq qword [rdi], rax
lea rax, [0x140002698]
mov qword [rbx + 0xe0], rax
call fcn.1400015b8
call fcn.140003a18
mov rcx, rbx
call fcn.140005084
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.140004c20
xor edi, edi
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140006b10
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140002b60
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
test rcx, rcx
je 0x140002bb4
test rdx, rdx
je 0x140002bb4
lea rdx, [rax + 0x18]
mov qword [rax + 0x18], rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140002bb4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
call sub.ntoskrnl.exe_PsReferenceProcessFilePointer
test eax, eax
jns 0x140002bc6
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140002bca
mov rcx, qword [rsp + 0x30]
add edi, edi
movzx eax, word [rcx + 0x58]
cmp eax, edi
jb 0x140002c11
movzx r8d, word [rcx + 0x5a]
xor edx, edx
mov rcx, qword [rcx + 0x60]
call fcn.140006dc0
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
mov r8d, edi
mov rcx, qword [rcx + 0x60]
call fcn.140006ec0
mov rax, qword [rsp + 0x30]
mov bl, 1
mov word [rax + 0x58], di
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, bl
jmp 0x140002bb6

Function at 0x140002c2c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [0x14000a538], rcx
lea rax, [0x140002ad4]
xor ecx, ecx
mov dword [rsp + 0x40], 0x30
mov qword [r11 - 0x30], rcx
lea r8, [r11 - 0x38]
mov qword [r11 - 0x48], rcx
xorps xmm0, xmm0
mov dword [rsp + 0x58], 0x200
xor r9d, r9d
mov qword [r11 - 0x28], rcx
mov edx, 0x1fffff
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], rcx
mov qword [r11 + 8], rcx
lea rcx, [r11 + 8]
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
add rsp, 0x78
ret