joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c468
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x60], rax
and qword [r11 - 0x40], 0
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCplsigfxcpl.cpl
and dword [rsp + 0x4c], 0
lea rcx, [r11 - 0x38]
and qword [r11 - 0x48], 0
xor r9d, r9d
and qword [r11 - 0x38], 0
mov rdx, 0xffffffff80000002
and dword [rsp + 0x48], 0
and qword [r11 - 0x28], 0
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call fcn.14000493c
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000c508
and dword [rsp + 0x58], eax
lea r9d, [rax + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RunLevel
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rsp + 0x40], 0
je 0x14000c513
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test rcx, rcx
je 0x14000c513
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140014260
add rsp, 0x78
ret

Function at 0x14000c528
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [r11 - 0x20], r8d
lea rax, [r11 - 0x28]
and qword [r11 - 0x28], 0
mov rdi, rdx
mov rdx, rcx
mov qword [r11 - 0x58], rax
mov rbx, rcx
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c5b0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rbx
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c5e6
mov r9d, 4
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x14000ccf0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x58], rax
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rdx, rcx
mov rbx, r8
mov rdi, rcx
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000cd76
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rdi
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x50], 0
je 0x14000cdb9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014260
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000db4c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5a8]
sub rsp, 0x6a0
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rdi, rcx
mov r8, rcx
mov esi, 0x104
lea rcx, [rbp + 0x380]
mov edx, esi
call fcn.14001bc44
lea r8, [0x14003b5b8]
mov edx, esi
lea rcx, [rbp + 0x380]
call fcn.14001bbcc
mov r8, rdi
lea rcx, [rbp + 0x170]
mov edx, esi
call fcn.14001bc44
lea r8, [0x14003b190]
mov edx, esi
lea rcx, [rbp + 0x170]
call fcn.14001bbcc
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000dcca
lea r8, [rbp + 0x170]
lea rcx, [rbp + 0x380]
mov rdx, rsi
call fcn.14001bc44
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000dca2
lea rcx, [rsp + 0x4c]
call fcn.14000e070
test eax, eax
jne 0x14000dc04
lea r8, [rsp + 0x4c]
mov rdx, rsi
lea rcx, [rbp + 0x170]
call fcn.14001bbcc
test byte [rsp + 0x20], 0x10
je 0x14000dc62
lea rcx, [rbp + 0x170]
call fcn.14000db4c
test eax, eax
je 0x14000dcc1
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14000dc8f
test byte [rsp + 0x20], 1
je 0x14000dc7e
mov edx, 0x80
lea rcx, [rbp + 0x170]
call fcn.14001edb8
test eax, eax
jne 0x14000dcc1
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000dcc1
lea r8, [rbp + 0x380]
lea rcx, [rbp + 0x170]
jmp 0x14000dbfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000dcc1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14000dccc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000dcf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x14003b128]
xor r8d, r8d
xor edx, edx
lea r9d, [rbx + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ddf6
mov dword [rsp + 0x40], 0x20
mov ebp, ebx
xor edx, edx
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000dded
cmp ebp, 0x20
ja 0x14000dded
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 2
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
test rax, rax
je 0x14000dde1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CUINotRequired
mov dword [rsp + 0x34], ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000ddea
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
mov edx, ebp
jmp 0x14000dd48
mov rbx, rsi
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000de1c
Capabilities:
Get common file path
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1028]
mov eax, 0x1120
call fcn.1400146f0
sub rsp, rax
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0x1010], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x8c8
xor ebx, ebx
call fcn.140015e40
xor edx, edx
lea rcx, [rbp + 0x810]
mov r8d, 0x800
call fcn.140015e40
mov edx, 0x400
lea rcx, [rbp + 0x810]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 0x464
lea r8, [rbp + 0x810]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14001bc44
lea r8, [0x14003b198]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14001bbcc
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 3]
call sub.VERSION.dll_GetFileVersionInfoSizeExW
mov edx, eax
lea ecx, [rbx + 0x40]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14000df24
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 3]
call sub.VERSION.dll_GetFileVersionInfoExW
lea r9, [rsp + 0x3c]
mov rcx, rdi
lea r8, [rsp + 0x30]
lea rdx, [0x14003b190]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000df1b
mov rax, qword [rsp + 0x30]
movzx ebx, word [rax + 0x16]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14000df58
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov esi, 1
lea rcx, [0x14003b128]
xor r8d, r8d
xor edx, edx
lea r9d, [rsi + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000e04e
mov dword [rsp + 0x40], 0x20
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000e045
mov dword [rsp + 0x28], 0x20019
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov r8d, esi
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rdi, rax
test rax, rax
je 0x14000dfa6
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CUINotRequired
mov dword [rsp + 0x30], 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
test eax, eax
je 0x14000e03d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000dfa6
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000e0b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call fcn.140005080
mov rsi, rax
test rax, rax
jne 0x14000e0f2
lea ebx, [rax + 1]
jmp 0x14000e173
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x208
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x40]
call fcn.140015e40
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.Version
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e16a
lea rdx, str.3.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14001ecc0
test eax, eax
jne 0x14000e165
call fcn.14000de1c
cmp eax, 0x3fab
jae 0x14000e16a
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rsi
ret
Function at 0x14000e668
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.140015e40
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x140058b60]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000e704
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140014260
add rsp, 0xf8
ret
Function at 0x14000e720
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov ebx, ecx
lea r8, [0x14005a3d0]
mov edi, 0x432
mov edx, edi
lea rsi, [0x14005b440]
mov rcx, rsi
call fcn.14001bc44
lea r8, [0x14003b790]
mov edx, edi
mov rcx, rsi
call fcn.14001bbcc
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000e78f
mov rcx, rsi
call fcn.14001f5f0
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000e99d
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x30]
call fcn.140015e40
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14000b114
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdi, [0x14003b964]
cmp ebx, 1
jne 0x14000e835
lea rdx, str.sc_stop_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.sc_delete_igfxCUIService1.0.0.0
jmp 0x14000e905
cmp ebx, 2
jne 0x14000e917
lea rdx, str.sc_stop_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.sc_delete_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.TIMEOUT_5__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
lea rdx, [0x1400593d0]
call fcn.14000a7f0
mov rcx, rax
lea rdx, [0x14003b190]
call fcn.14000a7f0
mov rcx, rax
lea rdx, [0x14003b968]
call fcn.14000a7f0
mov rcx, rax
mov rdx, rdi
call fcn.14000a7f0
mov rcx, rax
lea rdx, str.__service
call fcn.14000a4b4
mov rcx, rax
call fcn.14000ae2c
lea rdx, str.sc_start_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rdx, [0x14003ba28]
lea rcx, [rsp + 0x30]
call fcn.14000a7f0
mov rcx, rax
mov rdx, rdi
call fcn.14000a7f0
mov rcx, rax
lea rdx, [0x14005a3d0]
call fcn.14000a7f0
mov rcx, rax
lea rdx, [0x14003b190]
call fcn.14000a7f0
mov rcx, rax
lea rdx, str.8A694AF2_286D_429D_867A_3F95898EE308.bat
call fcn.14000a7f0
mov rcx, rax
mov rdx, rdi
call fcn.14000a7f0
mov rcx, rax
call fcn.14000ae2c
lea rcx, [rsp + 0x30]
call fcn.14000fab4
nop
lea rcx, [rbp - 0x28]
call fcn.14000bb1c
nop
lea rcx, vtable.std::ios_base.0
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x28]
call fcn.140015998
nop
mov al, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140014260
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000ee58
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rcx
lea r8, [0x140059bd0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
xor edi, edi
call fcn.14001bc44
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.14001bbcc
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000eec3
lea rcx, [rsp + 0x20]
call fcn.14001f5f0
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x8b8]
add rsp, 0x8a0
pop rdi
ret

Function at 0x14000eee8
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
lea rcx, [0x14003d800]
call fcn.14000ee58
lea rcx, [0x14003d460]
call fcn.14000ee58
lea rcx, [0x14003d7a0]
call fcn.14000ee58
lea rcx, [0x14003d860]
call fcn.14000ee58
lea rcx, [0x14003d8c0]
call fcn.14000ee58
lea rcx, [0x14003b790]
call fcn.14000ee58
lea rcx, [0x14003d6b0]
add rsp, 0x28
jmp fcn.14000ee58

Function at 0x14000f00c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.140015e40
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x14005abd0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000f0a8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140014260
add rsp, 0xf8
ret

Function at 0x14000f0c4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rax
mov rdx, rcx
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f152
cmp qword [rsp + 0x30], 0
je 0x14000f152
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140013764
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, edx
mov rsi, rcx
mov ebx, 1
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
mov ecx, ebx
call fcn.140005080
mov rdi, rax
test rax, rax
je 0x1400137d0
lea r9d, [rbx + 3]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400137d2
xor bl, bl
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013930
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x140057020]
call fcn.1400069c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], eax
and qword [rsp + 0x40], rax
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rax + 1]
call fcn.140005080
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400139d7
mov dword [rsp + 0x48], 2
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x38], ebx
call fcn.14000df50
xor edx, edx
mov ecx, edi
call fcn.14000e198
mov byte [0x14005c548], 1
test rbx, rbx
je 0x1400139fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140014a1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014a66
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140014a66
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140014a66
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014a66
cmp dword [rcx + 0x84], 0xe
jbe 0x140014a66
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014a68
xor al, al
add rsp, 0x28
ret
Function at 0x14001ecb4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001eb1f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001eb1f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001eb1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001eb1f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001eb1f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001eb1f
cmp dword [rcx + 0xf8], 0
je 0x14001eb1f
mov ecx, ebx
call fcn.14001ebd0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001e9ac
nop
cmp dword [rbp + 0x20], 0
je 0x14001eb6d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001eb78
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001eab0

Function at 0x14001f5f0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f610
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001ba78
or eax, 0xffffffff
jmp 0x14001f612
xor eax, eax
add rsp, 0x28
ret

Function at 0x140029b6c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140029b82
mov al, 1
jmp 0x140029be2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140029b93
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140029be0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002dae0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140029be0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140029be0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140029be0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140029be2
xor al, al
add rsp, 0x20
pop rbx
ret