joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d1c0
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 [0x1400c50b0]
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.14006ba60
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.14003d3f0
mov r12, rax
test rax, rax
je 0x14003d3a5
test rdi, rdi
jne 0x14003d336
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.14006ba60
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 0x14003d2a4
mov eax, 0xc0150002
jmp 0x14003d3a7
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 r15b
test rax, rax
jle 0x14003d325
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 r15b, r15b
je 0x14003d304
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.1400066f4
nop
jmp 0x14003d35f
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14003d3a7
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.140016f20
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14003d388
test rcx, rcx
jle 0x14003d381
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14003d3a5
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14003d3d2
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140068fb0
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 0x14003d3a7
Function at 0x140042820
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
lea r9, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x50], rsi
add rcx, 0x78
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.14003f8f0
cmp qword [rsp + 0x50], rsi
je 0x14004291d
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 0x1400428ac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x1400428e3
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 0x14004291d
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 0x140042930
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400429d4
call fcn.14003fb00
test al, al
je 0x1400429d4
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140042986
jle 0x140042982
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 0x1400429c6
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400429c6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400429c6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400429d4
call fcn.14003f7c0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140068fb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400475e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1400c9548], 0
jne 0x140047651
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 [0x1400c9538], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1400c9540], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400c9548], rax
lea rax, [0x1400c9538]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140068fb0
add rsp, 0x68
ret
Function at 0x140054630
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1400c50b0]
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 0x140054665
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14005467a
jle 0x140054676
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.140054370
inc edi
cmp edi, 4
jl 0x140054680
cmp qword [rbx + 0x10], rbp
je 0x14005476f
call fcn.140013250
mov rcx, qword [rbx]
mov dword [rsp + 0x40], ebp
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x140054705
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 0x1400546fa
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x140054705
lea rcx, [rbx + 8]
call fcn.140054790
jmp 0x140054763
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 0x140054747
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.140054800
mov rcx, rdi
mov edx, 0x38
mov rdi, qword [rdi]
call fcn.140068fd0
cmp byte [rdi + 0x19], bpl
je 0x140054720
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.140068fb0
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x140055400
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, 0xa0
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rcx], r8
xor ebx, ebx
mov dword [rcx + 8], ebx
mov qword [rcx + 0x10], rdx
test rdx, rdx
je 0x1400555df
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c9a54], eax
jle 0x1400554a6
lea rcx, [0x1400c9a54]
call fcn.1400691d8
cmp dword [0x1400c9a54], 0xffffffff
jne 0x1400554a6
lea rcx, [0x1400b2ed0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetThreadId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c9a58], rax
lea rcx, [0x1400c9a54]
call fcn.140069178
mov rax, qword [0x1400c9a58]
test rax, rax
je 0x1400554be
mov rcx, rsi
call rax
mov ebx, eax
jmp 0x1400555df
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x68], ebx
call fcn.140023eb0
mov r14, rax
mov ecx, 0x20
call fcn.140068fd8
mov rbp, rax
mov qword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.NtQueryInformationThread]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400b34d8]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], 0
mov qword [rsp + 0x38], rax
call fcn.140045b80
lea r15, [r14 + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r9, 0xcbf29ce484222325
mov rcx, rbx
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rbp]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x18
jb 0x140055550
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400252e0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400555b8
cmp rdx, qword [r14 + 8]
je 0x1400555b8
mov r14, qword [rdx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x1400555c1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
call r14
mov esi, eax
jmp 0x1400555c6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0xc0000138
shr esi, 0x1f
mov edx, 0x20
mov rcx, rbp
call fcn.140068fd0
xor sil, 1
cmovne ebx, dword [rsp + 0x7c]
mov dword [rdi + 8], ebx
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140068fb0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140055660
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
jne 0x140055685
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x140055740
cmp byte [rcx + 0x16], 0
jne 0x140055740
call fcn.140023eb0
mov rbx, rax
mov ecx, 0x20
call fcn.140068fd8
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], 0x1f
movups xmm0, xmmword [str.Wow64SuspendThread]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400b3658]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
mov qword [rsp + 0x20], rax
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140055770
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140055732
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005572d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005575b
call fcn.140068fd0
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.140077970
int3

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140045b80
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jb 0x1400557a6
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400557d4
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x1400557c1
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400252e0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14005581c
cmp rbx, qword [rsi + 8]
je 0x14005581c
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140055826
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140055840
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x970
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov edi, edx
mov rbx, rcx
cmp edx, 4
ja 0x140055a1f
mov qword [r11 + 0x10], rbp
lea rcx, [r11 - 0x688]
xor edx, edx
mov qword [r11 + 0x18], rsi
mov r8d, 0x670
call fcn.14006ba60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14006ba60
mov rbp, qword [rbx]
mov rax, qword [rbp + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x1400558d0
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 0x1400558fd
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x2c8
call fcn.14006ba60
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 0x1400559f6
mov edx, dword [r8]
test edi, edi
jne 0x140055930
and edx, 0xfff0fffe
jmp 0x140055973
cmp edi, 1
jne 0x14005593d
and edx, 0xff0ffffb
jmp 0x140055973
cmp edi, 2
mov ecx, 0xffffffbf
mov eax, 0xffffffef
cmovne eax, ecx
mov ecx, 0xf3ffffff
and eax, edx
mov edx, 0x3fffffff
cmp edi, 2
cmovne ecx, edx
mov edx, 0xfcffffff
and ecx, eax
mov eax, 0xcfffffff
cmp edi, 2
cmovne edx, eax
and edx, ecx
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 0x140055992
btr edx, 8
mov dword [r8], edx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.140055660
test sil, sil
jne 0x1400559c3
test al, al
je 0x1400559f4
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 0x1400559dd
test al, al
je 0x1400559f4
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 0x1400559f4
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.140068fb0
mov rbx, qword [rsp + 0x998]
add rsp, 0x970
pop rdi
ret
xor eax, eax
jmp 0x1400559fe
Function at 0x140055a30
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 [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call fcn.14006ba60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14006ba60
mov rbp, qword [rbx]
mov rax, qword [rbp + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x140055ab9
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 0x140055ae6
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x2c8
call fcn.14006ba60
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]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
jns 0x140055b05
xor eax, eax
jmp 0x140055bfd
xor ecx, ecx
mov edx, ecx
mov eax, ecx
nop dword [rax + rax]
cmp qword [rsp + rax*8 + 0x338], rdi
je 0x140055b35
cmp dword [rsp + rax*4 + 0x24], edi
je 0x140055b35
inc edx
inc rax
cmp rax, 4
jl 0x140055b10
mov eax, 0xc0000225
jmp 0x140055bfd
movsxd rax, edx
test sil, sil
jne 0x140055b47
mov qword [rsp + rax*8 + 0x338], rcx
jmp 0x140055b4b
mov dword [rsp + rax*4 + 0x24], ecx
mov ecx, dword [r8]
test edx, edx
jne 0x140055b5a
and ecx, 0xfff0fffe
jmp 0x140055b7a
cmp edx, 1
jne 0x140055b67
and ecx, 0xff0ffffb
jmp 0x140055b7a
cmp edx, 2
jne 0x140055b74
and ecx, 0xf0ffffef
jmp 0x140055b7a
and ecx, 0xfffffbf
mov eax, ecx
mov dword [r8], ecx
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
test al, 1
jne 0x140055b99
btr ecx, 8
mov dword [r8], ecx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.140055660
test sil, sil
jne 0x140055bca
test al, al
je 0x140055bfb
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 0x140055be4
test al, al
je 0x140055bfb
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 0x140055bfb
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.140068fb0
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 0x140055cd0
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 [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov rdi, rcx
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 0x10], rsi
movzx ebx, r8b
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x140055d3d
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140055d99
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 0x140055dbf
cmp edx, ecx
je 0x140055d99
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.140068fb0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x140055d8b
test edx, edx
jne 0x140055d8b
mov dword [rdi + 0x10], 1
jmp 0x140055d9c
Function at 0x140055e90
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, 0x78
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, r9
mov r12d, r8d
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
call fcn.140023eb0
mov rbp, rax
lea ecx, [rbx + 0x20]
call fcn.140068fd8
mov rdi, rax
mov qword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.NtQueryVirtualMemory]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400b3510]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
mov qword [rsp + 0x30], rax
call fcn.140045b80
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rcx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rbx + rdi]
xor r9, rax
imul r9, rcx
inc rbx
cmp rbx, 0x14
jb 0x140055f30
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400252e0
mov r10, qword [rax + 8]
test r10, r10
je 0x140055fa2
cmp r10, qword [rbp + 8]
je 0x140055fa2
mov rbx, qword [r10 + 0x30]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140055fac
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, r12d
mov rdx, r15
mov rcx, qword [r14 + 8]
call rbx
mov ebx, eax
jmp 0x140055fb1
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov edx, 0x20
mov rcx, rdi
call fcn.140068fd0
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140068fb0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400560e0
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, 0x78
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13d, r9d
mov r12, r8
mov r15d, edx
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
call fcn.140023eb0
mov rbp, rax
lea ecx, [rbx + 0x20]
call fcn.140068fd8
mov rdi, rax
mov qword [rsp + 0x40], 0x19
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.NtQueryInformationProcess]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400b34a0]
movsd qword [rax + 0x10], xmm1
movzx ecx, byte [0x1400b34a8]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], bl
mov qword [rsp + 0x30], rax
call fcn.140045b80
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rcx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + rdi]
xor r9, rax
imul r9, rcx
inc rbx
cmp rbx, 0x19
jb 0x140056190
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400252e0
mov r10, qword [rax + 8]
test r10, r10
je 0x1400561f5
cmp r10, qword [rbp + 8]
je 0x1400561f5
mov rbx, qword [r10 + 0x30]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400561ff
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, r12
mov edx, r15d
mov rcx, qword [r14 + 8]
call rbx
mov ebx, eax
jmp 0x140056204
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov edx, 0x20
mov rcx, rdi
call fcn.140068fd0
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140068fb0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret