joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400909d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140090a01
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 case.default.0x140090a18
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140090a3b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140090a3d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140090a79
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140090b0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140090ab4
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 0x140090aee
nop dword [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 0x140090b0e
cmp rbx, rax
ja 0x140090ac0
test rbx, rbx
je 0x140090b0e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140090f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140090f44
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140090f87
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140090f87
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x1400910b8
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140090fca
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 0x140090ff5
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
cmove edi, ecx
mov eax, edi
jmp 0x1400910bd
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14009106a
sub eax, 1
je 0x14009106a
cmp eax, 2
jne 0x1400910b8
movsx ecx, byte [rsp + 0x40]
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
cmove edi, ecx
mov eax, edi
jmp 0x1400910bd
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14009109b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400910b8
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400910bd
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140092430
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
sub rsp, 0x48
mov rsi, r8
mov rbp, rdx
cmp rdx, r8
je 0x140092534
mov rdx, qword [0x1401edbc8]
movabs r8, 0x100000001b3
mov qword [rax + 0x18], rbx
mov rbx, rbp
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov r12, qword [rbp + 8]
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
movzx r14d, byte [rbp + 0x10]
mov qword [rax - 0x38], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [0x1401edbb8]
xor r14, rax
movzx eax, byte [rbp + 0x11]
imul r14, r8
mov qword [rsp + 0x68], rdx
xor r14, rax
movzx eax, byte [rbp + 0x12]
imul r14, r8
xor r14, rax
movzx eax, byte [rbp + 0x13]
imul r14, r8
xor r14, rax
imul r14, r8
and r14, qword [0x1401edbe0]
shl r14, 4
add r14, rdx
mov rax, qword [r14]
mov r13, qword [r14 + 8]
mov qword [rsp + 0x60], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400bf12c
dec qword [0x1401edbc0]
cmp rdi, r13
je 0x14009253e
cmp rbx, rsi
jne 0x1400924e0
cmp qword [rsp + 0x60], rbp
jne 0x14009250e
mov qword [r14], rbx
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x48
pop rsi
pop rbp
ret
cmp qword [rsp + 0x60], rbp
jne 0x14009254d
mov qword [r14], r15
mov rax, r15
jmp 0x140092550
mov rax, r12
mov qword [r14 + 8], rax
cmp rbx, rsi
je 0x14009250e
mov r13, qword [rsp + 0x68]
nop
movzx r14d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r14, rax
movzx eax, byte [rbx + 0x11]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x12]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x13]
imul r14, rdx
xor r14, rax
imul r14, rdx
and r14, qword [0x1401edbe0]
shl r14, 4
add r14, r13
mov rbp, qword [r14 + 8]
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400bf12c
dec qword [0x1401edbc0]
cmp rdi, rbp
je 0x1400925e9
cmp rbx, rsi
jne 0x1400925c0
jmp 0x14009250b
mov qword [r14], r15
mov qword [r14 + 8], r15
cmp rbx, rsi
jne 0x140092560
jmp 0x14009250e
Function at 0x140092b40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140092c09
cmp byte [rcx + 0x71], 0
je 0x140092c09
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140092bfc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x140092bb8
sub eax, 1
je 0x140092bbc
cmp eax, 2
jne 0x140092bfc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140092bea
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140092bfc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1400b3d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
lea rsi, [r8 - 1]
mov rbp, r9
sar rsi, 1
mov r15, r8
mov r10, rdx
mov rdi, rcx
mov r14, rdx
mov rbx, rdx
cmp rdx, rsi
jge 0x1400b3d98
nop dword [rax]
lea rcx, [rbx + rbx]
xor ebx, ebx
imul rax, rcx, 0xd0
movss xmm0, dword [rax + rdi + 0x108]
comiss xmm0, dword [rax + rdi + 0x1d8]
setbe bl
inc rcx
add rbx, rcx
imul rcx, r10, 0xd0
imul rdx, rbx, 0xd0
add rcx, rdi
add rdx, rdi
call fcn.1400af140
mov r10, rbx
cmp rbx, rsi
jl 0x1400b3d50
cmp rbx, rsi
jne 0x1400b3dc7
test r15b, 1
jne 0x1400b3dc7
imul rdx, r15, 0xd0
imul rcx, r10, 0xd0
add rdx, 0xffffffffffffff30
add rdx, rdi
add rcx, rdi
call fcn.1400af140
lea r10, [r15 - 1]
cmp r14, r10
jge 0x1400b3e03
nop dword [rax]
movss xmm0, dword [rbp + 0x38]
lea rbx, [r10 - 1]
sar rbx, 1
imul rdx, rbx, 0xd0
add rdx, rdi
comiss xmm0, dword [rdx + 0x38]
jbe 0x1400b3e03
imul rcx, r10, 0xd0
add rcx, rdi
call fcn.1400af140
mov r10, rbx
cmp r14, rbx
jl 0x1400b3dd0
imul rcx, r10, 0xd0
mov rdx, rbp
add rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.1400af140
Function at 0x1400b53e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2c0
mov rdi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xb0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400b5467
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x1400b5440
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1400b545d
mov word [rsp + rax*2 + 0xae], bx
lea rdx, [rsp + 0xb0]
jmp 0x1400b5491
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14009a940
lea rdx, [0x14009ab10]
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]
lea rdx, [0x1400e7bb0]
lea rcx, [rsp + 0x48]
call fcn.1400b9280
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x1400b54ba
lea rdx, [0x1400e7bb0]
mov rcx, rdi
call fcn.1400b9280
jmp 0x1400b5541
lea rcx, [rsp + 0x88]
call fcn.1400b52e0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x1400b5563
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r9, qword [rsp + 0x48]
mov qword [rsp + 0x30], 1
lea rax, [0x1400e7bb4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x68]
call fcn.1400bb9c0
nop
mov r9, rsi
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.1400bb7a0
nop
lea rcx, [rsp + 0x68]
call fcn.140091580
nop
lea rcx, [rsp + 0x88]
call fcn.140091580
nop
lea rcx, [rsp + 0x48]
call fcn.140091580
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.14004bae0
nop
int3
Function at 0x1400bd5b0
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 0x1400bd6b7
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400bd6b7
test rax, rax
je 0x1400bd6b7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x1400bd61f
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400bd6c2
lea rbx, [rdx + rcx]
mov ebp, dword [rax + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x30]
cmp rbx, rbp
jae 0x1400bd6a5
mov edx, dword [rbx + 4]
test edx, edx
je 0x1400bd6a5
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 0x1400bd67e
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 0x1400bd69a
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400bdb80
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x1400bd636
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400bd6c2
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 0x1400bd6e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r13, rdx
mov rdx, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [r13], ax
jne 0x1400bd91c
movsxd rax, dword [r13 + 0x3c]
add rax, r13
cmp dword [rax], 0x4550
jne 0x1400bd91c
test rax, rax
je 0x1400bd91c
mov ecx, dword [rax + 0x90]
test ecx, ecx
jne 0x1400bd758
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
jmp 0x1400bd927
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rbx, r8
mov qword [rbp - 0x39], rbx
lea r12, [rcx + r13]
mov r14, qword [rbp - 0x41]
cmp dword [r12 + 0x10], 0
je 0x1400bd90b
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r8
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
movdqu xmmword [rbp + 0x17], xmm0
mov r15, r8
mov qword [rbp + 0x27], r8
mov edx, dword [r12 + 0xc]
add rdx, r13
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r8
mov qword [rbp - 0x19], r8
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400bd7c0
lea rcx, [rbp - 0x31]
call fcn.140064a00
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rbp + 7], xmm1
mov esi, dword [r12 + 0x10]
add rsi, r13
mov edi, dword [r12]
add rdi, r13
mov rax, qword [rdi]
test rax, rax
je 0x1400bd8b3
mov rbx, qword [rbp + 0x1f]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea rdx, [r13 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400bd840
lea rcx, [rbp - 0x31]
call fcn.140093190
mov qword [rbp - 0x11], rsi
cmp rbx, r15
je 0x1400bd87a
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140065b70
mov rax, qword [rbp - 0x11]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x1400bd892
lea r8, [rbp - 0x31]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.1400bdda0
mov r15, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
lea rcx, [rbp - 0x31]
call fcn.1400602d0
mov rax, qword [rdi]
test rax, rax
jne 0x1400bd810
mov rbx, qword [rbp - 0x39]
lea r8, [rbp - 9]
mov rdx, r14
cmp r14, rbx
je 0x1400bd8ce
call fcn.1400be100
add r14, 0x38
mov qword [rbp - 0x41], r14
jmp 0x1400bd8df
lea rcx, [rbp - 0x49]
call fcn.1400bd950
mov r14, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x39]
add r12, 0x14
lea rcx, [rbp + 0x17]
call fcn.1400bd460
lea rcx, [rbp - 9]
call fcn.1400602d0
cmp dword [r12 + 0x10], 0
mov r8d, 0
jne 0x1400bd780
mov rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x49]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rbx
jmp 0x1400bd927
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400be930
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x40
mov rsi, rcx
lea r9, [rsp + 0x68]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x68], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400be9b3
test rbx, rbx
je 0x1400be979
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400be963
test eax, eax
jns 0x1400be9d8
test rbx, rbx
je 0x1400be9dd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
test rbx, rbx
jne 0x1400be9e8
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x1400beab3
nop
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], r14
add rdx, rcx
mov qword [rsp + 0x38], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400bea35
lea rcx, [rsp + 0x20]
call fcn.140064a00
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400bea55
mov rdx, qword [rsi]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400bead9
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400beaa9
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400beaa4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400beb22
call fcn.1400bf12c
inc edi
cmp edi, dword [rbx]
jb 0x1400bea00
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
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 + 0x38]
cmp rdx, 0xf
jbe 0x1400beb2e
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400beb29
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400beb29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bf12c
mov rax, rdi
jmp 0x1400beac6
Function at 0x1400bf8f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bf942
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bf942
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bf942
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bf942
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bf942
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400bf944
xor al, al
add rsp, 0x28
ret
Function at 0x14000a370
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000a3b0
mov eax, 0xff
jmp 0x14000a55b
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000a3cc
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x140018cc8], r9d
mov dword [0x140018cd0], ecx
mov dword [0x140018cd4], edx
mov dword [0x140018cd8], eax
mov dword [0x140018ccc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a443
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000a443
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000a443
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000a445
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000a445
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000c07c
test eax, eax
jne 0x14000a47b
cmp dword [0x14001871c], 2
je 0x14000a467
call fcn.14000be60
mov ecx, 0x1c
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
call fcn.14000b990
test eax, eax
jne 0x14000a4a7
cmp dword [0x14001871c], 2
je 0x14000a492
call fcn.14000be60
mov ecx, 0x10
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
nop
call fcn.14000c0f0
test eax, eax
jns 0x14000a4ba
mov ecx, 0x1b
call fcn.14000bacc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001a8d0], rax
call fcn.14000c890
mov qword [0x140018720], rax
call fcn.14000c38c
test eax, eax
jns 0x14000a4e5
mov ecx, 8
call fcn.14000bacc
call fcn.14000c66c
test eax, eax
jns 0x14000a4f8
mov ecx, 9
call fcn.14000bacc
mov ecx, edi
call fcn.14000bb2c
test eax, eax
je 0x14000a50a
mov ecx, eax
call fcn.14000bacc
mov r8, qword [0x140018cb8]
mov qword [0x140018ce8], r8
mov rdx, qword [0x140018cb0]
mov ecx, dword [0x140018cac]
call fcn.140006490
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000a53b
mov ecx, eax
call fcn.14000be50
call fcn.14000bb18
jmp 0x14000a559
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call 0x140153000
add rsp, 0x28
jmp 0x14000a370

Function at 0x14000b06c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000ba44
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000bcc0