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

Disassembly:
jmp 0x140039d60
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.Cabinet.dll_FCIDestroy
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
cmp qword [rbp + 0x118], 0
je 0x140039dd7
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
jmp 0x140039deb
mov qword [rbp + 0x10], 0
xor eax, eax
mov word [rbp + 8], ax
xor eax, eax
mov word [rbp + 0xa], ax
mov eax, dword [rbp + 0x130]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x120]
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140060c40]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140016096
Capabilities:
Create thread
Terminate thread

Disassembly:
jmp 0x140031eb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14007e6df]
call fcn.140016b68
nop
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x140]
lea r8, [0x140016140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140031f33
jmp 0x140031fc9
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140016172]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140031f91
mov edx, 0x3a98
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140031f86
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, 0x2710
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140031fb4
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
test eax, eax
jne 0x140031efa
mov eax, dword [0x1400745c4]
cmp eax, 1
jne 0x140031fe0
mov dword [rbp + 0x114], 1
jmp 0x140031fea
mov dword [rbp + 0x114], 0
mov eax, dword [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005a490]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400160d7
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x14003b660
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x170], 0
jne 0x14003b6d5
jmp 0x14003b814
cmp qword [rbp + 0x168], 0
jne 0x14003b6ec
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x14003b6f7
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x178], 0
jne 0x14003b70f
cmp dword [rbp + 0x160], 0
jne 0x14003b70f
jmp 0x14003b814
lea r8, [rbp + 0x28]
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14003b72d
jmp 0x14003b814
cmp dword [rbp + 0x160], 0
je 0x14003b76c
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14003b757
mov dword [rbp + 0x134], 1
jmp 0x14003b761
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 4], eax
jmp 0x14003b7d0
mov rcx, qword [rbp + 0x178]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003b7bd
mov dword [rbp + 0x134], 1
jmp 0x14003b7c7
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14003b80a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x3e8
mov dword [rsp + 0x20], 1
mov r9, qword [rbp + 0x170]
xor r8d, r8d
mov edx, 0x1a
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
nop
xor eax, eax
test eax, eax
jne 0x14003b6c6
cmp qword [rbp + 0x28], 0
je 0x14003b831
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140060410]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400160fa
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002db50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14007e2db]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0x80004005
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x84], eax
lea r9, [rbp + 0x28]
mov r8d, 4
lea rdx, [0x1400699d0]
lea rcx, str.3AD05575_8857_4850_9277_11B85BDB8E09
call fcn.140016965
test eax, eax
je 0x14002dbf1
jmp 0x14002dca0
cmp qword [rbp + 0x28], 0
jne 0x14002dbfd
jmp 0x14002dca0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [0x140074d18]
mov edx, dword [rcx + 0x10]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x28]
test eax, eax
je 0x14002dc1e
jmp 0x14002dca0
lea r9, [rbp + 0x48]
lea r8, [0x1400695b0]
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
je 0x14002dc3e
jmp 0x14002dca0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x90]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x14002dc61
jmp 0x14002dca0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0xa8]
test eax, eax
je 0x14002dc78
jmp 0x14002dca0
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + InitCommonControls]
nop
mov qword [rbp + 0x48], 0
mov dword [rbp + 4], 1
xor eax, eax
test eax, eax
jne 0x14002dbcb
cmp qword [rbp + 0x28], 0
je 0x14002dcb6
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + InitCommonControls]
nop
cmp qword [rbp + 0x48], 0
je 0x14002dccc
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + InitCommonControls]
nop
cmp dword [rbp + 0x84], 0
jne 0x14002dcdc
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp dword [rbp + 4], 0
je 0x14002dd00
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, str._r_nCleanup_success_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x14002dd0e
lea rcx, str._r_nCleanup_failed_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140016118
Capabilities:
Create process on windows

Disassembly:
jmp 0x14003b0d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov edx, 0x70
lea rcx, [rbp + 0x10]
call fcn.140016825
nop
mov dword [rbp + 0x10], 0x70
mov dword [rbp + 0x14], 0x440
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14003b184
mov rax, qword [rbp + 0x78]
jmp 0x14003b186
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005fa90]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x14001612c
Capabilities:
Write file on windows

Disassembly:
jmp 0x14003d2a0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 0x24], 0
cmp qword [rbp + 0x128], 0
je 0x14003d30e
cmp dword [rbp + 0x130], 0
jne 0x14003d315
xor eax, eax
jmp 0x14003d3c4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x14003d384
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14003d39d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile
call fcn.140016366
nop
xor eax, eax
jmp 0x14003d3c4
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 0x24], eax
jne 0x14003d3b4
mov dword [rbp + 0xf4], 1
jmp 0x14003d3be
mov dword [rbp + 0xf4], 0
mov eax, dword [rbp + 0xf4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005f720]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140016177
Capabilities:
Delete file

Disassembly:
jmp 0x14002b0c0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x718
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x738]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x6e8], rax
lea rcx, [0x14007e1da]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x4a61
jae 0x14002b131
mov dword [rbp + 0x6e4], 1
jmp 0x14002b13b
mov dword [rbp + 0x6e4], 2
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x24], 0
jmp 0x14002b155
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jae 0x14002b213
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov r9d, dword [rbp + 0x718]
mov r8, qword [rbp + 0x710]
mov rdx, qword [rcx + rax*8]
xor ecx, ecx
call fcn.1400161a4
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002b195
call fcn.140016b13
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14002b202
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400161f9
nop
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x90]
call fcn.140016af0
nop
lea rcx, [rbp + 0x90]
call fcn.1400162a3
mov qword [rbp + 0x68], rax
mov eax, 0x7e
mov rcx, qword [rbp + 0x68]
mov word [rbp + rcx*2 + 0x8e], ax
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14002b14d
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400576c0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x6e8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x6f8]
pop rdi
pop rbp
ret
Function at 0x140016186
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14002c120
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xfa8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2be
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xfc8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0xf68], rax
lea rcx, [0x14007e1da]
call fcn.140016b68
nop
mov byte [rbp + 4], 0
mov dword [rbp + 0x44], 0xc0000022
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
nop
xor r9d, r9d
mov r8d, 0x1c
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14002c1a6
jmp 0x14002c2c0
mov r8d, 0x104
lea rdx, str.MicrosoftWindowsApps
lea rcx, [rbp + 0x70]
call fcn.140016983
nop
mov r8d, 0x104
lea rdx, str.BluetoothDiagnosticUtil.dll
lea rcx, [rbp + 0x70]
call fcn.140016983
nop
mov r8d, dword [rbp + 0xf98]
mov rdx, qword [rbp + 0xf90]
lea rcx, [rbp + 0x70]
call fcn.14001612c
test eax, eax
jne 0x14002c1f4
jmp 0x14002c2c0
mov byte [rbp + 4], 1
mov rax, qword [0x140074d18]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.1400161f9
nop
mov r8d, 0x104
lea rdx, str._syswow64_
lea rcx, [rbp + 0x4a0]
call fcn.140016983
nop
mov r8d, 0x104
lea rdx, str.msdt.exe
lea rcx, [rbp + 0x4a0]
call fcn.140016983
nop
lea rdx, str._path
lea rcx, [rbp + 0x6d0]
call fcn.1400161f9
nop
mov rax, qword [0x140074d18]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x6d0]
call fcn.140016af0
nop
lea rdx, str.diagnosticsindexBluetoothDiagnostic.xml__skip_yes
lea rcx, [rbp + 0x6d0]
call fcn.140016af0
nop
mov dword [rsp + 0x20], 0x2710
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x4a0]
call fcn.14001689d
test eax, eax
je 0x14002c2b6
mov dword [rbp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x14002c179
movzx eax, byte [rbp + 4]
test eax, eax
je 0x14002c2f9
mov dword [rbp + 0x24], 5
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002c2df
jmp 0x14002c2f9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14002c2cf
call fcn.14001615e
nop
mov eax, dword [rbp + 0x44]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140057e70]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xf68]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xf78]
pop rdi
pop rbp
ret
Function at 0x1400161c7
Capabilities:
Start service

Disassembly:
jmp 0x140028430
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
mov byte [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140028489
jmp 0x140028563
mov r8d, 0x14
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400284b0
jmp 0x140028563
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x1400284cb
mov byte [rbp + 4], 1
jmp 0x140028563
cmp dword [rbp + 0x64], 6
je 0x1400284d7
cmp dword [rbp + 0x64], 3
jne 0x14002851c
mov dword [rbp + 0x84], 5
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x1400284f9
mov byte [rbp + 4], 1
jmp 0x14002851c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1400284e1
cmp dword [rbp + 0x64], 1
jne 0x140028559
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140028559
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x140028559
mov byte [rbp + 4], 1
jmp 0x140028563
xor eax, eax
test eax, eax
jne 0x140028464
cmp qword [rbp + 0x48], 0
je 0x140028575
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
cmp qword [rbp + 0x28], 0
je 0x140028587
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
movzx eax, byte [rbp + 4]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400162c6
Capabilities:
Delete file

Disassembly:
jmp 0x14002bcf0
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14007e1da]
call fcn.140016b68
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400161f9
nop
lea rdx, str.iscsiexe.dll
lea rcx, [rbp + 0x10]
call fcn.140016af0
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1400581c0]
call fcn.1400169a6
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x140016366
Capabilities:
Print debug messages

Disassembly:
jmp 0x140035da0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov qword [rbp + 0x48], 0x104
cmp qword [rbp + 0x140], 0
je 0x140035df0
mov rcx, qword [rbp + 0x140]
call fcn.1400162a3
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [0x140074d18], 0
jne 0x140035e09
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 8], rax
jmp 0x140035e18
mov rax, qword [0x140074d18]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x48]
shl rax, 1
mov r8, rax
mov edx, 8
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140035ec2
lea rdx, str._UCM_
mov rcx, qword [rbp + 0x28]
call fcn.1400161f9
nop
cmp qword [rbp + 0x140], 0
je 0x140035e6c
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
nop
lea rdx, str._code__0x
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
nop
mov rcx, qword [rbp + 0x28]
call fcn.140016bf4
mov rdx, rax
mov ecx, dword [rbp + 0x148]
call fcn.1400169ce
nop
lea rdx, [0x14006367c]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400163b1
Capabilities:
Bypass uac via icmluautil

Disassembly:
jmp 0x140023480
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007dcd0]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x68], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
lea r9, [rbp + 0x68]
mov r8d, 4
lea rdx, [0x140045150]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140023511
jmp 0x14002355b
cmp qword [rbp + 0x68], 0
jne 0x14002351a
jmp 0x14002355b
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x48]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x140023555
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400234e9
cmp qword [rbp + 0x68], 0
je 0x140023571
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
nop
cmp dword [rbp + 0x44], 0
jne 0x14002357e
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14004bec0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret