joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x40], 0x63764e5c
mov dword [rbp - 0x3c], 0x74736f48
mov dword [rbp - 0x38], 0x7070632e
mov byte [rbp - 0x34], 0
lea rax, str.Update_plugins
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x14a
lea rdx, [rbp - 0x40]
mov rcx, qword [rcx + 8]
call fcn.140016af0
mov byte [rdi + 0x5c0], 1
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1400d5670]
test al, al
je 0x140008c46
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140008c37
nop dword [rax]
mov ecx, dword [rax + 0xe4]
cmp ecx, 5
je 0x140008c2b
mov dword [rax + 0xe8], ecx
mov dword [rax + 0xe4], 2
mov rax, qword [rax + 0xf0]
test rax, rax
jne 0x140008c10
lea rdx, str.Container_marked_plugins_as_unverified
mov rcx, rdi
call fcn.140005120
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov rax, qword [rax + 0x68]
call qword [0x1400d5670]
nop
mov rdx, rax
mov rcx, rdi
call fcn.140005ed0
movzx esi, al
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140008caa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008dfe
call fcn.140069cb8
test sil, sil
je 0x140008dd2
mov edx, 2
mov rcx, rdi
call fcn.140008460
mov edx, 2
mov rcx, rdi
call fcn.1400089a0
lea r9, [rdi + 8]
mov r8, rdi
mov edx, dword [rdi + 0x3a0]
lea rcx, [rbp - 0x30]
call fcn.14000ef60
nop
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x140008d0d
nop dword [rax]
cmp dword [rbx + 0xe4], 2
jne 0x140008d01
mov rcx, rbx
call fcn.14000c0b0
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
jne 0x140008cf0
lea rdx, str.Container_processed_disabled_plugins
mov rcx, rdi
call fcn.140005120
nop
lea rcx, [rbp - 0x30]
call fcn.14000f0a0
cmp byte [rdi + 0x161], 0
je 0x140008db8
mov dword [rbp - 0x40], 0x63764e5c
mov dword [rbp - 0x3c], 0x74736f48
mov dword [rbp - 0x38], 0x7070632e
mov byte [rbp - 0x34], 0
lea rax, str.Container_is_in_suspended_state._Skipping_plugin_initialization_and_start
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x184
lea rdx, [rbp - 0x40]
mov rcx, qword [rdi + 8]
call fcn.140016af0
mov byte [rdi + 0x162], 1
mov dword [rbp - 0x40], 0x63764e5c
mov dword [rbp - 0x3c], 0x74736f48
mov dword [rbp - 0x38], 0x7070632e
mov byte [rbp - 0x34], 0
lea rax, str.Directory_change_event_is_queued_to_update_plugins_after_resuming_from_suspend
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x186
lea rdx, [rbp - 0x40]
mov rcx, qword [rdi + 8]
call fcn.140016af0
jmp 0x140008dd2
mov rcx, rdi
call fcn.140005bf0
movzx esi, al
test al, al
je 0x140008dd2
mov rcx, rdi
call fcn.140008250
movzx esi, al
mov byte [rdi + 0x5c0], 0
movzx eax, sil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140069d50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14007b2e8
int3
Function at 0x14000b3e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push r12
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r8d, dword [0x140106c90]
mov r14, rcx
mov rax, qword gs:[0x58]
mov r12d, 0x14
mov r15, qword [rax + r8*8]
mov ecx, dword [r12 + r15]
test ecx, ecx
je 0x14000b5e7
movdqa xmm0, xmmword [str.VectoredExceptikernel32]
lea eax, [rcx - 5]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x6f4c6e6f
mov r9d, 2
mov dword [rbp + 0xb], 0x72656767
mov r8d, 0xbd
mov dword [rbp + 0xf], 0x7070632e
mov byte [rbp + 0x13], 0
mov qword [rsp + 0x80], rsi
xor esi, esi
cmp ecx, 5
mov rcx, qword [rdx]
lea rdx, [rbp - 9]
cmovae esi, eax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov eax, dword [rcx]
mov rcx, qword [r14 + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [0x1400d76f0]
mov qword [rsp + 0x20], rax
call fcn.140016af0
cmp esi, dword [r12 + r15]
jae 0x14000b5d7
mov qword [rsp + 0xc0], rbx
lea r9, str.Exception:_0x_x_at_Address_0x_p._Stack_Backtrace:
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r13
lea r13, str.0x_p
mov r8d, 0x20
nop dword [rax + rax]
movdqa xmm0, xmmword [str.VectoredExceptikernel32]
mov eax, 0xcccccccd
mul esi
movdqu xmmword [rbp - 9], xmm0
mov ecx, esi
mov dword [rbp + 7], 0x6f4c6e6f
shr edx, 2
mov dword [rbp + 0xb], 0x72656767
mov dword [rbp + 0xf], 0x7070632e
mov byte [rbp + 0x13], 0
lea eax, [rdx + rdx*4]
sub ecx, eax
lea rdx, [rbp - 9]
mov eax, ecx
mov rcx, qword [r14 + 0x10]
imul rbx, rax, 0xb0
add rbx, r8
mov r8d, 0xc2
add rbx, r15
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, 2
call fcn.140016af0
xor edi, edi
add rbx, 0x10
nop dword [rax]
mov rax, qword [rbx]
test rax, rax
je 0x14000b5ac
movdqa xmm0, xmmword [str.VectoredExceptikernel32]
lea rdx, [rbp - 9]
mov rcx, qword [r14 + 0x10]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov r8d, 0xc7
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x6f4c6e6f
mov dword [rbp + 0xb], 0x72656767
mov dword [rbp + 0xf], 0x7070632e
mov byte [rbp + 0x13], 0
mov qword [rsp + 0x20], r13
call fcn.140016af0
inc edi
add rbx, 8
cmp edi, 0x14
jb 0x14000b550
inc esi
mov r8d, 0x20
lea r9, str.Exception:_0x_x_at_Address_0x_p._Stack_Backtrace:
cmp esi, dword [r12 + r15]
jb 0x14000b4d0
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x80]
mov dword [r12 + r15], 0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140069d50
add rsp, 0x88
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x14000f6f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x30], rcx
call fcn.140009f00
nop
lea rax, vtable.nvc::ServiceHost.0
mov qword [rdi], rax
xor r15d, r15d
mov qword [rdi + 0x600], r15
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rdi + 0x608]
mov rax, qword [rax + 0x70]
call qword [0x1400d5670]
nop
mov qword [rdi + 0x628], r15
mov qword [rdi + 0x630], r15
movdqa xmm0, xmmword [str.NvcServiceHost._]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x707063
lea rax, str.Service_host
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 4]
lea r8d, [r15 + 0x28]
lea rdx, [rbp - 0x28]
mov rcx, qword [rdi + 8]
call fcn.140016af0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x5e0], xmm0
mov qword [rdi + 0x5f0], rax
mov dword [rdi + 0x5f8], eax
mov dword [rdi + 0x5e0], 0x10
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x628], rax
mov qword [0x140105fb8], rdi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140011250]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000f871
movdqa xmm0, xmmword [str.NvcServiceHost._]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x707063
mov rbx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r14, str.Service_host:_failed_to_create_ServiceThread._Error__u
mov qword [rsp + 0x20], r14
lea r9d, [r15 + 1]
lea r8d, [r15 + 0x38]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140016af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, r14
lea ecx, [r15 + 0x11]
call fcn.140007fe0
lea rax, [rdi + 0x608]
cmp qword [rdi + 0x620], 8
jb 0x14000f864
mov rax, qword [rdi + 0x608]
mov qword [rdi + 0x618], r15
mov word [rax], r15w
jmp 0x14000f87a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x628]
test rcx, rcx
je 0x14000f8ce
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movdqa xmm0, xmmword [str.NvcServiceHost._]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x707063
mov dword [rsp + 0x28], eax
lea rax, str.Service_host:_wait_completed_with__u
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8d, [r9 + 0x4a]
lea rdx, [rbp - 0x28]
mov rcx, qword [rdi + 8]
call fcn.140016af0
jmp 0x14000f912
movdqa xmm0, xmmword [str.NvcServiceHost._]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x707063
lea rbx, str.Service_host_failed
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8d, [r9 + 0x52]
lea rdx, [rbp - 0x28]
mov rcx, qword [rdi + 8]
call fcn.140016af0
mov rdx, rbx
mov ecx, 0x12
call fcn.140007fe0
mov rcx, rdi
call fcn.140011290
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010f80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov esi, edx
mov rbx, rcx
movups xmm0, xmmword [str.ServiceAutoStart]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x1400d8b80]
movups xmmword [rbp + 0x17], xmm1
movzx eax, word [0x1400d8b90]
mov word [rbp + 0x27], ax
mov edi, 5
xor r15d, r15d
mov qword [rbp - 0x29], r15
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov rax, qword [rax + 0xa0]
call qword [0x1400d5670]
nop
lea r8, [rbp - 0x29]
mov edx, 0x20019
mov rcx, rax
call fcn.140023670
test eax, eax
sete r14b
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140011048
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011185
call fcn.140069cb8
test r14b, r14b
je 0x14001109c
lea rdx, [rbx + 0x608]
cmp qword [rdx + 0x18], 8
jb 0x14001105e
mov rdx, qword [rdx]
or esi, 0x20006
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1400110e1
mov dword [rbp - 0x29], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140011162
movdqa xmm0, xmmword [str.NvcServiceHost._]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0x707063
mov rcx, qword [rbx + 8]
add rbx, 0x608
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001110d
mov rax, qword [rbx]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rsi, str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
mov qword [rsp + 0x20], rsi
mov r9d, 1
mov r8d, 0x140
lea rdx, [rbp - 0x19]
call fcn.140016d80
cmp qword [rbx + 0x18], 8
jb 0x14001114a
mov rbx, qword [rbx]
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [rbp + 7]
mov rdx, rsi
mov ecx, 0x13
call fcn.1400080a0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14007b2e8
int3

Function at 0x140012130
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400121c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140012207
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov dword [rsp + 0x30], 1
test eax, eax
je 0x140012321
lfence
mov ecx, ebp
mov r8, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x18]
cmp rbp, r8
ja 0x140012260
mov rax, rbx
cmp rdi, 8
jb 0x140012255
mov rax, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rax + rbp*2], r14w
jmp 0x1400122b6
mov rdx, rcx
sub rdx, r8
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14001229f
mov qword [rbx + 0x10], rcx
mov r9, rbx
cmp rdi, 8
jb 0x140012281
mov r9, qword [rbx]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140012294
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1400122b6
lfence
mov word [rsp + 0x20], r14w
mov r9, rdx
xor r8d, r8d
mov rcx, rbx
call fcn.1400118a0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400122c3
mov rdx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x1400122cd
mov rsi, qword [rsi]
mov r8d, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, qword [rbx + 0x10]
dec rcx
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400122ed
mov rdx, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rdx + rcx*2], r14w
mov rax, rbx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140069d50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140013190
nop
mov r8, rax
lea rdx, str.ExpandEnvironmentStringsW_failed__error:
lea rcx, [rsp + 0x78]
call fcn.140011730
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140011e00
lea rdx, [0x1401010c0]
lea rcx, [rsp + 0x40]
call fcn.14006bf90
int3
Function at 0x1400126a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edi, ecx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001272c
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.14006b9a0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140012723
cmp dword [rsp + 0x28], edi
je 0x14001271f
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140012706
jmp 0x140012723
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140069d50
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140012790
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400127b8
test rdx, rdx
je 0x1400127b8
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
sete al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1400127c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
xor bl, bl
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400127eb
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x1400127f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x1400127fd
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140012810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
xor bl, bl
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001283b
mov ebx, eax
shr ebx, 0xa
and bl, 1
jmp 0x140012843
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x14001284d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140012990
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400159e0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov edi, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140017030
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140015a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140015b01
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140015a5b
mov rax, qword [rbx]
mov r11, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r10, qword [rsp + 0x20]
cmp r11, 8
mov rcx, qword [rsp + 0x30]
cmovae r9, r10
cmp rcx, qword [rbx + 0x10]
jne 0x140015abe
test rcx, rcx
je 0x140015b59
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140015abe
sub r9, rax
cmp dx, r8w
ja 0x140015abe
cmp rcx, 1
je 0x140015b59
movzx edx, word [r9 + rax + 2]
add rax, 2
dec rcx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140015a9b
cmp r11, 8
jb 0x140015af9
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140015af1
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015b94
mov rcx, r10
call fcn.140069cb8
inc rdi
jmp 0x140015a10
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140015b3f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015b3a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015b94
call fcn.140069cb8
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp r11, 8
jb 0x140015b90
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140015b88
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015b94
mov rcx, r10
call fcn.140069cb8
mov al, 1
jmp 0x140015b41
call fcn.14007b2e8
int3
Function at 0x14001c840
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, r8d
mov rbx, rdx
xor esi, esi
lea r8, [rsp + 0x58]
mov edx, 0x20019
mov qword [rsp + 0x58], rsi
call fcn.140023670
test eax, eax
jne 0x14001c94a
cmp qword [rbx + 0x18], 8
jb 0x14001c88b
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
or edi, 0x2001f
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001c94a
movzx eax, word [0x1400da008]
lea r9d, [rbx + 0x10]
movups xmm0, xmmword [str.Recovery]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov word [rsp + 0x78], ax
xor edx, edx
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], esi
je 0x14001c94a
mov al, 1
jmp 0x14001c94c
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140069d50
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001e810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
lea rax, vtable.DirectoryListenerWin32.0
mov qword [rcx], rax
xor r14d, r14d
cmp qword [rcx + 0x228], r14
je 0x14001e905
movdqa xmm0, xmmword [str.DirectoryListen]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x69577265
mov dword [rbp - 0x3c], 0x2e32336e
mov dword [rbp - 0x38], 0x707063
lea rax, str.Waiting_for_the_listener_thread_to_finish...
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 3]
lea r8d, [r14 + 0x66]
lea rdx, [rbp - 0x50]
mov rcx, qword [rcx + 0x218]
call fcn.140016af0
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x228]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x228]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x228], r14
movdqa xmm0, xmmword [str.DirectoryListen]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x69577265
mov dword [rbp - 0x1c], 0x2e32336e
mov dword [rbp - 0x18], 0x707063
lea rax, str.Listener_thread_finished...
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 3]
lea r8d, [r14 + 0x6a]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0x218]
call fcn.140016af0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001e918
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x230]
test rcx, rcx
je 0x14001e931
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x230], r14
mov esi, r14d
cmp dword [rbx + 0x210], r14d
jbe 0x14001e95e
nop dword [rax]
mov eax, esi
lea rdi, [rbx + rax*8]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x18], r14
inc esi
cmp esi, dword [rbx + 0x210]
jb 0x14001e940
mov rdi, qword [rbx + 0x240]
mov esi, 0xffffffff
test rdi, rdi
je 0x14001e9a6
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e9a6
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x1400d5670]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001e9a6
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400d5670]
mov rdi, qword [rbx + 0x220]
test rdi, rdi
je 0x14001e9e7
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e9e7
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x1400d5670]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14001e9e7
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400d5670]
lea rax, vtable.DirectoryListenerBase.0
mov qword [rbx], rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140069d50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret