joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006d5c
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.14000ae00
sub rsp, rax
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x140006da2
mov rdx, rcx
mov rcx, rbx
call fcn.1400074d4
lea rax, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
test eax, eax
jne 0x140006e8e
mov rcx, rdi
call fcn.14000ea60
mov ecx, 0x7ff
lea r9, [rsp + 0x40]
sub ecx, eax
lea rdx, str.LanguageFolder
add ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x30], ecx
lea rax, [rbp + 0xf50]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006e83
mov r8d, 0x800
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.14000576c
mov rcx, rdi
call fcn.140005dc4
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0x800
call fcn.14000748c
lea rcx, [rsp + 0x50]
call fcn.140004810
test al, al
je 0x140006e83
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400074d4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.14000ae70
add rsp, 0x2060
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140006eac
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.14000ae00
sub rsp, rax
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140007084
test rsi, rsi
je 0x140006efb
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.14000ea44
jmp 0x140006f0d
mov r8d, 0x800
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x800
lea rdx, str.rarlng.dll
lea rcx, [rbp + 0x40]
call fcn.140005e50
mov r8d, 0x800
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140006d5c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
cmp dword [rsp + 0x30], r8d
jne 0x140006f74
cmp dword [rsp + 0x24], 5
ja 0x140006f66
jne 0x140006f74
cmp word [rbp + 0x34], r8w
jb 0x140006f74
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140006f7e
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x140030e20], rax
setne cl
mov byte [rbx], cl
test cl, cl
mov rax, qword [0x140030e20]
cmove rax, rdi
mov qword [0x140030e28], rdi
mov qword [0x140030e20], rax
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x1178]
add rsp, 0x1150
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400076b4
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.14000ae00
sub rsp, rax
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400076f0
xor eax, eax
jmp 0x140007713
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140005d10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000ae70
add rsp, 0x1030
pop rbx
ret

Function at 0x140008710
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400056e0
test eax, eax
jne 0x140008739
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140008754
and dword [0x140034080], 0
mov rdx, rbx
mov rcx, rdi
call fcn.1400087e0
cmp dword [0x140034080], 0
jne 0x140008739
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400087e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], ax
je 0x1400088ef
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
jne 0x1400088ef
lea rax, [rsp + 0x50]
mov esi, ecx
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x1400088ae
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.1400038cc
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.1400087e0
lea rax, [rsp + 0x50]
inc esi
mov qword [rsp + 0x38], rax
mov edx, esi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000885b
mov rcx, qword [rsp + 0x48]
call fcn.140007d14
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400088ef
inc dword [0x140034080]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008914
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x1400205e0]
mov rdi, rdx
mov rbx, rcx
call fcn.140007e44
test al, al
jne 0x140008971
mov r9d, 0x200
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140008d80
test al, al
je 0x140008971
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x140008994
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140007e44
test al, al
jne 0x140008a1a
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.140008d80
test al, al
je 0x140008a1a
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008a1a
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140007d14
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000ae70
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x140008a38
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008994

Function at 0x140008a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400081e8
test al, al
je 0x140008a97
mov eax, dword [rsp + 0x30]
jmp 0x140008af8
mov rdx, rbx
mov rcx, rsi
call fcn.140008de4
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x140008af6
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140007d14
test bl, bl
je 0x140008af6
cmp dword [rsp + 0x34], 0
je 0x140008af6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140008a60
Function at 0x140008b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400081e8
test al, al
je 0x140008a97
mov eax, dword [rsp + 0x30]
jmp 0x140008af8
mov rdx, rbx
mov rcx, rsi
call fcn.140008de4
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x140008af6
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140007d14
test bl, bl
je 0x140008af6
cmp dword [rsp + 0x34], 0
je 0x140008af6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140008a60

Function at 0x140008b28
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, qword [rsp + 0x8c0]
mov rbx, r9
mov esi, dword [rsp + 0x8c8]
lea r9, [rsp + 0x40]
mov r12, r8
mov qword [rsp + 0x20], 0x400
mov rbp, rdx
mov rdi, rcx
call fcn.140008544
xor r13d, r13d
test al, al
jne 0x140008b9d
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.1400074d4
cmp byte [0x14002e299], r13b
sete al
jmp 0x140008bbe
lea rcx, [rsp + 0x40]
call fcn.140008270
test rax, rax
mov r8, rsi
mov rcx, rbx
cmove rax, r14
mov rdx, rax
call fcn.1400074d4
mov al, 1
test al, al
je 0x140008bc9
mov al, 1
jmp 0x140008c4c
mov rdx, rbp
mov rcx, rdi
call fcn.140008de4
mov rbp, rax
mov dil, r13b
test rax, rax
je 0x140008c3b
lea ecx, [rsi + rsi]
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rbp
sete dil
call fcn.140007d14
test dil, dil
je 0x140008c3b
mov ecx, dword [rsp + 0x30]
shr ecx, 1
test esi, esi
jne 0x140008c2c
mov word [rbx], r13w
jmp 0x140008c49
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x140008c49
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.1400074d4
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000ae70
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008e90
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, r9
mov qword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140008544
test al, al
jne 0x140008edc
cmp byte [0x14002e299], al
sete al
jmp 0x140008ef1
mov r8d, 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140007d84
mov al, 1
test al, al
je 0x140008ef9
xor eax, eax
jmp 0x140008f50
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.140008660
mov rdi, rax
test rax, rax
je 0x140008f4a
mov rcx, rbx
call fcn.14000ea60
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140007d14
jmp 0x140008f4e
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000ae70
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140008f6c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400085dc
test al, al
je 0x140008f96
xor eax, eax
jmp 0x140008fe4
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140008660
mov rdi, rax
test rax, rax
je 0x140008fde
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140007d14
jmp 0x140008fe2
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140008ff4
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008e90

Function at 0x14000900c
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140008f6c

Function at 0x14000942c
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000955c
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1030
call fcn.14000ae00
sub rsp, rax
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov edi, 0x800
lea rdx, [rsp + 0x20]
xor ebx, ebx
lea rcx, str.sfxname
mov r8d, edi
mov word [rsp + 0x20], bx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000964b
cmp word [rsp + 0x20], bx
je 0x14000964b
mov r8d, edi
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call fcn.140005e50
lea rcx, [rsp + 0x20]
call fcn.140004810
test al, al
jne 0x1400095eb
mov r8d, edi
lea rdx, str.rarreg.txt
lea rcx, [rsp + 0x20]
call fcn.140005e50
lea rcx, [rsp + 0x20]
call fcn.140004810
test al, al
je 0x140009611
mov r8d, 1
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8, rdi
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
call fcn.140005e50
lea rcx, [rsp + 0x20]
call fcn.140004810
test al, al
je 0x14000964b
mov r8d, 1
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x1040]
add rsp, 0x1030
pop rdi
ret
Function at 0x14000a748
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14000ea60
mov rbx, rax
lea rcx, [rax*2 + 4]
call fcn.1400104d8
mov rdi, rax
test rax, rax
je 0x14000a7b4
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.140007a1c
mov rcx, rdi
call fcn.1400106a0
mov r8, rax
mov r9, rbp
mov edx, 1
mov rcx, rdi
call fcn.140010454
mov rcx, rdi
call fcn.14000ea10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a7cc
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov cl, 1
call fcn.14000772c
xor r8d, r8d
lea rcx, [0x140030e50]
mov rdx, rbx
call fcn.140006eac
lea rdx, str.uninstall.lng
lea rcx, [0x140030e60]
call fcn.14000638c
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.1400076b4
mov rcx, qword [0x140030e20]
lea rdx, str.RARICON
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor edi, edi
mov qword [0x1400350b0], rax
test rax, rax
jne 0x14000a877
mov rcx, qword [0x140030e28]
cmp rcx, qword [0x140030e20]
je 0x14000a877
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x1400350b0], rax
mov ecx, 0xfffffff4
call fcn.1400093c0
mov ecx, eax
xor r9d, r9d
lea rax, str.MS_Shell_Dlg
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
mov r8d, 0x400
mov byte [rsp + 0x70], dil
lea rdx, [rsp + 0x80]
mov qword [0x1400350b8], rax
lea rcx, str.sfxcmd
mov byte [rsp + 0x71], dil
mov word [rsp + 0x80], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x71]
mov cl, 1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call fcn.140009a0c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r9, [rsp + 0x71]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x70]
call fcn.140009a0c
cmp byte [rsp + 0x70], dil
je 0x14000a9f7
mov rcx, qword [0x140030e20]
lea r9, [0x140009c9c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.SETUPDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x14000a9f7
call fcn.14000955c
mov al, byte [0x140036111]
test al, al
jne 0x14000a99b
mov rcx, qword [0x140030e20]
lea r9, [0x140009764]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.DONEDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, byte [0x140036111]
cmp word [0x1400350c0], di
je 0x14000a9f7
cmp byte [0x140036110], dil
jne 0x14000a9f7
test al, al
jne 0x14000a9f7
cmp byte [0x140036112], dil
jne 0x14000a9f7
lea rcx, [0x1400350c0]
call fcn.140004810
test al, al
je 0x14000a9f7
lea rax, [0x1400205e0]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x1400350c0]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0x71], dil
je 0x14000aa03
call fcn.14000a0e4
test rbx, rbx
je 0x14000aa11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x1400350b8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1400350b0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x140036114]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x890
pop rdi
ret
Function at 0x140016bdc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140016bb9
call fcn.140013894
mov dword [rax], 0x16
call fcn.140013700
or eax, 0xffffffff
jmp 0x140016bd6
sub dword [rcx + 0x10], 1
jns 0x140016bc8
add rsp, 0x28
jmp 0x14001c834
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140016b98
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001c6d4
call fcn.140013894
mov dword [rax], 0x16
call fcn.140013700
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001c6bc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001c6bc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001c706
lock or dword [rax + 0x14], 0x10
jmp 0x14001c6bc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001c723
mov rcx, qword [rbp + 0x10]
call fcn.14001b9f4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014c38
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001cd6c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001c77a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001c6bc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001c7e6
mov rcx, qword [rbp + 0x10]
call fcn.140014c38
cmp eax, 0xffffffff
je 0x14001c7cd
mov rcx, qword [rbp + 0x10]
call fcn.140014c38
cmp eax, 0xfffffffe
je 0x14001c7cd
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140014c38
movsxd rdi, eax
lea rsi, [0x140036a80]
mov rcx, rbx
sar rdi, 6
call fcn.140014c38
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001c7d4
lea rax, [0x14002e580]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001c7e6
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001c81c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001c818
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001c818
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001c6bf
jmp 0x14001c68c
Function at 0x140011ac0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011c36
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140011b30
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x140011b4b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x140011b84
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x140011b8f
add rdx, 2
sub r8, 1
jne 0x140011b70
cmp r10, rcx
jb 0x140011b8f
jbe 0x140011c59
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140011c2d
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011bc0
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x140011bdb
mov r9, qword [rbx]
cmp rax, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x140011c14
lea rcx, [rsp + 0x4c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140011c1b
add rdx, 2
sub r8, 1
jne 0x140011c00
cmp r10, rax
jb 0x140011c1b
jbe 0x140011c59
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140011bb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140048d70
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140011c38
Function at 0x1400122d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov edx, ecx
xor edi, edi
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012360
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140012360
lea rdx, str.Minecraft.Windows.exe
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001235b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140012331
jmp 0x140012360
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140048d70
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret