joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001770
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400039d8], rbx
je 0x1400017bc
cmp rax, rbx
jne 0x1400017af
mov ebx, 1
mov esi, ebx
jmp 0x1400017c1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001794
mov ebx, 1
mov eax, dword [0x1400039d0]
cmp eax, ebx
jne 0x1400017d7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140001834
mov eax, dword [0x1400039d0]
test eax, eax
jne 0x14000182e
mov dword [0x1400039d0], ebx
lea r13, [0x140001128]
lea rdi, [0x140001110]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r13
jae 0x140001820
test eax, eax
jne 0x140001824
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001815
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400017fe
test eax, eax
je 0x140001834
mov eax, 0xff
jmp 0x140001905
mov dword [0x14000343c], ebx
mov eax, dword [0x1400039d0]
cmp eax, ebx
jne 0x14000185b
lea rdx, [0x140001108]
lea rcx, [0x1400010f8]
call sub.msvcrt.dll__initterm
mov dword [0x1400039d0], 2
test esi, esi
jne 0x140001868
xor eax, eax
xchg qword [0x1400039d8], rax
cmp qword [0x1400039e0], 0
je 0x140001891
lea rcx, [0x1400039e0]
call fcn.140001b5c
test eax, eax
je 0x140001891
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1400039e0]
mov r8, qword [0x140003420]
mov rdx, qword [0x140003428]
mov ecx, dword [0x140003418]
call fcn.140001520
mov dword [0x140003438], eax
cmp dword [0x14000341c], 0
jne 0x1400018c1
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000343c], 0
jne 0x1400018d6
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003438]
jmp 0x140001905
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.140001c70
add rsp, 0x28
jmp 0x140001770

Function at 0x140001bc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
test rcx, rcx
je 0x140001c15
cmp rcx, 0xffffffffffffffff
je 0x140001c15
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001c0d
cmp dword [rcx + 0x3c], edx
jl 0x140001c0d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001c0d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001c15
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14050a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14050a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14050a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14050a06f
add dl, dl
jne 0x14050a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14050a0f6
xor eax, eax
add dl, dl
jne 0x14050a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14050a1ad
add dl, dl
jne 0x14050a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14050a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14050a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14050a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14050a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14050a07e
mov eax, 1
add dl, dl
jne 0x14050a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14050a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14050a0fb
sub eax, ebx
mov ebx, 1
jne 0x14050a14c
mov ecx, 1
add dl, dl
jne 0x14050a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14050a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14050a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14050a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14050a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14050a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14050a15d
cmp eax, 0x7d00
jae 0x14050a19b
cmp eax, 0x500
jb 0x14050a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14050a07e
cmp eax, 0x7f
ja 0x14050a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14050a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14050a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14050a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000f714
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 2
lea r9, [rsp + 0x30]
mov rdi, rcx
mov r8d, edx
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.ntoskrnl.exe_IoOpenDeviceRegistryKey]
mov edx, eax
mov esi, eax
mov eax, 0xc0000000
and edx, eax
cmp edx, eax
je 0x14000f8c4
mov ecx, dword [rdi + 0xe40]
or rbx, 0xffffffffffffffff
shr ecx, 8
test cl, 1
je 0x14000f77a
mov rcx, qword [rdi + 0x1258]
jmp 0x14000f790
mov eax, dword [rdi + 0x1250]
mov ecx, dword [rdi + 0x1248]
add rcx, rax
cmp rcx, rax
cmovb rcx, rbx
mov qword [rsp + 0x38], rcx
mov rax, rbx
mov rcx, qword [str.GTX]
xor edi, edi
inc rax
cmp word [rcx + rax*2], di
jne 0x14000f7a1
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003a060]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [0x14003a088]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x14000f7df
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003a078]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 8
lea rdx, [0x14003a090]
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [str.GeForce_GTX_3D]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x14000f84a
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003a0a8]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [0x14003a0d0]
inc rbx
cmp word [rcx + rbx*2], di
jne 0x14000f885
lea eax, [rbx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003a0c0]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001f7c0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14001683c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
mov byte [rsp + 0x20], 0
lea r9, [0x1400166d0]
mov rbx, rcx
lea r8d, [rdx + 4]
call fcn.14000f0ec
xor r8d, r8d
lea rcx, [rbx + 0x3490]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rax, [0x140016720]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x1400168e7
and qword [rsp + 0x28], 0
lea rcx, [rbx + 0x34a8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
jmp 0x1400168e9
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001f7c0
add rsp, 0x50
pop rbx
ret

Function at 0x140017214
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rsi, str.Flags
mov qword [rsp + 0x68], rax
mov r13, r9
mov dword [rsp + 0x64], 4
mov r15, r8
mov dword [rsp + 0x68], 4
mov r12, rdx
mov r14, rcx
xor ebx, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x78
lea rcx, [rsp + 0x48]
mov rdx, r13
mov word [rsp + 0x4a], ax
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
test eax, eax
jne 0x140017382
lea rax, [rsp + 0x58]
mov r8d, 2
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x20], 0x10
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jne 0x140017382
mov eax, dword [rsp + 0x6c]
inc ebx
mov dword [rdi], eax
add rsi, 8
add rdi, 4
cmp ebx, 5
jb 0x140017271
lea rdi, [r14 + 0x1288]
mov rdx, r14
mov rcx, rdi
call fcn.14000b4c4
lea rbx, [r14 + 0x1298]
mov rdx, r14
mov rcx, rbx
call fcn.14000b4c4
mov eax, dword [rsp + 0x30]
mov r8d, 1
mov dword [r15 + 0x6e], eax
mov rdx, r14
mov eax, dword [rsp + 0x34]
mov dword [r15 + 0x72], eax
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0x76], eax
mov eax, dword [rsp + 0x3c]
mov dword [r15 + 0x7a], eax
mov eax, dword [rsp + 0x40]
mov dword [r15 + 0x7e], eax
mov eax, dword [r15 + 0x6a]
mov r9d, eax
and al, 0x1f
mov cl, al
shr r9, 5
shl r8d, cl
mov rcx, rbx
or dword [r14 + r9*4 + 0x1f8], r8d
mov byte [r15 + 0x64], 1
call fcn.14000f320
mov rdx, r14
mov rcx, rdi
call fcn.14000f320
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001f7c0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001f2dc
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
mov dword [r11 - 0x68], r9d
mov qword [r11 - 0x60], rax
mov rdi, rcx
mov eax, 0x30
lea rcx, [r11 - 0x60]
mov word [rsp + 0x3a], ax
mov rbx, r8
lea rax, [r11 - 0x50]
mov qword [r11 - 0x58], rax
call fcn.140018558
mov esi, 0xc0000000
and eax, esi
cmp eax, esi
je 0x14001f367
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400186c4
and eax, esi
cmp eax, esi
je 0x14001f367
mov r9d, 4
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001f7c0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001f810
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov dword [rcx], 0x23003f
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
nop dword [rax + rax]
test eax, eax
js 0x14001f867
cmp dword [rsp + 0x24], 6
ja 0x14001f861
jne 0x14001f867
cmp dword [rsp + 0x28], 2
jb 0x14001f867
mov dword [rbx], 0x230047
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001f7c0
add rsp, 0x150
pop rbx
ret

Function at 0x14001f910
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, rdx
mov r14, rcx
mov esi, 0xa
call fcn.14001f880
mov rdi, rax
test rax, rax
jne 0x14001f94a
mov ebx, 0xc0000017
jmp 0x14001fa12
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwLoadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
mov eax, 0x80000000
mov r15d, 0xc000010e
lea ecx, [rbx + rax]
test eax, ecx
jne 0x14001f999
cmp ebx, r15d
jne 0x14001fa12
cmp ebx, r15d
lea rdx, str.DeviceDxgKrnl
lea rcx, [rsp + 0x30]
setne dil
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
mov r9, rbp
lea rcx, [rsp + 0x30]
mov r8, r14
mov edx, 0xc0000000
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14001fa0b
test dil, dil
jne 0x14001fa04
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], 0xffffffffffff3cb0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
nop dword [rax + rax]
add esi, 0xffffffff
jne 0x14001f9b8
jmp 0x14001fa12
call fcn.14001fa30
jmp 0x14001fa12
test dil, dil
cmove ebx, r15d
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14001fa30
Capabilities:
Unload driver

Disassembly:
push rbx
sub rsp, 0x30
call fcn.14001f880
mov rbx, rax
test rax, rax
je 0x14001fa79
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwUnloadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
add rsp, 0x30
pop rbx
ret
Function at 0x140027d4c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r14b, byte [rcx + 0x20]
xor r15b, r15b
mov r13d, r9d
mov r9d, r8d
mov ebx, edx
mov rbp, rcx
mov edi, edx
cmp r14b, 0x20
jne 0x140027d82
mov esi, 3
jmp 0x140027d89
movzx esi, r14b
shr esi, 3
movzx eax, r14b
mov r8d, ebx
imul eax, ebx
imul r8d, r13d
imul eax, r9d
cdq
and edx, 7
add eax, edx
mov edx, ebx
sar eax, 3
movsxd r12, eax
mov eax, dword [rcx + 0x18]
imul eax, ebx
imul edx, r9d
lea r9, [rsp + 0xa8]
imul eax, r13d
cdqe
add r12, rax
lea rax, [rsp + 0x98]
add r12, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140028ae4
mov r8d, dword [rbp + 0x24]
mov r11, rax
mov qword [rsp + 0x90], rax
lea eax, [r8 - 1]
cdq
idiv ebx
cmp dword [rsp + 0xa0], eax
jne 0x140027e0d
lea ecx, [rbx - 1]
add ecx, r8d
mov eax, ecx
cdq
idiv ebx
mov edi, edx
sub edi, ecx
add edi, r8d
add edi, ebx
mov r8d, dword [rbp + 0x28]
lea eax, [r8 - 1]
cdq
idiv ebx
cmp r13d, eax
jne 0x140027e2f
lea ecx, [rbx - 1]
add ecx, r8d
mov eax, ecx
cdq
idiv ebx
sub edx, ecx
add edx, r8d
add ebx, edx
test ebx, ebx
jle 0x140027f3c
mov eax, ebx
mov qword [rsp + 0x30], rax
test r15b, r15b
jne 0x140027eab
mov rdx, r12
mov r9, r11
test edi, edi
jle 0x140027f16
movsxd rax, dword [rsp + 0x98]
movzx r10d, r14b
shr r10, 3
mov qword [rsp + 0x38], rax
mov r13d, edi
test rsi, rsi
je 0x140027e92
mov r11, r9
mov r8, rdx
sub r11, rdx
mov rbx, rsi
mov cl, byte [r11 + r8]
xor cl, byte [r8]
inc r8
or r15b, cl
sub rbx, 1
jne 0x140027e7a
mov rax, qword [rsp + 0x38]
add rdx, r10
add r9, rax
sub r13, 1
jne 0x140027e69
mov r11, qword [rsp + 0x90]
test r15b, r15b
je 0x140027f16
mov r10, r12
mov rcx, r11
test edi, edi
jle 0x140027f16
movsxd r13, dword [rsp + 0x98]
mov ebx, edi
xor r11d, r11d
test rsi, rsi
je 0x140027ee5
mov r8, r10
mov rdx, rcx
sub r8, rcx
mov r9, rsi
mov r11, rsi
mov al, byte [r8 + rdx]
mov byte [rdx], al
inc rdx
sub r9, 1
jne 0x140027ed6
cmp byte [rbp + 0x2d], 0
je 0x140027ef6
cmp byte [rbp + 0x20], 0x20
jne 0x140027ef6
mov byte [r11 + rcx], 0
movzx r14d, byte [rbp + 0x20]
add rcx, r13
mov eax, r14d
shr rax, 3
add r10, rax
sub rbx, 1
jne 0x140027ebf
mov r11, qword [rsp + 0x90]
movsxd rax, dword [rbp + 0x18]
add r12, rax
movsxd rax, dword [rsp + 0xa8]
add r11, rax
sub qword [rsp + 0x30], 1
mov qword [rsp + 0x90], r11
jne 0x140027e3e
test r15b, r15b
sete al
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140029e48
Capabilities:
Reference the vmware io port

Disassembly:
mov eax, 0x5658
mov dword [rcx], 0x564d5868
mov word [rcx + 0x18], ax
jmp 0x140029e90
push rbx
push rsi
push rdi
mov rax, rcx
push rax
mov rdi, qword [rax + 0x28]
mov rsi, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rax]
in eax, dx
xchg qword [rsp], rax
mov qword [rax + 0x28], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 8], rbx
pop qword [rax]
pop rdi
pop rsi
pop rbx
ret
Function at 0x140048000
Capabilities:
Check os version
Create device object

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x14003a618]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
test rcx, rcx
je 0x1400480f6
test rdx, rdx
je 0x1400480f6
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x14004806f
cmp dword [rsp + 0x54], 6
ja 0x14004805b
jne 0x14004806f
cmp dword [rsp + 0x58], 2
jb 0x14004806f
mov dword [0x14003cbc0], 0x200
mov dword [0x14003cbc4], 0x40000000
call fcn.14000faf8
call fcn.14001013c
call fcn.14002c424
lea rdx, [0x1400481b0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [0x14003cc00]
mov r9d, 0x23
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
js 0x1400480ef
lea rax, [0x1400457a0]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x80], rax
lea rax, [0x1400457f0]
mov qword [rbx + 0xe8], rax
lea rax, [0x140045920]
mov qword [rbx + 0x68], rax
jmp 0x1400480fb
call fcn.1400101f0
jmp 0x1400480fb
mov edi, 0xc000000d
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14001f7c0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x140055a30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140055a3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140055a4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140055a35
lea eax, [rcx + 1]
jmp 0x140055a5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140055a6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140055a54
sub eax, 3
jb 0x140055a8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140055add
sar eax, 1
movsxd rbp, eax
jb 0x140055ac4
jmp 0x140055a9c
add ebx, ebx
jne 0x140055a9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140055ac4
inc ecx
add ebx, ebx
jne 0x140055aaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140055ac4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140055abd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140055aac
add ecx, 2
jmp 0x140055ac9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400559f2
jmp 0x140055a3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140055b29
cmp rsi, rcx
jae 0x140055b31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140055b10
cmp al, 0x8f
ja 0x140055b10
cmp byte [rsi - 2], 0xf
je 0x140055b16
sub al, 0xe8
cmp al, 1
ja 0x140055afa
cmp rsi, rcx
jae 0x140055b31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140055b00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140055b31
lodsb al, byte [rsi]
jmp 0x140055b10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x53000]
mov eax, dword [rdi]
or eax, eax
je 0x140055b9a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6084c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140055b3e
jns 0x140055b73
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140055b7d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140055b94
mov qword [rbx], rax
add rbx, 8
jmp 0x140055b5e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140055bd4
cmp al, 0xef
ja 0x140055bc6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140055ba6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140055bb5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140055c28
sub rsp, 0xffffffffffffff80
jmp 0x14000cdb0
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.100169000
add rsp, 0x28
jmp 0x10001e024
Function at 0x1400115c3
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f020
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret