joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1d10
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 [0x14019d0c0]
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.14014c1f0
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], 0x38
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.1400f1f70
mov r12, rax
test rax, rax
je 0x1400f1f24
test rdi, rdi
jne 0x1400f1ea2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.14014c1f0
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 0x1400f1df4
mov eax, 0xc0150002
jmp 0x1400f1f26
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 r14b
test rax, rax
jle 0x1400f1e8e
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 r14b, r14b
je 0x1400f1e54
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 rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400f1e70
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.140066880
nop
jmp 0x1400f1ede
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x1400f1f26
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]
cmp rcx, rdx
je 0x1400f1ede
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x1400f1ed9
mov rdx, qword [rdx]
call fcn.140066880
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x1400f1f07
test rcx, rcx
jle 0x1400f1f00
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x1400f1f24
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x1400f1f51
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14011c6a0
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 0x1400f1f26
Function at 0x1400f9240
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
lea r9, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x50], rsi
add rcx, 0x78
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.1400f6760
cmp qword [rsp + 0x50], rsi
je 0x1400f933d
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
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 + 0x58]
test rcx, rcx
je 0x1400f92cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x1400f9303
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 + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x48], rsi
test rdx, rdx
je 0x1400f933d
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
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 + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400f9350
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400f93f4
call fcn.1400f6970
test al, al
je 0x1400f93f4
mov rcx, qword [rbx + 0x20]
xor edx, edx
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 0x1400f93a6
jle 0x1400f93a2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x1400f93e6
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400f93e6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400f93e6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400f93f4
call fcn.1400f6630
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14011c6a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140102630
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x1401026a0
jmp 0x1401027e2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1401027d8
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r15]
mov eax, dword [rbp + 8]
cmp dword [rsp + 0x54], eax
jne 0x1401027c2
mov ecx, 0x28
call fcn.14011c6c0
mov rsi, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r14, [rax + 0x10]
mov r8d, dword [rsp + 0x50]
mov qword [r14], rbp
mov dword [r14 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r14 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
or dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rsi
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14010276f
mov qword [rdx], r14
mov qword [rdx + 8], rsi
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x14010277d
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140102a60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401027c2
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401027bd
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401027bd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1401026e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011c6a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140102cc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140102f23
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14014c1f0
mov dword [rsp + 0x5c], 0x208
mov dword [rsp + 0x58], 1
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140102f18
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140102da0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140015310
nop
lea r8, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 7
cmova r8, r9
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140102e13
mov rcx, rax
mov rdx, r8
mov rdi, rbx
cmp word [r8], 0x2e
je 0x140102e03
nop word [rax + rax]
cmp rcx, 1
je 0x140102e06
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140102df0
mov rdi, rdx
test rdi, rdi
je 0x140102e13
sub rdi, r8
sar rdi, 1
jmp 0x140102e1a
mov rdi, 0xffffffffffffffff
lea rsi, [rdi + 1]
lea rdx, [rsp + 0x60]
cmp r10, 7
cmova rdx, r9
cmp rsi, rax
jae 0x140102e63
sub rax, rsi
lea rcx, [rdx + rsi*2]
je 0x140102e56
cmp word [rcx], 0x2e
je 0x140102e53
nop
cmp rax, 1
je 0x140102e56
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140102e40
mov rbx, rcx
test rbx, rbx
je 0x140102e63
sub rbx, rdx
sar rbx, 1
jmp 0x140102e6a
mov rbx, 0xffffffffffffffff
cmp rbx, rdi
jbe 0x140102f0e
cmp rdi, 0xffffffffffffffff
je 0x140102f0e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jb 0x140102f4d
sub rbx, rdi
lea r8, [rbx - 1]
sub rax, rsi
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
lea rdx, [rax + rsi*2]
lea rcx, [rsp + 0x30]
call fcn.140015310
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.140128730
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400152a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400152a0
mov eax, ebx
jmp 0x140102f25
lea rcx, [rsp + 0x60]
call fcn.1400152a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14011c6a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400098d0
nop
int3
Function at 0x140105880
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14019d0c0]
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 0x1401058bc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1401058d1
jle 0x1401058cd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.1401055e0
inc edi
cmp edi, 4
jl 0x1401058d3
cmp qword [rbx + 0x10], rsi
je 0x140105956
call fcn.1400e1e30
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 0x140105941
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 0x140105941
mov rax, qword gs:[0x30]
lea rcx, [rbx + 8]
call fcn.140105980
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.14011c6a0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140106680
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1401a87e0], 0
jne 0x1401066f1
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 [0x1401a87d0], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1401a87d8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1401a87e0], rax
lea rax, [0x1401a87d0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14011c6a0
add rsp, 0x68
ret
Function at 0x140107520
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, rcx
cmp r8d, 1
jne 0x14010766c
lea rbp, [rdx + 0x1f]
and rbp, 0xffffffffffffffe0
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [r14 + 0x78]
test rdi, rdi
je 0x140107589
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi + 0x18]
cmp rbp, rax
jbe 0x140107646
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140107570
mov esi, 0x8000
cmp rbp, rsi
cmova rsi, rbp
mov ecx, 0x20
call fcn.1401325bc
mov rdi, rax
test rax, rax
jne 0x1401075bb
lea rcx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor esi, esi
mov eax, esi
jmp 0x140107671
lea r12, [rax + 0x10]
mov r15, qword [r14]
test rsi, rsi
je 0x140107608
call fcn.140106680
test r15, r15
jne 0x1401075d5
mov r15, qword [rax + 0x10]
mov rax, qword [rax]
dec rsi
add rsi, rax
dec rax
not rax
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x140107628
xor esi, esi
mov eax, esi
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14012e000
nop
lea rcx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov eax, esi
jmp 0x140107671
test r12, r12
je 0x140107631
mov qword [r12], rsi
mov qword [rdi + 8], rax
xor esi, esi
mov qword [rdi + 0x18], rsi
mov rax, qword [r14 + 0x78]
mov qword [rdi], rax
mov qword [r14 + 0x78], rdi
mov rcx, qword [rdi + 0x18]
mov rsi, qword [rdi + 8]
add rsi, rcx
add rcx, rbp
mov qword [rdi + 0x18], rcx
add qword [r14 + 0x50], rbp
lea rcx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, rsi
jmp 0x140107671
call fcn.140106fc0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x1401079f0
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 [0x14019d0c0]
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 0x140107a67
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140107ac3
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 0x140107ae9
cmp edx, ecx
je 0x140107ac3
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.14011c6a0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x140107ab5
test edx, edx
jne 0x140107ab5
mov dword [rdi + 0x10], 1
jmp 0x140107ac6
Function at 0x140107bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r15d, r8d
mov r14, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
call fcn.1400ea610
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 0x14]
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.1400016c0
nop
call fcn.140102f60
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140107c73
movabs r8, 0x100000001b3
nop
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140107c60
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140018ef0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140107cd2
cmp rdx, qword [rsi + 8]
je 0x140107cd2
mov rbx, qword [rdx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x140107cdd
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8d, r15d
mov rdx, r14
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x140107ce2
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov ebx, 0xc0000138
lea rcx, [rsp + 0x30]
call fcn.140001e20
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011c6a0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140107e10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12d, r9d
mov r15, r8
mov r14d, edx
mov rbp, rcx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
call fcn.1400ea610
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x30]
call fcn.1400016c0
nop
call fcn.140102f60
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140107ec3
movabs r8, 0x100000001b3
nop
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140107eb0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140018ef0
mov r10, qword [rax + 8]
test r10, r10
je 0x140107f15
cmp r10, qword [rsi + 8]
je 0x140107f15
mov rbx, qword [r10 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x140107f20
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, r15
mov edx, r14d
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x140107f25
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov ebx, 0xc0000138
lea rcx, [rsp + 0x30]
call fcn.140001e20
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011c6a0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140107f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12d, r9d
mov r15, r8
mov r14d, edx
mov rbp, rcx
call fcn.1400ea610
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x17]
lea rdx, str.NtSetInformationProcess
lea rcx, [rsp + 0x20]
call fcn.1400016c0
nop
call fcn.140102f60
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140107ff3
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140107fe0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140018ef0
mov r10, qword [rax + 8]
test r10, r10
je 0x14010803b
cmp r10, qword [rsi + 8]
je 0x14010803b
mov rbx, qword [r10 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x140108046
mov r9d, r12d
mov r8, r15
mov edx, r14d
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x14010804b
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov ebx, 0xc0000138
lea rcx, [rsp + 0x20]
call fcn.140001e20
mov eax, ebx
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret