joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011f2a0
Capabilities:
Move file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov qword [r11 - 0x20], rdx
mov qword [r11 - 0x18], 0
lea r8, [0x14032a220]
lea rcx, [r11 - 0x18]
call fcn.140081cb0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
je 0x14011f302
xor esi, esi
jmp 0x14011f30a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [rbx]
cmp dword [rcx - 8], 1
jle 0x14011f31e
mov edx, dword [rcx - 0x10]
mov rcx, rbx
call fcn.14003b6e0
mov rcx, qword [rbx]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rcx
lea rax, str.CCoInstallerCapabilities::MoveFileOrDirectory____MoveFileEx__s_file__return_code___d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x84
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedintelopenvinocoinstaller.cpp
call fcn.140039f30
test edi, edi
je 0x14011f3d9
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
je 0x14011f37c
xor esi, esi
jmp 0x14011f384
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rbx]
cmp dword [rdx - 8], 1
jle 0x14011f398
mov edx, dword [rdx - 0x10]
mov rcx, rbx
call fcn.14003b6e0
mov rdx, qword [rbx]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rdx
lea rax, str.CCoInstallerCapabilities::MoveFileOrDirectory____MoveFileEx__s_file_for_next_reboot__return_code___d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x89
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedintelopenvinocoinstaller.cpp
call fcn.140039f30
test edi, edi
setne sil
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14011f408
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14011f429
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
movzx eax, sil
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14011f8a0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
lea ebx, [rax + 1]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
call fcn.14011e9d0
nop
xor eax, eax
mov qword [rdi], rax
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.14003c400
lea rcx, [rax + 0x18]
mov qword [rdi], rcx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x14011f976
nop dword [rax + rax]
mov r9d, ebx
mov r8, qword [rsp + 0x38]
lea rdx, str._s_d
mov rcx, rdi
call fcn.140058ab0
inc ebx
cmp ebx, 0x64
jg 0x14011f94d
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14011f920
jmp 0x14011f976
lea rdx, [0x14031b7bc]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14011f960
mov r8d, eax
mov rcx, rdi
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14011f999
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140123530
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov eax, 1
mov rcx, qword [rcx + 0x7d8]
mov dword [rsp + 0x30], eax
test rcx, rcx
je 0x140123592
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.TrackingMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x30]
cmp eax, 1
mov rcx, rbx
sete dl
call fcn.140123ad0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140202880
add rsp, 0x50
pop rbx
ret

Function at 0x140124290
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [r11 - 0x30], rcx
lea rax, vtable.CNXHelper.0
mov qword [rcx], rax
lea rbx, [rcx + 8]
mov qword [rsp + 0x48], rbx
xor esi, esi
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.1400463f0
mov qword [rbx], rax
mov dword [rdi + 0x18], 2
lea rbx, [rdi + 0x20]
mov qword [rsp + 0x48], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.14004a700
mov qword [rbx], rax
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x48], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.14004a700
mov qword [rbx], rax
mov byte [rdi + 0x40], sil
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140320430]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140124397
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.MaxNXModules
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [rsp + 0x40]
mov dword [rdi + 0x18], ecx
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14012a770
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x30], 0
mov rbx, rcx
jne 0x14012a794
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x30], rax
mov rcx, rbx
mov byte [rbx + 0x38], 0
add rsp, 0x20
pop rbx
jmp fcn.1400622d0
Function at 0x14012e0b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor eax, eax
xor bl, bl
mov qword [rsp + 0x20], rax
mov rdi, rdx
test rcx, rcx
je 0x14012e16f
cmp ax, word [rcx]
je 0x14012e16f
mov rdx, rcx
lea r8, [0x14035a684]
lea rcx, [rsp + 0x20]
call fcn.140237d78
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14012e16f
xor edx, edx
mov qword [rsp + 0x50], rsi
lea r8d, [rdx + 2]
call fcn.140247abc
mov rcx, qword [rsp + 0x20]
call fcn.1402593a4
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
movsxd rsi, eax
call fcn.140247abc
test esi, esi
jle 0x14012e160
mov rdx, rsi
mov rcx, rdi
mov rbx, rsi
call fcn.140058bf0
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.14024770c
cmp rax, 1
sete bl
mov rcx, qword [rsp + 0x20]
call fcn.140237f50
mov rsi, qword [rsp + 0x50]
movzx eax, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14012e3e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140222790
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14012e4a7
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003b370
test al, al
jne 0x14012e48b
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14012e470
mov r8d, ecx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003beb0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140202880
add rsp, 0x250
pop rbx
ret
mov ecx, 0x80004005
call fcn.140039950
int3

Function at 0x14012e4c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x250
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140222790
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14012e587
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003b370
test al, al
jne 0x14012e56b
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14012e550
mov r8d, ecx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003beb0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140202880
add rsp, 0x250
pop rbx
ret
mov ecx, 0x80004005
call fcn.140039950
int3
Function at 0x14012e610
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, 1
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14012e646
mov rcx, qword [rbx]
lea edx, [rdi + 0x7f]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
mov rdx, qword [rbx]
test edi, edi
mov ecx, 0xffffffff
setne dil
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14012e672
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
mov rbx, qword [rsp + 0x30]
movzx eax, dil
add rsp, 0x20
pop rdi
ret

Function at 0x14012e780
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x278]
sub rsp, 0x368
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, rdx
test rdx, rdx
je 0x14012e98a
mov qword [r11 + 8], rbx
lea rcx, [rbp + 0x40]
mov qword [r11 + 0x18], rsi
xor edx, edx
mov r8d, 0x208
mov qword [r11 - 0x18], r14
call fcn.140222790
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x40]
call fcn.140221398
xor r14d, r14d
test rax, rax
je 0x14012e7fc
mov word [rax + 2], r14w
jmp 0x14012e801
mov word [rbp + 0x40], r14w
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.140242df8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x110
call fcn.140222790
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14012e990
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x40], 0
jne 0x14012e85c
mov r9d, 0x103
lea r8, [rbp + 0x40]
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.140247d24
mov rbx, 0xffffffffffffffff
mov rsi, rbx
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x14012e866
lea rcx, [rsp + 0x30]
call fcn.14005a820
test rsi, rsi
setne al
test rsi, rsi
mov rsi, qword [rsp + 0x390]
jne 0x14012e961
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x208
call fcn.140222790
xor r9d, r9d
lea rdx, [rbp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x25]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, [0x140328454]
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.140242df8
mov edx, 0x5c
lea rcx, [rbp + 0x40]
call fcn.140221398
test rax, rax
je 0x14012e8e4
mov word [rax + 2], r14w
jmp 0x14012e8e9
mov word [rbp + 0x40], r14w
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.140242df8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x110
call fcn.140222790
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14012e990
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x40], 0
jne 0x14012e944
mov r9d, 0x103
lea r8, [rbp + 0x40]
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.140247d24
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14012e944
test rbx, rbx
lea rcx, [rsp + 0x30]
setne bl
call fcn.14005a820
movzx eax, bl
mov rbx, qword [rsp + 0x380]
mov r14, qword [rsp + 0x360]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140202880
add rsp, 0x368
pop rdi
pop rbp
ret
xor al, al
jmp 0x14012e971
Function at 0x14012f0b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xor eax, eax
mov qword [rdx], rax
lea rdx, [0x14031b7bc]
mov rcx, rbx
call fcn.14003be10
mov edi, 1
mov dword [rsp + 0x30], edi
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14012f1da
mov dword [rsp + 0x48], r14d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x14012f1da
js 0x14012f1f5
mov rax, qword [rbx]
sub edi, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or edi, ecx
jge 0x14012f161
mov rcx, rbx
call fcn.14003b630
mov rdi, qword [rbx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x14012f190
test rax, rax
je 0x14012f1aa
mov eax, dword [rsp + 0x48]
dec eax
mov word [rdi + rax*2], r14w
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14012f1b7
mov eax, r14d
jmp 0x14012f1c4
movsxd rdx, dword [rcx - 0xc]
call fcn.140238660
test eax, eax
js 0x14012f200
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14012f200
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140202880
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80070057
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3

Function at 0x14012f210
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x20], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14012f273
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 0x20]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
sete al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140137f80
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.140222790
lea rax, str.Open
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, str.expand.exe
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0x40
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140138014
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140202880
add rsp, 0xa0
pop rbx
ret
Function at 0x140138c30
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx + 0x98]
mov rbp, rcx
mov sil, 1
mov qword [rsp + 0x60], rdi
mov rbx, qword [rbx]
cmp rbx, qword [rbp + 0x98]
je 0x140138d28
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14003ead0
cmp qword [rsp + 0x38], 8
lea rdi, [rsp + 0x20]
cmovae rdi, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140138cba
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dl
jmp 0x140138cbc
mov dl, 1
xor ecx, ecx
movzx eax, sil
test dl, dl
cmovne ecx, eax
movzx esi, cl
lea rcx, [rsp + 0x20]
call fcn.14003b0f0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140138d00
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140138cfb
cmp rbx, qword [rax + 0x10]
jne 0x140138cfb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140138ce8
mov rbx, rax
jmp 0x140138d1f
mov rdx, qword [rax]
mov rbx, rax
cmp byte [rdx + 0x19], 0
jne 0x140138d1f
nop dword [rax]
mov rcx, qword [rdx]
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x140138d10
test sil, sil
jne 0x140138c63
mov rdi, qword [rsp + 0x60]
movzx eax, sil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret

Function at 0x140138eb0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140222790
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x140138f77
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003b370
test al, al
jne 0x140138f5b
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140138f40
mov r8d, ecx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003beb0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140202880
add rsp, 0x250
pop rbx
ret
mov ecx, 0x80004005
call fcn.140039950
int3
Function at 0x1401393f0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x14013959d
test r8, r8
je 0x14013959d
mov rcx, r8
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14013959d
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov r8, rbx
lea rdx, [rsp + 0x30]
call fcn.140139140
nop
mov rax, qword [rsp + 0x30]
lea edi, [rbp - 1]
cmp dword [rax - 0x10], ebp
jne 0x14013946d
xor sil, sil
jmp 0x140139574
lea r14, vtable.CCrypt.0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
lea rdx, str.86AF787C_D4E8_4E95_B2A1_E9956D29A241
lea rcx, [rsp + 0x38]
call fcn.14006f490
test eax, eax
je 0x1401394af
mov r8, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14006f7c0
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x1401395c1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, qword [rsp + 0x30]
lea rdx, str.__s___F:___s_
lea rcx, [rsp + 0x20]
call fcn.140058ab0
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.140137f80
test eax, eax
setne sil
mov rdx, qword [rsp + 0x30]
call fcn.1401395d0
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14013952e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140139548
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyHash]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14013955d
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyKey]
mov qword [rsp + 0x40], rbp
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140139574
xor edx, edx
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptReleaseContext]
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140139597
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
movzx eax, sil
jmp 0x14013959f
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140039950
int3

Function at 0x1401395d0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140139608
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140139bd0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x50]
call fcn.140222790
mov dword [rsp + 0x48], 0x200
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x140139c90
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140139c5e
mov rdx, qword [rdi]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], shutdown
mov byte [rbx], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140139cb0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14005e050
nop
mov rcx, rdi
call fcn.140046190
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret