joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400053bc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400053ea
xor eax, eax
jmp 0x1400054d0
cmp qword [rcx + 0x68], 0
je 0x1400053fb
call fcn.140005d70
jmp 0x1400054d0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005412
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005414
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005446
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14006e930
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400054ca
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000547d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400054a6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14007cf78
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400054ca
cmp rsi, rbx
ja 0x140005484
test rsi, rsi
je 0x1400054ca
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14007cf78
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140013804
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
xor esi, esi
lea rbx, [rcx + 0x20]
mov qword [rcx + 8], rsi
lea rax, vtable.Window.0
mov qword [rcx], rax
mov rdi, rcx
mov dword [rcx + 0x10], esi
mov qword [rcx + 0x18], rsi
lea ecx, [rsi + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.14006c558
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], esi
lea edx, [rsi + 0x1f]
lea r8d, [rsi + 0x40]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rbx, [rdi + 0x30]
lea rcx, [rbx + 0x10]
mov qword [rbx + 8], rdi
lea rax, [0x140013acc]
mov qword [rcx + 2], rsi
mov qword [rbx], rax
mov eax, 0xb848
mov word [rcx], ax
mov eax, 0xe0ff
mov word [rcx + 0x1d], ax
mov dword [rcx + 0xa], 0x4894865
mov word [rcx + 0xe], 0x2825
mov byte [rcx + 0x10], sil
mov dword [rcx + 0x11], 0xb8480000
mov qword [rcx + 0x15], rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x40]
lea rax, [0x140017294]
mov qword [rbx + 0x25], rax
mov rax, rdi
mov qword [rbx + 0x12], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001393c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
xor esi, esi
call fcn.14006f000
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
or r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x1400139ab
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140009374
mov rax, rdi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140013c8c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
mov qword [rbp - 0x28], rcx
lea rax, [0x140013ea8]
mov qword [rbp - 0x1e], rsi
mov qword [rbp - 0x30], rax
lea r9, [rbp + 0x10]
mov eax, 0xb848
mov dword [rbp - 0x16], 0x4894865
mov word [rbp - 0x20], ax
lea r8d, [rsi + 0x40]
mov eax, 0xe0ff
mov word [rbp - 0x12], 0x2825
mov rdi, rdx
mov word [rbp - 3], ax
mov rbx, rcx
mov byte [rbp - 0x10], sil
lea edx, [rsi + 0x1f]
mov dword [rbp - 0xf], 0xb8480000
lea rcx, [rbp - 0x20]
mov qword [rbp - 0xb], rsi
mov dword [rbp + 0x10], esi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, word [rbx + 0x80]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x1e], rax
lea r9, [rbp - 0x20]
lea rax, [0x140017294]
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov qword [rbp - 0xb], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140013d48
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
movzx edx, r8w
xor ecx, ecx
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r14d, r14d
mov byte [rdi + 0x84], 1
mov rsi, rax
mov qword [rbp - 0x11], rdi
lea rax, [0x140013ea8]
mov qword [rbp - 7], r14
mov qword [rbp - 0x19], rax
lea r9, [rbp + 0x77]
mov eax, 0xb848
mov dword [rbp + 1], 0x4894865
mov word [rbp - 9], ax
lea edx, [r14 + 0x1f]
mov eax, 0xe0ff
mov word [rbp + 5], 0x2825
lea r8d, [r14 + 0x40]
mov word [rbp + 0x14], ax
lea rcx, [rbp - 9]
mov byte [rbp + 7], r14b
mov dword [rbp + 8], 0xb8480000
mov qword [rbp + 0xc], r14
mov dword [rbp + 0x77], r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, word [rdi + 0x80]
lea rax, [rbp - 0x19]
mov qword [rbp - 7], rax
lea r9, [rbp - 9]
lea rax, [0x140017294]
mov qword [rsp + 0x20], r14
mov r8, rbx
mov qword [rbp + 0xc], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rcx, rax
mov qword [rdi + 8], rax
lea edx, [r14 + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140013e7d
xor r9d, r9d
lea rcx, [rbp + 0x17]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x140013e8b
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x17]
mov rdx, rsi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140013e7d
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x140013e7d
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140013e2c
lea r11, [rsp + 0x90]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140014ae0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
lea rbx, str.BlackBoneDrv7.sys
mov eax, dword [0x1400d01bc]
test eax, eax
je 0x140014b53
cmp eax, 9
ja 0x140014b4c
cmp eax, 6
ja 0x140014b43
jb 0x140014b53
mov rcx, qword [0x1400d01c0]
cmp ecx, 3
jae 0x140014b43
lea rax, str.BlackBoneDrv8.sys
cmp ecx, 2
cmovb rax, rbx
mov rbx, rax
jmp 0x140014b53
lea rbx, str.BlackBoneDrv81.sys
jmp 0x140014b53
lea rbx, str.BlackBoneDrv10.sys
lea rcx, [rbp + 0x2f]
call fcn.1400284e0
nop
mov r8d, 1
lea rdx, [0x1400b8c80]
mov rcx, rax
call fcn.140009ff0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x140014ba3
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.140009ff0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140014c3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rbx
jb 0x140014c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014cc5
call fcn.14006c550
movdqa xmm0, xmmword [0x1400ba940]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140014c84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rbx
jb 0x140014c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014cbf
call fcn.14006c550
movdqa xmm0, xmmword [0x1400ba940]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
lea rcx, [rbp + 0x2f]
call fcn.140007668
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14007d788
nop
call fcn.14007d788
int3
Function at 0x140018628
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
and qword [0x1400d0410], 0
lea rdx, [0x1400af674]
and dword [0x1400d041c], 0
lea rcx, [0x1400d0440]
and dword [0x1400d0420], 0
lea rdi, [0x1400d0410]
and qword [0x1400d0428], 0
xor eax, eax
and qword [0x1400d0430], 0
xorps xmm0, xmm0
and qword [0x1400d0450], rax
and qword [0x1400d0458], rax
lea r8d, [rax + 1]
mov byte [0x1400d0418], 1
movups xmmword [0x1400d0438], xmm0
mov qword [0x1400d0448], rax
call fcn.140009374
and qword [0x1400d0460], 0
lea r8, [0x1400187d4]
xor ecx, ecx
mov r9, rdi
and qword [rsp + 0x28], rcx
xor edx, edx
and dword [rsp + 0x20], ecx
mov qword [0x1400d0430], rcx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400d0428], rax
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x14001880c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400076cc
nop
lea rcx, [rsp + 0x40]
call fcn.1400076cc
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140018978
test byte [rbx + 0xc], 2
je 0x140018869
mov r8d, 0x47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400188b4
test byte [rbx + 0xc], 1
je 0x14001887f
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400188b4
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x1400188a2
lea rcx, [rsp + 0x20]
call fcn.140004d34
mov r9b, 1
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call rdi
and qword [rbx + 0x18], 0
mov ecx, 0x1337
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400188b4
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov rax, rdx
mov rbx, rcx
jb 0x1400188d6
mov rax, qword [rdx]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [rbx + 0x10]
mov rdi, rax
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x44], rcx
mov dword [rsp + 0x4c], 1
cmp rax, 0xffffffffffffffff
je 0x140018965
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b8f8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor eax, eax
mov rbx, rdx
mov edx, dword [rdx + 0xa4]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov rdi, rcx
movups xmmword [rsp + 0x50], xmm0
test edx, edx
jne 0x14001b93d
cmp dword [rbx + 0xc0], eax
jne 0x14001b93d
mov eax, dword [rbx + 0x98]
mov dword [rbx + 0xc0], eax
lea r10, [rbx + 0x78]
cmp qword [r10 + 0x18], 8
jb 0x14001b94b
mov r10, qword [r10]
lea r9, [rbx + 0x58]
cmp qword [r9 + 0x18], 8
jb 0x14001b959
mov r9, qword [r9]
movzx eax, byte [rbx + 0xb4]
movzx ecx, byte [rbx + 0xb5]
movzx r8d, byte [rbx + 0xb6]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
mov r9d, dword [rbx + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0x30], ecx
lea rcx, str.Injection_initiated._Mode:__d__process_type:__d__pid:__d__mmap_flags:_0x_X__erasePE:__d__unlink:__d__thread_hijack:__d__init_routine:__s__init_arg:__ls
mov dword [rsp + 0x28], r8d
mov r8d, dword [rbx + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.1400196f4
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140019c40
mov esi, eax
test eax, eax
jne 0x14001baa4
mov ecx, dword [rbx + 0xa8]
test ecx, ecx
je 0x14001b9d4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rbx + 0xd0]
mov r14, qword [rbx + 0xc8]
jmp 0x14001ba08
mov r8, qword [r14]
mov rdx, rbx
mov rcx, rdi
call fcn.14001babc
mov ecx, dword [rbx + 0xac]
or esi, eax
test ecx, ecx
je 0x14001ba04
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14, 0x10
cmp r14, rbp
jne 0x14001b9e4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001ba2c
test esi, esi
jne 0x14001ba26
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001ba3c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x14001ba93
test byte [rbx + 0x9c], 0x10
je 0x14001ba93
mov eax, dword [rbx + 0xa4]
cmp eax, 1
je 0x14001ba59
cmp eax, 4
jne 0x14001ba93
mov rdx, qword [rdi + 0x3a8]
lea rcx, [rdi + 0x3a0]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x98], eax
cmp rdx, qword [rdi + 0x3b0]
je 0x14001ba86
mov dword [rdx], eax
add qword [rdi + 0x3a8], 4
jmp 0x14001ba93
lea r8, [rsp + 0x98]
call fcn.14001e008
lea rcx, [rdi + 8]
cmp qword [rcx], 0
je 0x14001baa2
call fcn.140034150
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400284e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov qword [rsp + 0x68], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.14006f000
mov dword [rsp + 0x68], 0x104
call fcn.140027a30
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea ecx, [rdi + 0x20]
call fcn.14006c558
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x1a
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.QueryFullProcessImageNameW]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400b9450]
movsd qword [rax + 0x10], xmm1
movzx eax, word [0x1400b9458]
mov word [rbx + 0x18], ax
mov byte [rbx + 0x1a], dil
call fcn.1400483a0
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r9, 0xcbf29ce484222325
mov ecx, edi
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x1a
jb 0x1400285b0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140028dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400285e9
cmp rdx, qword [r14 + 8]
je 0x1400285e9
mov rdi, qword [rdx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rbx
call fcn.14006c550
test rdi, rdi
je 0x14002861f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
xor edx, edx
call rdi
jmp 0x140028631
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140028650
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140009374
nop
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.140028290
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400286b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400286b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400286e2
call fcn.14006c550
mov rax, rbp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14007d788
int3

Function at 0x140028b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x140028b4e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x140034320
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rdx
mov rdi, 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
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
setg bpl
test rax, rax
jle 0x140034418
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.14006f000
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140034418
nop
cmp qword [rsi + 0x10], 0
je 0x1400343e2
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400343d4
mov rdx, qword [rsi]
lea rcx, [rsp + 0x6c]
call fcn.14007f5d8
test eax, eax
jne 0x140034406
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400343f9
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140034406
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.140034af0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400343c0
test bpl, bpl
je 0x140034427
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006c530
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035ca0
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 [0x1400cc0b8]
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 0x140035d10
jmp 0x140035e52
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 0x140035e48
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 0x140035e32
mov ecx, 0x28
call fcn.14006c558
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 0x140035ddf
mov qword [rdx], r14
mov qword [rdx + 8], rsi
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x140035ded
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.1400361d0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140035e32
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140035e2d
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 0x140035e2d
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 0x140035d50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006c530
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 0x140036d10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15d, edx
mov rbp, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r12d, byte [rcx + 0x15]
xor eax, eax
test r12b, r12b
sete al
mov dword [rsp + 0x20], eax
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r9, qword [rbp + 0x20]
mov rdx, qword [r9]
cmp rdx, r9
je 0x140036e30
movabs rcx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rsi, qword [rdx]
mov rax, qword [rdx + 0x38]
cmp byte [rax + 0x58], 0
jne 0x140036e1c
mov r11, qword [rdx + 0x20]
lea r10, [rdx + 0x10]
cmp qword [rdx + 0x28], 8
jb 0x140036da6
mov r10, qword [rdx + 0x10]
mov r8, rcx
xor eax, eax
add r11, r11
je 0x140036dc8
movzx ecx, byte [rax + r10]
xor r8, rcx
imul r8, rbx
inc rax
cmp rax, r11
jb 0x140036db0
mov r9, qword [rbp + 0x20]
movsxd rcx, dword [rdx + 0x30]
xor rcx, r8
and rcx, qword [rbp + 0x48]
add rcx, rcx
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + rcx*8]
cmp qword [rax + rcx*8 + 8], rdx
jne 0x140036e00
cmp r8, rdx
jne 0x140036df5
mov qword [rax + rcx*8], r9
mov qword [rax + rcx*8 + 8], r9
jmp 0x140036e09
mov r9, qword [rdx + 8]
mov qword [rax + rcx*8 + 8], r9
jmp 0x140036e09
cmp r8, rdx
jne 0x140036e09
mov qword [rax + rcx*8], rsi
lea rcx, [rbp + 0x20]
call fcn.14003ca70
movabs rcx, 0xcbf29ce484222325
mov r9, qword [rbp + 0x20]
mov rdx, rsi
cmp rsi, r9
jne 0x140036d82
lea rbx, [rbp + 0x58]
mov r8d, dword [rsp + 0x20]
mov edx, r15d
mov rcx, rbp
call fcn.14003a1c0
test r15d, r15d
jne 0x140036e59
test r12b, r12b
je 0x140036e59
xor edx, edx
lea r8d, [r15 + 1]
mov rcx, rbp
call fcn.14003a1c0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret