joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
mov bh, 0xd8
sub al, 0xe8
shl ecx, cl
loope 0x14003f617
loope 0x14003f617
shl byte [rdx + rdx*2 + 0x7cdcac3f], 0x64
out 0x86, al
cmpsb byte [rsi], byte [rdi]
xchg esp, eax
sbb ah, dh
add dword [rsi + 0x1c], edx
imul esp, dword [rdi - 0x3da56b51], 0x55be816e
ret 0x816e
invalid
push rbp
invalid
sbb al, 0x69
cmpsd dword [rsi], dword [rdi]
scasd eax, dword [rdi]
xchg esp, eax
pop rdx
ret 0x816e
xor edi, dword [rdx]
push rdx
xchg byte [rdx + 0x38030d6f], dh
jmp 0xf4edc492
call 0x14f85d52a
jge 0x14003f604
lodsb al, byte [rsi]
test dword [rbx], eax
xchg ebx, eax
push rbp
in eax, dx
ja 0x14003f6ef
jne 0x14003f6b9
mov ecx, 0x633c4795
xchg ebp, eax
cmp al, 0x63
push 0xffffffff90bc53c9
xchg esi, eax
fiadd word [rdi]
cmc
invalid
scasb al, byte [rdi]
invalid
jmp 0x14003f62e
loope 0x14003f6d6
invalid
mov sp, 0xbee3
xor dword [rdi], ebx
or al, 0xfc
or al, 0xfc
mov word [rbx - 0x7f], ds
sub dword [rsi + 0x38611a90], 0xffffffe5
mov word [rdi], ss
sub al, 0xb6
loope 0x14003f64e
je 0x14003f72b
push 0xfffffffffffffff7
lodsd eax, dword [rsi]
int3
call 0xfdb85209
pop rdx
xchg ecx, eax
add dh, byte [rbp - 0x40ba3a39]
movabs dword [0x1b2a59034b7b8a5b], eax
scasd eax, dword [rdi]
mov ch, 0x15
ret 0x699d
invalid
Function at 0x140002e20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x140002fb3
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140002fb3
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x140002eb9
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140002fd7
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140002ecf
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x140002ecf
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140002ee2
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x140002f2d
mov r9d, eax
cmp eax, 0x800
jae 0x140002efc
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x140002f2d
cmp eax, 0x10000
jae 0x140002f16
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x140002f2d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x140002fb3
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x140002f51
cmp r10d, 3
jae 0x140002f5d
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x140002f8e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x140002f70
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x140002e6e
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x140002fc2
Function at 0x140009f60
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14009e038]
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, pe_nt_image_headers64
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140054dd0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14000a04e
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 + 0x18]
test eax, eax
jne 0x14000a04e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14000a04e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x14000a04e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14000a04e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x14000a050
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140052640
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x14000b4b0
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 0x14000b4dc
jle 0x14000b4d8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000b4f1
jle 0x14000b4ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000b504
jle 0x14000b501
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14000b519
jle 0x14000b515
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 0x14000b585
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14000b53e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14000b56a
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000b562
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14000b571
add rbx, 0x118
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14000b57e
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000bbb0
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 [0x14009e038]
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.140054dd0
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.14000be30
mov r12, rax
test rax, rax
je 0x14000bde9
test rdi, rdi
jne 0x14000bd7a
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.140054dd0
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 0x14000bc94
mov eax, 0xc0150002
jmp 0x14000bdeb
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 0x14000bd69
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 0x14000bcf8
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, [rsi + 0x118]
lea rax, [rbp - 0x70]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14000bd20
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14000bd5d
mov r14, rcx
cmp rax, 8
jb 0x14000bd3f
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.140054730
mov word [rdi + r14], bx
jmp 0x14000bd67
lea r9, [rbp - 0x70]
call fcn.140006ad0
nop
jmp 0x14000bda3
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14000bdeb
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.1400068d0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14000bdcc
test rcx, rcx
jle 0x14000bdc5
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14000bde9
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14000be16
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140052640
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 0x14000bdeb
Function at 0x14000f900
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x78]
xor esi, esi
mov qword [rsp + 0x50], rsi
mov rbx, rcx
test rax, rax
je 0x14000fa27
mov rdx, qword [rax]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x60], rsi
add rdx, 0x18
je 0x14000fa27
mov rax, qword [rcx + 0x70]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea r9d, [rsi + 8]
lea r8, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp qword [rsp + 0x50], rsi
je 0x14000fa27
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 0x14000f9b6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x14000f9ed
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 0x14000fa27
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 0x14000fa3a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000faee
call fcn.14000f780
test al, al
je 0x14000faee
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x88], 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 0x14000fa98
jle 0x14000fa94
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 0x14000fad8
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000fad8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14000fad8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
mov rdi, qword [rsp + 0x88]
test rcx, rcx
je 0x14000faee
call fcn.14000f590
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140052640
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140011b20
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 [0x14009e038]
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 0x140011b90
jmp 0x140011cd2
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 0x140011cc8
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 0x140011cb2
mov ecx, 0x28
call fcn.140052660
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 0x140011c5f
mov qword [rdx], r14
mov qword [rdx + 8], rsi
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x140011c6d
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140011d80
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140011cb2
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140011cad
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 0x140011cad
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140011bd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140052640
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 0x140014f90
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x140014fc5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140014fda
jle 0x140014fd6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
nop dword [rax]
mov edx, edi
mov rcx, rbx
call fcn.140014c80
inc edi
cmp edi, 4
jl 0x140014fe0
cmp qword [rbx + 0x10], rbp
je 0x14001512f
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400a21b4], eax
jle 0x14001505b
lea rcx, [0x1400a21b4]
call fcn.140052c3c
cmp dword [0x1400a21b4], 0xffffffff
jne 0x14001505b
lea rcx, [0x14007dcd0]
mov dword [0x1400a21c4], ebp
mov qword [0x1400a21b8], rbp
mov dword [0x1400a21c0], 0xc0000225
call fcn.1400528d4
lea rcx, [0x1400a21b4]
call fcn.140052bd0
mov rax, qword [rbx]
mov dword [rsp + 0x40], ebp
mov ecx, dword [rax + 8]
mov dword [rsp + 0x44], ecx
mov rcx, qword [0x1400a21b8]
cmp rcx, 0xffffffffffffffff
je 0x1400150c4
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], ebp
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400150b9
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x1400150c4
lea rcx, [rbx + 8]
call fcn.140015150
jmp 0x140015123
mov qword [rsp + 0x78], rsi
mov rsi, qword [rbx + 8]
mov qword [rsp + 0x80], r14
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], bpl
jne 0x140015107
nop
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.1400151c0
mov rcx, rdi
mov edx, 0x38
mov rdi, qword [rdi]
call fcn.1400528ec
cmp byte [rdi + 0x19], bpl
je 0x1400150e0
mov r14, qword [rsp + 0x80]
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov rsi, qword [rsp + 0x78]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140052640
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400160e0
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 [0x14009e038]
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 0x140016157
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x1400161b3
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 0x1400161d9
cmp edx, ecx
je 0x1400161b3
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.140052640
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x1400161a5
test edx, edx
jne 0x1400161a5
mov dword [rdi + 0x10], 1
jmp 0x1400161b6
Function at 0x1400162b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], r9
mov r13d, r8d
mov r12, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
call fcn.140007830
mov r14, 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.1400044b0
nop
call fcn.140012410
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0x10
cmovae rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140016373
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140016360
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140008170
mov r10, qword [rax + 8]
test r10, r10
je 0x1400163d3
cmp r10, qword [r14 + 8]
je 0x1400163d3
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400163dd
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, r13d
mov rdx, r12
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x1400163e2
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0x10
jb 0x140016415
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001640d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016438
mov rcx, rdi
call fcn.1400528ec
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140052640
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14005ed44
int3
Function at 0x140016540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], r9d
mov r13, r8
mov r12d, edx
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x68], ebx
call fcn.140007830
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.1400044b0
nop
call fcn.140012410
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
cmp rsi, 0x10
cmovae rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140016603
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x1400165f0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140008170
mov r10, qword [rax + 8]
test r10, r10
je 0x140016656
cmp r10, qword [r14 + 8]
je 0x140016656
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140016660
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x140016665
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0x10
jb 0x140016698
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140016690
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400166bb
mov rcx, rdi
call fcn.1400528ec
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140052640
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14005ed44
int3