joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140126d00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1405ca2b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140126d3d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140126d44
mov al, 1
jmp 0x140126e9e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1401298c0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.1401298c0
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140129920
movzx eax, al
test eax, eax
je 0x140126d9b
xor al, al
jmp 0x140126e9e
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140126e0b
cmp dword [rsp + 0x30], 1
je 0x140126e17
cmp dword [rsp + 0x30], 3
je 0x140126e8c
jmp 0x140126e9c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140126e63
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140126e63
xor al, al
jmp 0x140126e9e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140126e7d
mov dword [rsp + 0x34], 1
jmp 0x140126e85
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140126e9e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140126e9e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140261670
add rsp, 0xa8
ret
Function at 0x14013b060
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x1405ca2b0]
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 0x14013b0fc
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 0x14013b0fc
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.14013af90
test eax, eax
jne 0x14013b0e8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14013b0fc
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14013b0c6
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.140261670
add rsp, 0x288
ret
Function at 0x14013b4f0
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 [0x1405ca2b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, str.user32.dll
mov ecx, dword [rsp + 0x110]
call fcn.14013b060
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14013b540
xor al, al
jmp 0x14013b6df
lea r8, str.SetWindowDisplayAffinity
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x1405db300]
call fcn.14013b130
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14013b56c
xor al, al
jmp 0x14013b6df
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 0x14013b59e
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
jmp 0x14013b5a6
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 [0x1405db300]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14013b60d
xor al, al
jmp 0x14013b6df
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x1405db300]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14013b642
xor al, al
jmp 0x14013b6df
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 [0x1405db300]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14013b688
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14013b68c
xor al, al
jmp 0x14013b6df
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 [0x1405db300]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14013b6dd
xor al, al
jmp 0x14013b6df
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140261670
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x14019ed20
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x1405ca2b0]
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 0x14019ee00
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x30]
call fcn.14001aa40
mov rcx, rax
call fcn.14001aa70
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.14013af90
test eax, eax
je 0x14019ede1
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x40]
call fcn.14001ab30
mov rcx, rax
call fcn.14001ab60
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.14013af90
test eax, eax
jne 0x14019edfb
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x7c], eax
jle 0x14019edfb
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
jmp 0x14019ed73
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140261670
add rsp, 0x1a8
ret

Function at 0x14019ee20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1405ca2b0]
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 0x14019eed9
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x6c]
call fcn.14013af90
test eax, eax
jne 0x14019eec3
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 0x14019eec3
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 0x14019ee6c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140261670
add rsp, 0x188
ret
Function at 0x14019ef00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1405ca2b0]
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 0x14019ef47
xor eax, eax
jmp 0x14019efc8
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.14019efe0
test eax, eax
jne 0x14019ef7e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14019efc8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14019efbb
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.14019efe0
test eax, eax
jne 0x14019efb9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14019efc8
jmp 0x14019ef7e
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.140261670
add rsp, 0x178
ret

Function at 0x1401a5e20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x140613304]
test eax, eax
jne 0x1401a5e69
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, [0x14059ce60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400e2480
movzx eax, al
test eax, eax
je 0x1401a5e64
mov byte [0x140613304], 1
jmp 0x1401a5eff
movzx eax, byte [0x140613304]
cmp eax, 1
jne 0x1401a5eff
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14058fce4]
call fcn.1400e2480
lea rax, [0x14059cbb0]
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 + 0x38], rax
jmp 0x1401a5ec0
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x1401a5eff
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 0x1401a5efd
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x140613304], 0
jmp 0x1401a5eb2
add rsp, 0x48
ret
Function at 0x1401a6050
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1405ca2b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x20], 0
mov edx, Ordinal_26
lea rcx, [rsp + 0x50]
call fcn.140048840
lea rcx, [rsp + 0x50]
call fcn.14005be70
nop
lea r8, [0x14059d5bc]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.1401a7190
nop
lea rcx, [rsp + 0x68]
call fcn.1400419c0
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 0x1401a6134
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x1401a6112
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.140041ad0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1401a6e30
nop
lea rcx, [rsp + 0x30]
call fcn.140041a20
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1401a60d7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.14005f360
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.140041a20
nop
lea rcx, [rsp + 0x50]
call fcn.140080dd0
nop
mov rcx, qword [rsp + 0x1f8]
call fcn.140041a20
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140261670
add rsp, 0x1e8
ret

Function at 0x1401a6860
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 0x1401a6886
mov dword [rsp + 0x20], 1
jmp 0x1401a688e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401d0b00
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 [0x1405ca2b0]
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 0x1401d0bae
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401d0b70
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1401d0ba4
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1401d0cf3
xor ecx, ecx
mov word [rsp + rax + 0xb0], cx
lea rdx, [rsp + 0xb0]
jmp 0x1401d0bd8
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.1401d1d60
mov rcx, rax
lea rdx, [0x1401d1f70]
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, [0x1405a9014]
lea rcx, [rsp + 0x88]
call fcn.14005f9b0
nop
lea rcx, [rsp + 0x88]
call fcn.140046ee0
test rax, rax
jne 0x1401d0c0c
lea rdx, [0x1405a9014]
mov rcx, rbx
call fcn.14005f9b0
jmp 0x1401d0cb5
lea rcx, [rsp + 0x68]
call fcn.1401d09c0
mov rbp, rax
lea rcx, [rsp + 0x88]
call fcn.140046ee0
mov rdi, rax
lea r14, [0x1405a9078]
mov rcx, r14
call fcn.140060cd0
mov rcx, rax
call fcn.140041c30
mov rsi, rax
lea rcx, [rsp + 0x88]
call fcn.14005f5f0
sub rax, rdi
cmp rax, rsi
jb 0x1401d0ced
lea rcx, [rsp + 0x88]
call fcn.14005f680
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.1401d32d0
nop
mov r9, rbp
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1401d30c0
nop
lea rcx, [rsp + 0x48]
call fcn.14005f8a0
nop
lea rcx, [rsp + 0x68]
call fcn.14005f8a0
nop
lea rcx, [rsp + 0x88]
call fcn.14005f8a0
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140261670
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.140006020
nop
call fcn.140261e44
int3
Function at 0x1401d18e0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x1f0
mov rax, qword [0x1405ca2b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x20], r8
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401d1b99
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.1401d1330
test al, al
je 0x1401d1b99
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x1401d1b99
movsxd r8, dword [rsp + 0xac]
lea rdx, [rsp + 0xb0]
add r8, rbp
mov r9d, 0x108
mov rcx, rbx
call fcn.1401d1330
test al, al
je 0x1401d1b99
cmp dword [rsp + 0xb0], 0x4550
jne 0x1401d1b99
mov esi, dword [rsp + 0x138]
test esi, esi
je 0x1401d1b99
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x1401d1b99
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.1401d1330
test al, al
jne 0x1401d1a38
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1401d1af4
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 0x1401d1ac9
nop word [rax + rax]
mov edx, dword [r12 + rsi*4]
lea rcx, [rsp + 0x48]
add rdx, r14
call fcn.140041ad0
mov rcx, qword [rsp + 0x20]
call fcn.1400419c0
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.1400419c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1401d1b1f
lea rcx, [rsp + 0x48]
call fcn.140041a20
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x1401d1a80
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.140261670
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 0x1401d1b63
lea rbx, [rcx + rbp]
cmp rbx, qword [rsp + 0x30]
jb 0x1401d1b76
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x40]
add rax, rbp
cmp rbx, rax
ja 0x1401d1b76
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.140041a20
mov eax, ebx
jmp 0x1401d1adc
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x48]
call fcn.140041a20
mov rax, rbx
jmp 0x1401d1adc
xor eax, eax
jmp 0x1401d1b04
Function at 0x1401d4760
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x1405ca2b0]
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 0x1401d47ee
nop dword [rax]
test rbx, rbx
je 0x1401d47b6
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, listen
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1401d47a0
test eax, eax
jns 0x1401d480f
test rbx, rbx
je 0x1401d4814
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1401d48a7
test rbx, rbx
jne 0x1401d481b
xor eax, eax
jmp 0x1401d48a7
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
cmp dword [rbx], esi
jbe 0x1401d4887
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.140041ad0
mov rcx, r14
call fcn.1400419c0
lea rcx, [rsp + 0x28]
mov rdi, rax
call fcn.1400419c0
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1401d48bd
lea rcx, [rsp + 0x28]
call fcn.140041a20
inc esi
cmp esi, dword [rbx]
jb 0x1401d4830
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.140261670
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.140041a20
mov rax, rdi
jmp 0x1401d489a
Function at 0x1401d4ee0
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 [0x1405ca2b0]
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 0x1401d50cb
movsxd r14, dword [rdx + 0x3c]
cmp dword [r14 + rdx], 0x4550
jne 0x1401d50cb
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor esi, esi
mov qword [rbp - 0x10], rsi
lea rdx, [0x1402bcb5f]
lea rcx, [rbp - 0x20]
call fcn.140005ff0
nop
mov eax, dword [r14 + r15 + 0xb0]
test eax, eax
jne 0x1401d4fc3
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
lea rdx, [0x1402bcb5f]
mov rcx, rdi
call fcn.140005ff0
nop
lea rcx, [rbp - 0x20]
call fcn.140005fe0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401d50e4
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.140045e20
jmp 0x1401d50e4
lea rbx, [r15 + rax]
mov r14d, dword [r14 + r15 + 0xb4]
add r14, rbx
mov rdx, qword [rbp - 0x18]
cmp rbx, r14
jae 0x1401d504d
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x1401d504d
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 0x1401d5031
mov ecx, Ordinal_26
call fcn.140005bb0
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 0x1401d5042
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1401d5710
mov rdx, qword [rbp - 0x18]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r14
jb 0x1401d4fe0
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, [0x1402bcb5f]
mov rcx, rdi
call fcn.140005ff0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140005ff0
nop
lea rcx, [rbp - 0x20]
call fcn.140005fe0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401d50e4
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.140045e20
jmp 0x1401d50e4
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
lea rdx, [0x1402bcb5f]
call fcn.140005ff0
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140261670
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