joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180032254
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x260
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r13d, r13d
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
cmp rdx, r13
je 0x180032346
cmp r8d, r13d
je 0x180032346
lea rdx, str.deviceMup_
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rdi
jne 0x1800322cd
lea r8, [0x18005e9fc]
lea rdx, str.deviceMup_
mov r9, rbp
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18003345c
mov eax, 1
jmp 0x180032348
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, r13d
mov r12d, eax
bt r12d, ebx
jae 0x18003233f
lea ecx, [rbx + 0x61]
mov eax, 0x3a
xor edx, edx
mov word [rsp + 0x30], cx
mov word [rsp + 0x32], ax
xor eax, eax
lea rcx, [rsp + 0x42]
mov r8d, 0x206
mov word [rsp + 0x40], r13w
mov dword [rsp + 0x34], eax
call fcn.18003e200
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, r13d
jbe 0x18003233f
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
call fcn.180033590
cmp eax, r13d
jne 0x18003236f
inc ebx
cmp ebx, 0x1a
jl 0x1800322d9
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
jmp 0x1800322b7

Function at 0x180032714
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebx, ecx
mov rdi, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x434
call fcn.18003e200
mov edx, ebx
mov ecx, 8
mov dword [rsp + 0x20], 0x438
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
test rax, rax
je 0x18003279d
cmp rax, 0xffffffffffffffff
je 0x1800327b1
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
jmp 0x180032799
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.180032da0
test eax, eax
je 0x18003279d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x18003277b
cmp rbx, 0xffffffffffffffff
je 0x1800327b1
test rbx, rbx
je 0x1800327b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rdi
ret
Function at 0x1800327d4
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18003286f
cmp rax, 0xffffffffffffffff
je 0x18003286f
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.18003e200
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18003286f
mov rdx, rsi
lea rcx, [rsp + 0x30]
call rdi
test eax, eax
je 0x18003286f
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x180032850
cmp rbx, 0xffffffffffffffff
je 0x180032883
test rbx, rbx
je 0x180032883
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c6c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800328a8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
xor ebx, ebx
mov rdi, rcx
cmp rcx, rbx
jne 0x1800328c6
xor eax, eax
jmp 0x180032950
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], 0x68
lea r8d, [rdx + 0x60]
call fcn.18003e200
xor eax, eax
mov rcx, rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rbx
call fcn.180031434
xor r9d, r9d
xor r8d, r8d
mov rdi, rax
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x180032945
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.18003e1a8
mov rax, rbx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x180032a98
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
xor edi, edi
mov rsi, rcx
cmp rcx, rdi
je 0x180032c55
call fcn.180032964
lea rcx, [0x180032c6c]
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x68], eax
cmp rcx, rdi
je 0x180032c55
lea rdx, [rsp + 0x68]
call fcn.1800327d4
cmp dword [rsp + 0x70], edi
je 0x180032c55
mov r8d, dword [rsp + 0x6c]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, rdi
je 0x180032c41
cmp rax, 0xffffffffffffffff
je 0x180032c55
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, edi
je 0x180032c33
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x78], rdi
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
cmp eax, edi
je 0x180032c28
mov rcx, rsi
call fcn.180031434
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0xa8]
xor edx, edx
mov dword [rsp + 0xa0], 0x68
mov rsi, rax
call fcn.18003e200
mov rcx, qword [rsp + 0x60]
lea eax, [rdi + 5]
mov word [rsp + 0xe0], ax
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xa0]
mov r8, rsi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x420
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0xdc], 1
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, edi
je 0x180032c15
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.18003e1a8
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x180032c57
cmp rax, 0xffffffffffffffff
je 0x180032c55
cmp rax, rdi
je 0x180032c55
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180032cd0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov esi, r8d
mov rbp, rdx
mov r8d, ecx
mov ecx, 0x410
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edi, edi
mov rbx, rax
cmp rax, rdi
je 0x180032d67
cmp rax, 0xffffffffffffffff
je 0x180032d7b
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.18003e200
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call sub.PSAPI.DLL_GetProcessImageFileNameW
cmp eax, edi
jbe 0x180032d5a
lea rcx, [rsp + 0x20]
mov r8d, esi
mov rdx, rbp
call fcn.180032254
mov edi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180032d7d
cmp rax, 0xffffffffffffffff
je 0x180032d7b
cmp rax, rdi
je 0x180032d7b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x18003373c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov rdi, r9
mov rbp, r8
mov rsi, rdx
cmp r9, rbx
je 0x180033772
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x180033774
mov eax, ebx
lea ecx, [rax + rax + 2]
mov r9d, 1
mov r8, rbp
mov dword [rsp + 0x28], ecx
mov rcx, 0xffffffff80000002
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800337bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x860
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbp, r9
mov rdi, r8
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], r12
mov word [rcx + 8], r12w
mov dword [rsp + 0x38], 1
mov rsi, r12
cmp r8, r12
je 0x180033935
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x52]
call fcn.18003e200
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
mov r8, rbp
mov rdx, rdi
mov r13, 0xffffffff80000002
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x34], 1
je 0x180033885
cmp dword [rsp + 0x34], 2
jne 0x180033935
mov eax, dword [rsp + 0x30]
cmp eax, r12d
je 0x180033935
cmp eax, 0x800
jbe 0x1800338db
lea rcx, [rax + 2]
call fcn.18003e0f0
mov rsi, rax
mov r8d, dword [rsp + 0x30]
add r8, 2
xor edx, edx
mov rcx, rax
call fcn.18003e200
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rbp
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x180033901
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbp
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea rdx, [rsp + 0x50]
cmp rsi, r12
cmovne rdx, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.180006f50
cmp rsi, r12
je 0x180033935
mov rcx, rsi
call fcn.18003e1a8
mov rax, rbx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180033960
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x20a0
call fcn.180051560
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x20c8], rbx
mov qword [rsp + 0x20d0], rbp
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov rbx, rcx
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov dword [rsp + 0x44], ebp
lea ecx, [rbp + 8]
call fcn.18003cfc0
cmp rax, rbp
je 0x1800339c3
mov qword [rax], rbx
jmp 0x1800339c6
mov rax, rbp
mov qword [rbx], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], rbp
mov dword [rsp + 0x44], 1
lea r12, vtable.RegHandleHolder.0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareWOW6432Nodeprojonepodlppoprotect_regbanlogs_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdi, qword [rsp + 0x50]
cmp rdi, rbp
je 0x180033b24
mov esi, ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x1ffe
lea rcx, [rsp + 0x92]
call fcn.18003e200
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x180033b1f
inc esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.180006f50
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.180005dc0
nop
cmp qword [rsp + 0x78], 8
jb 0x180033ada
mov rcx, qword [rsp + 0x60]
call fcn.18003cec4
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
je 0x180033a7a
mov rdi, qword [rsp + 0x50]
jmp 0x180033b24
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], r12
cmp rdi, rbp
je 0x180033b37
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.18003c6c0
lea r11, [rsp + 0x20a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180033b64
Capabilities:
Check if file exists
Create service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180033c59
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbx, rax
test rax, rax
je 0x180033c59
lea rdx, str..sys
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180033bb2
lea edi, [rax + 1]
jmp 0x180033bcd
lea rdx, str..exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180033c59
lea edi, [rax + 0x10]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180033c59
and qword [rsp + 0x60], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rsi
lea rdx, [0x18005ca30]
mov dword [rsp + 0x30], 1
mov r9d, 0xf01ff
mov rcx, rax
mov r8, rdx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
xor edi, edi
test rax, rax
setne dil
test rax, rax
je 0x180033c4c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
jmp 0x180033c5b
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180033c70
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180033d05
lea r8d, [rdi + 0x10]
lea rdx, [0x18005ca30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180033cc0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180033ce9
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x180033ce4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x180033ce9
mov edi, 1
test rsi, rsi
je 0x180033cf7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180033d05
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x180033d18
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180033dd0
lea rdx, [0x18005ca30]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x180033d6e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180033db4
and dword [rsp + 0x20], esi
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x18]
call fcn.18003e200
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180033db2
mov esi, 1
lea r8, [rsp + 0x20]
mov rcx, rdi
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180033db4
xor esi, esi
test rdi, rdi
je 0x180033dc2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180033dd0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180033e94
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180033f12
lea rdx, [0x18005ca30]
mov r8d, 0x10000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x180033ee6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180033ef6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, eax
test rdi, rdi
je 0x180033f04
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180033f12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180033f24
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
xor edx, edx
xor ecx, ecx
lea r8d, [rdi + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x180033fc6
lea r8d, [rdi + 4]
lea rdx, [0x18005ca30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x180033f72
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test rbx, rbx
je 0x180033faa
and dword [rsp + 0x20], edi
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x18]
call fcn.18003e200
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180033faa
cmp dword [rsp + 0x24], 4
mov eax, 1
cmove edi, eax
test rsi, rsi
je 0x180033fb8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x180033fc6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x180035bd8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
mov eax, 0x2070
call fcn.180051560
sub rsp, rax
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x2060], rax
call fcn.180035cf0
xor ebx, ebx
cmp al, bl
je 0x180035cd6
lea rdx, str.__ls__ls
lea rcx, [rsp + 0x60]
mov word [rsp + 0x60], bx
mov word [rsp + 0x860], bx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x18005eaec]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rcx, [rsp + 0x30]
call fcn.180035ab8
cmp qword [rax + 0x20], 8
jb 0x180035c62
mov r9, qword [rax + 8]
jmp 0x180035c66
lea r9, [rax + 8]
mov rax, qword [rsp + 0x2080]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x860]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
cmp qword [rsp + 0x50], 8
jb 0x180035c9d
mov rcx, qword [rsp + 0x38]
call fcn.18003cec4
lea r9, [rsp + 0x2088]
lea r8, [rsp + 0x860]
lea rcx, [rsp + 0x1060]
mov edx, 0x800
mov word [rsp + 0x1060], bx
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rsp + 0x1060]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.18003c6c0
add rsp, 0x2070
pop rbx
ret

Function at 0x180035cf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
lea rax, [r11 + 8]
lea r9, [r11 + 0x10]
lea r8, [0x18005eaf0]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 0x18]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x18], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
cmp eax, ecx
jne 0x180035d3f
cmp dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x50]
je 0x180035d41
mov eax, ecx
cmp eax, 1
sete al
add rsp, 0x38
ret
Function at 0x1800366fc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.18003e200
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.180006f50
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1800367b4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x180071060]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.18003e200
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x18003682e
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x180036845
cmp esi, 2
jne 0x180036892
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x180036858
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180006f50
mov rax, rbx
jmp 0x180036938
cmp esi, ebp
jne 0x180036913
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.1800367b4
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x1800368eb
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.1800367b4
nop
cmp qword [rsp + 0x50], 8
jb 0x1800368e6
mov rcx, qword [rsp + 0x38]
call fcn.18003cec4
mov rax, rbx
jmp 0x180036938
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.1800367b4
nop
cmp qword [rsp + 0x50], 8
jb 0x18003690e
mov rcx, qword [rsp + 0x38]
call fcn.18003cec4
mov rax, rbx
jmp 0x180036938
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x18005c2e8]
mov rcx, rbx
call fcn.180006f50
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c6c0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret