joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005aa0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor edi, edi
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], edi
xor edx, edx
mov ebx, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140005b35
test rbx, rbx
je 0x140005afb
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, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140005ae5
test eax, eax
jns 0x140005b56
test rbx, rbx
je 0x140005b5b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140005c1d
test rbx, rbx
jne 0x140005b62
xor eax, eax
jmp 0x140005c1d
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x140005c05
nop
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rcx, 0x30
add rdx, rcx
lea rcx, [rsp + 0x28]
add rdx, rbx
call fcn.140006c80
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140005ba3
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 0x140005c3a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140005bfb
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bf6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c83
call fcn.1400def30
inc edi
cmp edi, dword [rbx]
jb 0x140005b70
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400df330
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
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 0x140005c8f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c8a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400def30
mov rax, rdi
jmp 0x140005c18
Function at 0x140006140
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 case.default.0x140006161
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 0x14000618e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140006190
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400061e9
test ecx, ecx
jle 0x1400061c9
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 0x1400061e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400061e9
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
rol dword [rdx], 1
add byte [rbp + rcx*8 + 1], bh
add byte [rax - 0x78fffd59], ch
loopne 0x1402087ce
add byte [rbx - 0x5cfffb1a], ch
ror dword [rax], 0
mov dl, 0xd4
or al, 0
mov bl, 0xd3
adc byte [rax], al
mov cl, 0xd5
invalid
out 4, al
add byte [rbx - 0x4dfff73f], ah
invalid
Function at 0x140006210
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 0x140006232
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140006241
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 0x140006264
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006266
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400062a2
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 0x14000633e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400062dd
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 0x14000631e
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 0x14000633e
cmp rbx, rax
ja 0x1400062f0
test rbx, rbx
je 0x14000633e
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
invalid
Function at 0x1400067b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400067dd
xor eax, eax
jmp 0x140006949
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006817
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006817
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006949
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000693c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000685a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006885
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006941
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x1400068f4
sub eax, 1
je 0x1400068f4
cmp eax, 2
jne 0x14000693c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006941
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006922
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000693c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006941
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400df330
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006f83
cmp byte [rcx + 0x71], 0
je 0x140006f83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006f7f
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 0x140006f44
sub eax, 1
je 0x140006f48
cmp eax, 2
jne 0x140006f7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df330
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006f76
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 0x140006f7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006f2c
xor al, al
jmp 0x140006f2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df330
add rsp, 0x60
pop rbx
ret
Function at 0x14000aff0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.1400df420
sub rsp, rax
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor r14d, r14d
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
je 0x14000b072
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.1400093f0
test al, al
jne 0x14000b07a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_read_module_headers
call fcn.140007240
lea rdx, [0x140007420]
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]
mov rdx, r14
jmp 0x14000b162
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
inc rdi
cmp byte [rdi + rbp], r14b
jne 0x14000b0a1
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, r14d
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp r14w, r15w
jae 0x14000b11c
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, rbp
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000b115
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x14000b103
cmp rdi, rax
je 0x14000b19c
inc esi
cmp esi, r15d
jb 0x14000b0e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_find_section
call fcn.140007240
lea rdx, [0x140007420]
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]
mov rdx, r14
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov qword [rsp + 0x20], rax
call fcn.14000ae80
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400df330
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14000b11c
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x14000b11c
test edx, edx
je 0x14000b11c
lea rax, [rsp + 0x50]
mov r14d, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x14000b142
Function at 0x140010830
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 [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140010956
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140010956
test rax, rax
je 0x140010956
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x1400108b3
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x140010961
lea rbx, [rcx + rdx]
mov esi, dword [rax + 0xb4]
add rsi, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rsi
jae 0x140010944
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x140010944
mov eax, dword [rbx]
add rax, rbp
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14001091d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x140010934
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140011290
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov r8, qword [rsp + 0x58]
cmp rbx, rsi
jb 0x1400108d0
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x140010961
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.1400df330
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 0x140012bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov ecx, 0x140
call fcn.1400deef4
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140012c0f
mov rdx, rbp
mov rcx, rax
call fcn.140016920
mov qword [rbx + 0x138], rsi
jmp 0x140012c11
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, [0x1400148e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword ds:[rdi], rax
test rax, rax
je 0x140012c62
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400df330
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov dword [rsi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140013340
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400df420
sub rsp, rax
vmovaps xmmword [rsp + 0x13d0], xmm6
vmovaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1401d3d40]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
vmovaps xmm7, xmm1
vmovaps xmm6, xmm0
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x24], eax
mov edx, 1
mov r9d, 0x270
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x1400133a0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400133d0
mov eax, dword [rsp + 0x20]
vsubss xmm0, xmm7, xmm6
vxorps xmm1, xmm1, xmm1
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
vcvtsi2ss xmm1, xmm1, rax
vmulss xmm2, xmm1, xmm0
vmovaps xmm0, xmm6
vfmadd231ss xmm0, xmm2, dword [0x1400eda8c]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400df330
vmovaps xmm6, xmmword [rsp + 0x13d0]
vmovaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x14001ce40
Capabilities:
Create thread
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x2b0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x290], rbx
mov qword [rbp + 0x298], rsi
mov qword [rbp + 0x2a0], rdi
mov qword [rbp + 0x2a8], r12
mov rax, qword [0x1401d3d40]
xor rax, rbp
mov qword [rbp + 0x260], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x10], xmm1
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rbp]
call fcn.140007810
mov dword [rbp + 0x20], 0x238
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
lea rdx, [rbp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
xor r15d, r15d
movabs r12, 0xffffffffffffff0
mov rsi, qword [rbp + 0x18]
mov r14, qword [rbp]
nop
lea rcx, [rbp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14001cef0
lea edx, ds:[rax + 1]
cmp edx, 0x3fffffff
jg 0x14001cf6f
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001cf1e
mov rcx, r12
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400df420
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14001cf6f
mov byte [rbx], r15b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
lea r8, [rbp + 0x4c]
xor edx, edx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r15
jmp 0x14001cf72
mov rbx, r15
lea rdx, [rbp]
cmp rsi, 0xf
cmova rdx, r14
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14001cf93
inc rbx
test eax, eax
jne 0x14001cf81
test ecx, ecx
mov rcx, rdi
je 0x14001cfbb
lea rdx, ds:[rbp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001cee0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, r15d
jmp 0x14001cfc9
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0x28]
lea rcx, [rbp]
call fcn.140006c20
mov r8d, ebx
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
mov rcx, qword [rbp + 0x260]
xor rcx, rbp
call fcn.1400df330
mov rbx, qword [rbp + 0x290]
mov rsi, qword [rbp + 0x298]
mov rdi, qword [rbp + 0x2a0]
mov r12, qword [rbp + 0x2a8]
lea rsp, [rbp + 0x270]
pop r15
pop r14
pop rbp
ret
Function at 0x140040a30
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r9, str._C_taskkill__F__IM_cs2.exe
mov dword [rsp + 0x28], eax
lea r8, str.cmd.exe
lea rdx, str.open
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x14004e980
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1401d5858]
xor r15d, r15d
mov ebp, ecx
mov r14d, r15d
mov rsi, qword [rdi + 0x3ef8]
test cl, 0x10
jne 0x14004eb1f
mov ebx, dword ds:[rdi + 0x4794]
test ebx, ebx
je 0x14004e9fa
cmp dword [rdi + 0x3f58], ebx
jne 0x14004eb18
mov eax, dword [rdi + 0x3f84]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xe10], r14b
je 0x14004eb18
cmp byte [rsi + 0xbb], r14b
jmp 0x14004eac3
nop word [rax + rax]
cmp byte [rdi + 0xe10], r14b
je 0x14004eb18
cmp byte [rsi + 0xbb], r14b
jne 0x14004eb18
test byte [rdi + 0x479c], 1
jne 0x14004ea3d
cmp dword [rdi + 0x3f58], r14d
je 0x14004eb18
cmp qword [rdi + 0x3f78], rsi
jne 0x14004eb18
nop dword [rax]
test bpl, 8
je 0x14004eb18
lea rdx, [rdi + 0x47a0]
mov rcx, rsi
call fcn.140054240
mov ebx, eax
mov dword [rdi + 0x4794], eax
mov rax, qword [0x1401d5858]
cmp dword [rax + 0x3f58], ebx
jne 0x14004ea76
mov dword [rax + 0x3f5c], ebx
cmp dword [rax + 0x3f88], ebx
jne 0x14004ea85
mov byte [rax + 0x3f8c], 1
mov edx, ebx
lea rcx, [rdi + 0x47a0]
call fcn.140057fc0
movzx r14d, al
test al, al
je 0x14004eabd
nop dword [rax + rax]
cmp byte [rdi + 0x3748], r15b
je 0x14004eabd
mov rdx, rsi
mov ecx, ebx
call fcn.140062a60
xor edx, edx
mov rcx, rsi
call fcn.140053780
cmp dword [rdi + 0x3f58], ebx
jne 0x14004eb18
mov byte [rdi + 0x3f65], r14b
movsxd rcx, dword [rsi + 0xf0]
mov rax, qword [rsi + 0xf8]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x1401d5858]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xe10], 0
jne 0x14004eaf8
xor sil, sil
jmp 0x14004eb0e
vmovss xmm0, dword [rax + 0x38]
vmulss xmm1, xmm0, xmm0
vcomiss xmm1, dword [rax + rcx*4 + 0x37a0]
setbe sil
call fcn.140062bc0
test sil, sil
jne 0x14004eb72
xor al, al
jmp 0x14004ec19
mov r9d, 0xffffffff
lea rdx, [0x1400f27b9]
mov ebx, r9d
lea r10, [0x1400f0da0]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x14004eb53
cmp byte [rdx], r8b
jne 0x14004eb53
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14004eb40
not ebx
cmp byte [rdi + 0x4a9c], 0
jne 0x14004ebb5
nop dword [rax + rax]
call fcn.140050460
mov dword [rdi + 0x4abc], ebx
mov dword [rdi + 0x4ac0], r14d
mov byte [rdi + 0x4a9c], 1
mov dword [rdi + 0x4aa0], ebp
mov dword [rdi + 0x4aa8], r15d
cmp ebx, dword [rdi + 0x3f58]
jne 0x14004ebb5
mov byte [rdi + 0x3f66], 1
mov eax, dword [rdi + 0x3e50]
mov dword [rdi + 0x4aa4], eax
mov byte [rdi + 0x4a9d], 1
test bpl, 1
jne 0x14004ec0a
xor edx, edx
xor ecx, ecx
call fcn.14004f1c0
cmp dword ds:[rdi + 0x4b10], 0
je 0x14004ec0a
test dword [rdi + 0x4b04], 0x1000
je 0x14004ec0a
mov rax, qword [rdi + 0x3ef8]
mov byte [rax + 0xbb], 1
mov byte [rax + 0xbd], 1
mov byte [rax + 0xd8], 1
test bpl, 0x12
jne 0x14004ec17
and dword [rdi + 0x479c], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret