joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004030
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x78]
call fcn.140006cc0
nop
lea rcx, [rsp + 0x78]
call fcn.140003f20
movzx eax, al
test eax, eax
jne 0x140004080
mov dword [rsp + 0x24], 1
jmp 0x140004088
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x78]
call fcn.140006c10
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400040ab
xor al, al
jmp 0x140004261
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0xf8]
call fcn.14000a600
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.140003940
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.140003040
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [0x140018a84]
lea rcx, [rsp + 0x98]
call fcn.14000a650
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.140003cc0
movzx eax, al
test eax, eax
jne 0x140004169
mov dword [rsp + 0x28], 1
jmp 0x140004171
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x98]
call fcn.1400071d0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400071d0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400030c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400030c0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400041c1
xor al, al
jmp 0x140004261
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x138]
call fcn.140007320
nop
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x138]
call fcn.1400071a0
lea rcx, [rsp + 0x138]
call fcn.140007000
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 0x14000423e
mov dword [rsp + 0x2c], 1
jmp 0x140004246
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x138]
call fcn.1400071d0
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140015f00
add rsp, 0x168
ret
Function at 0x1400046e0
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x98]
call fcn.140007320
nop
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x98]
call fcn.1400071a0
lea rcx, [rsp + 0x98]
call fcn.140007000
mov rdx, rax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
test eax, eax
jne 0x140004778
mov byte [rsp + 0x20], 1
jmp 0x14000477d
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400047ab
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x98]
call fcn.1400071d0
movzx eax, byte [rsp + 0x22]
jmp 0x14000487a
lea rcx, [rsp + 0x78]
call fcn.140003b00
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 + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140003040
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xd8]
call fcn.14000a7b0
nop
lea rcx, [rsp + 0x58]
call fcn.1400071d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400030c0
mov rcx, qword [rsp + 0x110]
call fcn.140003bb0
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140004849
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140004849
mov dword [rsp + 0x28], 1
jmp 0x140004851
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0xd8]
call fcn.1400071d0
nop
lea rcx, [rsp + 0x98]
call fcn.1400071d0
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140015f00
add rsp, 0x108
ret
Function at 0x1400058e0
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 0x140005919
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 0x140005a07
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 0x1400059af
cmp qword [rsp + 0x20], 0
jle 0x1400059af
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140005959
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.140009a20
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 0x1400059f7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400059f7
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
Function at 0x140005a10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140005a44
xor eax, eax
jmp 0x140005c40
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140005a76
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140005c40
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140005b27
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140005c60
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140009a20
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], 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 + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140005c30
mov rcx, qword [rsp + 0x80]
call fcn.140007900
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140005bdd
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140005bd8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140005c40
jmp 0x140005b53
cmp qword [rsp + 0x50], 0
jbe 0x140005c30
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015f00
add rsp, 0x78
ret
Function at 0x1400079c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400079fd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140007a04
mov al, 1
jmp 0x140007b5e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140009940
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140009940
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1400099a0
movzx eax, al
test eax, eax
je 0x140007a5b
xor al, al
jmp 0x140007b5e
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140007acb
cmp dword [rsp + 0x30], 1
je 0x140007ad7
cmp dword [rsp + 0x30], 3
je 0x140007b4c
jmp 0x140007b5c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140007b23
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140007b23
xor al, al
jmp 0x140007b5e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140007b3d
mov dword [rsp + 0x34], 1
jmp 0x140007b45
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140007b5e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140007b5e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140015f00
add rsp, 0xa8
ret
Function at 0x140011850
Capabilities:
Create process on windows
Suspend thread

Disassembly:
push rdi
sub rsp, 0xf0
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.C:WindowsSystem32RuntimeBroker.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140015f00
add rsp, 0xf0
pop rdi
ret
Function at 0x140011910
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.140011850
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
call fcn.140004d90
mov qword [rsp + 0x38], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140046348], eax
jle 0x1400119d3
lea rcx, [0x140046348]
call fcn.1400160b0
cmp dword [0x140046348], 0xffffffff
jne 0x1400119d3
xor r8d, r8d
lea rdx, str.PsAcquireProcessExitSynchronization
lea rcx, [0x14002c6d8]
call fcn.140002850
mov qword [0x140046340], rax
lea rcx, [0x140046348]
call fcn.140016050
mov r8, qword [rsp + 0x38]
mov rdx, qword [0x140046340]
mov rcx, qword [rsp + 0x20]
call fcn.140011b60
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x140011a29
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.140011d90
mov rax, qword [rsp + 0x98]
jmp 0x140011b4b
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140011a6f
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
call fcn.140011d90
mov rax, qword [rsp + 0x98]
jmp 0x140011b4b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.140010340
mov edx, eax
mov rcx, qword [rsp + 0x20]
call fcn.140004d90
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov r8, rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
call fcn.140010680
mov rax, qword [rsp + 0x38]
add rax, 0x28
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.1400108f0
lea rcx, [0x14002c6f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.PsGetProcessPeb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [rax + 3]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140011dd0
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140011e90
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.140011d90
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140015f00
add rsp, 0x88
ret
Function at 0x1400123d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140045010]
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 0x140012476
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 0x14001241a
cmp dword [rsp + 0x30], 0
jge 0x140012497
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001258d
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x1400124b5
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 0x140012578
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.140007320
lea rcx, [rsp + 0x58]
call fcn.140007000
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 0x140012569
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.1400071d0
mov rax, qword [rsp + 0x48]
jmp 0x14001258d
lea rcx, [rsp + 0x58]
call fcn.1400071d0
jmp 0x1400124ab
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.140015f00
add rsp, 0x88
ret
Function at 0x140013f90
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x48]
call fcn.1400147e0
nop
mov rax, qword [rsp + 0x100]
add rax, 0x40
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x50]
call fcn.1400147e0
nop
lea rcx, [0x140045e00]
call fcn.14000c490
test rax, rax
je 0x140014014
jmp 0x140014201
mov r8d, 1
xor edx, edx
lea rcx, [0x1400399d8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140046480], rax
mov r8b, 1
mov rdx, qword [str.NtShutdownSystem]
lea rcx, [0x1400399e8]
call fcn.140002850
mov dword [0x14004647c], eax
xor edx, edx
mov eax, dword [0x14004647c]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x140046478], ax
mov edx, 0x18
lea rcx, [rsp + 0xa8]
call fcn.1400025a0
lea rcx, [rsp + 0xa8]
call fcn.140014730
nop
lea rax, [0x140046100]
mov qword [rsp + 0x38], rax
mov edx, 8
lea rcx, [rsp + 0xa0]
call fcn.1400025a0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call fcn.140006980
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
call fcn.140006950
jmp 0x1400140d5
lea rcx, [rsp + 0xa0]
call fcn.1400068a0
movzx edx, byte [rsp + 0x98]
lea rcx, [rsp + 0xa0]
call fcn.1400068e0
movzx eax, al
test eax, eax
je 0x140014190
lea rcx, [rsp + 0xa0]
call fcn.1400068c0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
lea rax, [0x1400143e0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.140014aa0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa8]
call fcn.140014230
nop
lea rcx, [rsp + 0x88]
call fcn.140013e30
jmp 0x1400140c8
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140003030
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.140001960
mov qword [rsp + 0x78], rax
jmp 0x1400141cb
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x30], rax
je 0x1400141f3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140013ef0
jmp 0x1400141bd
lea rcx, [rsp + 0xa8]
call fcn.140014710
nop
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140015f00
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140015140
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 [0x140045010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1400025a0
mov rcx, qword [rsp + 0xa0]
call fcn.140002340
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x98]
call fcn.140002340
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002340
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
call fcn.140002340
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.1400154f0
nop
lea rax, [0x1400155d0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.140003030
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 0x140015252
lea rcx, [rsp + 0x60]
call fcn.14000c320
jmp 0x14001526d
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.140015440
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140015f00
add rsp, 0x78
ret