joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1f20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x20], 0
mov edx, Ordinal_27
lea rcx, [rsp + 0x68]
call fcn.1400d2070
lea rcx, [rsp + 0x68]
call fcn.1400d3490
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x80], 0x238
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400d1fc3
mov rcx, qword [rsp + 0x2e0]
call fcn.1400d3490
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.1400d3340
mov rax, qword [rsp + 0x2e0]
jmp 0x1400d2058
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400d201e
lea r8, [rsp + 0xac]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.1400d4960
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400d49a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400d3310
nop
lea rcx, [rsp + 0x30]
call fcn.1400d2090
jmp 0x1400d1fc3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2e0]
call fcn.1400d3360
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.1400d3340
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x2d8
ret
Function at 0x1400df000
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREIChanger
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cacf0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x198]
call fcn.1400caee0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x1a0]
call fcn.1400cadf0
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x180
pop rdi
ret
Function at 0x1400f4490
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
lea rdx, [0x1402a9f30]
call fcn.140072650
nop
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
setg al
test rbx, rbx
jg 0x1400f451b
test al, al
je 0x1400f462d
jmp 0x1400f4623
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.14026a0b0
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400f4623
nop dword [rax + rax]
cmp qword [r15 + 0x10], 0
je 0x1400f4574
mov rcx, r15
call fcn.1400d3710
mov rdx, rax
lea rcx, [rsp + 0x6c]
call fcn.14023abcc
test eax, eax
jne 0x1400f460d
lea rcx, [rsp + 0x48]
call fcn.1400d6190
mov rcx, qword [r14 + 0x10]
cmp qword [r14 + 8], rcx
mov rcx, rax
je 0x1400f45f9
call fcn.1400d6190
mov rcx, rax
call fcn.1400d6190
mov rsi, rax
mov rbp, qword [r14 + 8]
call fcn.140072190
test al, al
je 0x1400f45d6
mov rcx, rsi
call fcn.1400d6190
mov rdi, rax
mov rdx, rbp
mov ecx, 4
call fcn.140072180
mov rsi, rax
mov rcx, rdi
call fcn.1400d6190
mov ecx, dword [rax]
mov dword [rsi], ecx
add qword [r14 + 8], 4
jmp 0x1400f460d
mov rdx, rbp
mov ecx, 4
call fcn.140072180
mov rdi, rax
mov rcx, rsi
call fcn.1400d6190
mov ecx, dword [rax]
mov dword [rdi], ecx
add qword [r14 + 8], 4
jmp 0x1400f460d
call fcn.1400d6190
mov r8, rax
mov rdx, qword [r14 + 8]
mov rcx, r14
call fcn.1400f8680
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400f4550
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r14
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401016b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.14026a0b0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14010179e
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x14010179e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14010179e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x14010179e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x14010179e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x1401017a0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret

Function at 0x140107570
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1403b2860], 0
jne 0x1401075e1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1403b2850], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1403b2858], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1403b2860], rax
lea rax, [0x1403b2850]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x68
ret
Function at 0x14010c7f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14010c81c
jle 0x14010c818
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14010c831
jle 0x14010c82d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14010c844
jle 0x14010c841
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14010c859
jle 0x14010c855
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x14010c89d
lea rcx, [rbx + 0xf8]
xor edx, edx
call fcn.1400dd3d0
cmp byte [rbx + 0x1c], sil
je 0x14010c88f
lea rcx, [rbx + 0x118]
call fcn.1400d3710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
lea rcx, [rbx + 0x118]
call fcn.1400dd3d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14010db00
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.14026a0b0
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], gethostname
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14010dd40
mov r12, rax
test rax, rax
je 0x14010dcf9
test rdi, rdi
jne 0x14010dc8a
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.14026a0b0
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14010dbe4
mov eax, 0xc0150002
jmp 0x14010dcfb
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
setg r15b
test rax, rax
jle 0x14010dc79
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r15b, r15b
je 0x14010dc44
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x70]
call fcn.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov r8, rax
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.1400eb530
nop
jmp 0x14010dcb3
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14010dcfb
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
call fcn.1400eadc0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14010dcdc
test rcx, rcx
jle 0x14010dcd5
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14010dcf9
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14010dd26
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1401e1ca0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14010dcfb
Function at 0x14011d5f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x78]
xor esi, esi
mov qword [rsp + 0x48], rsi
mov rbx, rcx
test rax, rax
je 0x14011d717
mov rdx, qword [rax]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x50], rsi
add rdx, 0x18
je 0x14011d717
mov rax, qword [rcx + 0x70]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r9d, [rsi + 8]
lea r8, [rsp + 0x48]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp qword [rsp + 0x48], rsi
je 0x14011d717
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14011d6a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x14011d6dd
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x14011d717
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14011d72a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14011d7a9
call fcn.14011a880
test al, al
je 0x14011d7a9
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14011d77d
jle 0x14011d779
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rcx, qword [rbx + 0x28]
mov rdi, qword [rsp + 0x78]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rcx, rcx
je 0x14011d79b
call fcn.1400d1a00
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14011d7a9
call fcn.14011a030
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
Function at 0x140135cc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor edi, edi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140135ef1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.14026a0b0
mov dword [rsp + 0x6c], 0x208
mov dword [rsp + 0x68], 1
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140135ee6
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400d3870
nop
mov rbx, qword [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400d4330
test rbx, rbx
je 0x140135dd3
mov rcx, rax
mov esi, edi
cmp word [rax], 0x2e
je 0x140135dc3
nop dword [rax]
cmp rbx, 1
je 0x140135dc6
dec rbx
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140135db0
mov rsi, rcx
test rsi, rsi
je 0x140135dd3
sub rsi, rax
sar rsi, 1
jmp 0x140135dda
mov rsi, 0xffffffffffffffff
lea r14, [rsi + 1]
mov rbx, qword [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400d4330
cmp r14, rbx
jae 0x140135e23
sub rbx, r14
lea rcx, [rax + r14*2]
je 0x140135e16
cmp word [rcx], 0x2e
je 0x140135e13
cmp rbx, 1
je 0x140135e16
dec rbx
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140135e00
mov rdi, rcx
test rdi, rdi
je 0x140135e23
sub rdi, rax
sar rdi, 1
jmp 0x140135e2a
mov rdi, 0xffffffffffffffff
cmp rdi, rsi
jbe 0x140135edc
cmp rsi, 0xffffffffffffffff
je 0x140135edc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x30]
call fcn.1400d3970
lea rcx, [rsp + 0x40]
call fcn.1400d5ed0
nop
mov rax, qword [rbp - 0x80]
cmp rax, r14
jb 0x140135f1f
sub rdi, rsi
dec rdi
mov qword [rbp - 0x70], rdi
sub rax, r14
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1400adfe0
mov rbx, qword [rax]
lea rcx, [rsp + 0x70]
call fcn.1400d4330
lea rdx, [rax + r14*2]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400d5300
nop
lea rcx, [rsp + 0x40]
call fcn.1400d3710
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.140231578
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.1400d3780
nop
lea rcx, [rsp + 0x70]
call fcn.1400d3780
mov eax, ebx
jmp 0x140135ef3
lea rcx, [rsp + 0x70]
call fcn.1400d3780
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401e1ca0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140104ed0
nop
int3
Function at 0x14013a2c0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor esi, esi
test rcx, rcx
je 0x14013a2fc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14013a311
jle 0x14013a30d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.14013a010
inc edi
cmp edi, 4
jl 0x14013a313
cmp qword [rbx + 0x10], rsi
je 0x14013a396
call fcn.1400e1ed0
mov rcx, qword [rbx]
mov dword [rsp + 0x40], esi
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x14013a381
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], esi
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14013a381
mov rax, qword gs:[0x30]
lea rcx, [rbx + 8]
call fcn.14013b890
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x50], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140144e80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx]
cmp rdx, rcx
je 0x140144ea9
test rcx, rcx
jle 0x140144ea3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rbx + 8], eax
cmp dword [0x1403b7f7c], 0xa
jb 0x140144ef0
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x140144ef0
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x140144ef0
test rcx, rcx
jle 0x140144eed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140144f10
Function at 0x140145b80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
xorps xmm0, xmm0
xor eax, eax
xor esi, esi
mov rdi, rcx
mov qword [rcx + 0x10], rsi
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movzx ebx, r8b
mov dword [rsp + 0x28], esi
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x140145bf7
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140145c53
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [rsp + 0x20]
cmp ecx, 1
mov edx, dword [rsp + 0x24]
sete al
cmp edx, 1
mov byte [rdi + 0x14], al
sete al
mov byte [rdi + 0x15], al
cmp ecx, 1
jne 0x140145c79
cmp edx, ecx
je 0x140145c53
cmp ecx, 1
mov byte [rdi + 0x17], 1
setne sil
add esi, 2
mov dword [rdi + 0x10], esi
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x140145c45
test edx, edx
jne 0x140145c45
mov dword [rdi + 0x10], 1
jmp 0x140145c56
Function at 0x140146190
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov r15, r9
mov qword [rsp + 0x60], r9
mov r14, r8
mov qword [rsp + 0x70], r8
mov r13, rdx
mov qword [rsp + 0x78], rcx
call fcn.1400f2830
mov rdi, rax
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x80]
call fcn.1400caee0
nop
call fcn.1401362a0
lea rsi, [rdi + 0x40]
mov qword [rsp + 0x68], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebp, ebp
mov qword [rsp + 0xa0], rbp
lea r12, [rdi + 8]
lea rcx, [rsp + 0x80]
call fcn.1400dc9a0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.1400cad10
mov r8, rbx
mov rdx, rax
movabs rcx, 0xcbf29ce484222325
call fcn.1400721a0
mov rcx, qword [rdi + 0x30]
and rcx, rax
add rcx, rcx
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r12]
je 0x1401462c7
mov r15, qword [rax + rcx*8]
nop
lea rcx, [rbx + 0x10]
mov rdi, qword [rcx + 0x10]
call fcn.1400cdfd0
mov r14, rax
mov rsi, qword [rsp + 0x90]
lea rcx, [rsp + 0x80]
call fcn.1400cdfd0
cmp rsi, rdi
jne 0x14014629c
mov r8, rsi
mov rdx, r14
mov rcx, rax
call fcn.14026aaf0
test eax, eax
je 0x1401462a7
cmp rbx, r15
je 0x1401462b8
mov rbx, qword [rbx + 8]
jmp 0x140146260
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
jmp 0x1401462ca
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov rbx, rbp
test rbx, rbx
jne 0x1401462d3
mov rbx, qword [r12]
mov qword [rsp + 0xa0], rbx
mov rdx, r12
lea rcx, [rsp + 0xa0]
call fcn.140072660
mov rax, qword [r12]
mov qword [rsp + 0x60], rax
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140072660
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
cmp rax, qword [rsp + 0x60]
je 0x14014631f
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140146328
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, rbp
lea rcx, [rsp + 0x80]
call fcn.1400cadf0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov eax, dword [rsp + 0x120]
xor r8d, r8d
test rbx, rbx
je 0x140146390
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r9, rcx
mov edx, dword [rsp + 0x128]
mov rcx, r13
call rbx
test eax, eax
jns 0x1401463c9
mov qword [r13], rbp
jmp 0x1401463c9
and eax, 1
shl eax, 2
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [r13], rax
test rax, rax
jne 0x1401463c7
mov rax, qword gs:[0x30]
mov ebp, dword [rax + 0x1250]
mov eax, ebp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret