joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076d00
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, qword [0x1400e6b50]
lea rax, str.1_32_1024_6_buffer
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rsi, rcx
shr rbx, 3
lea rax, [fcn.140076d00]
mov rdi, rdx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 4]
mov edx, 0x80
add rcx, rbx
mov dword [rbx + rbp], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rcx, rsi
mov dword [rbx + rbp + 0x84], 0xf3f3f3f3
mov qword [rsp + 0x468], rdi
call fcn.1400756f0
test al, al
jne 0x140076da6
mov rcx, rdi
call fcn.140004330
mov r8d, recv
lea rdx, str.Not_connected
jmp 0x140076e12
add rsi, 0x1a8
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x140076dd0
movzx eax, sil
and al, 7
add al, 7
cmp al, cl
jl 0x140076dd0
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
mov rcx, rdi
test eax, eax
jg 0x140076e05
call fcn.140004330
mov r8d, socket
lea rdx, str.Error_receiving_data
jmp 0x140076e12
call fcn.140004330
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140003110
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 0x88
add rcx, rbp
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rdi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140084bc0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f260
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov rdi, qword [0x1400e6b50]
lea rax, str.3_32_520_13_szProcessName_48_4_8_cbNeeded_64_8_4_hMod
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov esi, edx
lea rax, [fcn.14007f260]
shr rbx, 3
add rbx, rdi
mov qword [rsp + 0x30], rax
mov edx, 0x41
lea rcx, [rbx + 4]
mov dword [rbx], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov byte [rbx + 0x45], 0xf2
lea rdx, str._unknown_
mov dword [rbx + 0x46], 0xf2f2f2f2
lea rcx, [rsp + 0x40]
mov dword [rbx + 0x4a], 0xf3f8f2f8
mov r8d, socket
mov word [rbx + 0x4e], 0xf3f3
mov byte [rbx + 0x50], 0xf3
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memcpy
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x1f4
lea r9d, [rdx + 4]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memset
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14007f3b9
lea rcx, [rsp + 0x270]
mov r8d, 8
shr rcx, 3
lea r9, [rsp + 0x270]
lea rdx, [rsp + 0x280]
mov byte [rcx + rdi], 4
lea rcx, [rsp + 0x280]
shr rcx, 3
mov byte [rcx + rdi], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14007f3b9
lea rcx, [rsp + 0x280]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x14007f39d
movzx eax, cl
and al, 7
add al, 7
cmp al, dl
jl 0x14007f39d
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rdx, qword [rsp + 0x280]
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rax, [rsp + 0x270]
shr rax, 3
mov byte [rax + rdi], pe_nt_image_headers64
lea rax, [rsp + 0x280]
shr rax, 3
mov byte [rax + rdi], pe_nt_image_headers64
test esi, esi
jne 0x14007f400
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_get_process_name_and_ID.
call fcn.140071ad0
lea rdx, [0x140071dc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 0x51
add rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, esi
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140084bc0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007f5e0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, qword [0x1400e6b50]
lea rax, str.2_32_4_4_size_48_16_6_buffer
mov qword [rsp + 0x20], 0x41b58ab3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rdi, rdx
lea rax, [fcn.14007f5e0]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
shr rax, 3
mov dword [rax + rsi], 0xf1f1f1f1
mov dword [rax + rsi + 4], 0xf204
mov dword [rax + rsi + 8], 0xf3f3f3f3
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rsi]
test dl, dl
je 0x14007f67b
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x14007f67b
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
lea rcx, str.Failed_to_get_system_name.
lea rbx, [rsp + 0x50]
cmove rbx, rcx
mov rcx, rdi
call fcn.140004330
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14007f6b4
mov rdx, rbx
mov rcx, rdi
call fcn.140003110
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, recv
add rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140084bc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14007f710
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, qword [0x1400e6b50]
lea rax, str.1_32_260_6_buffer
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, rdx
lea rax, [fcn.14007f710]
shr rbx, 3
add rbx, rsi
mov qword [rsp + 0x30], rax
mov edx, 0x20
lea rcx, [rbx + 4]
mov dword [rbx], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
lea rdx, [rsp + 0x40]
mov word [rbx + 0x24], 0xf204
mov ecx, 0x104
mov dword [rbx + 0x26], 0xf3f3f3f3
mov qword [rsp + 0x178], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rdi
call fcn.140004330
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14007f7c0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140003110
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 0x2a
add rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140084bc0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007f820
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [0x1400e6b50]
lea rax, str.1_32_48_9_siSysInfo
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, rcx
shr rbx, 3
lea rax, [fcn.14007f820]
mov rbp, rdx
mov qword [rsp + 0x30], rax
lea rcx, [r14 + 4]
mov esi, 6
add rcx, rbx
mov edx, esi
mov dword [rbx + r14], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
lea rcx, [rsp + 0x40]
mov dword [rbx + r14 + 0xa], 0xf3f3f3f3
mov qword [rsp + 0x98], rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x40]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + r14]
test dl, dl
je 0x14007f8da
movzx eax, cl
and al, 7
inc al
cmp al, dl
jl 0x14007f8da
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
movzx ecx, word [rsp + 0x40]
test ecx, ecx
je 0x14007f925
sub ecx, 5
je 0x14007f917
sub ecx, 1
je 0x14007f909
sub ecx, 3
je 0x14007f900
lea rdx, str.Unknown_architecture
mov esi, socket
jmp 0x14007f92c
lea rdx, str.64_bit
jmp 0x14007f92c
lea rdx, str.Intel_Itanium_based
mov esi, reloc.WS2_32.dll_send
jmp 0x14007f92c
lea rdx, [0x1400ca780]
mov esi, 3
jmp 0x14007f92c
lea rdx, str.32_bit
mov r8, rsi
lea rcx, [rdi + 0x20]
call fcn.140002940
lea rdx, [rdi + 0x20]
mov rcx, rbp
call fcn.140001a40
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, recv
add rcx, r14
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rbp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140084bc0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14007f990
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, qword [0x1400e6b50]
lea rax, str.1_32_48_9_siSysInfo
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, rcx
shr rbx, 3
lea rax, [fcn.14007f990]
mov rsi, rdx
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 4]
mov edx, 6
add rcx, rbx
mov dword [rbx + rbp], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
lea rcx, [rsp + 0x40]
mov dword [rbx + rbp + 0xa], 0xf3f3f3f3
mov qword [rsp + 0x98], rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x40]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rbp]
test dl, dl
je 0x14007fa3f
movzx eax, cl
and al, 7
inc al
cmp al, dl
jl 0x14007fa3f
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
movzx ecx, word [rsp + 0x40]
test ecx, ecx
je 0x14007fa89
sub ecx, 5
je 0x14007faf0
sub ecx, 1
je 0x14007fa73
sub ecx, 3
je 0x14007fa6a
lea rdx, str.Unknown_architecture
mov r8d, socket
jmp 0x14007fa96
lea rdx, [0x1400caa80]
jmp 0x14007fa90
lea rcx, [rdi + 0x40]
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Intel_Itanium_based
call fcn.140002940
lea rdx, [0x1400cab40]
mov r8d, 3
lea rcx, [rdi + 0x40]
call fcn.140002940
lea rdx, [rdi + 0x40]
mov rcx, rsi
call fcn.140001a40
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, recv
add rcx, rbp
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140084bc0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x1400ca780]
jmp 0x14007fa90
Function at 0x140083bd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rdx
mov rdi, rcx
mov rbp, qword [0x1400e6b50]
mov ecx, 8
call fcn.140084920
mov rbx, rax
test rax, rax
je 0x140083c5f
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x140083c35
movzx eax, sil
and al, 7
add al, 7
cmp al, cl
jl 0x140083c35
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x140083c57
movzx eax, bl
and al, 7
add al, 7
cmp al, cl
jl 0x140083c57
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov rax, qword [rsi]
mov qword [rbx], rax
jmp 0x140083c61
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140083f20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbx, rax
mov rax, rdi
shr rax, 3
movzx edx, byte [rax + rbp]
test dl, dl
je 0x140083cb3
movzx ecx, dil
and cl, 7
add cl, 7
cmp cl, dl
jl 0x140083cb3
mov rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
mov qword [rdi], rbx
test rbx, rbx
je 0x140083ce0
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140084bc0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rbp]
test cl, cl
je 0x140083d03
movzx eax, sil
and al, 7
add al, 3
cmp al, cl
jl 0x140083d03
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
mov dword [rsi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400855e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008562e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008562e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008562e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008562e
cmp dword [rcx + 0x84], 0xe
jbe 0x14008562e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140085630
xor al, al
add rsp, 0x28
ret
Function at 0x1400867d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov qword [rcx], 0
mov rdi, rcx
xor r8d, r8d
mov rcx, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
je 0x140086852
mov ecx, esi
mov qword [rsp + 0x40], rbx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
mov qword [rdi], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rdi]
mov r8d, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rbx, qword [rsp + 0x40]
lea ecx, [rsi - 1]
cmp eax, ecx
je 0x140086852
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], 0
mov rbp, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002ca50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a9168]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14002cb6c
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14002cb6c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x14002cac9
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14002cb77
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14002cb5a
mov edx, eax
cmp rdx, rbp
jae 0x14002cb5a
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x14002cb5a
lea rax, [rdx + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14002cb32
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14002cb4e
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14002d310
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x14002cae2
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14002cb77
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14007dd00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002f4d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400a9168]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14002f559
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ntohs
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14002f510
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x14002f637
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x14002f637
nop dword [rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14002f5b5
lea rcx, [rsp + 0x28]
call fcn.140026e00
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14002f5d5
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002f66d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14002f62d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f628
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f6b6
call fcn.14007e0cc
inc ebx
cmp ebx, dword [rdi]
jb 0x14002f580
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14007dd00
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14002f6c2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f6bd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f6bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0cc
mov rax, rbx
jmp 0x14002f64a
Function at 0x14002fa60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14002fa88
add rsp, 0x20
pop r15
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 rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14002faae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002fab0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14002fb09
test ecx, ecx
jle 0x14002fae9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14002fb09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002fb09
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14002fb30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14002fb52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14002fb68
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002fb84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002fb86
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002fbc2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002fc5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002fbfd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14002fc3e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14002fc5e
cmp rbx, rax
ja 0x14002fc10
test rbx, rbx
je 0x14002fc5e
mov r9, qword [rsi + 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 rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret