joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e9dc
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x20], 0x6a686274
xor ecx, ecx
mov dword [rbp - 0x1c], 0x7d666674
mov dword [rbp - 0x18], 0x1000b0a
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x14005ea0a
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x15], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140102f68], rax
test rax, rax
jne 0x14005ea3d
mov eax, 4
jmp 0x14005ea58
call fcn.14005d44c
test al, al
jne 0x14005ea4a
xor eax, eax
jmp 0x14005ea58
call fcn.14005d578
neg al
sbb eax, eax
and eax, 2
inc eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x40
pop rbp
ret

Function at 0x14005ef84
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rsi, r9
mov dword [rsp + 0x20], 0x1004507
mov rdi, rdx
mov rbx, rcx
xor r8d, r8d
lea eax, [r8 + 0x22]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 2
jb 0x14005efb5
cvtss2sd xmm2, xmm2
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x30]
movq r8, xmm2
call fcn.140036b20
mov r9, rsi
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x440
pop rdi
pop rsi
pop rbx
ret

Function at 0x14005f014
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rsi, r9
mov dword [rsp + 0x20], 0x1004707
mov rdi, rdx
mov rbx, rcx
xor r10d, r10d
lea eax, [r10 + 0x22]
xor byte [rsp + r10 + 0x20], al
inc r10
cmp r10, 2
jb 0x14005f045
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x30]
call fcn.140036b20
mov r9, rsi
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x440
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005f448
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005f4b7
cmp byte [rcx + 0x71], 0
je 0x14005f4b7
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14005f50c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005f4d1
sub eax, 1
je 0x14005f4d5
cmp eax, 2
jne 0x14005f50c
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cfb30
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005f503
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005f50c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005f4b9
xor al, al
jmp 0x14005f4b9

Function at 0x1400600a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x1400600bb
xor edx, edx
lea eax, [rdx + 0x22]
xor byte [rcx + rdx], al
inc rdx
cmp rdx, 0x1d
jb 0x1400600a8
mov byte [rcx + 0x1e], 0
mov rax, rcx
ret
Function at 0x140062f60
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp - 8], rax
lea rcx, [0x14005ea6c]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.14006a164
test al, al
je 0x140062fe2
movdqa xmm0, xmmword [0x1400dbf80]
xor ecx, ecx
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x18], 1
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0xf
jb 0x140062fa3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x18], 0
call fcn.140058358
lea rdx, [0x14005a238]
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 ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14006a1b4
and dword [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
and qword [rsp + 0x38], 0
xor r8d, r8d
mov byte [rsp + 0x30], 0
xor edx, edx
mov byte [rsp + 0x28], 0
mov rcx, rax
mov byte [rsp + 0x20], 1
mov qword [0x140102fe0], rax
call fcn.14006b7f8
test rax, rax
jne 0x140063099
movdqa xmm0, xmmword [0x1400dc0c0]
lea rcx, [rbp - 0x28]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x5d401342
mov dword [rbp - 0x14], 0x4b5c1753
mov dword [rbp - 0x10], 0x4f594d53
mov word [rbp - 0xc], Ordinal_35
mov byte [rbp - 0xa], 1
call fcn.1400600a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rax
call fcn.140058358
lea rdx, [0x14005a238]
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, qword [0x140102fe0]
call fcn.14006af0c
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140102fe0]
call fcn.14006af0c
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x80
pop rbp
ret
Function at 0x140063278
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp - 8], rax
or esi, 0xffffffff
mov r14d, edx
mov rdi, rcx
cmp edx, esi
jne 0x1400632b2
xor eax, eax
jmp 0x1400633d1
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400632eb
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400632eb
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], r14b
mov eax, r14d
jmp 0x1400633d1
cmp qword [rdi + 0x80], 0
je 0x1400633cf
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140063325
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140063346
movsx ecx, r14b
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, esi
jmp 0x1400633cb
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], r14b
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140063394
sub eax, 1
je 0x140063394
cmp eax, 2
jne 0x1400633cf
movsx ecx, byte [rbp - 0x40]
jmp 0x140063332
mov rbx, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub rbx, rax
je 0x1400633bf
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x28]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400633cf
lea rax, [rbp - 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne esi, r14d
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cfb30
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140064ae4
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x37
sub r8d, ecx
lea rcx, [0x1400daef1]
movsxd rax, r8d
mov cl, byte [rax + rcx]
add byte [rsp + rbx + 0x20], cl
inc rbx
cmp rbx, 0xf
jne 0x140064b03
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x40
pop rbx
ret

Function at 0x140065838
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x140065866
xor eax, eax
jmp 0x14006594d
cmp qword [rcx + 0x68], 0
je 0x140065878
call 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]
jmp 0x14006594d
mov rdi, rsi
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 0x1400658b8
cmp rax, rsi
mov rbx, rsi
mov rcx, rbp
cmovb rbx, 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, rbx
mov rcx, r14
mov rdx, rax
call fcn.1400d0e7e
mov edx, ebx
mov rcx, rbp
add r14, rbx
sub rdi, rbx
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
je 0x140065947
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x70]
cmp rax, rcx
jne 0x1400658f2
mov rdx, qword [rbp + 0x88]
mov rcx, rbp
mov r9, qword [rbp + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, rdi
mov ebx, 0xfff
jmp 0x140065922
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
add r14, rax
mov rcx, rdi
cmp rax, rbx
jne 0x140065947
cmp rdi, rbx
ja 0x1400658fc
test rcx, rcx
je 0x140065947
mov r9, qword [rbp + 0x80]
mov r8, rdi
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 rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140065968
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140065992
call 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]
jmp 0x140065a02
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 0x1400659fc
test rax, rax
jle 0x1400659dc
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 fcn.1400d0e7e
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 0x1400659fc
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400659fc
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140069144
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r15d, r15d
lea r9, [rbp + 0x38]
xor edx, edx
mov dword [rbp + 0x38], r15d
mov rdi, rcx
xor r8d, r8d
mov ebx, r15d
lea esi, [rdx + 0x40]
mov ecx, esi
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, 0xc0000004
jmp 0x1400691bd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x38]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x38]
lea r9, [rbp + 0x38]
mov rdx, rax
mov ecx, esi
mov rbx, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, r14d
je 0x140069182
test eax, eax
js 0x140069378
test rbx, rbx
je 0x14006938e
mov r14, r15
mov esi, r15d
cmp qword [rbx], r15
jbe 0x14006922c
mov rax, r15
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rbp - 0x48]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x14006921c
cmp qword [rbp - 0x38], rdi
je 0x140069227
inc esi
mov eax, esi
cmp rax, qword [rbx]
jb 0x1400691e1
jmp 0x14006922c
movq r14, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x14006938e
mov ebx, 8
mov qword [rbp + 0x48], r15
mov r9d, ebx
lea r8, [r14 + 8]
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.14006a530
test al, al
je 0x14006938e
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x14006938e
add r8, rbx
mov qword [rbp - 0x60], r15
mov r9d, ebx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14006a530
test al, al
je 0x14006938e
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x14006938e
add r8, 0x28
mov qword [rbp + 0x40], r15
mov r9d, ebx
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14006a530
test al, al
je 0x14006938e
mov r8, qword [rbp + 0x40]
test r8, r8
je 0x14006938e
xorps xmm0, xmm0
lea esi, [rbx + 8]
mov r9d, esi
lea rdx, [rbp - 0x58]
add r8, 0x58
mov rcx, rdi
movups xmmword [rbp - 0x58], xmm0
call fcn.14006a530
test al, al
je 0x14006938e
movzx eax, word [rbp - 0x58]
test ax, ax
je 0x14006938e
mov ecx, eax
lea eax, [rbx - 6]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [rbx - 9]
cmovb rax, rcx
mov rcx, rax
call fcn.1400d00d0
movzx r8d, word [rbp - 0x58]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rbp - 0x58]
mov rdx, rbx
mov r8, qword [rbp - 0x50]
mov rcx, rdi
call fcn.14006a530
test al, al
je 0x14006938e
mov rdx, qword [rbp + 0x40]
lea r8, [rbp - 0x58]
add rdx, 0x58
mov word [rbp - 0x58], r15w
mov r9d, esi
mov rcx, rdi
call fcn.14006a530
test al, al
je 0x14006938e
mov rcx, rbx
call fcn.1400cfa98
mov al, 1
jmp 0x140069390
test rbx, rbx
je 0x14006938e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006ca84
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14006caa2
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 0x14006d5f8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140102700]
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 0x14006d6a6
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov rax, r8
inc rax
cmp word [rcx + rax*2], di
jne 0x14006d658
cmp word [rsp + rax*2 + 0x2e], 0x5c
jne 0x14006d682
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x14006d70d
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 0x14006d695
lea rdx, [rsp + 0x30]
jmp 0x14006d6e1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Failed_to_get_temp_path
call fcn.140066850
lea rdx, [0x140068570]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x1400e4848]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
xor r8d, r8d
mov qword [rbx + 0x18], rdi
mov rcx, rbx
call fcn.1400589c8
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400cfb30
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
call fcn.1400d020c
int3
Function at 0x14006d714
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
lea r9, [rbp - 0x30]
and dword [rbp - 0x30], ebx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbx + 0xb]
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, 0xc0000004
jmp 0x14006d799
test rbx, rbx
je 0x14006d76f
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x30]
lea r9, [rbp - 0x30]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, esi
je 0x14006d759
test eax, eax
jns 0x14006d7da
test rbx, rbx
je 0x14006d7b7
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cfb30
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rbx, rbx
je 0x14006d7b7
xor edi, edi
cmp dword [rbx], edi
jbe 0x14006d7a6
and qword [rbp - 0x18], 0
xorps xmm0, xmm0
and qword [rbp - 0x10], 0
mov eax, edi
imul rsi, rax, 0x128
movups xmmword [rbp - 0x28], xmm0
movzx edx, word [rsi + rbx + 0x2e]
add rdx, 0x30
add rdx, rsi
add rdx, rbx
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14006d812
lea rcx, [rbp - 0x28]
call fcn.1400588e8
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
jbe 0x14006d832
mov rdx, qword [r14]
cmp qword [rbp - 0x10], 0xf
lea rcx, [rbp - 0x28]
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006d890
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14006d881
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d87c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d8d8
call fcn.1400cfa98
inc edi
cmp edi, dword [rbx]
jb 0x14006d7e5
jmp 0x14006d7a6
mov rdi, qword [rsi + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14006d8e4
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d8df
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d8df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfa98
mov rax, rdi
jmp 0x14006d7b9