joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400369a0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rax, [rsp + 0x30]
mov rbp, r9
mov rsi, r8
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140036b49
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], r12
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036b44
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x60], rbx
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x80], r12d
mov rdi, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140036b2d
mov edx, dword [rsp + 0x80]
test edx, edx
je 0x140036ab5
mov rcx, rdx
lea edx, [rax + 1]
call fcn.1400672d4
mov rdi, rax
test rax, rax
jne 0x140036a75
lea ebx, [rax + 8]
jmp 0x140036b20
mov edx, dword [rsp + 0x80]
test edx, edx
je 0x140036ab5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140036b20
mov edx, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x70]
cmp r9d, 7
jne 0x140036af0
mov r8d, edx
mov ebx, 0x545
mov ecx, r12d
shr r8d, 1
dec r8d
je 0x140036b20
mov rax, rdi
cmp r12w, word [rax]
jne 0x140036ae3
cmp r12w, word [rax + 2]
je 0x140036af0
inc ecx
add rax, 2
cmp ecx, r8d
jb 0x140036ad6
jmp 0x140036b20
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], edx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140036b20
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test rdi, rdi
je 0x140036b2d
mov rcx, rdi
call fcn.14006664c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov r12, qword [rsp + 0x40]
add rsp, 0x48
pop rsi
pop rbp
ret
Function at 0x140037350
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x98
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov rbp, r8
mov r13, rdx
mov rsi, rcx
mov r12, qword [rsp + 0xf0]
mov qword [rsp + 0x78], 7
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
lea r8d, [rbx + 0xf]
lea rdx, str.GetRegistryType
lea rcx, [rsp + 0x58]
call fcn.140001870
nop
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x32]
lea r8d, [rbx + 1]
mov rcx, rsi
call fcn.1400144a0
test rbp, rbp
je 0x1400374fa
cmp bx, word [rbp]
je 0x1400374fa
test rdi, rdi
je 0x1400374fa
cmp bx, word [rdi]
je 0x1400374fa
mov eax, 0x20219
mov r9d, 0x20019
cmp byte [rsp + 0xf8], bl
cmovne r9d, eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400374b7
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, r12
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400374aa
mov ebx, 4
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rcx, str.RegQueryValueEx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x10]
lea r8d, [rbx - 3]
mov rcx, rsi
call fcn.1400144a0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003752a
mov ebx, 4
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rcx, str.RegOpenKeyEx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x10]
lea r8d, [rbx - 3]
mov rcx, rsi
call fcn.1400144a0
jmp 0x14003752a
mov ebx, 8
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], rbx
cmovae r9, qword [rsp + 0x60]
lea rax, str.Wrong_parameter
mov qword [rsp + 0x20], rax
lea edx, [rbx + 2]
lea r8d, [rbx - 7]
mov rcx, rsi
call fcn.1400144a0
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
mov dword [rsp + 0x28], ebx
lea rax, str.Return_code__0x_x_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, rsi
call fcn.1400144a0
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, rsi
call fcn.1400144a0
nop
cmp qword [rsp + 0x78], 8
jb 0x1400375a1
mov rcx, qword [rsp + 0x60]
call fcn.140065920
mov eax, ebx
jmp 0x1400375a3
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x98
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140041d70
Capabilities:
Create directory
Set file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
mov ebx, 0x8000ffff
mov qword [r11 - 0x20], 7
xor esi, esi
mov qword [r11 - 0x28], rsi
mov word [r11 - 0x38], si
lea r8d, [rsi + 0x34]
lea rdx, str.PSWindowsInstallerUtilities::PSWIUTIL_CreateCacheDir
lea rcx, [r11 - 0x40]
call fcn.140001870
nop
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x32]
lea r8d, [rsi + 1]
mov rcx, rdi
call fcn.1400144a0
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140041ba0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001500
nop
cmp qword [rsp + 0x58], 8
jb 0x140041e4e
mov rcx, qword [rsp + 0x40]
call fcn.140065920
cmp qword [rsp + 0x78], 0
je 0x140041f02
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140041ee1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140041ee1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
mov qword [rsp + 0x28], rcx
lea rax, str.Error_creating_object___s_
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r8d, [rdx - 9]
mov rcx, rdi
call fcn.1400144a0
jmp 0x140041f02
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov edx, reloc.Cabinet.dll_FDIDestroy
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, esi
cmp qword [rsp + 0x80], 8
jb 0x140041f17
mov rcx, qword [rsp + 0x68]
call fcn.140065920
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
mov dword [rsp + 0x28], ebx
lea rax, str.Return_code__0x_x_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, rdi
call fcn.1400144a0
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r9, qword [rsp + 0x90]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, rdi
call fcn.1400144a0
test ebx, ebx
sete bl
cmp qword [rsp + 0xa8], 8
jb 0x140041fc8
mov rcx, qword [rsp + 0x90]
call fcn.140065920
mov al, bl
jmp 0x140041fca
mov al, bl
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140064b70
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140054ba0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r9
mov rbx, r8
test rcx, rcx
je 0x140054c31
test rbx, rbx
je 0x140054c31
test r9, r9
je 0x140054c31
cmp dword [r9], 0
je 0x140054c31
mov r9d, 0x104
mov r8, rcx
lea rcx, [rsp + 0x30]
lea edx, [r9 + 1]
call fcn.140064ecc
lea r8, [0x1400af8b4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400682f4
test eax, eax
jne 0x140054c31
mov edx, dword [rdi]
mov r9, qword [rsp + 0x20]
lea r8d, [rax + 1]
mov rcx, rbx
call fcn.140068694
mov rcx, qword [rsp + 0x20]
mov rbx, rax
call fcn.140068ad0
mov dword [rdi], ebx
mov al, 1
jmp 0x140054c33
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x1400551b0
Capabilities:
Move file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov r12, rcx
mov qword [r11 - 0x38], rdx
mov qword [r11 - 0x40], 7
xor r13d, r13d
mov qword [r11 - 0x48], r13
mov word [r11 - 0x58], r13w
lea r8d, [r13 + 0x12]
lea rdx, str.DeleteFileAtReboot
lea rcx, [r11 - 0x60]
call fcn.140001870
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x32]
lea r8d, [r13 + 1]
mov rcx, r12
call fcn.1400144a0
cmp qword [rsi + 0x20], 8
jb 0x14005524d
lea rdi, [rsi + 8]
mov rcx, qword [rdi]
jmp 0x140055254
lea rdi, [rsi + 8]
mov rcx, rdi
xor edx, edx
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebp, eax
test eax, eax
jne 0x1400552f9
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rbx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.MoveFileEx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, str.Error___i__return_by_function___s_
mov qword [rsp + 0x20], rax
mov r9, rbx
lea edx, [rbp + 0x14]
lea r8d, [rbp + 1]
mov rcx, r12
call fcn.1400144a0
cmp qword [rsi + 0x20], 8
jb 0x1400552bb
mov rax, qword [rdi]
jmp 0x1400552be
mov rax, rdi
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 2
lea rax, str.Parameter___i_:__s
mov qword [rsp + 0x20], rax
mov edx, reloc.Cabinet.dll_FDICreate
lea r8d, [rdx - 0x13]
mov rcx, r12
call fcn.1400144a0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
lea rax, str.Return_code___i_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, r12
call fcn.1400144a0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, r12
call fcn.1400144a0
nop
cmp qword [rsp + 0x68], 8
jb 0x14005536c
mov rcx, qword [rsp + 0x50]
call fcn.140065920
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r13
mov word [rsp + 0x50], r13w
cmp qword [rsi + 0x20], 8
jb 0x14005538f
mov rcx, qword [rdi]
call fcn.140065920
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r13
mov word [rdi], r13w
mov eax, ebp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400553d0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, r8
mov rdi, rdx
mov rbp, rcx
mov qword [r11 - 0x40], rdx
mov qword [r11 - 0x48], 7
xor r13d, r13d
mov qword [r11 - 0x50], r13
mov word [r11 - 0x60], r13w
lea r8d, [r13 + 0x1a]
lea rdx, str.DeleteFileAtRebootIfNeeded
lea rcx, [r11 - 0x68]
call fcn.140001870
nop
lea esi, [r13 + 1]
lea r9, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r9, qword [rsp + 0x68]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x31]
mov r8d, esi
mov rcx, rbp
call fcn.1400144a0
mov dword [r12], r13d
cmp qword [rdi + 0x20], 8
jb 0x14005547c
lea rbx, [rdi + 8]
mov rcx, qword [rbx]
jmp 0x140055483
lea rbx, [rdi + 8]
mov rcx, rbx
xor edx, edx
call fcn.140067f44
test eax, eax
jne 0x1400554e6
cmp qword [rdi + 0x20], 8
jb 0x14005549a
mov rcx, qword [rbx]
jmp 0x14005549d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400554e6
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r13
mov word [rsp + 0x40], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140001500
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400551b0
mov esi, eax
mov dword [r12], 1
lea r9, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r9, qword [rsp + 0x68]
mov dword [rsp + 0x28], esi
lea rax, str.Return_code___i_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, rbp
call fcn.1400144a0
lea r9, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r9, qword [rsp + 0x68]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, rbp
call fcn.1400144a0
nop
cmp qword [rsp + 0x80], 8
jb 0x140055562
mov rcx, qword [rsp + 0x68]
call fcn.140065920
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r13
mov word [rsp + 0x68], r13w
cmp qword [rdi + 0x20], 8
jb 0x140055588
mov rcx, qword [rbx]
call fcn.140065920
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], r13
mov word [rbx], r13w
mov eax, esi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400577f0
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
lea rcx, str.Kernel32.dll
mov qword [rsp + 0x78], rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140057866
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rax
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140057853
lea r8d, [rbx + 0x3c]
lea rcx, [rsp + 0x24]
xor edx, edx
call fcn.1400719a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call rsi
mov rbx, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x70]
test rbx, rbx
jne 0x14005788a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rbx, qword [rsp + 0x28]
cmp qword [rsp + 0x30], 0xffffffffffffffff
movabs rax, 0x100000000
cmove rbx, rax
mov rdi, qword [rsp + 0x78]
shr rbx, 0x14
test bl, 1
jbe 0x1400578a6
shr rbx, 1
lea rax, [rbx + rbx + 2]
add rsp, 0x60
pop rbx
ret
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x14005c690
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1400d5320], rax
test rax, rax
je 0x14005c76a
lea rdx, str.SHBindToParent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.SHGetFolderLocation
mov qword [0x1400d5328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.SHGetFolderPathA
mov qword [0x1400d5330], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.SHGetFolderPathW
mov qword [0x1400d5338], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.SHGetLocalizedName
mov qword [0x1400d5340], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.ShellExecuteExA
mov qword [0x1400d5348], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400d5320]
lea rdx, str.ShellExecuteExW
mov qword [0x1400d5350], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d5358], rax
add rsp, 0x28
ret
Function at 0x140061fc0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x4a8
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor eax, eax
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea r8d, [rax + 5]
mov qword [rsp + 0x20], rax
call fcn.140064fb8
lea rcx, [rsp + 0x60]
mov edx, 0x5c
call fcn.1400654a8
test rax, rax
je 0x140062038
cmp word [rax + 2], 0
je 0x14006204e
lea r8, [0x1400ad338]
lea rcx, [rsp + 0x60]
mov edx, 5
call fcn.140065928
jmp 0x14006204e
lea r8, [0x1400ad338]
lea rcx, [rsp + 0x60]
mov edx, 5
call fcn.140065928
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0x280]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
lea rcx, [rsp + 0x60]
mov r8d, 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400620e5
mov qword [rsp + 0x4b8], rsi
mov qword [rsp + 0x4a0], rdi
lea rdi, str.NTFS
lea rsi, [rsp + 0x70]
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
mov rdi, qword [rsp + 0x4a0]
mov rsi, qword [rsp + 0x4b8]
sete al
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x4a8
ret
xor al, al
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140064b70
add rsp, 0x4a8
ret
Function at 0x140067eb4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x140067eee
call fcn.14006bad0
and dword [rax], 0
call fcn.14006bab0
and qword [rsp + 0x20], 0
mov ebx, reloc.Cabinet.dll_FDICopy
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.140067968
mov eax, ebx
jmp 0x140067f3e
test edx, 0xfffffff9
jne 0x140067ec1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140067f17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006baf0
call fcn.14006bab0
mov eax, dword [rax]
jmp 0x140067f3e
test al, 0x10
jne 0x140067f3c
test al, 1
je 0x140067f3c
test bl, 2
je 0x140067f3c
call fcn.14006bad0
mov dword [rax], 5
call fcn.14006bab0
mov dword [rax], 0xd
jmp 0x140067f0e
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14006965b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400d2478]
jne 0x140064b8a
rol rcx, 0x10
test cx, 0xffff
jne 0x140064b86
repz ret
ror rcx, 0x10
jmp 0x1400695b4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400d4130]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400d4228]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140069639
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400d4130]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14006965b
mov rax, qword [rsp + 0x88]
mov qword [0x1400d4228], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400d41c8], rax
mov rax, qword [0x1400d4228]
mov qword [0x1400d40a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400d41b0], rax
mov dword [0x1400d4090], 0xc0000409
mov dword [0x1400d4094], 1
mov rax, qword [0x1400d2478]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400d2480]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400d4128], eax
mov ecx, 1
call fcn.140073480
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400a4930]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400d4128], 0
jne 0x1400696e2
mov ecx, 1
call fcn.140073480
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14006c930
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14006c798
Function at 0x1400869c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14006b504
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400d4f58], rbx
jne 0x140086aca
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140086b9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140086b9f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400d4f58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400d4f60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400d4f68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400d4f78], rax
test rax, rax
je 0x140086ac1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400d4f70], rax
jmp 0x140086ad1
mov rax, qword [0x1400d4f70]
jmp 0x140086ad8
mov rax, qword [0x1400d4f70]
mov r11, qword [0x1400d4f78]
cmp rax, rdi
je 0x140086b40
cmp r11, rdi
je 0x140086b40
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400d4f78]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140086b40
test rax, rax
je 0x140086b40
call rsi
test rax, rax
je 0x140086b3a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140086b3a
test byte [rsp + 0x38], 1
jne 0x140086b40
bts ebp, 0x15
jmp 0x140086b7e
mov rcx, qword [0x1400d4f60]
cmp rcx, rdi
je 0x140086b7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140086b7e
call rax
mov rbx, rax
test rax, rax
je 0x140086b7e
mov rcx, qword [0x1400d4f68]
cmp rcx, rdi
je 0x140086b7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140086b7e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400d4f58]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140086b9f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140086ba1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret