joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140165040
Capabilities:
Delete file

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1401662e0
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140166280
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140166280
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140166340
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
jne 0x140165126
mov rax, qword [rsp + 0x50]
add rax, 0xf8
mov rcx, rax
call fcn.140165f00
nop
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x140165112
mov rax, qword [rsp + 0x50]
add rax, 0x118
mov rcx, rax
call fcn.1400dc800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rax, qword [rsp + 0x50]
add rax, 0x118
mov rcx, rax
call fcn.140165f00
nop
add rsp, 0x48
ret
Function at 0x140179610
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.14017acf0
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140177990
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.14017acf0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140177990
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x2d0]
call fcn.1400dc800
mov r9, rax
lea r8, str.___s
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.14017b0a0
lea rcx, [rsp + 0x80]
call fcn.140177f60
mov r8, rax
lea rdx, str.systemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14017971c
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x78]
call fcn.140177d50
lea rcx, [rsp + 0x80]
call fcn.140177d50
mov eax, dword [rsp + 0x40]
jmp 0x140179892
lea rcx, [rsp + 0x78]
call fcn.140177f60
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x2c8]
call fcn.1400dc800
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x80]
call fcn.140177f50
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140179797
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x78]
call fcn.140177d50
lea rcx, [rsp + 0x80]
call fcn.140177d50
mov eax, dword [rsp + 0x44]
jmp 0x140179892
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x1401797ad
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.140177f50
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14017983b
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x78]
call fcn.140177d50
lea rcx, [rsp + 0x80]
call fcn.140177d50
mov eax, dword [rsp + 0x48]
jmp 0x140179892
lea rcx, [rsp + 0x78]
call fcn.140177f50
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x78]
call fcn.140177d50
lea rcx, [rsp + 0x80]
call fcn.140177d50
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x2b0
pop rdi
ret
Function at 0x14017a050
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x108]
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0xc8]
call fcn.140176260
nop
call fcn.14014ecb0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xc8]
call fcn.1400dc800
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
lea rdx, [0x1402bb990]
lea rcx, [rsp + 0x58]
call fcn.1400d4bf0
nop
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.140171dc0
nop
lea rcx, [rsp + 0x58]
call fcn.1400d4b00
nop
call fcn.14014ecb0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402bb9a8]
lea rcx, [rsp + 0x78]
call fcn.1400d4bf0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.1401778c0
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x78]
call fcn.1400d4b00
nop
mov r8, qword [rsp + 0x108]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x98]
call fcn.140176260
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400dc800
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rsp + 0x98]
call fcn.1400dc870
nop
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xc8]
call fcn.1400dc870
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0xf0
pop rdi
ret
Function at 0x14018f2d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xb0], 0
lea rax, [rsp + 0xb4]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_46
rep stosb byte [rdi], al
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop
movzx eax, word [rsp + 0xb0]
test eax, eax
jne 0x14018f36c
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14018edd0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.14018ea40
lea rcx, [rsp + 0x40]
call fcn.14018f010
nop
jmp 0x14018f417
mov dword [rsp + 0xa0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
nop
cmp dword [rsp + 0xa0], 1
jne 0x14018f3d9
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14018ed30
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14018e9e0
lea rcx, [rsp + 0x50]
call fcn.14018efc0
nop
jmp 0x14018f417
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14018ec90
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.14018e990
lea rcx, [rsp + 0x60]
call fcn.14018ef70
nop
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rcx, rax
call fcn.1401384d0
mov rcx, rax
call fcn.14013d5c0
movzx eax, byte [rax + 5]
test eax, eax
jne 0x14018f44c
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x18], 1
jmp 0x14018f50f
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xa8], 0
call fcn.14014ecb0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x70], rax
lea rdx, [0x1402bcf48]
lea rcx, [rsp + 0x80]
call fcn.1400d4bf0
nop
mov rax, qword [rsp + 0x100]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
mov r8, rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call fcn.14018ee70
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x80]
call fcn.1400d4b00
cmp dword [rsp + 0x34], 0
je 0x14018f50f
mov eax, dword [rsp + 0xa4]
and eax, 1
test eax, eax
je 0x14018f4f7
mov dword [rsp + 0x30], 1
jmp 0x14018f4ff
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x100]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x18], cl
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0xf0
pop rdi
ret
Function at 0x140192440
Capabilities:
Connect pipe
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
add rax, 0x38
mov rcx, rax
call fcn.14014d590
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x60], 1
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x60]
test eax, eax
je 0x140192536
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x60]
add rax, 0x38
mov rcx, rax
call fcn.14014d590
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1401924f7
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x48], 0
jmp 0x140192536
cmp dword [rsp + 0x44], 0
je 0x140192505
cmp dword [rsp + 0x44], 2
jne 0x14019251c
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140192570
nop
jmp 0x140192531
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140193360
nop
jmp 0x140192486
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x50
pop rdi
ret
Function at 0x140192570
Capabilities:
Create pipe

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x110]
add rax, 0x38
mov rcx, rax
call fcn.14014d5a0
movzx eax, al
test eax, eax
jne 0x14019265b
mov rax, qword [rsp + 0x110]
add rax, 0x18
mov r8, rax
lea rdx, [0x1402bd0f8]
lea rcx, [rsp + 0x90]
call fcn.140176260
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400dc800
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 4
mov edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rcx, qword [rsp + 0x110]
add rcx, 0x38
mov rdx, rax
call fcn.140163500
lea rcx, [rsp + 0x90]
call fcn.1400dc870
nop
call fcn.14013ac90
mov qword [rsp + 0x58], rax
lea rdx, [0x1402bd10c]
lea rcx, [rsp + 0x70]
call fcn.1400dc960
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140178380
nop
lea rcx, [rsp + 0x70]
call fcn.1400dc870
nop
call fcn.14013ac90
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call fcn.140145b90
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x120]
mov r8, qword [rsp + 0x118]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
call fcn.140179100
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x140192786
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rcx, [rsp + 0xc8]
call fcn.140190aa0
nop
call fcn.14013ac90
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call fcn.140145b90
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x110]
add rax, 0x18
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call fcn.140178e30
test eax, eax
jl 0x140192778
mov rax, qword [rsp + 0x110]
add rax, 8
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.140190460
nop
lea rcx, [rsp + 0xb0]
call fcn.140190de0
nop
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x100
pop rdi
ret
Function at 0x140194070
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x60], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
je 0x1401940ac
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140166280
nop
mov dword [rsp + 0x20], 0
jmp 0x1401940db
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x1401940f3
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.1401929c0
nop
jmp 0x1401940d1
mov rax, qword [rsp + 0x40]
add rax, 8
mov rcx, rax
call fcn.140193f90
movzx eax, al
test eax, eax
jne 0x140194151
mov rcx, qword [rsp + 0x40]
call fcn.1401932e0
test eax, eax
jge 0x140194151
mov rax, qword [rsp + 0x40]
add rax, 8
mov rcx, rax
call fcn.140193e20
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x58], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x40], 0
add rsp, 0x38
ret
Function at 0x1401960d0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 1
mov edx, Ordinal_27
mov rcx, qword [rsp + 0x98]
call fcn.140195ce0
mov rcx, qword [rsp + 0x98]
call fcn.1401953d0
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140150410
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14014b5e0
nop
lea rcx, [rsp + 0x50]
call fcn.14014d5a0
movzx eax, al
test eax, eax
jne 0x14019619c
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14014ce70
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14019618f
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x98]
call fcn.1401954a0
nop
mov rax, qword [rsp + 0x98]
jmp 0x14019629b
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_32
rep stosb byte [rdi], al
mov dword [rsp + 0x58], Ordinal_32
lea rcx, [rsp + 0x50]
call fcn.14014d590
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
mov dword [rsp + 0x24], eax
jmp 0x1401961ed
lea rcx, [rsp + 0x50]
call fcn.14014d590
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.KERNEL32.dll_Thread32Next
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140196262
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.140145bb0
cmp dword [rsp + 0x64], eax
je 0x14019620c
jmp 0x1401961d2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140194f80
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
call fcn.140194e90
nop
lea rcx, [rsp + 0x40]
call fcn.140137910
nop
jmp 0x1401961d2
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14014ce70
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140196293
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x98]
call fcn.1401954a0
nop
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x80
pop rdi
ret
Function at 0x14019a8a0
Capabilities:
Check for debugger via api
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x38], 0
je 0x14019a8e8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.140145bb0
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0x38], eax
je 0x14019a8e8
mov rcx, qword [rsp + 0x50]
call fcn.14019a840
nop
jmp 0x14019a907
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.140145bb0
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0x38], eax
jne 0x14019a907
xor eax, eax
jmp 0x14019a9c5
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.14015b940
mov rcx, rax
call fcn.14013d5c0
cmp dword [rax], 2
jne 0x14019a934
mov eax, 0xc0000024
jmp 0x14019a9c5
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.140150ba0
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rsp + 0x34], 1
jne 0x14019a95f
mov eax, 0xc0000718
jmp 0x14019a9c5
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x14019a972
mov eax, 0xc0000129
jmp 0x14019a9c5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x14019adc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x14019a9b8
mov dword [rsp + 0x30], 0
jmp 0x14019a9c1
call fcn.14013dad0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x48
ret
Function at 0x1401a0fd0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [0x1403768f8]
xor eax, eax
mov edx, dword [rsp + 0x20]
lock cmpxchg dword [rcx], edx
test eax, eax
jne 0x1401a108c
call fcn.1401a1490
nop
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.1400dc960
nop
lea rcx, [rsp + 0x28]
call fcn.1401a1290
nop
lea rcx, [rsp + 0x28]
call fcn.1400dc870
nop
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.1400dc960
nop
lea rcx, [rsp + 0x48]
call fcn.1401a1290
nop
lea rcx, [rsp + 0x48]
call fcn.1400dc870
nop
call fcn.1401a1700
lea rcx, [rsp + 0x68]
call fcn.1401c7100
lea rdx, [0x140376900]
lea rcx, [rsp + 0x68]
call fcn.1401c7230
call fcn.14018b030
mov rcx, rax
call fcn.14018afd0
nop
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x88
ret

Function at 0x1401a10b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401a1266
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x208
mov dword [rsp + 0x7c], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401a125a
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.1400dc960
nop
xor r8d, r8d
mov dx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x80]
call fcn.1401a3190
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
inc rax
mov r8, rax
mov dx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x80]
call fcn.1401a3190
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
jbe 0x1401a124c
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1401a124c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
dec rax
mov rcx, qword [rsp + 0x30]
inc rcx
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.14015bbe0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400dc800
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.140262d78
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x80]
call fcn.1400dc870
mov eax, dword [rsp + 0x38]
jmp 0x1401a1268
lea rcx, [rsp + 0x80]
call fcn.1400dc870
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x2c0
pop rdi
ret
Function at 0x1401a54c0
Capabilities:
Get system information on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
lea rcx, vtable.blackbone::Native.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1401a56c0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_46
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x18], ecx
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1401a5594
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x14], 1
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x15], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x16], 1
jmp 0x1401a569e
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdx, [rsp + 0x2c]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x28], 1
jne 0x1401a55e0
mov dword [rsp + 0x20], 1
jmp 0x1401a55e8
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x14], cl
cmp dword [rsp + 0x2c], 1
jne 0x1401a5609
mov dword [rsp + 0x24], 1
jmp 0x1401a5611
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x15], cl
cmp dword [rsp + 0x28], 1
jne 0x1401a5640
cmp dword [rsp + 0x2c], 1
jne 0x1401a5640
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
jmp 0x1401a569e
cmp dword [rsp + 0x28], 0
jne 0x1401a565f
cmp dword [rsp + 0x2c], 0
jne 0x1401a565f
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 1
jmp 0x1401a569e
cmp dword [rsp + 0x28], 1
jne 0x1401a5683
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 2
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x17], 1
jmp 0x1401a569e
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 3
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x17], 1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x70
pop rdi
ret