joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400648de
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400ebbf0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1400eac40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ebc27
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ebc2d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x1400652f2
Capabilities:
Add user account to group

Disassembly:
jmp 0x14006c3e1
jmp qword [sym.imp.NETAPI32.dll_NetGroupAddUser]

Function at 0x1400655a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400e9830
mov rax, rcx
neg rcx
test rax, 7
je 0x1400e984d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400e98a8
test al, 7
jne 0x1400e9840
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400e9861
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400e98d2
test dh, dh
je 0x1400e98cc
shr rdx, 0x10
test dl, dl
je 0x1400e98c6
test dh, dh
je 0x1400e98c0
shr rdx, 0x10
test dl, dl
je 0x1400e98ba
test dh, dh
je 0x1400e98b4
shr edx, 0x10
test dl, dl
je 0x1400e98ae
test dh, dh
jne 0x1400e9861
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400655db
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401015bc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x140101659
mov rbp, rax
cmp word [rax], si
je 0x140101605
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401015ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401015e8
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.1400657d4
mov rdi, rax
test rax, rax
je 0x140101644
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140065761
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.140064857
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400658d8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140086ed0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140086850
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140086f0f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x140086f19
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140065a1d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140086e00
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400867d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140086e41
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x140086e47
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140065a90
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400ebec0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400eae40
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400ebf13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x14017b020]
jmp 0x1400ebf35
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140065324
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret

Function at 0x140065a9a
Capabilities:
Terminate process

Disassembly:
jmp 0x14006d8a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140065c7f
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011b7b0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14011b7d6
jmp 0x14011b853
mov rcx, qword [rbp + 0x30]
call fcn.1400655a4
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14011b7ef
jmp 0x14011b853
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14011b80c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006487f
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140064c4e
test eax, eax
jne 0x14011b853
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140065757
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140065cfc
Capabilities:
Add user account

Disassembly:
jmp 0x14006c3db
jmp qword [sym.imp.NETAPI32.dll_NetUserAdd]

Function at 0x1400660ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x14006ec30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14006ec50
xor al, al
jmp 0x14006ecd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14006ec63
xor al, al
jmp 0x14006ecd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14006ec8d
xor al, al
jmp 0x14006ecd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14006eca1
xor al, al
jmp 0x14006ecd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14006ecb3
xor al, al
jmp 0x14006ecd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14006eccf
xor al, al
jmp 0x14006ecd1
mov al, 1
add rsp, 0x38
ret
Function at 0x14006651c
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ea010
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400ea03e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140066c0b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400665cb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400ebcb0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400eacc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ebce5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ebcef
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x1400669ef
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400ebd10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400ead00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ebd4f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x14017b020]
jmp 0x1400ebd5e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140066c6a
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400f9830
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140066cfb
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140086f40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140086890
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140086f89
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14017b020]
jmp 0x140086f98
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x140011528
Capabilities:
Terminate process

Disassembly:
jmp 0x1400203c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001169a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140021710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140021730
xor al, al
jmp 0x1400217b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140021743
xor al, al
jmp 0x1400217b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002176d
xor al, al
jmp 0x1400217b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140021781
xor al, al
jmp 0x1400217b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140021793
xor al, al
jmp 0x1400217b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400217af
xor al, al
jmp 0x1400217b1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001f000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400119b5
movzx eax, al
test eax, eax
jne 0x14001f020
mov ecx, 7
call fcn.1400117b7
nop
mov byte [rsp + 0x20], 0
call fcn.140011802
mov byte [rsp + 0x21], al
cmp dword [0x140030eb8], 1
jne 0x14001f044
mov ecx, 7
call fcn.1400117b7
nop
jmp 0x14001f09c
cmp dword [0x140030eb8], 0
jne 0x14001f097
mov dword [0x140030eb8], 1
lea rdx, [0x140028660]
lea rcx, [0x140028330]
call fcn.140011465
test eax, eax
je 0x14001f078
mov eax, 0xff
jmp 0x14001f1a1
lea rdx, [0x140028220]
lea rcx, [section..rdata]
call fcn.1400117e9
mov dword [0x140030eb8], 2
jmp 0x14001f09c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011794
call fcn.1400116c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001f0f9
mov rcx, qword [rsp + 0x30]
call fcn.140011393
movzx eax, al
test eax, eax
je 0x14001f0f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140039020]
nop
call fcn.140011735
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001f12d
mov rcx, qword [rsp + 0x38]
call fcn.140011393
movzx eax, al
test eax, eax
je 0x14001f12d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011933
nop
call fcn.14001f250
mov dword [rsp + 0x28], eax
call fcn.14001169a
movzx eax, al
test eax, eax
jne 0x14001f14c
mov ecx, dword [rsp + 0x28]
call fcn.1400110af
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001f15b
call fcn.14001194c
nop
xor edx, edx
mov cl, 1
call fcn.140011361
mov eax, dword [rsp + 0x28]
jmp 0x14001f1a1
add rsp, 0x68
ret
Function at 0x404330
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2b8], rbx
mov rax, qword [0x00441130]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea r8d, [rdi + 0xd]
lea rdx, str.AdobeCommon_
lea rcx, [rsp + 0x60]
call qword [sym.imp.dvacore.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t_____cdecl_dvacore::utility::AsciiToUTF16_char_const____ptr64__unsigned_long_long_unsigned___int64__]
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
cmp word [rsp + 0x80], di
jne 0x4043d4
mov r8d, edi
jmp 0x4043eb
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x4043e0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.00405aa0
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ASLFoundation.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t_____cdecl_ASL::PathUtils::AddTrailingSlash_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_dvacore::utility::SmallBlockAllocator::STLAllocator_wchar_t___const____ptr64_]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x40442b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x40445d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void____ptr64__unsigned_long_long_unsigned___int64__]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.004211a0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
Function at 0x14000e7e8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000e5bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e5bc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e5bc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e5bc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e5bc
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e5bc
cmp dword [rcx + 0xf8], esi
je 0x14000e5bc
mov ecx, r14d
call fcn.14000e704
mov ecx, 2
call fcn.1400138f8
nop
cmp byte [0x140a65830], 0
jne 0x14000e686
mov r15d, 1
mov eax, r15d
xchg dword [0x140a65820], eax
test ebx, ebx
jne 0x14000e62f
mov rdi, qword [0x140a623d0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140a65828]
cmp rcx, rax
je 0x14000e626
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000659c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140a65968]
jmp 0x14000e63b
cmp ebx, r15d
jne 0x14000e641
lea rcx, [0x140a65980]
call fcn.14000f178
nop
test ebx, ebx
jne 0x14000e658
lea rdx, [0x14001c4a0]
lea rcx, [0x14001c480]
call fcn.14000f4b0
lea rdx, [0x14001c4b0]
lea rcx, [0x14001c4a8]
call fcn.14000f4b0
movzx eax, byte [0x140a65830]
test esi, esi
cmove eax, r15d
mov byte [0x140a65830], al
jmp 0x14000e686
mov ecx, 2
call fcn.14001394c
test esi, esi
jne 0x14000e69d
mov ecx, r14d
call fcn.14000e6b8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000e54c
Function at 0x140006640
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 [0x1401c5e00]
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 0x1400066d5
test rbx, rbx
je 0x14000669b
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 0x140006685
test eax, eax
jns 0x1400066f6
test rbx, rbx
je 0x1400066fb
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400067bd
test rbx, rbx
jne 0x140006702
xor eax, eax
jmp 0x1400067bd
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x1400067a5
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.140007810
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140006743
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 0x1400067da
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000679b
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006796
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006823
call fcn.1400d2f90
inc edi
cmp edi, dword [rbx]
jb 0x140006710
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.1400d3390
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 0x14000682f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000682a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000682a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d2f90
mov rax, rdi
jmp 0x1400067b8
Function at 0x140006ce0
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.0x140006d01
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 0x140006d2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140006d30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140006d89
test ecx, ecx
jle 0x140006d69
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 0x140006d89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140006d89
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
invalid
Function at 0x140006db0
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 0x140006dd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140006de1
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 0x140006e04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006e06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006e42
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 0x140006ede
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140006e7d
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 0x140006ebe
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 0x140006ede
cmp rbx, rax
ja 0x140006e90
test rbx, rbx
je 0x140006ede
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
jne 0x1401ed5bf
sbb eax, 0xfea7576d
invalid
invalid