joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400151a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140093020]
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.140045d80
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14001528f
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 0x14001528f
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14001528f
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x14001528f
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 0x14001528f
cmp dword [rsp + 0x80], 0x4550
jne 0x14001528f
mov al, 1
jmp 0x140015291
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret

Function at 0x1400154b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov ebx, r8d
lea rcx, [rsp + 0x20]
call fcn.140012cd0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140013230
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002db0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x80], ebx
call fcn.140002d40
lea rcx, [rsp + 0x60]
call fcn.140002bf0
lea rcx, [rsp + 0x60]
mov rbx, rax
call fcn.140002c00
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add rbx, rbx
je 0x140015554
movabs r9, 0x100000001b3
nop dword [rax]
movzx edx, byte [rax + r8]
inc r8
xor rcx, rdx
imul rcx, r9
cmp r8, rbx
jb 0x140015540
movsxd r9, dword [rsp + 0x80]
lea r8, [rsp + 0x60]
xor r9, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x18]
call fcn.140016630
cmp qword [rax + 8], 0
je 0x140015587
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0x18]
call fcn.140015960
lea rcx, [rsp + 0x60]
call fcn.140002d40
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140015960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rdi, rdx
mov rcx, rdx
call fcn.140002bf0
mov rcx, rdi
mov rbx, rax
call fcn.140002c00
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
add rbx, rbx
je 0x1400159c4
movabs rdx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + r8]
inc r8
xor r9, rcx
imul r9, rdx
cmp r8, rbx
jb 0x1400159b0
movsxd rbx, dword [rdi + 0x20]
lea rdx, [rsp + 0x20]
xor rbx, r9
mov r8, rdi
mov r9, rbx
mov rcx, rsi
call fcn.140016630
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x140015a79
mov rdx, qword [rsi + 0x30]
and rdx, rbx
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x140015a1f
cmp rax, rdi
jne 0x140015a15
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140015a2a
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x140015a2a
cmp rax, rdi
jne 0x140015a2a
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
lea rcx, [rdi + 0x38]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
call fcn.140008e30
lea rcx, [rdi + 0x10]
call fcn.140002d40
call fcn.140001130
mov edx, 0x48
mov rcx, rdi
call fcn.140005450
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140018570
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx ebx, dl
test rcx, rcx
je 0x14001859c
jle 0x140018598
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400185b1
jle 0x1400185ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400185c4
jle 0x1400185c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rsi
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400185d9
jle 0x1400185d5
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
test bl, bl
jne 0x14001864a
lea rcx, [rdi + 0xf8]
mov word [rsp + 0x38], si
call fcn.140002960
lea rdx, [rsp + 0x38]
mov qword [rdi + 0x108], rsi
mov rcx, rax
call fcn.140004080
cmp byte [rdi + 0x1c], sil
je 0x140018625
lea rcx, [rdi + 0x118]
call fcn.140002c00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rdi + 0x118]
mov word [rsp + 0x38], si
call fcn.140002960
lea rdx, [rsp + 0x38]
mov qword [rdi + 0x128], rsi
mov rcx, rax
call fcn.140004080
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140019260
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 [0x140093020]
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.140045d80
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.1400194b0
mov r15, rax
test rax, rax
je 0x140019472
test rdi, rdi
jne 0x1400193d9
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.140045d80
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 0x140019344
mov eax, 0xc0150002
jmp 0x140019474
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 0x1400193c5
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x1400193a4
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 rdx, [rbp - 0x70]
call fcn.140003570
nop
jmp 0x14001942c
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140019474
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea r14, [rsi + 0xf8]
lea r15, [rsi + 0x118]
cmp r15, r14
je 0x14001942c
mov rcx, r14
call fcn.140003390
mov rcx, r15
call fcn.140003390
mov rdi, qword [r14 + 0x10]
mov rcx, r14
call fcn.140002960
mov r8, rdi
mov rdx, rax
mov rcx, r15
call fcn.1400035b0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x140019455
test rcx, rcx
jle 0x14001944e
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x140019472
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14001949f
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400433a0
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 0x140019474
Function at 0x140019f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r12, rdx
mov r14, rcx
mov rcx, r8
call fcn.140002bf0
mov rbx, rax
mov rcx, rdi
call fcn.140002c00
movabs rsi, 0xcbf29ce484222325
xor r13d, r13d
mov r9d, r13d
add rbx, rbx
je 0x140019f74
movabs rdx, 0x100000001b3
nop
movzx ecx, byte [rax + r9]
xor rsi, rcx
imul rsi, rdx
inc r9
cmp r9, rbx
jb 0x140019f60
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140011cc0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140019f9f
mov qword [r12], rax
mov byte [r12 + 8], r13b
jmp 0x14001a172
mov rbx, qword [r14 + 0x10]
movabs rax, 0x38e38e38e38e38e
mov qword [rsp + 0x80], rax
call fcn.1400011a0
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x90]
call fcn.140002a20
cmp rbx, qword [rax]
je 0x14001a18d
lea r15, [r14 + 8]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.140005400
mov qword [rsp + 0x38], rax
lea rbp, [rax + 0x10]
mov qword [rsp + 0x80], rbp
call fcn.140001130
mov rdx, rbp
mov ecx, 0x38
call fcn.140001120
mov rbx, rax
mov rdx, rdi
mov rcx, rax
call fcn.1400103f0
lea rcx, [rbx + 0x20]
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
lea rdx, [0x140085c58]
call fcn.140001650
nop
mov rcx, qword [r14 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14001a059
cvtsi2ss xmm0, rcx
jmp 0x14001a06e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [r14 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a081
cvtsi2ss xmm1, rcx
jmp 0x14001a096
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r14]
seta al
test al, al
je 0x14001a153
mov rcx, r14
call fcn.140011820
mov rax, qword [r14 + 0x30]
and rax, rsi
add rax, rax
mov r13, qword [r14 + 0x18]
mov rdi, qword [r13 + rax*8 + 8]
mov rcx, qword [r15]
cmp rdi, rcx
jne 0x14001a0d3
mov qword [rsp + 0x20], rcx
jmp 0x14001a13f
mov r13, qword [r13 + rax*8]
nop dword [rax + rax]
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx + 0x10]
call fcn.140002960
mov r15, rax
mov rbp, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x80]
call fcn.140002960
cmp rbp, rbx
jne 0x14001a118
mov r8, rbp
mov rdx, r15
mov rcx, rax
call fcn.1400040e0
test eax, eax
je 0x14001a12b
cmp rdi, r13
je 0x14001a13a
mov rdi, qword [rdi + 8]
mov rbp, qword [rsp + 0x80]
jmp 0x14001a0e0
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
jmp 0x14001a148
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x20]
mov rdx, rsi
mov rcx, r14
call fcn.1400118e0
mov qword [r12], rax
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400426dc
int3
Function at 0x14001b3a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r8
mov r14, rdx
mov rbp, rcx
call fcn.14002b010
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r14
call fcn.140002bf0
mov rcx, r14
mov rdi, rax
call fcn.140002ee0
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test rdi, rdi
je 0x14001b424
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx edx, byte [rax + r10]
inc r10
xor r9, rdx
imul r9, rcx
cmp r10, rdi
jb 0x14001b410
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140012ae0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14001b441
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x30], rcx
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x30]
call fcn.140001650
mov rax, qword [rbp + 8]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140001650
mov rax, qword [rsp + 0x30]
lea rcx, [rbp + 0x40]
cmp rax, qword [rsp + 0x20]
je 0x14001b491
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001b497
mov rcx, qword [r15]
call rbx
jmp 0x14001b497
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001bf50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, rdx
mov r14, rcx
call fcn.14002b010
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r15
call fcn.140002bf0
mov rcx, r15
mov rdi, rax
call fcn.140002ee0
xor esi, esi
movabs r9, 0xcbf29ce484222325
mov r10d, esi
test rdi, rdi
je 0x14001bfd4
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx edx, byte [rax + r10]
inc r10
xor r9, rdx
imul r9, rcx
cmp r10, rdi
jb 0x14001bfc0
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140012ae0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14001bff1
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x30], rcx
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x30]
call fcn.140001650
mov rax, qword [r14 + 8]
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140001650
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x20]
je 0x14001c02b
mov rsi, qword [rax + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020490
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140093020]
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 0x1400205b7
mov rdx, qword [rax]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x50], rsi
add rdx, 0x18
je 0x1400205b7
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 + 0x18]
cmp qword [rsp + 0x48], rsi
je 0x1400205b7
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 0x140020546
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x14002057d
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 + 0x40], rsi
test rdx, rdx
je 0x1400205b7
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 rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400205ca
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020649
call fcn.14001da70
test al, al
je 0x140020649
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 0x14002061d
jle 0x140020619
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 0x14002063b
call fcn.140006910
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140020649
call fcn.14001d860
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
Function at 0x14002ad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
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 0x14002afd9
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140045d80
mov dword [rsp + 0x78], 0x208
mov dword [rsp + 0x7c], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002afce
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140002e30
nop
mov rbx, qword [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.140002960
mov rdi, rax
mov r15d, 0x2e
mov word [rsp + 0x70], r15w
test rbx, rbx
je 0x14002ae91
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rax
call fcn.140005e20
mov rbx, rax
test rax, rax
je 0x14002ae91
sub rbx, rdi
sar rbx, 1
jmp 0x14002ae98
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
mov rdi, qword [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.140002960
mov r14, rax
mov word [rsp + 0x68], r15w
cmp rsi, rdi
jae 0x14002aedb
sub rdi, rsi
lea rcx, [rax + rsi*2]
lea r8, [rsp + 0x68]
mov rdx, rdi
call fcn.140005e20
mov rdi, rax
test rax, rax
je 0x14002aedb
sub rdi, r14
sar rdi, 1
jmp 0x14002aee2
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x14002afc5
cmp rbx, 0xffffffffffffffff
je 0x14002afc5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x80]
call fcn.140003390
lea r8, [rsp + 0x68]
movzx edx, byte [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140004db0
nop
lea r8, [rsp + 0x38]
lea rdx, [0x140085c58]
lea rcx, [rsp + 0x60]
call fcn.140001660
lea rcx, [rsp + 0x38]
call fcn.1400034a0
mov rax, qword [rbp - 0x70]
cmp rax, rsi
jb 0x14002b007
sub rdi, rbx
dec rdi
mov qword [rbp - 0x60], rdi
sub rax, rsi
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140002a20
mov rbx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.140002960
lea rdx, [rax + rsi*2]
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400035b0
lea rcx, [rsp + 0x60]
call fcn.140001640
nop
lea rcx, [rsp + 0x38]
call fcn.140002c00
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.14004e948
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140002d40
nop
lea rcx, [rbp - 0x80]
call fcn.140002d40
mov eax, ebx
jmp 0x14002afdb
lea rcx, [rbp - 0x80]
call fcn.140002d40
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400433a0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140013430
nop
int3
Function at 0x14002d100
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x38], rbx
jg 0x14002d199
lea r8, [rcx + 0x18]
lea rdx, str..pipe_
lea rcx, [rbp - 0x29]
call fcn.1400063d0
mov rcx, rax
call fcn.140002c00
mov rcx, rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 3]
lea r9d, [rbx + 1]
lea r8d, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rdi + 0x38]
cmp rax, rcx
je 0x14002d190
test rcx, rcx
jle 0x14002d18c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x38], rsi
lea rcx, [rbp - 0x29]
call fcn.140002d40
call fcn.140009120
mov rsi, rax
lea rdx, [0x140085eb4]
lea rcx, [rbp + 7]
call fcn.140002e30
nop
cmp qword [rsi], 0
jg 0x14002d221
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, str..BlackBone
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rcx, qword [rsi]
cmp rax, rcx
je 0x14002d1fe
test rcx, rcx
jle 0x14002d1f8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], r14
mov rcx, r14
test rcx, rcx
jle 0x14002d208
mov dword [rsi + 8], ebx
jmp 0x14002d221
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.1400103f0
mov rdx, rax
mov rcx, rsi
call fcn.1400289d0
nop
lea rcx, [rbp + 7]
call fcn.140002d40
call fcn.140009120
mov rcx, qword [rdi]
mov edx, dword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 1], ebx
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
jne 0x14002d256
mov eax, 0xc00000c0
jmp 0x14002d32c
mov dword [rbp + 0xf], edx
mov qword [rbp + 7], r15
mov dword [rbp + 0x13], 1
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp + 7]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14002d2af
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
test ebx, ebx
js 0x14002d32a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x11]
call fcn.14002d7e0
nop
call fcn.140009120
mov rcx, qword [rdi]
lea r8, [rdi + 0x18]
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rdx
mov edx, dword [rcx + 8]
mov rcx, rax
call fcn.140028c40
test eax, eax
js 0x14002d321
add rdi, 8
lea rax, [rbp - 0x11]
cmp rdi, rax
je 0x14002d321
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140001650
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x11]
mov qword [rdi], rcx
mov qword [rbp - 0x11], rdx
mov rdx, qword [rdi + 8]
mov rcx, qword [rbp - 9]
mov qword [rdi + 8], rcx
mov qword [rbp - 9], rdx
lea rcx, [rbp - 0x11]
call fcn.14002d940
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret