joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014ba50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000b310
mov rcx, qword [rsp + 0x68]
call fcn.14000f090
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14014f010
nop
lea rax, [0x14014f090]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000dbd0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14014bafb
lea rcx, [rsp + 0x40]
call fcn.140066660
jmp 0x14014bb13
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.140066690
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x58
ret

Function at 0x140153bd0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x290]
mov ecx, Ordinal_26
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x140153c6c
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140153c6c
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140153b20
test eax, eax
jne 0x140153c58
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x140153c6c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140153c36
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x288
ret
Function at 0x140154060
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, str.user32.dll
mov ecx, dword [rsp + 0x110]
call fcn.140153bd0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1401540b0
xor al, al
jmp 0x14015424f
lea r8, str.SetWindowDisplayAffinity
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x14039b338]
call fcn.140153ca0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1401540dc
xor al, al
jmp 0x14015424f
lea rax, [rsp + 0x80]
lea rcx, str.QRUVSWAPAQARASATAUAVAWH
mov rdi, rax
mov rsi, rcx
mov ecx, 0x56
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x14015410e
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
jmp 0x140154116
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x9c], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xa7], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xad], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x56
xor edx, edx
mov rcx, qword [0x14039b338]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14015417d
xor al, al
jmp 0x14015424f
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14039b338]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1401541b2
xor al, al
jmp 0x14015424f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14039b338]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1401541f8
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x1401541fc
xor al, al
jmp 0x14015424f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x56
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14039b338]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14015424d
xor al, al
jmp 0x14015424f
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140266db0
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x1401a1ea0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1401a1f80
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x30]
call fcn.140032220
mov rcx, rax
call fcn.140032250
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.140153b20
test eax, eax
je 0x1401a1f61
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x40]
call fcn.140032310
mov rcx, rax
call fcn.140032340
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.140153b20
test eax, eax
jne 0x1401a1f7b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x7c], eax
jle 0x1401a1f7b
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
jmp 0x1401a1ef3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x1a8
ret

Function at 0x1401a1fa0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32First]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401a2059
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x6c]
call fcn.140153b20
test eax, eax
jne 0x1401a2043
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1401a2043
mov edx, 9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x20], eax
jmp 0x1401a1fec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x188
ret
Function at 0x1401a2080
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1401a20c7
xor eax, eax
jmp 0x1401a2148
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.1401a2160
test eax, eax
jne 0x1401a20fe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1401a2148
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1401a213b
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.1401a2160
test eax, eax
jne 0x1401a2139
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1401a2148
jmp 0x1401a20fe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x178
ret

Function at 0x1401a8ee0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [0x1403d33b8]
test eax, eax
jne 0x1401a8fc1
mov rax, qword [rsp + 0xb8]
movsxd rax, dword [rax]
lea rcx, str.Press_Key
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x70]
call fcn.14000f350
nop
lea rcx, [rsp + 0x50]
call fcn.1400794c0
nop
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.14000f150
mov qword [rsp + 0x38], rax
lea rdx, [0x14034c67c]
mov rcx, qword [rsp + 0x38]
call fcn.14000f150
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.14000f190
lea rcx, [rsp + 0x50]
call fcn.14000f130
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.1401041a0
movzx eax, al
test eax, eax
je 0x1401a8fa7
mov byte [0x1403d33b8], 1
lea rcx, [rsp + 0x50]
call fcn.14000f240
nop
lea rcx, [rsp + 0x70]
call fcn.14000f240
jmp 0x1401a905d
movzx eax, byte [0x1403d33b8]
cmp eax, 1
jne 0x1401a905d
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14034c6ac]
call fcn.1401041a0
lea rax, [0x140359b40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x48], rax
jmp 0x1401a901b
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x20], rax
je 0x1401a905d
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401a905b
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1403d33b8], 0
jmp 0x1401a900d
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140266db0
add rsp, 0xa8
ret
Function at 0x1401a9250
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x20], 0
mov edx, Ordinal_26
lea rcx, [rsp + 0x50]
call fcn.14000b310
lea rcx, [rsp + 0x50]
call fcn.14000dd80
nop
lea r8, [0x14035a564]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.1400118d0
nop
lea rcx, [rsp + 0x68]
call fcn.14000f130
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1401a9334
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x1401a9312
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.14000f350
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140140160
nop
lea rcx, [rsp + 0x30]
call fcn.14000f240
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1401a92d7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140011400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.14000f240
nop
lea rcx, [rsp + 0x50]
call fcn.14000eb20
nop
mov rcx, qword [rsp + 0x1f8]
call fcn.14000f240
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x1e8
ret

Function at 0x1401aa190
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401aa1b6
mov dword [rsp + 0x20], 1
jmp 0x1401aa1be
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401d6260
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2d0
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
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 0x1401d630e
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401d62d0
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1401d6304
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1401d6453
xor ecx, ecx
mov word [rsp + rax + 0xb0], cx
lea rdx, [rsp + 0xb0]
jmp 0x1401d6338
lea rdx, [0x140367e28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d74c0
mov rcx, rax
lea rdx, [0x1401d76d0]
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, [0x140365508]
lea rcx, [rsp + 0x88]
call fcn.14000ef30
nop
lea rcx, [rsp + 0x88]
call fcn.14000f120
test rax, rax
jne 0x1401d636c
lea rdx, [0x140365508]
mov rcx, rbx
call fcn.14000ef30
jmp 0x1401d6415
lea rcx, [rsp + 0x68]
call fcn.1401d6120
mov rbp, rax
lea rcx, [rsp + 0x88]
call fcn.14000f120
mov rdi, rax
lea r14, [0x140366f64]
mov rcx, r14
call fcn.140010f70
mov rcx, rax
call fcn.14000f090
mov rsi, rax
lea rcx, [rsp + 0x88]
call fcn.14000ece0
sub rax, rdi
cmp rax, rsi
jb 0x1401d644d
lea rcx, [rsp + 0x88]
call fcn.1400792a0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1401d8a30
nop
mov r9, rbp
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1401d8820
nop
lea rcx, [rsp + 0x48]
call fcn.14000ee20
nop
lea rcx, [rsp + 0x68]
call fcn.14000ee20
nop
lea rcx, [rsp + 0x88]
call fcn.14000ee20
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140266db0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140006780
nop
call fcn.140267584
int3
Function at 0x1401d7040
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x1f0
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x20], r8
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401d72f9
xorps xmm0, xmm0
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x40
lea rdx, [rsp + 0x70]
mov r8, rbp
mov rcx, rbx
call fcn.1401d6a90
test al, al
je 0x1401d72f9
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x1401d72f9
movsxd r8, dword [rsp + 0xac]
lea rdx, [rsp + 0xb0]
add r8, rbp
mov r9d, 0x108
mov rcx, rbx
call fcn.1401d6a90
test al, al
je 0x1401d72f9
cmp dword [rsp + 0xb0], 0x4550
jne 0x1401d72f9
mov esi, dword [rsp + 0x138]
test esi, esi
je 0x1401d72f9
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x1401d72f9
mov qword [rsp + 0x228], rdi
mov r9d, 4
mov qword [rsp + 0x1d8], r14
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, r14d
mov qword [rsp + 0x38], rsi
mov rdi, rax
mov rcx, rbx
lea rax, [rsi + rbp]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x30], rax
call fcn.1401d6a90
test al, al
jne 0x1401d7198
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1401d7254
mov eax, dword [rdi + 0x1c]
mov r14, rdi
sub r14, rsi
mov qword [rsp + 0x1e8], r12
mov r12d, dword [rdi + 0x20]
add rax, r14
mov qword [rsp + 0x1e0], r13
add r12, r14
mov r13d, dword [rdi + 0x24]
xor esi, esi
add r13, r14
mov qword [rsp + 0x1d0], r15
mov qword [rsp + 0x28], rax
cmp dword [rdi + 0x18], esi
jbe 0x1401d7229
nop word [rax + rax]
mov edx, dword [r12 + rsi*4]
lea rcx, [rsp + 0x48]
add rdx, r14
call fcn.14000f350
mov rcx, qword [rsp + 0x20]
call fcn.14000f130
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.14000f130
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1401d727f
lea rcx, [rsp + 0x48]
call fcn.14000f240
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x1401d71e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r12, qword [rsp + 0x1e8]
mov r13, qword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x228]
mov r14, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x1f0
pop rsi
pop rbp
pop rbx
ret
movzx eax, word [r13 + rsi*2]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x1401d72c3
lea rbx, [rcx + rbp]
cmp rbx, qword [rsp + 0x30]
jb 0x1401d72d6
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x40]
add rax, rbp
cmp rbx, rax
ja 0x1401d72d6
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.14000f240
mov eax, ebx
jmp 0x1401d723c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x48]
call fcn.14000f240
mov rax, rbx
jmp 0x1401d723c
xor eax, eax
jmp 0x1401d7264
Function at 0x1401d9f00
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
mov ebx, esi
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1401d9f8e
nop dword [rax]
test rbx, rbx
je 0x1401d9f56
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 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, ntohl
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1401d9f40
test eax, eax
jns 0x1401d9faf
test rbx, rbx
je 0x1401d9fb4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1401da047
test rbx, rbx
jne 0x1401d9fbb
xor eax, eax
jmp 0x1401da047
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
cmp dword [rbx], esi
jbe 0x1401da027
nop dword [rax]
mov ebp, esi
lea rcx, [rsp + 0x28]
imul rax, rbp, 0x128
movzx edx, word [rax + rbx + 0x2e]
add rax, 0x30
add rdx, rax
add rdx, rbx
call fcn.14000f350
mov rcx, r14
call fcn.14000f130
lea rcx, [rsp + 0x28]
mov rdi, rax
call fcn.14000f130
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1401da05d
lea rcx, [rsp + 0x28]
call fcn.14000f240
inc esi
cmp esi, dword [rbx]
jb 0x1401d9fd0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
imul rax, rbp, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.14000f240
mov rax, rdi
jmp 0x1401da03a
Function at 0x1401da680
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x28], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1401da86b
movsxd r14, dword [rdx + 0x3c]
cmp dword [r14 + rdx], 0x4550
jne 0x1401da86b
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor esi, esi
mov qword [rbp - 0x10], rsi
lea rdx, [0x1402c5caf]
lea rcx, [rbp - 0x20]
call fcn.140006740
nop
mov eax, dword [r14 + r15 + 0xb0]
test eax, eax
jne 0x1401da763
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
lea rdx, [0x1402c5caf]
mov rcx, rdi
call fcn.140006740
nop
lea rcx, [rbp - 0x20]
call fcn.140006730
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401da884
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
call fcn.140013c20
jmp 0x1401da884
lea rbx, [r15 + rax]
mov r14d, dword [r14 + r15 + 0xb4]
add r14, rbx
mov rdx, qword [rbp - 0x18]
cmp rbx, r14
jae 0x1401da7ed
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x1401da7ed
mov eax, dword [rbx]
add rax, r15
mov qword [rbp - 0x40], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x38], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x30], eax
cmp rdx, qword [rbp - 0x10]
je 0x1401da7d1
mov ecx, Ordinal_26
call fcn.1400062c0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rax + 0x10], xmm1
mov rdx, qword [rbp - 0x18]
add rdx, 0x18
mov qword [rbp - 0x18], rdx
jmp 0x1401da7e2
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1401daeb0
mov rdx, qword [rbp - 0x18]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r14
jb 0x1401da780
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rsi
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x20], rsi
mov qword [rdi], rax
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rcx
lea rdx, [0x1402c5caf]
mov rcx, rdi
call fcn.140006740
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140006740
nop
lea rcx, [rbp - 0x20]
call fcn.140006730
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401da884
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add rdx, r8
lea rdx, [rdx + rdx*2]
shl rdx, 3
call fcn.140013c20
jmp 0x1401da884
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
lea rdx, [0x1402c5caf]
call fcn.140006740
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140266db0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret