joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030d9c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.14001aa50
mov rcx, qword [0x14012d8d8]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14012d8e0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14012d8e8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14012d8e0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.14001aa50
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140030ec5
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14012d8d8]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14012d8d8]
jne 0x140030f1a
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140030f1a
mov rcx, qword [0x14012d8d8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140030f1a
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140030f28
or eax, 0xffffffff
jmp 0x140030f2d
call fcn.14001aa8c
cmp dword [0x140103178], eax
je 0x140030f40
mov dword [0x140103178], eax
call fcn.140030f68
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009b5b0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140062860
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x138
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x140], 0
jl 0x1400628bd
cmp dword [rsp + 0x140], 0x7e
jge 0x1400628bd
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x140]
lea rcx, [0x140128ff0]
call fcn.140063030
nop
lea rcx, [rsp + 0x68]
call fcn.140052da8
nop
cmp qword [rsp + 0x38], 0
jne 0x1400628e4
lea rdx, [0x1400ac7a8]
lea rcx, [rsp + 0x68]
call fcn.140055b84
nop
jmp 0x1400628f4
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140055b84
nop
cmp dword [rsp + 0x150], 1
jne 0x140062910
lea rdx, [0x1400ac7b8]
lea rcx, [rsp + 0x68]
call fcn.140055b84
nop
movss xmm2, dword [0x1400a726c]
movss xmm1, dword [0x1400cf934]
lea rcx, [rsp + 0x60]
call fcn.140053c54
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x68]
call fcn.140069894
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140034e00
movzx eax, al
test eax, eax
je 0x140062985
cmp dword [rsp + 0x150], 0
jne 0x140062985
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x148]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.1400591c4
mov rcx, rax
call fcn.140056a8c
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x31]
call fcn.140057ad8
mov rcx, rax
call fcn.14005698c
mov qword [rsp + 0x58], rax
mov r9d, 0x10
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rsp + 0x68]
call fcn.14000c894
nop
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x138
ret
Function at 0x140062d84
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x1400aca48]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400aca38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140062e0d
lea rcx, [0x1400aca60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140062e0d
lea rcx, [0x1400aca74]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140062e0d
xor al, al
jmp 0x140062ebf
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400aca80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140062e8f
lea rcx, [0x1400acab8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140062e8f
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400acac0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140062e8f
xor al, al
jmp 0x140062ebf
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x14012dfb8]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14012dfd8]
call sub.VCRUNTIME140.dll_memcpy
mov al, 1
add rsp, 0x38
ret

Function at 0x140062ef0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140062f33
xor al, al
jmp 0x140062f9b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140062f55
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140062f9b
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140062f7b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140062f9b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140062f55
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x178
ret
Function at 0x1400643c4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400643f6
xor eax, eax
jmp 0x14006444c
mov r8d, 0x1e
lea rdx, [0x14012dfd8]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x140064e10
Capabilities:
Execute command

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140057b7c
mov rcx, rax
call fcn.14005632c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x58
ret
Function at 0x140065380
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x4b8
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor r8d, r8d
lea rdx, str.C:HMProtection
lea rcx, [rsp + 0x3a0]
call fcn.14003c040
nop
xor r8d, r8d
lea rdx, str.C:Windows_System32_4082
lea rcx, [rsp + 0x3e0]
call fcn.14003c040
nop
xor r8d, r8d
lea rdx, str.HMProtection.vznsoftware
lea rcx, [rsp + 0x400]
call fcn.14003c040
nop
lea r8, [rsp + 0x400]
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x380]
call fcn.140057190
nop
lea rcx, [rsp + 0x400]
call fcn.140055914
nop
lea rcx, [rsp + 0x3a0]
call fcn.14006feac
movzx eax, al
test eax, eax
jne 0x14006542f
lea rcx, [rsp + 0x3a0]
call fcn.14006ba08
nop
lea rcx, [rsp + 0x3e0]
call fcn.14006feac
movzx eax, al
test eax, eax
jne 0x140065451
lea rcx, [rsp + 0x3e0]
call fcn.14006ba08
nop
lea rcx, [rsp + 0x380]
call fcn.14006feac
movzx eax, al
test eax, eax
jne 0x1400654bf
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x160]
call fcn.14003cc2c
nop
lea rdx, str.HMProtectionLoggedfalse
lea rcx, [rsp + 0x160]
call fcn.1400015e0
lea rcx, [rsp + 0x160]
call fcn.14006b688
nop
lea rcx, [rsp + 0x160]
call fcn.14005b00c
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x50]
call fcn.14003cb9c
nop
lea rcx, [rsp + 0x3c0]
call fcn.140052da8
nop
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x50]
call fcn.140072730
movzx eax, al
test eax, eax
je 0x140065547
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x50]
call fcn.14004a618
lea rcx, [rsp + 0x50]
call fcn.14006b634
nop
lea rdx, [0x1400ab510]
lea rcx, [rsp + 0x3c0]
call fcn.14003d70c
movzx eax, al
test eax, eax
je 0x140065547
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14006561b
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x270]
call fcn.14003cc2c
nop
lea rdx, str.HMProtectionLoggedtrue
lea rcx, [rsp + 0x270]
call fcn.1400015e0
lea rcx, [rsp + 0x270]
call fcn.14006b688
call fcn.14006ef0c
nop
lea rdx, [rsp + 0x420]
lea rcx, [rsp + 0x31]
call fcn.140059318
mov rcx, rax
call fcn.140056a8c
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x32]
call fcn.140058c78
mov rcx, rax
call fcn.14005692c
mov qword [rsp + 0x40], rax
mov r9d, 0x40
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
call fcn.140064e10
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x270]
call fcn.14005b00c
nop
lea rcx, [rsp + 0x3c0]
call fcn.14000c894
nop
lea rcx, [rsp + 0x50]
call fcn.14005afd4
nop
lea rcx, [rsp + 0x380]
call fcn.140055914
nop
lea rcx, [rsp + 0x3e0]
call fcn.140055914
nop
lea rcx, [rsp + 0x3a0]
call fcn.140055914
nop
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x4b8
ret
Function at 0x1400669e8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140066a25
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140066a2c
mov al, 1
jmp 0x140066b83
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14006f6e8
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.14006f6e8
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14006f6f0
movzx eax, al
test eax, eax
je 0x140066a81
xor al, al
jmp 0x140066b83
mov qword [rsp + 0x68], 0x20
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 + 0x60]
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 0x140066af1
cmp dword [rsp + 0x30], 1
je 0x140066afd
cmp dword [rsp + 0x30], 3
je 0x140066b71
jmp 0x140066b81
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140066b49
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 0x140066b49
xor al, al
jmp 0x140066b83
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140066b63
mov dword [rsp + 0x34], 1
jmp 0x140066b6b
mov dword [rsp + 0x34], 0
mov al, byte [rsp + 0x34]
jmp 0x140066b83
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140066b83
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0xa8
ret

Function at 0x14006aa98
Capabilities:
Execute command

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140057d88
mov rcx, rax
call fcn.1400564ec
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x58
ret
Function at 0x14006ef0c
Capabilities:
Execute command

Disassembly:
sub rsp, 0xc8
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.140057e0c
mov rcx, rax
call fcn.1400568ec
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x21]
call fcn.14005921c
mov rcx, rax
call fcn.1400564cc
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0xc8
ret

Function at 0x1400702c8
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140070357
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140070344
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x14012d9c8], eax
mov eax, dword [rsp + 0x38]
jmp 0x140070364
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140070312
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.14009b5b0
add rsp, 0x178
ret

Function at 0x140070d20
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0x100
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x140070d8a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
jmp 0x140070db1
lea rdx, str.UnknownComputer
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x148
ret

Function at 0x140070dcc
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x100
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140070e37
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
jmp 0x140070e5e
lea rdx, str.UnknownUser
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x148
ret
Function at 0x140071404
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x100
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14007146f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
jmp 0x140071496
lea rdx, [0x1400ab3ac]
mov rcx, qword [rsp + 0x150]
call fcn.14000b064
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x148
ret
Function at 0x14007bc64
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x90]
lea rdx, str.powershell__Command__Add_Type__AssemblyName_System.Speech___speak__New_Object_System.Speech.Synthesis.SpeechSynthesizer___speak.Speak_
lea rcx, [rsp + 0x50]
call fcn.14003dc30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea r8, [0x1400cbfec]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400017bc
nop
lea rcx, [rsp + 0x50]
call fcn.14000c894
nop
lea rcx, [rsp + 0x30]
call fcn.140069894
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x30]
call fcn.14000c894
nop
mov rcx, qword [rsp + 0x90]
call fcn.14000c894
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x88
ret
Function at 0x14007dc3c
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x110
mov rax, qword [0x14012a980]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140064ec4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xc0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xa8], 0
lea rax, [0x14006578c]
mov qword [rsp + 0x98], rax
lea rax, str.Crosshair_V2
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x90], 3
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14007dd3a
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140058b28
mov rcx, rax
call fcn.14005630c
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400015e0
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x61]
call fcn.140059274
mov rcx, rax
call fcn.140056a2c
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14012e028], rax
mov edx, 5
mov rcx, qword [0x14012e028]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400cb648]
mov rcx, qword [0x14012e028]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14012e028]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14012e028]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14009b5b0
add rsp, 0x110
pop rdi
ret
Function at 0x14007ec10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x14007ec35
xor eax, eax
jmp 0x14007edfc
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14007ec5e
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call 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]
jmp 0x14007edfc
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14007ecfe
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14004cd7c
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14006b870
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x14007edec
mov rcx, qword [rsp + 0x70]
call fcn.1400688e0
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14007ed9f
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14007ed9d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14007edfc
jmp 0x14007ed24
cmp qword [rsp + 0x20], 0
jbe 0x14007edec
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret