joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003080
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140009fe0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140009fe0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140003d52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400221e8]
test eax, eax
je 0x140003dea
lea rax, [0x1400221c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400221f0]
mov qword [rbp - 8], rax
jmp 0x140003dce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003dc2
cmp qword [rbp - 0x10], 0
je 0x140003dc2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003d88
lea rax, [0x1400221c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140003deb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140003ef0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003f18
mov eax, 0
jmp 0x140003f66
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003f41
mov eax, 0
jmp 0x140003f66
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003f61
mov eax, 0
jmp 0x140003f66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140003f6c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140003fea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003fe1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003fe1
mov rax, qword [rbp - 8]
jmp 0x140003fff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003fb4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1405f1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405f11df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405f1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f106f
add dl, dl
jne 0x1405f1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f10f6
xor eax, eax
add dl, dl
jne 0x1405f10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405f11ad
add dl, dl
jne 0x1405f10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405f10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405f107e
mov eax, 1
add dl, dl
jne 0x1405f1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405f1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f10fb
sub eax, ebx
mov ebx, 1
jne 0x1405f114c
mov ecx, 1
add dl, dl
jne 0x1405f112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405f113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405f1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405f1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405f115d
cmp eax, 0x7d00
jae 0x1405f119b
cmp eax, 0x500
jb 0x1405f1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
cmp eax, 0x7f
ja 0x1405f119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405f107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405f11d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405f107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov r10, rdx
mov rax, rcx
xor r8d, r8d
push rdi
push rsi
push rbx
movsxd rdx, dword [rcx + 0x3c]
mov ecx, dword [rcx + rdx + 0x88]
add rcx, rax
mov ebp, dword [rcx + 0x20]
mov edi, dword [rcx + 0x18]
movzx edx, r8w
cmp edx, edi
jae 0x140002079
movzx edx, r8w
lea r9, [rax + rdx*4]
mov r11d, dword [r9 + rbp]
xor r9d, r9d
add r11, rax
mov sil, byte [r11 + r9]
mov bl, byte [r10 + r9]
test sil, sil
je 0x140002052
inc r9
cmp bl, sil
je 0x14000203b
jmp 0x140002074
test bl, bl
jne 0x140002074
mov r8d, dword [rcx + 0x24]
add rdx, rdx
add rdx, rax
movzx r8d, word [rdx + r8]
mov edx, dword [rcx + 0x1c]
lea rcx, [rax + r8*4]
mov edx, dword [rcx + rdx]
add rax, rdx
jmp 0x14000207b
inc r8d
jmp 0x140002021
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400025a0
Capabilities:
Bypass uac via icmluautil

Disassembly:
push rbp
mov rbp, rsp
push r13
push r12
lea r12, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
push rdi
push rsi
push rbx
mov rbx, rcx
mov rcx, r12
and rsp, 0xfffffffffffffff0
sub rsp, 0x280
movups xmm0, xmmword [0x14000eb70]
mov rax, qword [0x14000eb10]
and qword [rsp + 0x20], 0
movups xmmword [rsp + 0x38], xmm0
call qword [rax]
xchg rdx, rax
mov eax, 0x80004005
cmp rdx, 0x40
ja 0x14000269e
lea rdx, [rsp + 0x4c]
lea r13, [rsp + 0x48]
push 0xb
xor eax, eax
pop rcx
mov rdi, rdx
lea r8, str.Elevation:Administrator_new:
mov edx, 0x104
rep stosd dword [rdi], eax
mov rax, qword [0x14000eb50]
lea rsi, [rsp + 0x78]
mov dword [rsp + 0x48], 0x30
lea rdi, [rsp + 0x2c]
mov rcx, rsi
mov dword [rsp + 0x5c], 4
call qword [rax]
mov rax, qword [0x14000eb40]
mov r8, r12
mov rcx, rsi
mov edx, 0x104
call qword [rax]
mov rax, qword [0x14000ea60]
mov rcx, rdi
mov byte [rsp + 0x37], 0xda
mov dword [rsp + 0x33], 0xadbbb2bc
mov r12, qword [rax]
movabs rax, 0xb79ba7b796bf8c00
mov qword [rsp + 0x2b], rax
call fcn.140008230
mov rax, qword [0x14000e960]
mov rdx, rdi
mov byte [rsp + 0x2b], 1
mov rcx, qword [rax]
call r12
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
mov rdx, r13
mov rcx, rsi
call rax
mov rdx, qword [rsp + 0x20]
mov qword [rbx], rdx
lea rsp, [rbp - 0x28]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret
Function at 0x7ff760c2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x7ff760c21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x7ff760c2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff760c206f
add dl, dl
jne 0x7ff760c2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff760c20f6
xor eax, eax
add dl, dl
jne 0x7ff760c20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x7ff760c21ad
add dl, dl
jne 0x7ff760c20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff760c20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff760c20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff760c20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x7ff760c20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x7ff760c207e
mov eax, 1
add dl, dl
jne 0x7ff760c2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ff760c2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff760c20fb
sub eax, ebx
mov ebx, 1
jne 0x7ff760c214c
mov ecx, 1
add dl, dl
jne 0x7ff760c212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ff760c213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff760c2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff760c207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7ff760c2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ff760c2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x7ff760c215d
cmp eax, 0x7d00
jae 0x7ff760c219b
cmp eax, 0x500
jb 0x7ff760c2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff760c207e
cmp eax, 0x7f
ja 0x7ff760c219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x7ff760c207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x7ff760c21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x7ff760c207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002ae0
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 r14d, edx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r15d, byte [rcx + 0x15]
xor r12d, r12d
test r15b, r15b
sete r12b
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rsi + 0x20]
mov rdi, qword [rax]
cmp rdi, rax
je 0x180002c24
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
mov rbp, qword [rdi]
mov rax, qword [rdi + 0x38]
cmp byte [rax + 0x58], 0
jne 0x180002c17
mov r9, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x180002b74
mov r8, qword [rdi + 0x10]
mov rdx, rcx
xor eax, eax
add r9, r9
je 0x180002b94
nop
movzx ecx, byte [rax + r8]
xor rdx, rcx
imul rdx, r11
inc rax
cmp rax, r9
jb 0x180002b80
movsxd rcx, dword [rdi + 0x30]
xor rcx, rdx
and rcx, qword [rsi + 0x48]
shl rcx, 4
mov rdx, qword [rsi + 0x30]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x180002bcf
cmp rax, rdi
jne 0x180002bc5
mov rax, qword [rsi + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x180002bd7
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x180002bd7
cmp rax, rdi
jne 0x180002bd7
mov qword [rdx], rbp
mov rcx, qword [rdi]
dec qword [rsi + 0x28]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.180006cf0
mov edx, 0x48
mov rcx, rdi
call fcn.180093588
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
mov rdi, rbp
cmp rbp, qword [rsi + 0x20]
jne 0x180002b50
mov r8d, r12d
mov edx, r14d
mov rcx, rsi
call fcn.180004b90
test r14d, r14d
jne 0x180002c4b
test r15b, r15b
je 0x180002c4b
xor edx, edx
lea r8d, [r14 + 1]
mov rcx, rsi
call fcn.180004b90
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rsi + 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
Function at 0x1800049b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1801044f8]
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, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.180095d50
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x180004a9e
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 0x180004a9e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x180004a9e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x180004a9e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x180004a9e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x180004aa0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180093c30
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x18000cab0
Capabilities:
Terminate thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor esi, esi
mov qword [r11 - 0x28], rsi
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x18000cbd8
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
add rdx, 0x18
mov qword [r11 - 0x18], rsi
je 0x18000cbd8
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [r11 - 0x18]
mov qword [r11 - 0x58], r8
lea r9d, [rsi + 8]
lea r8, [r11 - 0x28]
call qword [rax + 0x18]
cmp qword [rsp + 0x50], rsi
je 0x18000cbd8
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000cb67
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x18000cb9e
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x40]
call qword [rax + 0x20]
mov qword [rsp + 0x48], rsi
mov rdx, qword [rbx + 0x88]
test rdx, rdx
je 0x18000cbd8
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x48]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x18000cbeb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18000cc91
call fcn.1800097d0
test al, al
je 0x18000cc91
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 0x18000cc41
jle 0x18000cc3d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x18000cc83
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000cc83
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
nop
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x18000cc83
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x18000cc91
call fcn.1800017a0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180093c30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000e270
Capabilities:
Get system information on windows
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.18000e660
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x18000e29e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x18000e2ab
mov r8d, esi
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x18000e2c4
test rcx, rcx
jle 0x18000e2c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x18010a52c], 0xa
jb 0x18000e300
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x18000e300
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x18000e300
test rcx, rcx
jle 0x18000e2fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x18000e33d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x18000e33d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x18000e33d
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov dword [rbx + 8], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180025220
Function at 0x18000e990
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x18010a740], 0
jne 0x18000ea01
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 [0x18010a730], rax
mov eax, dword [rsp + 0x48]
mov qword [0x18010a738], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x18010a740], rax
lea rax, [0x18010a730]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x68
ret
Function at 0x1800123a0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor esi, esi
test rcx, rcx
je 0x1800123dc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1800123f1
jle 0x1800123ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.1800120e0
inc edi
cmp edi, 4
jl 0x1800123f3
cmp qword [rbx + 0x10], rsi
je 0x180012476
call fcn.180001460
mov rcx, qword [rbx]
mov dword [rsp + 0x40], esi
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x180012461
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], esi
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180012461
mov rax, qword gs:[0x30]
lea rcx, [rbx + 8]
call fcn.180012550
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x50], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180093c30
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x180012810
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 [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
xorps xmm0, xmm0
xor eax, eax
xor esi, esi
mov rdi, rcx
mov qword [rcx + 0x10], rsi
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movzx ebx, r8b
mov dword [rsp + 0x28], esi
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x180012887
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x1800128e3
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 0x180012909
cmp edx, ecx
je 0x1800128e3
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.180093c30
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x1800128d5
test edx, edx
jne 0x1800128d5
mov dword [rdi + 0x10], 1
jmp 0x1800128e6