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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
and qword [rsp + 0x50], 0
mov rbx, rcx
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
lea r15, [0x100003d08]
cmp rcx, r14
je 0x100029ad7
test byte [rcx + 0x1c], 1
je 0x100029ad7
cmp byte [rcx + 0x19], 4
jb 0x100029ad7
mov rcx, qword [rcx + 0x10]
mov edx, 0x136
mov r8, r15
call fcn.10001c7b8
test byte [rbx + 0x150], 4
jne 0x100029af8
lea r8, [0x100004b28]
lea rcx, [0x1000046e0]
mov edx, 0x1821
call fcn.100099ad8
mov rcx, qword [rbx + 0x238]
lea rdx, [rbx + 0x188]
lea r8, [rsp + 0x50]
call fcn.100123824
mov edi, eax
test eax, eax
js 0x100029c85
mov rax, qword [rbx + 0x1e0]
test rax, rax
je 0x100029bd3
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029b5d
test byte [rcx + 0x1c], 1
je 0x100029b5d
cmp byte [rcx + 0x19], 4
jb 0x100029b5d
mov r9, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
mov edx, 0x137
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001df38
mov rdx, qword [rbx + 0x1e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100029bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029bc0
test byte [rcx + 0x1c], 1
je 0x100029bc0
cmp byte [rcx + 0x19], 2
jb 0x100029bc0
mov r9, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x1e0]
mov edx, 0x138
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001e360
mov rcx, qword [0x1001653b8]
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x100029c8c
cmp dword [rbx + 0x14c], 4
je 0x100029c85
mov rax, qword [rbx + 0x240]
test rax, rax
je 0x100029c85
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029c25
test byte [rcx + 0x1c], 1
je 0x100029c25
cmp byte [rcx + 0x19], 4
jb 0x100029c25
mov r9, qword [rbx + 0x238]
mov rcx, qword [rcx + 0x10]
mov edx, 0x139
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001df38
mov rdx, qword [rbx + 0x240]
mov rcx, qword [rbx + 0x238]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100029c85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029bc0
test byte [rcx + 0x1c], 1
je 0x100029bc0
cmp byte [rcx + 0x19], 2
jb 0x100029bc0
mov r9, qword [rbx + 0x238]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x240]
mov edx, 0x13a
jmp 0x100029ba8
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x50], 0
je 0x100029ca6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
test edi, edi
jns 0x100029cd6
cmp rcx, r14
je 0x100029cf8
test byte [rcx + 0x1c], 1
je 0x100029cd6
cmp byte [rcx + 0x19], 2
jb 0x100029cd6
mov rcx, qword [rcx + 0x10]
mov edx, 0x13b
mov r9d, edi
mov r8, r15
call fcn.10001c7dc
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029cf8
test byte [rcx + 0x1c], 1
je 0x100029cf8
cmp byte [rcx + 0x19], 4
jb 0x100029cf8
mov rcx, qword [rcx + 0x10]
mov edx, 0x13c
mov r8, r15
call fcn.10001c7b8
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1000393bc
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
sub rsp, 0x260
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebp, ebp
mov rdi, rcx
mov qword [rsp + 0x30], rbp
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
lea r13, [0x100003d08]
cmp rcx, r12
je 0x100039425
test byte [rcx + 0x1c], 1
je 0x100039425
cmp byte [rcx + 0x19], 4
jb 0x100039425
mov rcx, qword [rcx + 0x10]
mov edx, 0x26a
mov r8, r13
call fcn.10001c7b8
mov edx, dword [rdi + 0x14c]
mov rcx, qword [rdi + 0x158]
lea r8, [rsp + 0x30]
call fcn.10011cd60
cmp eax, ebp
mov ebx, eax
jge 0x100039487
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000395a7
test byte [rcx + 0x1c], 1
je 0x1000395a7
cmp byte [rcx + 0x19], 2
jb 0x1000395a7
mov r9, qword [rdi + 0x158]
mov rcx, qword [rcx + 0x10]
mov edx, 0x26b
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.10001daa4
jmp 0x1000395a0
mov ebx, 0x101
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbx
mov dword [rsp + 0x38], ebx
call sub.msvcrt.dll_memset
mov r11, qword [rdi + 0x260]
lea rcx, [rsp + 0x40]
cmp r11, rbp
jne 0x100039506
lea rdx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, ebp
jne 0x10003953d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000394ff
test byte [rcx + 0x1c], 1
je 0x1000394ff
cmp byte [rcx + 0x19], 2
jb 0x1000394ff
mov rcx, qword [rcx + 0x10]
movzx r9d, ax
mov edx, 0x26c
or r9d, 0x80070000
cmp eax, ebp
mov r8, r13
cmovle r9d, eax
call fcn.10001c7dc
mov word [rsp + 0x40], bp
jmp 0x10003953d
lea rax, [rsp + 0x40]
sub r11, rax
lea rax, [rbx + 0x7ffffefd]
cmp rax, rbp
je 0x100039531
movzx eax, word [r11 + rcx]
cmp ax, bp
je 0x100039531
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x10003950e
cmp rbx, rbp
jne 0x10003953a
sub rcx, 2
mov word [rcx], bp
mov r8, qword [rdi + 0x188]
mov rdx, qword [rdi + 0x158]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
call fcn.1000eae54
cmp eax, ebp
mov ebx, eax
jge 0x1000395a0
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000395a7
test byte [rcx + 0x1c], 1
je 0x1000395a7
cmp byte [rcx + 0x19], 2
jb 0x1000395a7
mov r9, qword [rdi + 0x158]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x160]
mov edx, 0x26d
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.10001e360
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x30], rbp
je 0x1000395c0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x1000395e2
test byte [rcx + 0x1c], 1
je 0x1000395e2
cmp byte [rcx + 0x19], 4
jb 0x1000395e2
mov rcx, qword [rcx + 0x10]
mov edx, 0x26e
mov r8, r13
call fcn.10001c7b8
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x100053bd4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x20]
mov rsi, r8
xor r9d, r9d
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov rdi, rdx
xor ebx, ebx
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, eax
cmp eax, ebx
jne 0x100053c8e
cmp dword [rsi], ebx
je 0x100053c49
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100053d05
test byte [rcx + 0x1c], 1
je 0x100053d05
cmp byte [rcx + 0x19], 4
jb 0x100053d05
mov edx, 0x1f8
jmp 0x100053c79
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100053d05
test byte [rcx + 0x1c], 1
je 0x100053d05
cmp byte [rcx + 0x19], 4
jb 0x100053d05
mov edx, 0x1f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003cf8]
mov r9, rdi
call fcn.10001da24
jmp 0x100053d05
cmp eax, 2
jne 0x100053cb9
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100053d05
test byte [rcx + 0x1c], 1
je 0x100053d05
cmp byte [rcx + 0x19], 3
jb 0x100053d05
mov edx, 0x1fa
jmp 0x100053c79
movzx eax, ax
or eax, 0x80070000
cmp r11d, ebx
cmovle eax, r11d
mov ebx, eax
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x100053d05
test byte [rcx + 0x1c], 1
je 0x100053d05
cmp byte [rcx + 0x19], 2
jb 0x100053d05
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003cf8]
mov edx, 0x1fb
mov r9, rdi
mov dword [rsp + 0x20], ebx
call fcn.10001daa4
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x100066950
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x100167cb0], 0
mov ebx, r9d
je 0x10006697f
lea r8, [0x100002958]
lea rcx, [0x100002a50]
mov edx, 0xe0f
call fcn.100099ad8
or eax, 0xffffffff
jmp 0x1000669b6
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x100166760]
mov rdx, rax
call fcn.100066cb4
cmp al, 1
jne 0x1000669b2
lea rcx, [0x100166760]
mov edx, ebx
call fcn.100066a90
jmp 0x1000669b6
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret
Function at 0x100066a90
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, 0x290
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor ebp, ebp
mov esi, edx
mov edi, 0x20019
lea r8, [0x100002b68]
lea rcx, [rsp + 0x58]
mov rdx, 0xffffffff80000000
mov r9d, edi
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
call fcn.1000198cc
mov ebx, eax
cmp eax, ebp
je 0x100066b0f
mov rcx, qword [rsp + 0x58]
mov dword [0x1001669dc], eax
cmp rcx, rbp
je 0x100066b08
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100066c82
mov rbx, qword [rsp + 0x58]
lea r8, [0x100007410]
lea rcx, [rsp + 0x38]
mov r9d, edi
mov rdx, rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
call fcn.1000198cc
mov edi, eax
cmp eax, ebp
je 0x100066b6b
mov rcx, qword [rsp + 0x38]
mov dword [0x1001669dc], eax
cmp rcx, rbp
je 0x100066b56
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rbx, rbp
je 0x100066b64
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100066c82
mov rdi, qword [rsp + 0x38]
cmp rdi, rbp
jne 0x100066b8d
lea r8, [0x100002a88]
lea rcx, [0x100002a50]
mov edx, 0x15bb
call fcn.100099ad8
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, [0x1000075b8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x100066bf9
cmp dword [rsp + 0x34], 1
je 0x100066bda
cmp dword [rsp + 0x34], 2
je 0x100066bda
mov eax, 0xd
jmp 0x100066bf9
mov eax, dword [rsp + 0x30]
cmp eax, ebp
je 0x100066bf2
test al, 1
jne 0x100066bd3
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], bp
je 0x100066bf7
jmp 0x100066bd3
mov word [rsp + 0x70], bp
mov eax, ebp
mov dword [0x1001669ec], ebp
cmp eax, ebp
jne 0x100066c4e
lea rax, [0x1001667c8]
lea rcx, [rsp + 0x38]
mov dword [0x1001669ec], 1
mov qword [rsp + 0x38], rax
lea rax, [0x100067358]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
cmp eax, ebp
jne 0x100066c46
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100066c5c
mov esi, dword [0x1001669dc]
jmp 0x100066c64
lea rcx, [0x100166760]
mov edx, esi
call fcn.10006641c
mov dword [0x1001669dc], eax
mov esi, eax
cmp rdi, rbp
je 0x100066c72
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rbx, rbp
je 0x100066c80
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x100066f14
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x100165e00]
mov rax, qword [0x100165e08]
mov rbp, rcx
mov ebx, 1
jmp 0x100066fba
test ebx, ebx
js 0x1000670f9
mov rsi, qword [rdi]
test rsi, rsi
je 0x100066fb6
mov r9, qword [rsi + 0x10]
and qword [rsp + 0x40], 0
test r9, r9
jne 0x100066f63
xor ebx, ebx
jmp 0x100066fb6
mov rcx, qword [rsi + 0x18]
lea r8, [rsp + 0x40]
lea rdx, [0x100007ce0]
call r9
mov ebx, eax
test eax, eax
js 0x100066f9f
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi]
mov r9d, 5
lea rax, [rsi + 0x28]
lea r8d, [r9 - 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x100066faf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x100165e08]
add rdi, 8
cmp rdi, rax
jb 0x100066f40
test ebx, ebx
js 0x1000670f9
lea rsi, [0x100007768]
jne 0x1000670dd
cmp byte [rbp + 0x60], 0
je 0x10006707b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x100067074
lea rax, [rsp + 0x40]
lea r8, [0x10006783c]
mov r9, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x10006702c
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x100067074
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x100067069
lea rcx, [0x100002a50]
mov r8, rsi
mov edx, 0xd8a
call fcn.100099ad8
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [rbp + 0x58]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006709b
mov ebx, 0x80004005
jmp 0x10006709f
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x1000670f9
lea rcx, [0x100002a50]
mov r8, rsi
mov edx, 0xd95
call fcn.100099ad8
test ebx, ebx
jns 0x1000670f9
mov rdi, qword [0x100165e00]
mov rcx, qword [0x100165e08]
xor eax, eax
jmp 0x1000670d6
test eax, eax
jne 0x1000670e1
mov rdx, qword [rdi]
test rdx, rdx
je 0x1000670d2
cmp dword [rdx + 0x28], eax
je 0x1000670d2
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rcx, qword [0x100165e08]
add rdi, 8
cmp rdi, rcx
jb 0x1000670b1
jmp 0x1000670e1
mov byte [rbp + 0x60], 0
test ebx, ebx
jns 0x1000670f9
lea rcx, [0x100002a50]
mov r8, rsi
mov edx, 0xdb5
call fcn.100099ad8
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x100067118
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov sil, dl
xor ecx, ecx
mov r8d, 0xf003f
xor edx, edx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x100067185
lea r8d, [rbx + 1]
lea rdx, [0x1001667c8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x10006716e
mov rcx, rax
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x100067185
mov eax, 0x80004005
jmp 0x10006733c
mov rcx, qword [0x100167cc8]
and qword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
mov edx, 0x67
lea rax, [0x100007b88]
lea rbx, [0x100007410]
lea r8d, [rdx - 0x66]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
call fcn.10001bb94
test eax, eax
js 0x10006733c
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea r8, [0x100002b68]
lea rcx, [rsp + 0x58]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
call fcn.1000198cc
test eax, eax
je 0x10006721f
mov ecx, eax
call fcn.1000196f4
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x100067218
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x10006733c
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
mov r8, rbx
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov rdx, rbx
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
call fcn.100019810
test eax, eax
je 0x100067294
mov ecx, eax
call fcn.1000196f4
mov rcx, qword [rsp + 0x40]
mov edi, eax
test rcx, rcx
je 0x10006727f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x10006728d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10006733c
mov rdi, qword [rsp + 0x40]
test rdi, rdi
jne 0x1000672b6
lea r8, [0x100002a88]
lea rcx, [0x100002a50]
mov edx, 0x14da
call fcn.100099ad8
lea rdx, [0x1000075b8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test sil, sil
je 0x10006731e
lea r8, [0x1001667c8]
lea rdx, [0x1000075b8]
lea rcx, [rsp + 0x40]
mov r9d, 1
call fcn.100019988
lea rcx, [0x100166760]
call fcn.1000675ac
test eax, eax
jne 0x10006731e
test rdi, rdi
je 0x100067307
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x10006717b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006717b
test rdi, rdi
je 0x10006732c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x10006733a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10006742c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
lea rcx, [0x100166760]
call fcn.1000678ac
test eax, eax
jne 0x100067455
mov eax, 0x80004005
jmp 0x100067595
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
mov ebx, 0x20006
lea r8, [0x100002b68]
lea rcx, [rsp + 0x20]
mov r9d, ebx
mov rdx, 0xffffffff80000000
call fcn.1000198cc
test eax, eax
je 0x1000674ab
mov ecx, eax
call fcn.1000196f4
mov rcx, qword [rsp + 0x20]
mov ebx, eax
test rcx, rcx
je 0x1000674a4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100067595
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r9d, ebx
mov rbx, qword [rsp + 0x20]
lea rsi, [0x100007410]
lea rcx, [rsp + 0x38]
mov rdx, rbx
mov r8, rsi
call fcn.1000198cc
test eax, eax
je 0x10006750e
mov ecx, eax
call fcn.1000196f4
mov rcx, qword [rsp + 0x38]
mov edi, eax
test rcx, rcx
je 0x1000674f9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x100067507
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100067595
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x100067530
lea r8, [0x100002a88]
lea rcx, [0x100002a50]
mov edx, 0x14da
call fcn.100099ad8
lea rdx, [0x1000075b8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x100167cc8]
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
xor r8d, r8d
lea r11, [0x100007b88]
lea r9, [rsp + 0x38]
lea edx, [r8 + 0x67]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r11
call fcn.10001bb94
mov esi, eax
test rdi, rdi
je 0x100067585
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x100067593
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1000675ac
Capabilities:
Create service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0xa90
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0xa80], rax
xor esi, esi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
lea ebp, [rsi + 1]
lea r12, [0x1001667c8]
mov rbx, rax
cmp rax, rsi
je 0x100067633
mov r8d, ebp
mov rdx, r12
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp rax, rsi
je 0x10006761f
mov rcx, rax
mov edi, ebp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, esi
je 0x100067633
mov eax, ebp
jmp 0x100067713
mov ebx, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
je 0x100067711
cmp eax, ebx
je 0x100067711
lea ecx, [rax + 1]
mov edi, 0x22
add eax, 2
mov word [rsp + 0x70], di
mov word [rsp + rcx*2 + 0x70], di
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov word [rsp + rax*2 + 0x70], si
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
cmp rax, rsi
jne 0x100067741
mov ebx, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
mov r8d, ebx
call fcn.100067e14
cmp eax, esi
jne 0x1000676fb
lea r8, [0x100007620]
lea rcx, [rsp + 0x280]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy_s
cmp eax, esi
je 0x1000676fb
cmp eax, 0xc
je 0x1000676f0
cmp eax, 0x16
je 0x1000676e5
cmp eax, edi
je 0x1000676e5
cmp eax, 0x50
je 0x1000676fb
mov ecx, 0x80004005
call fcn.100019658
int3
mov ecx, 0x80070057
call fcn.100019658
int3
mov ecx, 0x8007000e
call fcn.100019658
int3
lea rdx, [rsp + 0x280]
xor r9d, r9d
mov r8, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
lea rax, [0x100007660]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
mov r9d, 0xf01ff
mov r8, r12
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp rax, rsi
jne 0x10006781f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, 0x400
lea rdx, [rsp + 0x280]
mov r8d, ebx
mov ecx, 0xd80b
call fcn.100067e14
cmp eax, esi
jne 0x1000676fb
lea r8, [0x100007670]
lea rcx, [rsp + 0x280]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy_s
cmp eax, esi
je 0x1000676fb
cmp eax, 0xc
je 0x100067814
cmp eax, 0x16
je 0x100067809
cmp eax, edi
je 0x100067809
cmp eax, 0x50
je 0x1000676fb
mov ecx, 0x80004005
call fcn.100019658
int3
mov ecx, 0x80070057
call fcn.100019658
int3
mov ecx, 0x8007000e
call fcn.100019658
int3
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10006762c