joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.14001aad4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400016a7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x1400016e3
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x140027b60]
call fcn.1400020a0
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x14000169d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001a840
cmp qword [rsp + 0x50], 0
jne 0x14000170a
mov qword [rsp + 0x60], 0
jmp 0x14000171d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001a820
add rsp, 0xa8
ret
Function at 0x140004140
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1400041e6
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x14000418a
cmp dword [rsp + 0x30], 0
jge 0x140004207
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400042fd
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140004225
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x1400042e8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005a80
lea rcx, [rsp + 0x58]
call fcn.140005990
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400042d9
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.140005a50
mov rax, qword [rsp + 0x48]
jmp 0x1400042fd
lea rcx, [rsp + 0x58]
call fcn.140005a50
jmp 0x14000421b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x88
ret
Function at 0x1400048c0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x140027b38]
call fcn.140005390
test rax, rax
jne 0x140004906
movzx eax, word [0x140027ba8]
test eax, eax
jne 0x140004906
cmp qword [0x140027ba0], 0
je 0x14000490b
jmp 0x140004aeb
mov r8b, 1
mov rdx, qword [0x14001d9c0]
lea rcx, [0x14001da10]
call fcn.140003ae0
mov dword [0x140027bac], eax
xor edx, edx
mov eax, dword [0x140027bac]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x140027ba8], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x14001da20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140027ba0], rax
mov edx, 0x18
lea rcx, [rsp + 0x98]
call fcn.140001570
lea rcx, [rsp + 0x98]
call fcn.140001aa0
nop
lea rax, [0x140027b60]
mov qword [rsp + 0x38], rax
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.140001570
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.1400057b0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
call fcn.140005780
jmp 0x1400049cc
lea rcx, [rsp + 0x90]
call fcn.140005700
movzx edx, byte [rsp + 0x88]
lea rcx, [rsp + 0x90]
call fcn.140005740
movzx eax, al
test eax, eax
je 0x140004a81
lea rcx, [rsp + 0x90]
call fcn.140005720
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [0x140004c60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.140007940
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.140004b10
nop
lea rcx, [rsp + 0x78]
call fcn.140003980
jmp 0x1400049bf
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140002560
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.140005360
mov qword [rsp + 0x68], rax
jmp 0x140004abc
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x30], rax
je 0x140004ade
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140003a40
jmp 0x140004aae
lea rcx, [rsp + 0x98]
call fcn.140005370
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001a820
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x140009320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140001570
mov rcx, qword [rsp + 0xa0]
call fcn.140001af0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x98]
call fcn.140001af0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
call fcn.140001af0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
call fcn.140001af0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1400099b0
nop
lea rax, [0x140009a90]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.140002560
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x140009432
lea rcx, [rsp + 0x60]
call fcn.140009680
jmp 0x14000944d
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x60]
call fcn.1400096b0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x78
ret
Function at 0x14000c4a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000c4ea
mov rcx, qword [rsp + 0x50]
call fcn.140014400
mov rcx, qword [rsp + 0x60]
call fcn.140005a50
mov rax, qword [rsp + 0x50]
jmp 0x14000c61e
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14000c52e
mov rcx, qword [rsp + 0x50]
call fcn.140014400
mov rcx, qword [rsp + 0x60]
call fcn.140005a50
mov rax, qword [rsp + 0x50]
jmp 0x14000c61e
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
mov word [rsp + 0x24], ax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x14000c56a
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
movzx ecx, word [rsp + 0x24]
cmp eax, ecx
jge 0x14000c605
mov rcx, qword [rsp + 0x60]
call fcn.140005990
movzx ecx, word [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14000c5b0
inc rcx
test dl, dl
jne 0x14000c59d
xor eax, eax
jmp 0x14000c5b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000c600
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0xc]
movzx ecx, word [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rcx + 8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140014430
mov rcx, qword [rsp + 0x60]
call fcn.140005a50
mov rax, qword [rsp + 0x50]
jmp 0x14000c61e
jmp 0x14000c55d
mov rcx, qword [rsp + 0x50]
call fcn.140014400
mov rcx, qword [rsp + 0x60]
call fcn.140005a50
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x14000d790
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000d7b4
xor eax, eax
jmp 0x14000d7e2
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14000d7dd
xor eax, eax
jmp 0x14000d7e2
mov rax, qword [rsp + 8]
add rsp, 0x18
ret

Function at 0x14000dc70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140027cd8], eax
jle 0x14000dce7
lea rcx, [0x140027cd8]
call fcn.14001ac90
cmp dword [0x140027cd8], 0xffffffff
jne 0x14000dce7
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [0x140027c98]
call fcn.140005a80
lea rcx, [0x14001c8b0]
call fcn.14001aabc
nop
lea rcx, [0x140027cd8]
call fcn.14001ac30
lea rcx, [0x140027c98]
call fcn.140005990
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x60]
call fcn.140005990
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14000dd52
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000dd52
mov dword [rsp + 0x20], 1
jmp 0x14000dd5a
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x58
ret
Function at 0x14000dd80
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rsp + 0x68]
call fcn.140005a80
nop
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.1400116a0
lea rcx, [rsp + 0x68]
call fcn.140005990
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000de0a
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x34]
jmp 0x14000dfc0
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000de60
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x35]
jmp 0x14000dfc0
mov byte [rsp + 0x61], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x61]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000deb6
mov byte [rsp + 0x36], 0
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x36]
jmp 0x14000dfc0
mov byte [rsp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x62]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000df0c
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x37]
jmp 0x14000dfc0
mov rcx, qword [rsp + 0xa0]
call fcn.140011210
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140005990
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000df87
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x38]
jmp 0x14000dfc0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000dfa0
mov dword [rsp + 0x3c], 1
jmp 0x14000dfa8
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x68]
call fcn.140005a50
movzx eax, byte [rsp + 0x39]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x98
ret
Function at 0x14000e0f0
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x78]
call fcn.1400112f0
nop
lea rcx, [rsp + 0x78]
call fcn.14000dfe0
movzx eax, al
test eax, eax
jne 0x14000e140
mov dword [rsp + 0x24], 1
jmp 0x14000e148
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x78]
call fcn.1400058f0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000e16b
xor al, al
jmp 0x14000e321
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0xf8]
call fcn.140014210
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xd8]
call fcn.14000bd30
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
call fcn.14000b2a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, str.___
lea rcx, [rsp + 0x98]
call fcn.140014570
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x70]
call fcn.14000dd80
movzx eax, al
test eax, eax
jne 0x14000e229
mov dword [rsp + 0x28], 1
jmp 0x14000e231
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x98]
call fcn.140005a50
nop
lea rcx, [rsp + 0xb8]
call fcn.140005a50
nop
lea rcx, [rsp + 0xd8]
call fcn.14000b2f0
nop
lea rcx, [rsp + 0xf8]
call fcn.14000b2f0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14000e281
xor al, al
jmp 0x14000e321
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x138]
call fcn.140005a80
nop
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x138]
call fcn.1400116a0
lea rcx, [rsp + 0x138]
call fcn.140005990
mov rdx, rax
lea rcx, [rsp + 0x118]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x128]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0x128]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
jne 0x14000e2fe
mov dword [rsp + 0x2c], 1
jmp 0x14000e306
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x138]
call fcn.140005a50
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x168
ret
Function at 0x14000e790
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0xc0]
call fcn.140005a80
nop
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xc0]
call fcn.1400116a0
lea rcx, [rsp + 0xc0]
call fcn.140005990
mov rdx, rax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
test eax, eax
jne 0x14000e828
mov byte [rsp + 0x20], 1
jmp 0x14000e82d
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0xa0]
call fcn.14000c190
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call fcn.14000b2a0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.140015270
nop
lea rcx, [rsp + 0x80]
call fcn.140005a50
nop
lea rcx, [rsp + 0xa0]
call fcn.14000b2f0
mov rcx, qword [rsp + 0x140]
call fcn.14000dc70
mov byte [rsp + 0x22], al
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x60]
call fcn.140014210
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.14000bee0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b2f0
nop
jmp 0x14000e918
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14000e934
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14000e934
mov dword [rsp + 0x28], 1
jmp 0x14000e93c
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x100]
call fcn.140005a50
nop
lea rcx, [rsp + 0xc0]
call fcn.140005a50
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14001a820
add rsp, 0x138
ret
Function at 0x1400102f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140010329
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140010417
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400103bf
cmp qword [rsp + 0x20], 0
jle 0x1400103bf
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140010369
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400069a0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140010407
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140010407
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret