joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041720
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x4f0], rbx
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.14008e5d0
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x50], 0x38
lea r8, [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140041950
mov r14, rax
test rax, rax
je 0x140041915
test rbx, rbx
jne 0x1400418a5
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x1a0]
call fcn.14008e5d0
lea rdx, [rbp + 0x1a0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140041819
mov eax, 0xc0150002
jmp 0x140041917
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140041894
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x70], 0xffffffffffffffff
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rcx, [rdi + 0x118]
lea rdx, [rbp - 0x60]
call fcn.1400056b0
nop
jmp 0x1400418ce
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140041917
mov dword [rsp + 0x54], 8
movzx eax, word [rdi + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rbx
lea rdx, [rdi + 0xf8]
lea rcx, [rdi + 0x118]
call fcn.14001939c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
mov rcx, qword [rdi + 0x48]
cmp rax, rcx
je 0x1400418f5
cmp rcx, 0xffffffffffffffff
je 0x1400418f1
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rdi + 0x48], rbx
cmp qword [rdi + 0x48], 0xffffffffffffffff
jne 0x140041915
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14004193d
mov dword [rdi + 0x50], r15d
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140041917
Function at 0x1400422b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp], rax
mov rbp, qword [r8 + 0x18]
mov r11, r8
mov rbx, qword [r8 + 0x10]
mov r14, rdx
mov r10, rcx
mov r9, r8
cmp rbp, 8
jb 0x1400422eb
mov r9, qword [r8]
xor edi, edi
lea r8, [rbx + rbx]
lea rcx, [r8 + r9]
movabs rax, 0xcbf29ce484222325
cmp r9, rcx
mov rdx, r9
cmova r8, rdi
test r8, r8
je 0x140042338
movabs rdi, 0x100000001b3
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
xor rax, rcx
mov rcx, rdx
sub rcx, r9
imul rax, rdi
cmp rcx, r8
jne 0x140042320
mov rdx, qword [r10 + 0x30]
mov rdi, qword [r10 + 8]
and rdx, rax
mov rax, qword [r10 + 0x18]
add rdx, rdx
mov rsi, qword [rax + rdx*8]
lea r15, [rax + rdx*8]
mov rcx, rsi
mov rdx, rsi
mov r8, rsi
nop dword [rax + rax]
cmp rsi, rdi
jne 0x14004236a
mov rax, rdi
jmp 0x140042371
mov rax, qword [r15 + 8]
mov rax, qword [rax]
cmovne rdx, r8
cmp rdx, rax
je 0x14004244a
mov rax, r11
cmp rbp, 8
jb 0x14004238a
mov rax, qword [r11]
cmp qword [rcx + 0x28], 8
lea r10, [rcx + 0x10]
jb 0x140042399
mov r10, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x20]
cmp rdx, rbx
jne 0x1400423db
test rdx, rdx
je 0x1400423e9
movzx r8d, word [r10]
movzx r9d, word [rax]
cmp r8w, r9w
jl 0x1400423db
sub r10, rax
cmp r8w, r9w
jg 0x1400423db
cmp rdx, 1
je 0x1400423e9
movzx r8d, word [rax + r10 + 2]
add rax, 2
dec rdx
movzx r9d, word [rax]
cmp r8w, r9w
jge 0x1400423bc
mov rcx, qword [rcx]
mov rdx, rcx
mov r8, rcx
jmp 0x140042360
cmp qword [rcx + 0x28], 8
lea rdx, [rcx + 0x10]
mov rax, rdx
jb 0x1400423fa
mov rax, qword [rdx]
cmp rbp, 8
jb 0x140042403
mov r11, qword [r11]
cmp rbx, qword [rdx + 0x10]
jne 0x140042442
test rbx, rbx
je 0x140042445
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jl 0x140042442
sub r11, rax
cmp dx, r8w
jg 0x140042442
cmp rbx, 1
je 0x140042445
movzx edx, word [rax + r11 + 2]
add rax, 2
dec rbx
movzx r8d, word [rax]
cmp dx, r8w
jge 0x140042423
mov rcx, rdi
mov qword [r14], rcx
jmp 0x14004244d
mov qword [r14], rdi
mov rax, r14
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x50]
add rsp, 0x10
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004c390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
mov rbx, rdx
mov r10, qword [r8 + 0x20]
lea rdx, [r8 + 0x10]
mov r11, rcx
jb 0x14004c3b2
mov rdx, qword [rdx]
xor edi, edi
lea rcx, [rdx + r10]
cmp rdx, rcx
movabs rax, 0xcbf29ce484222325
mov r9, rdx
cmova r10, rdi
test r10, r10
je 0x14004c3f9
movabs rdi, 0x100000001b3
nop dword [rax + rax]
movzx ecx, byte [r9]
inc r9
xor rax, rcx
mov rcx, r9
sub rcx, rdx
imul rax, rdi
cmp rcx, r10
jne 0x14004c3e0
mov r9, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and r9, rax
shl r9, 4
add rdx, r9
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x14004c439
cmp rax, r8
jne 0x14004c42f
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x14004c444
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x14004c444
cmp rax, r8
jne 0x14004c444
mov rcx, qword [r8]
mov qword [rdx], rcx
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.14004c280
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004c460
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x140100c08], 0
jne 0x14004c4d1
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 [0x140100bf8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x140100c00], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x140100c08], rax
lea rax, [0x140100bf8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006fa50
add rsp, 0x68
ret
Function at 0x140050240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
mov rdi, rdx
mov r11, qword [r8 + 0x20]
lea rdx, [r8 + 0x10]
mov r10, rcx
jb 0x140050262
mov rdx, qword [rdx]
add r11, r11
xor ebx, ebx
movabs rax, 0xcbf29ce484222325
mov r9, rdx
lea rcx, [r11 + rdx]
cmp rdx, rcx
cmova r11, rbx
test r11, r11
je 0x1400502a9
movabs rbx, 0x100000001b3
nop
movzx ecx, byte [r9]
inc r9
xor rax, rcx
mov rcx, r9
sub rcx, rdx
imul rax, rbx
cmp rcx, r11
jne 0x140050290
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x1400502e9
cmp rax, r8
jne 0x1400502df
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + rdx + 8], rax
jmp 0x1400502f4
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1400502f4
cmp rax, r8
jne 0x1400502f4
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov rdx, r8
dec qword [r10 + 0x10]
call fcn.14004f380
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a920
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1400fb088]
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 0x14005a95c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14005a96f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
mov edx, edi
mov rcx, rbx
call fcn.14005a680
inc edi
cmp edi, 4
jl 0x14005a971
cmp qword [rbx + 0x10], rbp
je 0x14005aa39
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140100cc4], eax
jle 0x14005a9f3
lea rcx, [0x140100cc4]
call fcn.14006fcf4
cmp dword [0x140100cc4], 0xffffffff
jne 0x14005a9f3
xor eax, eax
mov qword [0x140100cc8], 0xffffffffffffffff
mov qword [0x140100cd0], rax
lea rcx, [0x1400bb7b0]
mov dword [0x140100cd0], 0xc0000225
call fcn.1400700c4
lea rcx, [0x140100cc4]
call fcn.14006fc94
mov rax, qword [rbx]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x40], ebp
mov ecx, dword [rax + 8]
mov dword [rsp + 0x44], ecx
mov rcx, qword [0x140100cc8]
cmp rcx, 0xffffffffffffffff
jne 0x14005aa56
mov edi, 0xc00000c0
lea rsi, [rbx + 8]
test edi, edi
jns 0x14005aa34
mov rcx, rsi
call fcn.14005aac0
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x40], rbp
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
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
je 0x14005aa8c
mov edi, ebp
jmp 0x14005aaa3
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x14005aa18
lea rsi, [rbx + 8]
mov rcx, rsi
call fcn.14005aac0
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x40], rbp
jmp 0x14005aa1c
Function at 0x14005b740
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x14005b765
mov al, 1
add rsp, 0x50
pop rbx
ret
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x14005b818
cmp byte [rcx + 0x16], 0
jne 0x14005b818
mov ecx, 0x20
call fcn.14006fa7c
mov qword [rsp + 0x38], 0x12
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [str.Wow64SuspendThread]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400da450]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
mov qword [rsp + 0x28], rax
call fcn.140027c70
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14005b840
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14005b80f
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b80a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b82e
call fcn.14006fa74
movzx eax, bl
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
add rsp, 0x50
pop rbx
ret
call fcn.140097f2c
int3

Function at 0x14005b8e0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x14005b8fc
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret
Function at 0x14005b920
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x970
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov edi, edx
mov rbx, rcx
cmp edx, 4
ja 0x14005bb35
mov qword [r11 + 0x10], rbp
lea rcx, [r11 - 0x688]
xor edx, edx
mov qword [r11 + 0x18], rsi
mov r8d, 0x670
call fcn.14008e5d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14008e5d0
mov rbp, qword [rbx]
xor edx, edx
mov rax, qword [rbp + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x14005b9c5
mov r8d, 0x670
lea rcx, [rsp + 0x2f0]
call fcn.14008e5d0
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x2f0]
mov dword [rsp + 0x320], 0x100010
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14005b9f0
mov r8d, 0x2cc
lea rcx, [rsp + 0x20]
call fcn.14008e5d0
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100010
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rbp, qword [rsp + 0x988]
lea r8, [rsp + 0x360]
test sil, sil
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
js 0x14005bb0c
mov edx, dword [r8]
test edi, edi
jne 0x14005ba2c
and edx, 0xfffffffe
and edx, 0xfff3ffff
and edx, 0xfffcffff
jmp 0x14005ba89
cmp edi, 1
jne 0x14005ba42
and edx, 0xfffffffb
and edx, 0xff3fffff
and edx, 0xffcfffff
jmp 0x14005ba89
cmp edi, 2
mov eax, 0xffffffef
mov ecx, 0xffffffbf
cmovne eax, ecx
and eax, edx
mov dword [r8], eax
cmp edi, 2
jne 0x14005ba68
mov eax, 0xf3ffffef
mov ecx, 0xf3ffffbf
jmp 0x14005ba72
mov eax, 0x3fffffef
mov ecx, 0x3fffffbf
cmovne eax, ecx
mov ecx, 0xcfffffff
and eax, edx
mov edx, 0xfcffffff
cmp edi, 2
cmovne edx, ecx
and edx, eax
mov eax, edx
mov dword [r8], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x14005baa8
btr edx, 8
mov dword [r8], edx
mov rcx, rbx
call fcn.14005b740
mov edi, 0xc000071c
test sil, sil
jne 0x14005bad9
test al, al
je 0x14005bb0a
mov rax, qword [rbx]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x14005baf3
test al, al
je 0x14005bb0a
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
je 0x14005bb0a
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rsi, qword [rsp + 0x990]
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14006fa50
mov rbx, qword [rsp + 0x998]
add rsp, 0x970
pop rdi
ret
xor eax, eax
jmp 0x14005bb14
Function at 0x14005bb40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call fcn.14008e5d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14008e5d0
mov rsi, qword [rdi]
xor edx, edx
mov rax, qword [rsi + 0x10]
movzx ebp, byte [rax + 0x16]
test bpl, bpl
jne 0x14005bbde
mov r8d, 0x670
lea rcx, [rsp + 0x2f0]
call fcn.14008e5d0
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x2f0]
mov dword [rsp + 0x320], 0x100010
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14005bc09
mov r8d, 0x2cc
lea rcx, [rsp + 0x20]
call fcn.14008e5d0
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100010
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test bpl, bpl
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
jns 0x14005bc28
xor eax, eax
jmp 0x14005bd75
xor edx, edx
mov ecx, edx
mov eax, edx
nop
cmp qword [rsp + rax*8 + 0x338], rbx
je 0x14005bc55
cmp dword [rsp + rax*4 + 0x24], ebx
je 0x14005bc55
inc ecx
inc rax
cmp rax, 4
jl 0x14005bc30
mov eax, 0xc0000225
jmp 0x14005bd75
movsxd rax, ecx
test bpl, bpl
jne 0x14005bc67
mov qword [rsp + rax*8 + 0x338], rdx
jmp 0x14005bc6b
mov dword [rsp + rax*4 + 0x24], edx
mov eax, dword [r8]
test ecx, ecx
jne 0x14005bc79
mov edx, 0xfffffffe
jmp 0x14005bc97
cmp ecx, 1
jne 0x14005bc85
mov edx, 0xfffffffb
jmp 0x14005bc97
cmp ecx, 2
mov edx, 0xffffffbf
mov r9d, 0xffffffef
cmove edx, r9d
and eax, edx
mov dword [r8], eax
test ecx, ecx
jne 0x14005bca7
and eax, 0xfff3ffff
jmp 0x14005bcc4
cmp ecx, 1
jne 0x14005bcb3
and eax, 0xff3fffff
jmp 0x14005bcc4
cmp ecx, 2
jne 0x14005bcbf
and eax, 0xf3ffffff
jmp 0x14005bcc4
and eax, 0x3fffffff
mov dword [r8], eax
test ecx, ecx
jne 0x14005bcd2
mov edx, 0xfffcffff
jmp 0x14005bcf0
cmp ecx, 1
jne 0x14005bcde
mov edx, 0xffcfffff
jmp 0x14005bcf0
cmp ecx, 2
mov edx, 0xcfffffff
mov r9d, 0xfcffffff
cmove edx, r9d
and eax, edx
mov dword [r8], eax
mov ecx, eax
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
test al, 1
jne 0x14005bd11
btr ecx, 8
mov dword [r8], ecx
mov rcx, rdi
call fcn.14005b740
mov ebx, 0xc000071c
test bpl, bpl
jne 0x14005bd42
test al, al
je 0x14005bd73
mov rax, qword [rdi]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x14005bd5c
test al, al
je 0x14005bd73
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
je 0x14005bd73
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14006fa50
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005c040
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov rdi, rcx
xor eax, eax
xor esi, esi
mov qword [rcx + 0x10], rsi
movzx ebx, r8b
lea rcx, [r11 - 0x40]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x14005c0b5
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x14005c111
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 0x14005c137
cmp edx, ecx
je 0x14005c111
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.14006fa50
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x14005c103
test edx, edx
jne 0x14005c103
mov dword [rdi + 0x10], 1
jmp 0x14005c114
Function at 0x14005c720
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r9
mov rbp, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword gs:[0x30]
xor r12d, r12d
mov dword [rax + 0x1250], r12d
lea ecx, [r12 + 0x20]
call fcn.14006fa7c
mov qword [rsp + 0x70], 0x10
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.NtCreateThreadEx]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r12b
mov qword [rsp + 0x60], rax
call fcn.140027c70
mov rbx, rax
call fcn.14004af60
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.1400294b0
mov rdx, qword [rsp + 0x88]
mov rcx, rsi
cmp rdx, qword [rbx + 8]
je 0x14005c7f4
mov rbx, qword [rdx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14005c7fd
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r12
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14005c83a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c8e2
call fcn.14006fa74
mov rcx, qword [r15 + 8]
mov eax, dword [rsp + 0x100]
xor r8d, r8d
test rbx, rbx
je 0x14005c88f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
mov r9, rcx
mov edx, dword [rsp + 0x108]
mov rcx, rdi
call rbx
test eax, eax
jns 0x14005c8c0
mov qword [rdi], r12
jmp 0x14005c8c0
and eax, 1
shl eax, 2
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rdi], rax
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006fa50
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140097f2c
int3
Function at 0x140068e00
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006fa50
add rsp, 0x68
ret
Function at 0x140069ca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
mov rdi, rdx
mov r11, qword [r8 + 0x20]
lea rdx, [r8 + 0x10]
mov r10, rcx
jb 0x140069cc2
mov rdx, qword [rdx]
add r11, r11
xor ebx, ebx
movabs rax, 0xcbf29ce484222325
mov r9, rdx
lea rcx, [r11 + rdx]
cmp rdx, rcx
cmova r11, rbx
test r11, r11
je 0x140069d09
movabs rbx, 0x100000001b3
nop
movzx ecx, byte [r9]
inc r9
xor rax, rcx
mov rcx, r9
sub rcx, rdx
imul rax, rbx
cmp rcx, r11
jne 0x140069cf0
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140069d49
cmp rax, r8
jne 0x140069d3f
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + rdx + 8], rax
jmp 0x140069d54
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x140069d54
cmp rax, r8
jne 0x140069d54
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov rdx, r8
dec qword [r10 + 0x10]
call fcn.140069900
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret