joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a7f0
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.1400136ec
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002a87a
cmp byte [rbp - 0x21], r15b
je 0x14002a875
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002a8b0
call fcn.14001cc90
test eax, eax
jne 0x14002a89c
cmp byte [rbp - 0x21], r15b
je 0x14002a894
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002a8b0
cmp byte [rbp - 0x21], r15b
je 0x14002a8ad
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.1400156ac
test eax, eax
jne 0x14002a950
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400136ec
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002a8ef
cmp byte [rbp - 0x21], r15b
je 0x14002a924
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002a924
call fcn.14001cc90
test eax, eax
jne 0x14002a910
cmp byte [rbp - 0x21], r15b
je 0x14002a909
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002a924
cmp byte [rbp - 0x21], r15b
je 0x14002a921
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.1400156ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002a950
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002a953
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002a961
mov rcx, rdi
call fcn.14001c900
cmp byte [rbp + 0x3f], r15b
je 0x14002a970
mov rcx, qword [rbp + 0x27]
call fcn.14001c900
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 0x14002ad38
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140020208
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140020208
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002ae85
cmp rax, 0xffffffffffffffff
je 0x14002ae85
xor edi, edi
test rbp, rbp
jle 0x14002ae33
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001c960
mov rbx, rax
test rax, rax
jne 0x14002adc0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002ae29
mov edx, 0x8000
mov ecx, r14d
call fcn.140019b78
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001e864
cmp eax, 0xffffffff
je 0x14002ae09
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002add0
mov edx, r15d
mov ecx, r14d
call fcn.140019b78
jmp 0x14002ae29
cmp byte [rsi + 0x38], dil
je 0x14002ae20
cmp dword [rsi + 0x34], 5
jne 0x14002ae20
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002ae29
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001c900
jmp 0x14002ae97
jns 0x14002ae97
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140020208
cmp rax, 0xffffffffffffffff
jne 0x14002ae51
cmp byte [rsi + 0x30], dil
je 0x14002ae97
jmp 0x14002ae8d
mov ecx, r14d
call fcn.140025c74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002ae97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14002ae97
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002ae92
mov edi, dword [rsi + 0x2c]
jmp 0x14002ae97
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140020208
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002b5b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b5d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b5d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001faf0]
mov dword [rax], 1
mov rax, qword [0x14001fb00]
mov dword [rax], 1
mov rax, qword [0x14001fb10]
mov dword [rax], 1
mov rax, qword [0x14001fa40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000b4c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400400c0]
test rcx, rcx
je 0x14000b4f9
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000b518
mov rcx, qword [0x1400400c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x14000b530
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [0x1400400c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000b4ec
mov edx, 0x414
lea rbp, [rsp + 0x20]
lea rbx, [0x14001e442]
mov qword [rsp + 0x20], 0
lea rsi, [0x140043100]
movq xmm0, rbx
mov rcx, rbp
mov dword [rsp + 0x28], 3
movq xmm6, rsi
mov word [rsp + 0x40], dx
mov rdi, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov r13d, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x30], xmm6
call rdi
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14000b502
test al, 0x10
je 0x14000b502
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
mov qword [rsp + 0x50], rbx
mov rcx, rbp
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rdi
sub r13d, 1
jne 0x14000b5a0
jmp 0x14000b502

Function at 0x14000f890
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400162d0
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000f950
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000f8cc
jmp 0x14000f8f0
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000f8f0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000f8c0
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000f905
cmp word [rsi + 2], 0x3a
je 0x14000f8dc
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f9a0
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jg 0x14000f8dc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000f8dc
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14000aca0
test al, al
je 0x14000f9b8
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000f8b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f918
xor eax, eax
jmp 0x14000f8e1
mov rcx, rbx
call fcn.14000b400
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140014fb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001bee0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001bee0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140015c82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140047228]
test eax, eax
je 0x140015d1a
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140047230]
mov qword [rbp - 8], rax
jmp 0x140015cfe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015cf2
cmp qword [rbp - 0x10], 0
je 0x140015cf2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140015cb8
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140015d1b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015e20
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140015e48
mov eax, 0
jmp 0x140015e96
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140015e71
mov eax, 0
jmp 0x140015e96
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140015e91
mov eax, 0
jmp 0x140015e96
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140015e9c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140015f1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015f11
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015f11
mov rax, qword [rbp - 8]
jmp 0x140015f2f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015ee4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140011163
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140013f90
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140022040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [0x140028102]
call fcn.140011695
mov edx, 0x20
lea rcx, [rbp + 0x27]
call fcn.14001105a
lea rcx, [rbp - 9]
call fcn.140011316
lea r8, [rbp - 0xa]
mov dword [rbp - 0x29], 0x353a1821
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x25], 0x4d424c47
lea rcx, [rbp + 0x17]
mov dword [rbp - 0x21], 0x313a5155
mov rbx, rax
mov dword [rbp - 0x1d], 0x43525157
mov dword [rbp - 0x19], 0x3a10114b
mov dword [rbp - 0x15], 0x46415451
mov dword [rbp - 0x11], 0xc52514d
mov word [rbp - 0xd], 0x5643
mov byte [rbp - 0xb], 0x43
call fcn.1400112c1
mov r8, rbx
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 7], xmm0
call fcn.14001152d
lea rcx, [rbp + 0x27]
call fcn.1400111f4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14001133e
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret

Function at 0x1400113b1
Capabilities:
Terminate process

Disassembly:
jmp 0x140017a30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140006e00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140006e20
xor eax, eax
jmp 0x140006f06
cmp qword [rcx + 0x68], 0
je 0x140006e31
call fcn.140004b10
jmp 0x140006f06
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140006e48
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006e4a
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006e7c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140066c30
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140006f00
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140006eb3
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140006edc
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140043994
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140006f00
cmp rdi, rbx
ja 0x140006eba
test rdi, rdi
je 0x140006f00
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.140043994
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000886c
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14012e100]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
mov rdi, rcx
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
mov r9d, 0x20006
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400088ba
xor al, al
jmp 0x14000890a
cmp qword [rbx + 0x18], 7
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
jbe 0x1400088ce
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 7
jbe 0x1400088d8
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140039740
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000dc58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xf
jbe 0x14000dc66
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000dc79
test al, 0x30
je 0x14000dc79
mov al, 1
jmp 0x14000dc7b
xor al, al
add rsp, 0x28
ret
Function at 0x14000e3b8
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3e0
mov rax, qword [0x14012e100]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r8d, 0x104
lea rdx, [rbp + 0x1c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000e5cb
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r15d, r15d
test eax, eax
je 0x14000e5c2
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x20]
call fcn.14000dff8
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14000e483
mov rdi, qword [rax]
lea rax, [rbp - 0x54]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000e48b
lea rbx, [rbx*4 + 1]
mov rcx, rbx
call fcn.140039a18
mov rsi, rax
mov r8, rbx
lea rdx, [rbp - 0x54]
mov rcx, rax
call fcn.14004a890
sub rdi, rsi
movzx ebx, byte [rsi]
movzx eax, byte [rsi + rdi]
sub ebx, eax
jne 0x14000e4cc
inc rsi
test eax, eax
jne 0x14000e4ba
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000e509
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e504
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e5f9
call fcn.140039760
test ebx, ebx
jne 0x14000e598
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp - 0x78], eax
je 0x14000e598
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14000e2dc
lea rdx, [rsp + 0x40]
mov ecx, dword [rbp - 0x78]
call fcn.14000e2dc
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp rdx, qword [rsp + 0x50]
jne 0x14000e598
test rdx, rdx
je 0x14000e57f
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000e598
add rcx, 2
sub rdx, 1
jne 0x14000e56b
lea rcx, [rsp + 0x40]
call fcn.140005330
nop
lea rcx, [rsp + 0x60]
call fcn.140005330
mov al, 1
jmp 0x14000e5cd
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000e46c
lea rcx, [rsp + 0x40]
call fcn.140005330
nop
lea rcx, [rsp + 0x60]
call fcn.140005330
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140039740
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14003fc10
nop
int3
Function at 0x14000e600
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14012e100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
mov edx, 0x208
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bp
jne 0x14000e64c
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r9d, edi
mov dword [rsp + 0x28], ebp
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
xorps xmm0, xmm0
mov r8, rsi
xor edx, edx
movups xmmword [rbx], xmm0
mov rcx, rbx
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
call fcn.14000ae5c
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14000e6a8
mov rdx, qword [rbx]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r9d, edi
mov dword [rsp + 0x28], esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140039740
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret