joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f39b0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rdi, r8
mov rcx, qword [r8 + 0x70]
mov rbx, rdx
cmp rcx, 0xffffffffffffffff
jne 0x1400f3a2f
mov eax, dword [rdx + 0x58]
test al, 0x40
je 0x1400f3aa7
mov edx, eax
and edx, 0xffffffbf
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x1400f3a05
test dl, 1
jne 0x1400f3a05
test al, 4
je 0x1400f3a05
and eax, 0xffffffbb
mov dword [rbx + 0x58], eax
test al, 8
je 0x1400f3a05
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov r9, qword [rbx + 0x100]
test r9, r9
je 0x1400f3aa7
mov ecx, dword [r8 + 0x40]
call fcn.1400fa330
mov ecx, eax
call fcn.1400f8400
mov edx, eax
mov rcx, rbx
call r9
jmp 0x1400f3aa7
cmp dword [r8 + 0x40], 0
jl 0x1400f3a84
lea r9, [rdx + 0x110]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400f3a84
mov rax, qword [rbx + 0x130]
mov qword [rdi + 0x1a8], rax
mov rax, qword [rbx + 0x100]
mov qword [rbx + 0x130], rdi
test rax, rax
je 0x1400f3aa7
xor edx, edx
mov rcx, rbx
call rax
jmp 0x1400f3aa7
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + 0x70], 0xffffffffffffffff
test byte [rbx + 0x58], 0x40
je 0x1400f3aa7
mov rdx, rdi
mov rcx, rbx
call fcn.1400f2830
mov ecx, dword [rbx + 0x78]
mov eax, dword [rbx + 0x58]
dec ecx
mov dword [rbx + 0x78], ecx
test al, 1
je 0x1400f3ad0
test ecx, ecx
jne 0x1400f3ad0
test al, 0x20
jne 0x1400f3ad0
or eax, 0x20
mov dword [rbx + 0x58], eax
mov rax, qword [rsi + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rsi + 0x50], rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f6400
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test r9d, r9d
jne 0x1400f64f5
mov rcx, qword [rdi + 0x120]
mov r9d, 0xff
mov qword [rax - 0x10], rbp
xor r8d, r8d
mov dword [rax - 0x18], ebp
mov edx, 0x40040003
mov dword [rax - 0x20], 0x10000
mov dword [rax - 0x28], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x1400f64bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400f6474
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400f6482
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x68], rbp
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1400f64ae
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
mov qword [rsi + 0x48], rbx
jmp 0x1400f65a1
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
jmp 0x1400f65a1
mov r8, rax
mov dword [rsp + 0x20], ebp
mov rdx, rdi
mov rcx, rsi
call fcn.1400f5c00
test eax, eax
je 0x1400f64f5
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x70], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400f6474
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400f6482
xor eax, eax
mov qword [rsp + 0x50], r14
mov qword [rbx + 0x40], rax
lea rdx, [rbx + 0x40]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400f659c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400f659c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1400f653d
mov rax, rbp
jmp 0x1400f6571
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x70], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400f6561
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400f656f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x68], rbp
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1400f6594
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x1400f6598
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
mov r14, qword [rsp + 0x50]
inc dword [rdi + 0x78]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400f69e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test dword [rdx + 0x58], 0x1000000
lea rdi, [rdx + 0x80]
mov rbx, rdx
mov rsi, rcx
je 0x1400f6a2b
mov qword [rdx + 0x238], 0
lea rcx, [0x1400f67a0]
mov rdx, rdi
mov r8d, select
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
jmp 0x1400f6ae5
xor eax, eax
lea rcx, [rdi + 0x40]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
test dword [rdx + 0x58], 0x80000
je 0x1400f6a55
mov rax, qword [rdi + 0x70]
or rax, 1
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140466b62]
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f6a85
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400f6ae9
test dword [rbx + 0x58], 0x80000
je 0x1400f6b40
cmp qword [rdi + 0x70], 0
jne 0x1400f6ab6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x1400f6b79
cmp qword [rdi + 0x78], 0xffffffffffffffff
lea rcx, [rdi + 0x78]
jne 0x1400f6b40
mov rdx, qword [rdi + 0x58]
lea r8, [0x1400f27a0]
mov dword [rsp + 0x28], 4
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x1400f6b40
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400f6afb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400f6b09
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x68], 0
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1400f6b36
mov rax, qword [rax + 0x68]
mov qword [rdi + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x1400f6b5f
mov qword [rdi + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x1400f6b5f
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1400f6b5f
xor r9d, r9d
lea rdx, [0x1400f7b20]
lea r8d, [r9 + 0x32]
call fcn.1400f3fb0
or dword [rbx + 0x58], 0x10000
inc dword [rbx + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1400f8350
int3
Function at 0x1400f7270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x30]
mov edi, r9d
mov edx, r8d
lea r8, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [rbx + 0x68]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400f732f
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400f732f
mov rcx, qword [rbx + 0x118]
lea r9, [rsp + 0x70]
cmp edi, eax
mov qword [rsp + 0x20], 0
cmova edi, eax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f7311
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov r8d, eax
call fcn.1400f71d0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x30]
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x1400f97a0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
lea rcx, str.UV_THREADPOOL_SIZE
mov dword [0x140466ce0], 4
call fcn.14014f7b0
test rax, rax
je 0x1400f97cc
mov rcx, rax
call fcn.140152c68
jmp 0x1400f97d2
mov eax, dword [0x140466ce0]
test eax, eax
jne 0x1400f97dd
mov eax, 1
jmp 0x1400f97e7
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [0x140466ce0], eax
lea rbx, [0x140466d10]
mov qword [0x140466d30], rbx
cmp eax, 4
jbe 0x1400f9835
mov ecx, eax
shl rcx, 3
test rcx, rcx
je 0x1400f9815
call qword [fcn.14014f7c8]
jmp 0x1400f9818
mov rax, rsi
mov qword [0x140466d30], rax
test rax, rax
jne 0x1400f9835
mov dword [0x140466ce0], 4
mov qword [0x140466d30], rbx
mov qword [rsp + 0x58], rbp
lea rcx, [0x140466ca0]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea rcx, [0x140466ce8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [0x140466d80]
xor r9d, r9d
mov qword [0x140466d80], rax
xor edx, edx
mov qword [0x140466d88], rax
xor ecx, ecx
lea rax, [0x140466d70]
mov r8d, 0x7fffffff
mov qword [0x140466d70], rax
mov qword [0x140466d78], rax
lea rax, [0x140466d40]
mov qword [0x140466d40], rax
mov qword [0x140466d48], rax
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400f98d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f8400
test eax, eax
jne 0x1400f99d8
mov eax, dword [0x140466ce0]
mov ebp, esi
test eax, eax
je 0x1400f99ae
lea r15, [0x1400f9510]
nop dword [rax + rax]
mov rax, qword [0x140466d30]
mov ecx, ebp
lea rbx, [rax + rcx*8]
mov ecx, 0x18
call qword [fcn.14014f7c8]
mov r14, rax
test rax, rax
je 0x1400f99d8
mov qword [rax], r15
lea r8, [0x1400f9180]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r9, r14
mov qword [r14 + 8], rax
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call fcn.140155440
test rax, rax
jne 0x1400f9969
call fcn.14014f0c0
mov edi, dword [rax]
call fcn.14014f0c0
mov rcx, r14
mov ebx, dword [rax]
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], ebx
test edi, edi
jne 0x1400f99d8
jmp 0x1400f9979
mov qword [rbx], rax
mov rcx, rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x140466ce0]
inc ebp
cmp ebp, eax
jb 0x1400f98f0
test eax, eax
je 0x1400f99ae
nop dword [rax]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400f99d8
inc esi
cmp esi, dword [0x140466ce0]
jb 0x1400f9990
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400f99d8
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rsi
pop rbx
ret
call fcn.1401513ec
int3
Function at 0x1400fa080
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x1401ce1d0]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor eax, eax
mov ebx, 2
mov qword [0x140467470], rax
xor ecx, ecx
mov word [0x140467470], bx
mov qword [0x140467478], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [0x140467474]
mov word [0x140467472], ax
lea rcx, str.0.0.0.0
call fcn.1400f8e80
test eax, eax
jne 0x1400fa320
lea r8, [0x140467480]
xor edx, edx
lea rcx, [0x1401a484c]
call fcn.1400e6d80
test eax, eax
jne 0x1400fa320
lea ecx, [rbx + 0x41]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x1400fa27a
mov ecx, 0x202
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400fa293
mov qword [rsp + 0x480], rdi
xor r8d, r8d
mov edi, 1
mov ecx, ebx
mov edx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400fa1ad
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400fa2a2
mov eax, dword [0x1404674a0]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1404674a0], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1400fa2b7
jmp 0x1400fa1d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400fa30b
cmp eax, 0x273a
jbe 0x1400fa30b
cmp eax, 0x2740
jae 0x1400fa30b
xor r8d, r8d
mov edx, edi
lea ecx, [r8 + 0x17]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400fa24b
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400fa2cc
mov eax, dword [0x14046749c]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x14046749c], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1400fa2e1
jmp 0x1400fa272
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400fa2f6
cmp eax, 0x273a
jbe 0x1400fa2f6
cmp eax, 0x2740
jae 0x1400fa2f6
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140128f50
add rsp, 0x470
pop rbx
ret
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.1400f8350
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.1400f8350
int3
call fcn.1401513ec
int3
Function at 0x1400faf50
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
mov r8d, 0x80
lea r10, [rcx + 0x3f8]
cmp rcx, rax
ja 0x1400faf71
xor r9d, r9d
cmp r10, rdx
jae 0x1400fafe1
mov r9, rdx
lea rax, [rcx + 0x10]
sub r9, rcx
mov r10d, select
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r10, 1
jne 0x1400faf81
mov r9, r8
cmp r9, r8
jae 0x1400fb001
sub rdx, rcx
lea rax, [rcx + r9*8]
sub r8, r9
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x1400faff0
ret
Function at 0x1400fb560
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x1400fb7a7
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1401ce1d0]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x14019b760]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x14019b770]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x14019b780]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x14019b790]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.140102170
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400fb6c7
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140102170
test byte [rbx + 0x70], 1
je 0x1400fb6c7
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400fb6fa
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1400fb742
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140102170
test byte [rbx + 0x70], 2
je 0x1400fb742
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x1400fb77d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140102270
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140128f50
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400fb569
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x1400fb7a7
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1401ce1d0]
xor rax, rsp
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x14019b760]
movabs rax, 0x6a09e667f2bdc948
movaps xmm1, xmmword [0x14019b770]
mov edi, r8d
movaps xmmword [rsp + 0x30], xmm0
mov rbx, rdx
movaps xmm0, xmmword [0x14019b780]
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x14019b790]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x120], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.140102170
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400fb6c7
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140102170
test byte [rbx + 0x70], 1
je 0x1400fb6c7
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400fb6fa
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1400fb742
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140102170
test byte [rbx + 0x70], 2
je 0x1400fb742
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140102170
mov rdx, qword [rbx + 0x40]
mov r14, qword [rsp + 0x120]
test rdx, rdx
je 0x1400fb77d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140102170
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140102270
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140128f50
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140119e70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x1401ce1d0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.14014f7b0
mov rbx, rax
test rax, rax
je 0x140119f66
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x350], 1
call fcn.14015c7a0
mov edi, eax
test eax, eax
js 0x140119f56
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14015be10
test eax, eax
jne 0x140119f4d
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140119f2c
inc eax
movsxd rcx, eax
call fcn.14014f7c8
mov rbx, rax
test rax, rax
je 0x140119f1b
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
call fcn.140153458
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x140119f1b
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.140119f90
mov rcx, rbx
call fcn.14014f0f4
mov ecx, edi
call fcn.140153a88
jmp 0x140119f61
mov ecx, 2
call fcn.14014b154
mov r9d, dword [rsp + 0x34]
lea rdx, str.Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140002aa0
mov ecx, edi
call fcn.140153a88
jmp 0x140119f61
mov rdx, rbx
mov rcx, rsi
call fcn.140119f90
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140128f50
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x14011d8e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1401ce060]
cmp eax, 1
jbe 0x14011d929
mov rdx, qword [0x1401d4488]
test rdx, rdx
je 0x14011d921
lea ecx, [rax - 1]
call rdx
movzx ecx, ax
mov eax, dword [0x1401ce060]
shl eax, 6
add eax, 0xffffffc0
add eax, ecx
add rsp, 0x58
ret
shl eax, 6
add rsp, 0x58
ret
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret