joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b760
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x88
cmp byte [0x140151bc8], 0
jne 0x14006b99f
xor r9d, r9d
mov qword [rsp + 0xa0], rbx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
test rax, rax
je 0x14006b9a7
mov qword [rsp + 0x80], rdi
xor eax, eax
lock cmpxchg qword [0x140151bd0], rbx
mov rdi, rax
jne 0x14006b978
mov ecx, 0x8003
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [fcn.140001350]
call fcn.1400ad980
lea rcx, [0x140151be0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.14006ebf0
call fcn.140070660
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x78]
lea rcx, [0x1403dae00]
mov dword [0x140151da8], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edi, edi
lea r8, [0x1403d9e08]
mov r9d, edi
lea rdx, [0x140151e00]
mov r10d, edi
nop dword [rax]
movsxd rax, r10d
inc r9d
mov qword [r8 - 8], rdi
lea r8, [r8 + 0x10]
imul rcx, rax, 0x288
add r10d, 0x10
add rcx, rdx
mov qword [r8 - 0x10], rcx
cmp r9d, 0x100
jb 0x14006b820
lea rcx, [0x140151b98]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, 1
lea rcx, [0x140068640]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14006b9bc
xor r9d, r9d
xor ecx, ecx
mov r8d, 0x7fffffff
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x140151988], rax
test rax, rax
jne 0x14006b8a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006ef30
test eax, eax
jne 0x14006b9bc
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, str.CONOUT_
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14014c090], rax
cmp rax, 0xffffffffffffffff
je 0x14006b8f0
xor edx, edx
lea rcx, [0x140067350]
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
lea rcx, [0x140151998]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14006b92a
movsd xmm1, qword [0x140134448]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x90]
divsd xmm1, xmm0
jmp 0x14006b92d
xorps xmm1, xmm1
mov rax, qword [0x1403daf00]
movsd qword [0x140151b90], xmm1
test rax, rax
je 0x14006b966
lea rdx, [0x140070df0]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x40]
mov ecx, 2
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [0x140151bc8], 1
jmp 0x14006b98f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x88
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.14006ee80
int3
call fcn.1400b4fc0
int3
Function at 0x14006d460
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
mov rdi, rdx
xor ebp, ebp
mov qword [rax - 0x10], rbp
mov rbx, r8
mov dword [rax - 0x18], ebp
mov rsi, rcx
mov dword [rax - 0x20], 0x10000
mov r9d, 0xff
mov rcx, qword [rdi + 0x120]
xor r8d, r8d
mov edx, 0x40040003
mov dword [rax - 0x28], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14006d512
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x14006d4cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14006d4d9
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 0x14006d505
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 0x14006d5f1
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
jmp 0x14006d5f1
mov r8, rax
mov dword [rsp + 0x20], ebp
mov rdx, rdi
mov rcx, rsi
call fcn.14006cc60
test eax, eax
je 0x14006d54c
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 0x14006d4cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14006d4d9
xorps xmm0, xmm0
mov qword [rsp + 0x50], r14
movups xmmword [rbx + 0x40], xmm0
lea rdx, [rbx + 0x40]
movups xmmword [rbx + 0x50], xmm0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14006d5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14006d5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x14006d58d
mov rax, rbp
jmp 0x14006d5c1
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 0x14006d5b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14006d5bf
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 0x14006d5e4
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x14006d5e8
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 0x14006d850
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 0x14006d89b
mov qword [rdx + 0x238], 0
lea rcx, [0x14006d610]
mov rdx, rdi
mov r8d, select
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
jmp 0x14006d94e
lea rcx, [rdi + 0x40]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
test dword [rdx + 0x58], 0x80000
je 0x14006d8be
mov rax, qword [rdi + 0x70]
or rax, 1
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140151c25]
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14006d8ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14006d952
test dword [rbx + 0x58], 0x80000
je 0x14006d9a9
cmp qword [rdi + 0x70], 0
jne 0x14006d91f
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 0x14006d9e2
cmp qword [rdi + 0x78], 0xffffffffffffffff
lea rcx, [rdi + 0x78]
jne 0x14006d9a9
mov rdx, qword [rdi + 0x58]
lea r8, [0x1400695a0]
mov dword [rsp + 0x28], 4
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x14006d9a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x14006d964
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14006d972
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 0x14006d99f
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 0x14006d9c8
mov qword [rdi + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14006d9c8
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14006d9c8
xor r9d, r9d
lea rdx, [0x14006e3c0]
lea r8d, [r9 + 0x32]
call fcn.14006a790
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.14006ee80
int3
Function at 0x14006db10
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 0x14006dbcf
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14006dbcf
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 0x14006dbb1
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.14006da70
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 0x1400701e0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
lea rcx, str.UV_THREADPOOL_SIZE
mov dword [0x140151d08], 4
call fcn.1400b2ad0
test rax, rax
je 0x14007020c
mov rcx, rax
call fcn.1400b5648
jmp 0x140070212
mov eax, dword [0x140151d08]
test eax, eax
jne 0x14007021d
mov eax, 1
jmp 0x140070227
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [0x140151d08], eax
lea rbx, [0x140151d78]
mov qword [0x140151da0], rbx
cmp eax, 4
jbe 0x140070275
mov ecx, eax
shl rcx, 3
test rcx, rcx
je 0x140070255
call qword [fcn.1400ad9b4]
jmp 0x140070258
mov rax, rsi
mov qword [0x140151da0], rax
test rax, rax
jne 0x140070275
mov dword [0x140151d08], 4
mov qword [0x140151da0], rbx
mov qword [rsp + 0x58], rbp
lea rcx, [0x140151d10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea rcx, [0x140151d50]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [0x140151df0]
xor r9d, r9d
mov qword [0x140151df0], rax
xor edx, edx
mov qword [0x140151df8], rax
xor ecx, ecx
lea rax, [0x140151de0]
mov r8d, 0x7fffffff
mov qword [0x140151de0], rax
mov qword [0x140151de8], rax
lea rax, [0x140151db0]
mov qword [0x140151db0], rax
mov qword [0x140151db8], rax
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140070314
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006ef30
test eax, eax
jne 0x140070418
mov eax, dword [0x140151d08]
mov ebp, esi
test eax, eax
je 0x1400703ee
lea r15, [0x14006ff50]
nop dword [rax + rax]
mov rax, qword [0x140151da0]
mov ecx, ebp
lea rbx, [rax + rcx*8]
mov ecx, 0x18
call qword [fcn.1400ad9b4]
mov r14, rax
test rax, rax
je 0x140070418
mov qword [rax], r15
lea r8, [0x14006bfa0]
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.1400b2f2c
test rax, rax
jne 0x1400703a9
call fcn.1400b55fc
mov edi, dword [rax]
call fcn.1400b55fc
mov rcx, r14
mov ebx, dword [rax]
call qword [fcn.1400ad6c0]
call fcn.1400b55fc
mov dword [rax], ebx
test edi, edi
jne 0x140070418
jmp 0x1400703b9
mov qword [rbx], rax
mov rcx, rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x140151d08]
inc ebp
cmp ebp, eax
jb 0x140070330
test eax, eax
je 0x1400703ee
nop dword [rax]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140070418
inc esi
cmp esi, dword [0x140151d08]
jb 0x1400703d0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140070418
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.1400b4fc0
int3
Function at 0x140070660
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x460], rax
xorps xmm0, xmm0
mov ebx, 2
movups xmmword [0x1403daeb0], xmm0
xor ecx, ecx
mov word [0x1403daeb0], bx
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [0x1403daeb4]
mov word [0x1403daeb2], ax
lea rcx, str.0.0.0.0
call fcn.14006f7e0
test eax, eax
jne 0x1400708fa
lea r8, [0x1403daec0]
xor edx, edx
lea rcx, [0x14013437c]
call fcn.1400678d0
test eax, eax
jne 0x1400708fa
lea ecx, [rbx + 0x41]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x140070854
mov ecx, 0x202
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14007086d
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 0x140070787
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 0x14007087c
mov eax, dword [0x1403daee0]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1403daee0], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x140070891
jmp 0x1400707ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400708e5
cmp eax, 0x273a
jbe 0x1400708e5
cmp eax, 0x2740
jae 0x1400708e5
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 0x140070825
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 0x1400708a6
mov eax, dword [0x1403daedc]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1403daedc], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1400708bb
jmp 0x14007084c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400708d0
cmp eax, 0x273a
jbe 0x1400708d0
cmp eax, 0x2740
jae 0x1400708d0
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x470
pop rbx
ret
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14006ee80
int3
call fcn.1400b4fc0
int3
Function at 0x140080080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.1400b2ad0
mov rbx, rax
test rax, rax
je 0x140080171
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x2fc], 1
call fcn.1400bf53c
mov edi, eax
test eax, eax
js 0x140080161
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400bebac
test eax, eax
jne 0x140080158
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140080137
inc eax
movsxd rcx, eax
call fcn.1400ad9b4
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call fcn.1400b63f8
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x140080126
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rcx, rbx
call fcn.1400ad6c0
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov ecx, 2
call fcn.1400adadc
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.140005070
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x140082180
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x14014b068]
cmp eax, 1
jbe 0x1400821c9
mov rdx, qword [0x14014e3c0]
test rdx, rdx
je 0x1400821c1
lea ecx, [rax - 1]
call rdx
movzx ecx, ax
mov eax, dword [0x14014b068]
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
Function at 0x140086b10
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
sub rsp, 0x78
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx], 0x2d
mov r13, r8
mov r12, rdx
jne 0x140086b3f
cmp byte [rcx + 1], 0
jne 0x140086b3f
xor eax, eax
jmp 0x140086b44
sbb eax, eax
or eax, 1
mov qword [rsp + 0xb8], rsi
lea rbx, str._dev_stdin
test eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
lea rdx, [0x14011814c]
cmovne rbx, rcx
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.1400b3714
mov rbp, rax
test rax, rax
je 0x140086c59
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov edi, 0x1000
call fcn.1400beca0
test eax, eax
jne 0x140086bae
mov eax, 0x8000
test word [rsp + 0x26], ax
je 0x140086bae
mov eax, dword [rsp + 0x34]
inc eax
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.1400ad9b4
mov rsi, rax
test rax, rax
je 0x140086c51
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b43c8
mov r15, rax
mov byte [rax + rsi], 0
cmp rax, rdi
jne 0x140086c31
nop dword [rax]
nop word [rax + rax]
add rdi, rdi
mov rcx, rsi
lea rdx, [rdi + 1]
call fcn.1400ad6b8
mov r14, rax
test rax, rax
je 0x140086c49
mov rbx, rdi
lea rcx, [rax + r15]
shr rbx, 1
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rsi, rax
call fcn.1400b43c8
add r15, rax
mov byte [rsi + r15], 0
cmp rax, rbx
je 0x140086bf0
mov rcx, rbp
call fcn.1400b3b14
lea rax, [r15 + 1]
mov qword [r12], rsi
mov qword [r13], rax
xor eax, eax
jmp 0x140086c5e
mov rcx, rsi
call fcn.1400ad6c0
mov rcx, rbp
call fcn.1400b3b14
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x78
pop r13
pop r12
pop rbp
pop rbx
ret

Function at 0x14008fb88
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14008fb9b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14009019c
lea rdx, [0x1401486b0]
lea rcx, [rsp + 0x20]
call fcn.1400ab0e0
int3

Function at 0x14009a3e4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14014f368]
xor edx, edx
jmp fcn.14008fb88

Function at 0x14009ad70
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14014f368]
jmp fcn.14008fb88
Function at 0x1400ea880
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1098
call fcn.14008cda0
sub rsp, rax
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x1080], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0xd4], eax
movups xmmword [rsp + 0x84], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
inc r8
cmp byte [rcx + r8], al
jne 0x1400ea8f1
mov rdx, rcx
inc r8
lea rcx, [rsp + 0xe0]
call fcn.1400b3a54
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x1098
ret

Function at 0x1400ed040
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.1400ed380
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400ed110
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14008c170
add rsp, 0xb0
pop rbx
ret
Function at 0x1400f34b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 8
mov ecx, r8d
ror ecx, 8
xor ecx, 8
movd xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret