joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c1da0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push r13
push r15
sub rsp, 0x2d0
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, qword [rsp + 0x320]
mov rax, r8
mov qword [rsp + 0x68], rax
mov r10, r9
mov qword [rsp + 0x58], r9
movzx r13d, dl
mov r15, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400c1e05
mov dword [rsp + 0x58], 0x2719
call fcn.1400b0800
mov qword [rsp + 0x60], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
jmp 0x1400c1fcb
cmp byte [rsp + 0x318], 0
mov qword [rsp + 0x2c8], rsi
je 0x1400c1e28
test r13b, 0x10
je 0x1400c1e28
xor esi, esi
mov dword [rbx], esi
xor eax, eax
jmp 0x1400c1fc3
mov qword [rsp + 0x2f8], rbp
xor esi, esi
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x2b8], r12
mov qword [rsp + 0x2b0], r14
lea r14, [rbx + 8]
nop
mov ecx, dword [rsp + 0x310]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov r8d, r10d
mov qword [rsp + 0x28], rsi
mov rdx, rax
mov dword [rsp + 0x20], ecx
mov rcx, r15
mov dword [rsp + 0x40], esi
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebp, eax
call fcn.1400b0800
mov rdi, rax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x1400c1ec7
mov dword [rsp + 0x80], 0x2746
call fcn.1400b0800
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rsp + 0x80]
jmp 0x1400c1ee6
cmp ecx, 0x4d2
jne 0x1400c1eed
mov dword [rsp + 0x48], 0x274d
call fcn.1400b0800
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x48]
lea r14, [rbx + 8]
movups xmmword [rbx], xmm0
test ebp, ebp
jne 0x1400c1f00
movsxd rax, dword [rsp + 0x40]
mov dword [rbx], esi
test eax, eax
jns 0x1400c1fa3
test r13b, 1
jne 0x1400c1fa1
call fcn.1400b0800
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400c1f24
cmp dword [rbx], 0x2733
je 0x1400c1f3e
call fcn.1400b0800
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400c1fa1
cmp dword [rbx], 0x4d5
jne 0x1400c1fa1
lea ecx, [r15 + 1]
mov qword [rsp + 0x98], r15
xor r9d, r9d
mov dword [rsp + 0x90], 1
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.WSOCK32.dll_select]
test eax, eax
js 0x1400c1f82
mov rax, qword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
mov dword [rbx], esi
jmp 0x1400c1e50
call fcn.1400b0800
mov rdi, rax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
xor eax, eax
mov r12, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2f8]
mov r14, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140105b50
add rsp, 0x2d0
pop r15
pop r13
pop rbx
ret
Function at 0x1400c3f00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1400c3f31
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1400c3f4f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x1400c3f99
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x1400c4011
mov rcx, rbp
call fcn.1400a3de0
cmp rbx, 0xfff
jbe 0x1400c3ff1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400c4032
cmp rbx, rax
ja 0x1400c3fc0
test rdi, rdi
je 0x1400c4011
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1400c4014
Function at 0x1400c4040
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1400c4068
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x1400c40dc
test rax, rax
jle 0x1400c40bc
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x1400c40dc
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400c40dc
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x1400c49f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x18], rdx
lea r8, [rbp - 0x30]
mov rbx, rdx
xor edi, edi
mov rdx, qword [rcx]
mov r9d, 8
mov rcx, qword [0x140146278]
add rdx, 0x18
mov qword [rbp - 0x30], rdi
call fcn.1400cc5a0
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x1400c4a72
mov rcx, qword [0x140146278]
lea r8, [rbp - 0x18]
add rdx, 8
mov qword [rbp - 0x18], rdi
mov r9d, 8
call fcn.1400cc5a0
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.1400c50a0
jmp 0x1400c4be8
mov cl, 0x3f
call fcn.14007bdc0
mov edx, 1
mov byte [rbp - 0x18], al
mov cl, 0x3f
call fcn.14007bdc0
mov edx, 2
mov byte [rbp - 0x17], al
mov cl, 0x3f
call fcn.14007bdc0
mov edx, 3
mov byte [rbp - 0x16], al
mov cl, 0x5f
call fcn.14007bdc0
mov edx, 4
mov byte [rbp - 0x15], al
mov cl, 0x63
call fcn.14007bdc0
mov edx, 5
mov byte [rbp - 0x14], al
mov cl, 0x6c
call fcn.14007bdc0
mov edx, 6
mov byte [rbp - 0x13], al
mov cl, 0x61
call fcn.14007bdc0
mov edx, 7
mov byte [rbp - 0x12], al
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007bdc0
mov edx, 8
mov byte [rbp - 0x11], al
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007bdc0
mov edx, 9
mov byte [rbp - 0x10], al
mov cl, WSAGetLastError
call fcn.14007bdc0
mov edx, 0xa
mov byte [rbp - 0xf], al
mov cl, 0x61
call fcn.14007bdc0
mov edx, ioctlsocket
mov byte [rbp - 0xe], al
mov cl, 0x6d
call fcn.14007bdc0
mov edx, reloc.WSOCK32.dll_ioctlsocket
mov byte [rbp - 0xd], al
mov cl, 0x65
call fcn.14007bdc0
movdqa xmm0, xmmword [0x14010f2f0]
movdqa xmm2, xmmword [0x14010f2c0]
movdqa xmm3, xmmword [0x14010f2d0]
mov byte [rbp - 0xc], al
xor eax, eax
movdqa xmmword [rbp - 0x30], xmm0
mov edx, dword [rbp - 0x30]
mov byte [rbp - 0xb], al
nop word [rax + rax]
movsxd rcx, eax
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
movd xmm0, edx
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [rbp + rcx - 0x18]
xorps xmm1, xmm0
movd dword [rbp + rcx - 0x18], xmm1
cmp eax, 0xc
jb 0x1400c4b60
cmp eax, 0xd
jae 0x1400c4bb6
nop
movsxd rcx, eax
lea rdx, [rbp - 0x18]
add rdx, rcx
lea ecx, [rax + 0x13]
inc eax
xor byte [rdx], cl
cmp eax, 0xd
jb 0x1400c4ba0
xorps xmm0, xmm0
mov byte [rbp - 0xb], dil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400c4bd3
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14007b610
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140105b50
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400cb0d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400cb0ee
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret

Function at 0x1400cb100
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400cb207
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400cb207
test rax, rax
je 0x1400cb207
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x1400cb16f
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400cb212
lea rbx, [rdx + rcx]
mov ebp, dword [rax + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x30]
cmp rbx, rbp
jae 0x1400cb1f5
mov edx, dword [rbx + 4]
test edx, edx
je 0x1400cb1f5
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x50], eax
cmp rcx, r8
je 0x1400cb1ce
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x30], rcx
jmp 0x1400cb1ea
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400ca7b0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x1400cb186
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400cb212
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400cb8a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rcx, [0x14011d2b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400cba78
mov r8, rdi
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x28]
call fcn.1400cb3a0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x58]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, rdi
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x48]
call fcn.1400cb3a0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400cb94c
cmp eax, 2
sete bl
jmp 0x1400cb9dc
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x58]
call rax
mov ebx, eax
lea rdx, [0x14011024d]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c5190
test ebx, ebx
je 0x1400cb9b7
lea rdx, [0x14011024d]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400c5190
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x1400cb9dc
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x1400cb9da
xor bl, bl
jmp 0x1400cb9dc
mov bl, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400cba1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cba1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cba1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140105794
movdqa xmm0, xmmword [0x140114780]
movdqu xmmword [rbp - 0x38], xmm0
xor eax, eax
mov word [rbp - 0x48], ax
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400cba75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cba70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cba70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140105794
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140105b50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400cbe70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r13, rdx
mov rbp, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + rcx], 0
jne 0x1400cbe97
movsxd rcx, dword [rdx + 0x3c]
lea r12, [rdx + 0x18]
add r12, rcx
mov qword [rsp + 0x50], rbx
xor esi, esi
movzx eax, word [rcx + rdx + 0x14]
movzx r14d, word [rcx + rdx + 6]
add r12, rax
cmp si, r14w
jae 0x1400cbf06
nop word [rax + rax]
lea rcx, [rsi + rsi*4]
mov r8, rdi
lea rbx, [r12 + rcx*8]
mov rdx, rbp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cbeff
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400cbef1
cmp rdi, rax
je 0x1400cbf25
inc esi
cmp esi, r14d
jb 0x1400cbed0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp dword [rbx + 0xc], 0
je 0x1400cbf06
test r15, r15
je 0x1400cbf36
mov eax, dword [rbx + 8]
mov dword [r15], eax
mov eax, dword [rbx + 0xc]
add rax, r13
jmp 0x1400cbf08

Function at 0x1400cbf40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x20a
xor edi, edi
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400cbff3
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov rax, r8
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x1400cbfa3
cmp word [rsp + rax*2 + 0x2e], 0x5c
jne 0x1400cbfcf
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400cc04a
mov word [rsp + rax + 0x30], di
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x1400cbfe2
lea rdx, [rsp + 0x30]
jmp 0x1400cc01e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x14011024d]
call fcn.1400c5190
xorps xmm0, xmm0
lea rdx, [0x14011d008]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
xor r8d, r8d
mov qword [rbx + 0x18], rdi
mov rcx, rbx
call fcn.14007b720
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140105b50
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
call fcn.140105f94
int3
Function at 0x1400cc050
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, ioctlsocket
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov ebx, r14d
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400cc0e0
test rbx, rbx
je 0x1400cc0a7
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ioctlsocket
mov rbx, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400cc091
test eax, eax
jns 0x1400cc101
test rbx, rbx
je 0x1400cc106
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400cc207
test rbx, rbx
jne 0x1400cc10d
xor eax, eax
jmp 0x1400cc207
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x1400cc1e7
nop word [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400cc165
lea rcx, [rsp + 0x28]
call fcn.14007b610
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400cc185
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400cc21d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400cc1dd
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc1d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc266
call fcn.140105794
inc edi
cmp edi, dword [rbx]
jb 0x1400cc130
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140105b50
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400cc272
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc26d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cc26d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140105794
mov rax, rdi
jmp 0x1400cc1fa
Function at 0x1400e0c20
Capabilities:
Hash data using fnv

Disassembly:
push rbx
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x1400e0cd2
mov r10d, dword [rdx]
mov r11d, dword [rbx + 0x18]
mov edx, r10d
mov r8d, r10d
shr edx, 0x18
mov ecx, r10d
shr r8d, 0x10
shr ecx, 8
cmp r10d, r11d
je 0x1400e0cd2
mov r9, qword [rbx + 8]
mov rbx, qword [rbx]
dec r9
movzx ecx, cl
mov qword [rsp + 0x10], rdi
movabs rdi, 0xcbf29ce484222325
movzx eax, r10b
xor rax, rdi
movabs rdi, 0x100000001b3
imul rax, rdi
xor rax, rcx
movzx ecx, r8b
imul rax, rdi
xor rax, rcx
mov ecx, edx
imul rax, rdi
xor rax, rcx
imul rax, rdi
mov rdi, qword [rsp + 0x10]
and rax, r9
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
cmp edx, r10d
je 0x1400e0cd6
cmp edx, r11d
je 0x1400e0cd2
inc rax
add rax, rcx
inc rcx
and rax, r9
cmp rcx, r9
jbe 0x1400e0cb0
xor eax, eax
pop rbx
ret
mov rax, r8
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r9, rdx
mov rdi, rcx
je 0x1400e0ed1
mov r15d, dword [rdx + 0x80]
lea r13, [rcx + 0x18]
cmp r15d, dword [r13 + 0x80]
jne 0x1400e0e1e
lea r8, [r15*4]
mov rdx, r13
mov rcx, r9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e0ed1
mov r9, qword [rsp + 0x68]
mov r14, qword [rdi + 8]
xor ebp, ebp
dec r14
mov eax, 0x811c9dc5
mov ecx, ebp
test r15, r15
je 0x1400e0e52
nop dword [rax]
nop word [rax + rax]
xor eax, dword [r9 + rcx*4]
inc rcx
imul eax, eax, 0x1000193
cmp rcx, r15
jb 0x1400e0e40
mov ebx, eax
mov rax, qword [rdi]
and rbx, r14
mov qword [rsp + 0x60], rax
nop
imul rdi, rbx, 0x88
add rdi, rax
mov esi, dword [rdi + 0x80]
mov r12d, esi
cmp esi, r15d
jne 0x1400e0e8f
lea r8, [rsi*4]
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e0ecc
cmp esi, dword [r13 + 0x80]
jne 0x1400e0eaf
lea r8, [r12*4]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e0ed1
inc rbx
add rbx, rbp
inc rbp
and rbx, r14
cmp rbp, r14
ja 0x1400e0ed1
mov r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
jmp 0x1400e0e60
mov rax, rdi
jmp 0x1400e0ed3
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e10a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov r8, rax
test rax, rax
je 0x1400e10cc
nop
movzx edx, byte [r9 + r8 - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub r8, 1
jne 0x1400e10b0
ret