joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018c9c0
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.14018dbb0
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.14018db50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14018db50
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14018dc10
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 0x14018caa6
mov rax, qword [rsp + 0x50]
add rax, 0xf8
mov rcx, rax
call fcn.14018d840
nop
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x14018ca92
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.14018d840
nop
add rsp, 0x48
ret
Function at 0x1401a0e80
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 [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.1401a2560
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.14019f200
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401a2560
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.14019f200
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.1401a2910
lea rcx, [rsp + 0x80]
call fcn.14019f7d0
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 0x1401a0f8c
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x78]
call fcn.14019f5c0
lea rcx, [rsp + 0x80]
call fcn.14019f5c0
mov eax, dword [rsp + 0x40]
jmp 0x1401a1102
lea rcx, [rsp + 0x78]
call fcn.14019f7d0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x2c8]
call fcn.1400dc800
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x80]
call fcn.14019f7c0
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 0x1401a1007
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x78]
call fcn.14019f5c0
lea rcx, [rsp + 0x80]
call fcn.14019f5c0
mov eax, dword [rsp + 0x44]
jmp 0x1401a1102
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 0x1401a101d
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.14019f7c0
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 0x1401a10ab
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x78]
call fcn.14019f5c0
lea rcx, [rsp + 0x80]
call fcn.14019f5c0
mov eax, dword [rsp + 0x48]
jmp 0x1401a1102
lea rcx, [rsp + 0x78]
call fcn.14019f7c0
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.14019f5c0
lea rcx, [rsp + 0x80]
call fcn.14019f5c0
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x2b0
pop rdi
ret
Function at 0x1401a18c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14034e740]
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.14019dad0
nop
call fcn.140176830
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, [0x1402e4980]
lea rcx, [rsp + 0x58]
call fcn.1400d4c50
nop
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.140199660
nop
lea rcx, [rsp + 0x58]
call fcn.1400d4b60
nop
call fcn.140176830
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402e4998]
lea rcx, [rsp + 0x78]
call fcn.1400d4c50
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.14019f130
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x78]
call fcn.1400d4b60
nop
mov r8, qword [rsp + 0x108]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x98]
call fcn.14019dad0
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.14023b800
add rsp, 0xf0
pop rdi
ret
Function at 0x1401b6b00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14034e740]
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 0x1401b6b9c
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401b6600
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.1401b6270
lea rcx, [rsp + 0x40]
call fcn.1401b6840
nop
jmp 0x1401b6c47
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 0x1401b6c09
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1401b6560
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1401b6210
lea rcx, [rsp + 0x50]
call fcn.1401b67f0
nop
jmp 0x1401b6c47
mov rax, qword [rsp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1401b64c0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.1401b61c0
lea rcx, [rsp + 0x60]
call fcn.1401b67a0
nop
mov rax, qword [rsp + 0x100]
add rax, 0x10
mov rcx, rax
call fcn.140160150
mov rcx, rax
call fcn.140165240
movzx eax, byte [rax + 5]
test eax, eax
jne 0x1401b6c7c
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x18], 1
jmp 0x1401b6d3f
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xa8], 0
call fcn.140176830
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, [0x1402e5f38]
lea rcx, [rsp + 0x80]
call fcn.1400d4c50
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.1401b66a0
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x80]
call fcn.1400d4b60
cmp dword [rsp + 0x34], 0
je 0x1401b6d3f
mov eax, dword [rsp + 0xa4]
and eax, 1
test eax, eax
je 0x1401b6d27
mov dword [rsp + 0x30], 1
jmp 0x1401b6d2f
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.14023b800
add rsp, 0xf0
pop rdi
ret
Function at 0x1401b9c30
Capabilities:
Connect pipe
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x14034e740]
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.140175110
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 0x1401b9d26
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.140175110
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 0x1401b9ce7
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x48], 0
jmp 0x1401b9d26
cmp dword [rsp + 0x44], 0
je 0x1401b9cf5
cmp dword [rsp + 0x44], 2
jne 0x1401b9d0c
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1401b9d60
nop
jmp 0x1401b9d21
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1401bab50
nop
jmp 0x1401b9c76
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x50
pop rdi
ret
Function at 0x1401b9d60
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 [0x14034e740]
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.140175120
movzx eax, al
test eax, eax
jne 0x1401b9e4b
mov rax, qword [rsp + 0x110]
add rax, 0x18
mov r8, rax
lea rdx, [0x1402e60e8]
lea rcx, [rsp + 0x90]
call fcn.14019dad0
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.14018aeb0
lea rcx, [rsp + 0x90]
call fcn.1400dc870
nop
call fcn.140162910
mov qword [rsp + 0x58], rax
lea rdx, [0x1402e60fc]
lea rcx, [rsp + 0x70]
call fcn.1400dc960
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.14019fbf0
nop
lea rcx, [rsp + 0x70]
call fcn.1400dc870
nop
call fcn.140162910
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call fcn.14016d720
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.1401a0970
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1401b9f76
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.1401b8290
nop
call fcn.140162910
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call fcn.14016d720
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.1401a06a0
test eax, eax
jl 0x1401b9f68
mov rax, qword [rsp + 0x110]
add rax, 8
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.1401b7c50
nop
lea rcx, [rsp + 0xb0]
call fcn.1401b85d0
nop
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x100
pop rdi
ret
Function at 0x1401bb860
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 0x1401bb89c
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.14018db50
nop
mov dword [rsp + 0x20], 0
jmp 0x1401bb8cb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x1401bb8e3
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.1401ba1b0
nop
jmp 0x1401bb8c1
mov rax, qword [rsp + 0x40]
add rax, 8
mov rcx, rax
call fcn.1401bb780
movzx eax, al
test eax, eax
jne 0x1401bb941
mov rcx, qword [rsp + 0x40]
call fcn.1401baad0
test eax, eax
jge 0x1401bb941
mov rax, qword [rsp + 0x40]
add rax, 8
mov rcx, rax
call fcn.1401bb610
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 0x1401bd8c0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 1
mov edx, Ordinal_27
mov rcx, qword [rsp + 0x98]
call fcn.1401bd4d0
mov rcx, qword [rsp + 0x98]
call fcn.1401bcbc0
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140177f90
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140173160
nop
lea rcx, [rsp + 0x50]
call fcn.140175120
movzx eax, al
test eax, eax
jne 0x1401bd98c
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.1401749f0
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1401bd97f
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x98]
call fcn.1401bcc90
nop
mov rax, qword [rsp + 0x98]
jmp 0x1401bda8b
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.140175110
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
mov dword [rsp + 0x24], eax
jmp 0x1401bd9dd
lea rcx, [rsp + 0x50]
call fcn.140175110
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.KERNEL32.dll_Thread32Next
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1401bda52
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14016d740
cmp dword [rsp + 0x64], eax
je 0x1401bd9fc
jmp 0x1401bd9c2
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.1401bc770
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.1401bc680
nop
lea rcx, [rsp + 0x40]
call fcn.14015f5a0
nop
jmp 0x1401bd9c2
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.1401749f0
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1401bda83
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x98]
call fcn.1401bcc90
nop
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x80
pop rdi
ret
Function at 0x1401c2090
Capabilities:
Check for debugger via api
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x38], 0
je 0x1401c20d8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.14016d740
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0x38], eax
je 0x1401c20d8
mov rcx, qword [rsp + 0x50]
call fcn.1401c2030
nop
jmp 0x1401c20f7
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.14016d740
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 0x38], eax
jne 0x1401c20f7
xor eax, eax
jmp 0x1401c21b5
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.140183430
mov rcx, rax
call fcn.140165240
cmp dword [rax], 2
jne 0x1401c2124
mov eax, 0xc0000024
jmp 0x1401c21b5
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.1401786f0
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rsp + 0x34], 1
jne 0x1401c214f
mov eax, 0xc0000718
jmp 0x1401c21b5
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x1401c2162
mov eax, 0xc0000129
jmp 0x1401c21b5
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x1401c25b0]
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 0x1401c21a8
mov dword [rsp + 0x30], 0
jmp 0x1401c21b1
call fcn.140165750
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x48
ret
Function at 0x1401c87c0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [0x1403a6bb8]
xor eax, eax
mov edx, dword [rsp + 0x20]
lock cmpxchg dword [rcx], edx
test eax, eax
jne 0x1401c887c
call fcn.1401c8c80
nop
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.1400dc960
nop
lea rcx, [rsp + 0x28]
call fcn.1401c8a80
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.1401c8a80
nop
lea rcx, [rsp + 0x48]
call fcn.1400dc870
nop
call fcn.1401c8ef0
lea rcx, [rsp + 0x68]
call fcn.1401ee8f0
lea rdx, [0x1403a6bc0]
lea rcx, [rsp + 0x68]
call fcn.1401eea20
call fcn.1401b2860
mov rcx, rax
call fcn.1401b2800
nop
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x88
ret

Function at 0x1401c88a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14034e740]
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 0x1401c8a56
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 0x1401c8a4a
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.1401ca980
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.1401ca980
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
jbe 0x1401c8a3c
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1401c8a3c
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.1401836d0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400dc800
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14028a0e8
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 0x1401c8a58
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.14023b800
add rsp, 0x2c0
pop rdi
ret
Function at 0x1401cccb0
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 [0x14034e740]
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.1401cceb0
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 0x1401ccd84
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 0x1401cce8e
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 0x1401ccdd0
mov dword [rsp + 0x20], 1
jmp 0x1401ccdd8
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 0x1401ccdf9
mov dword [rsp + 0x24], 1
jmp 0x1401cce01
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 0x1401cce30
cmp dword [rsp + 0x2c], 1
jne 0x1401cce30
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
jmp 0x1401cce8e
cmp dword [rsp + 0x28], 0
jne 0x1401cce4f
cmp dword [rsp + 0x2c], 0
jne 0x1401cce4f
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 1
jmp 0x1401cce8e
cmp dword [rsp + 0x28], 1
jne 0x1401cce73
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 2
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x17], 1
jmp 0x1401cce8e
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.14023b800
add rsp, 0x70
pop rdi
ret