joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14001a6c0
cmp r11, r10
ja 0x14001a736
cmp r10, rdx
ja 0x14001a74a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001a6c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001a6a0
jmp 0x14001a724
ja 0x14001a6ca
mov r11, r10
cmp rax, r8
jne 0x14001a664
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14001a700
mov rdi, r8
sub ecx, edx
jns 0x14001a71b
jmp 0x14001a726
cmp r8, rsi
je 0x14001a75b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001a726
xor al, 1
cmp rdi, rsi
jne 0x14001a6e0
jmp 0x14001a726
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [0x1413b16b8]
mov rcx, r11
mov rdx, r10
call fcn.140050c40
ud2
lea r8, [0x1413b16b8]
mov rcx, r10
call fcn.1400509c0
ud2
lea rcx, [0x1413b5d48]
lea r8, [0x1413b16a0]
mov edx, 0x2b
call fcn.140050a40
ud2

Function at 0x14001fef0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140017f10
cmp rax, rcx
je 0x14001ff15
cmp rdx, 4
jae 0x14001ff18
xor eax, eax
xor r8d, r8d
jmp 0x14001ffb0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140053730]
movdqa xmm3, xmmword [0x140053540]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14001ff40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14001ffc7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14001ffb0
ret
Function at 0x140020f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140020fbb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140020fbb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140020fd6
cmp eax, 0x42
jne 0x140020fbb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140021086
cmp byte [r9 + r11], 0x5f
jne 0x140021086
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400210ee
mov rcx, rsi
xor edx, edx
call fcn.14001c680
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14001c680
test al, al
jne 0x140021181
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021012
lea rdx, [0x1413b5643]
mov r8d, 1
call fcn.140018380
test al, al
jne 0x140021181
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140020fca
xor r14d, r14d
lea rbx, [0x1413b59f8]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140021044
cmp byte [rax + rcx], 0x45
je 0x1400211aa
sub r14, 1
jb 0x140021069
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021069
mov r8d, 2
mov rdx, rbx
call fcn.140018380
test al, al
jne 0x140021181
mov rcx, rsi
call fcn.14001dee0
test al, al
jne 0x140021181
mov rax, qword [rsi]
test rax, rax
jne 0x140021030
jmp 0x140020fca
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140021148
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400210e2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400210cc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400210bb
add dl, 0xa9
jmp 0x1400210ca
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140021148
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140021148
movzx edx, bl
add rax, rdx
jae 0x140021090
jmp 0x140021148
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140021148
cmp rax, rcx
jae 0x140021145
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140021189
cmp qword [rsi + 0x20], 0
je 0x1400211a3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140020f60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140020fcc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021198
lea rax, [0x1413b59a8]
lea rdx, [0x1413b59b8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140018380
test al, al
je 0x140021198
mov dil, 2
jmp 0x140020fca
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140021153
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140020fca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140020fca
Function at 0x140024fa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413b83e0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140025013
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14002504a
test eax, eax
js 0x140025024
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14002503d
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 byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1413b8440]
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.140023810
mov rcx, rax
call fcn.140023950
mov ecx, 7
int 0x29
ud2
Function at 0x14002ca40
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413b83e0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002caac
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14002cabb
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002caf3
cmp eax, 0x103
je 0x14002cafd
test eax, eax
js 0x14002cad8
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002caf3
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 byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1413b8440]
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.140023810
mov rcx, rax
call fcn.140023950
mov ecx, 7
int 0x29
ud2

Function at 0x14002de70
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
Function at 0x14003b120
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140042510
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov r14, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140042d90
mov dword [rbp + 0xfec], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r15, [rbp + 0xfec]
mov qword [rbp + 0xfc8], r15
lea r12, [0x140030dd0]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xfb0]
mov rcx, r14
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14003b30e
mov r13, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r14
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14003b1e7
cmp dword [rbp + 0xff0], 0
jne 0x14003b323
mov ebx, dword [rbp + 0xff4]
test rbx, rbx
je 0x14003b323
cmp ebx, 0x1000
ja 0x14003b367
xor r14d, r14d
nop dword [rax + rax]
cmp r14, rbx
ja 0x14003b353
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov r8d, ebx
sub r8d, r14d
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call rdi
test eax, eax
je 0x14003b316
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14003b290
cmp dword [rbp + 0xff0], 0
jne 0x14003b31c
mov eax, dword [rbp + 0xff4]
add r14, rax
cmp r14, rbx
jne 0x14003b230
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov r14, qword [rbp + 0xfe0]
mov rcx, r14
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14003b1e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003b323
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x1413b8728]
mov rcx, r14
mov rdx, rbx
call fcn.140050c40
jmp 0x14003b37b
lea r8, [0x1413b8728]
mov edx, 0x1000
mov rcx, rbx
call fcn.1400509c0
ud2
Function at 0x14003b3d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003b40f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14002a660]
mov qword [rbp - 0x28], rax
lea rax, [0x1413b88f0]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x1413b8928]
lea rcx, [rbp - 0x60]
call fcn.140050880
ud2

Function at 0x14003d270
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003d37f
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14003d2a8
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003d342
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003d361
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003d2fe
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003d31b
jmp 0x14003d310
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003d316
cmp eax, 0x6d
jne 0x14003d332
mov byte [rsi + 1], 0
jmp 0x14003d326
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003d328
mov r8d, 0x10
mov rcx, rbx
call fcn.1400506f0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003d2b5
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400506f0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x14003d2b5
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140051b70
ud2

Function at 0x140046b0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140046908
Function at 0x1400015e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000165e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000165e
nop
lea rdx, str.MonolithBay_Win64_Shipping.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000165a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001630
jmp 0x14000165e
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001720
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret

Function at 0x1400020ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400020f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400020f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400020f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400020f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400020f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400020f8
xor al, al
add rsp, 0x28
ret
Function at 0x14006fe68
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400e6810
mov qword [rsp + 0x28], 0
jmp 0x14006fe89
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x28]
jl 0x14006ff85
push 0
pop rcx
call fcn.1400cd5ec
and rax, rax
je 0x14006ff7a
mov qword [rsp + 0x30], 0xffffffffffffffff
call fcn.140079a6f
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x30]
and r15, r15
jle 0x14006ff43
call fcn.1400d20bc
mov rax, rax
push rax
mov r15, qword [0x140db2af0]
cmp r15, qword [rsp]
jne 0x14006ff00
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.14006ddff
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14006fefe
jmp 0x14006ff40
xor r15, r15
cmp r15, qword [rsp]
jne 0x14006ff29
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.140059640
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14006ff27
jmp 0x14006ff40
sub rsp, 8
push 3
pop rcx
sub rsp, 0x20
call fcn.1400cd190
add rsp, 0x28
pop rax
jmp 0x14006ff4e
push 5
pop rcx
call fcn.1400cd190
push 0x1b
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14006ff6f
mov qword [0x140db2a58], 1
jmp 0x14006ff7a
mov qword [0x140db2a58], 0
inc qword [rsp + 0x28]
jno 0x14006fe89
xor rax, rax
add rsp, 0x40
pop r15
ret
Function at 0x140079b9d
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140079bb0
sub rsp, 0x28
call fcn.1400e6810
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400e6380
add rsp, 0x10
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400e6380
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.140079de9
push qword [rsp + 0x30]
movabs rcx, 0x14019f044
pop rdx
call fcn.1400e6610
or rax, rax
je 0x140079ce1
cmp dword [0x140db2d18], 0
je 0x140079cbf
movabs rax, 0x14019e928
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400c04cc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140079cbd
movabs rax, 0x1401ab1c8
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400c0554
mov qword [rsp + 0x40], rax
sub rsp, 8
push 0
movsxd r15, dword [0x140db2d1c]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x140db2c98]
mov rax, rax
push rax
push qword [0x140db2ca8]
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400c0f2c
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400c03b8
jmp 0x140079cdc
mov rax, qword [0x140db2c98]
mov rax, rax
push rax
push qword [0x140db2ca8]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
jmp 0x140079da6
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push qword [0x140db2ca8]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x50], rax
cmp dword [0x140db2d18], 0
je 0x140079d8b
movabs rax, 0x14019e928
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400c04cc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140079d89
push 0
movsxd r15, dword [0x140db2d1c]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x140db2c98]
mov rax, rax
push rax
push qword [rsp + 0x70]
movabs rax, 0x1401ab1c8
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400c1b40
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400c03b8
jmp 0x140079da6
mov rax, qword [0x140db2c98]
mov rax, rax
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x140079db9
mov rax, 1
jmp 0x140079dbc
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400e6880
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e6880
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret
Function at 0x14007a16e
Capabilities:
Get graphical window text

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400e6810
mov rcx, qword [rsp + 0x60]
call fcn.14007b620
mov r15, qword [0x140db2d20]
and r15, r15
jne 0x14007a1b8
push 0
push 0
pop rcx
pop rdx
call sub.USER32.dll_FindWindowW
mov qword [0x140db2d28], rax
mov qword [0x140db2d20], 1
jmp 0x14007a1d1
push 2
push qword [0x140db2d28]
pop rcx
pop rdx
call sub.USER32.dll_GetWindow
mov qword [0x140db2d28], rax
mov r15, qword [0x140db2d28]
and r15, r15
je 0x14007a2a7
push 0xfffffffffffffff0
push qword [0x140db2d28]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x10000000
cmp r15, 0x10000000
jne 0x14007a2a5
push 0xffffffffffffffec
push qword [0x140db2d28]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x80
cmp r15, 0x80
je 0x14007a2a5
push rcx
sub rsp, 0x28
call fcn.1400e64e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400e64e0
add rsp, 0x28
pop rcx
push rax
push 0x100
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400e3430
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400e6530
push 0x100
push qword [rsp + 0x30]
push qword [0x140db2d28]
pop rcx
pop rdx
pop r8
call sub.USER32.dll_GetWindowTextW
push qword [rsp + 0x28]
movabs rcx, 0x14019e0ba
pop rdx
call fcn.1400e6610
or rax, rax
jne 0x14007a2a5
jmp 0x14007a2c2
jmp 0x14007a2b2
mov qword [0x140db2d20], 0
mov r15, qword [0x140db2d28]
and r15, r15
jne 0x14007a187
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.1400e64e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400e6670
add rsp, 0x28
pop rax
push rax
call fcn.1400e66e0
pop rdx
add rax, rdx
jmp 0x14007a2fb
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e6880
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret
Function at 0x14007a316
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x14
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14007a32a
sub rsp, 0x28
call fcn.1400e6810
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400e6380
add rsp, 0x10
lea rax, [rsp + 0x30]
lea rax, [rsp + 0x98]
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 1
mov r15, qword [rsp + 0xe8]
and r15, 2
and r15, r15
je 0x14007a39c
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 0
jmp 0x14007a3a7
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 1
lea rax, [rsp + 0x98]
mov rax, rax
push rax
lea rax, [rsp + 0x38]
mov rax, rax
push rax
push 0
push 0
push 0
push 0
push 0
push 0
push qword [rsp + 0x68]
push 0
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_CreateProcessW
add rsp, 0x50
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14007a476
mov r15, qword [rsp + 0xe8]
and r15, 1
and r15, r15
je 0x14007a468
lea rbp, [rsp + 0x98]
push qword [rbp + 8]
pop rax
mov qword [rsp + 0xb8], rax
push 1
pop rcx
call fcn.1400cd190
lea rax, [rsp + 0xc0]
mov rax, rax
push rax
push qword [rsp + 0xc0]
pop rcx
pop rdx
call sub.KERNEL32.dll_GetExitCodeThread
movsxd r15, dword [rsp + 0xc0]
cmp r15, 0x103
je 0x14007a466
jmp 0x14007a468
jmp 0x14007a42e
lea rbp, [rsp + 0x98]
mov rax, qword [rbp]
jmp 0x14007a479
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e6880
add rsp, 0x28
pop rax
add rsp, 0xc8
pop r15
pop rbp
ret

Function at 0x14007a4c4
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14007a4ce
sub rsp, 0x28
call fcn.1400e6810
mov byte [rsp + 0x28], 0
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 0x14007a5e1
lea rax, [rsp + 0x38]
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, 0x1401a470e
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and rax, rax
je 0x14007a5d7
lea rax, [rsp + 0x40]
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
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
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
push rbp
pop rbp
mov dword [rbp + 0xc], 2
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
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x14007a5f0
add rsp, 0x68
pop r15
pop rbp
ret