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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x1400105db
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rbx, 0xffffffffffffffff
xor r15d, r15d
test rdi, rdi
je 0x1400104ae
cmp rdi, 0x10000
jae 0x14001049f
movzx edx, di
lea rcx, [rsp + 0x58]
call fcn.140002950
jmp 0x1400104bf
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r15w
jne 0x1400104a2
jmp 0x1400104b1
mov r8d, r15d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140002da0
nop
lea rcx, [r14 + 0x48]
lea rdx, [rsp + 0x58]
call fcn.140010860
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400104eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor bpl, bpl
mov dword [rsp + 0x58], r15d
mov eax, dword [r14 + 8]
or eax, 2
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400105ab
test rsi, rsi
je 0x140010574
cmp word [rsi], ax
je 0x140010574
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140010540
add ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bpl
jmp 0x1400105a0
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov ebx, 1
mov r9d, ebx
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebp, bpl
test eax, eax
cmove ebp, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r14
call fcn.14000f0a0
movzx eax, bpl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400018b0
int3
Function at 0x1400105f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
xor ebp, ebp
mov dword [r8], ebp
lea rdx, [rsp + 0x5c]
mov eax, dword [rcx + 8]
mov rdi, r8
mov qword [rsp + 0x40], rdx
or eax, 1
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x5c], ebp
mov qword [rsp + 0x38], rdx
xor r9d, r9d
mov rdx, qword [rcx + 0x10]
xor r8d, r8d
mov rcx, qword [rcx]
xor bl, bl
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400106af
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x64], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400106a4
mov ecx, dword [rsp + 0x58]
mov bl, 1
mov dword [rdi], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400106d0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rcx + 8]
mov rsi, rcx
mov rdi, rdx
mov dword [rsp + 0x60], r8d
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
or eax, 2
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rsi]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor bl, bl
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010773
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
mov rdx, rdi
mov rcx, rsi
call fcn.14000f0a0
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400107a0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 8]
mov rsi, rcx
lea rcx, [r11 - 0x20]
mov rdi, rdx
mov qword [r11 - 0x38], rcx
xor edx, edx
lea rcx, [r11 - 0x28]
mov dword [rsp + 0x58], edx
mov qword [r11 - 0x40], rcx
or eax, 2
mov rcx, qword [rsi]
xor r9d, r9d
mov qword [r11 - 0x48], rdx
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor bl, bl
mov dword [rsp + 0x20], edx
mov rdx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010830
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140010825
mov rdx, rdi
mov rcx, rsi
call fcn.14000f0a0
mov bl, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140011ea0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov r8d, edx
mov ecx, 0x100001
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140011ec6
mov al, 1
add rsp, 0x20
pop rdi
ret
mov edx, 9
mov qword [rsp + 0x30], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
mov rcx, rdi
setne bl
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 1
movzx ebx, bl
test eax, eax
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140011f10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, 2
mov edi, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011fae
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
xor esi, esi
call fcn.14005fd20
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140011fae
cmp dword [rsp + 0x28], edi
je 0x140011f9d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140011f78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140011fb0
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140011fb0
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140012240
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
lea rax, [rsp + 0x38]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rdi, r9
mov rdx, rbp
mov rcx, rsi
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012315
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov qword [rsp + 0x70], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
jne 0x140012315
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001230b
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14001230f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140012317
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140012330
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r10, r8
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
mov rbx, r9
mov qword [rsp + 0x38], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, r10
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400123c6
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400123db
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
Function at 0x140012400
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov r10, r8
mov qword [rsp + 0x20], rcx
mov rax, rdx
mov rbx, r9
mov rcx, rax
mov r9d, 1
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012491
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x3c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400124ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140012493

Function at 0x1400124c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
mov rdi, r9
mov qword [rsp + 0x38], rcx
lea rdx, str.SoftwareProcessLasso
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012572
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140012530
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14001258f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140012574
Function at 0x1400125a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0xa0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012656
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140012610
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.Path
mov r9d, 2
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14001266b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
Function at 0x140013c10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov rsi, rdx
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x3ff
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
lea rdi, [r14 - 1]
test eax, eax
je 0x140013ca1
lea rcx, [rbp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140013c71
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140013ca1
cmp word [rbp + rcx*2 + 0x60], 0x5c
je 0x140013c98
dec eax
dec rcx
test rcx, rcx
jg 0x140013c84
jmp 0x140013ca1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x60], r14w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x40
mov qword [rsp + 0x78], r14
call fcn.140013e40
test al, al
jne 0x140013d0e
cmp byte [0x140085acc], r14b
jne 0x140013cfe
xor edx, edx
call fcn.140011dd0
mov byte [0x140085acb], al
mov edx, 2
call fcn.140011dd0
mov byte [0x140085acc], 1
cmp byte [0x140085acb], r14b
lea rax, str.runas
jne 0x140013d15
lea rax, [0x14006dba8]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rsi
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140013dff
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x140013e2a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8, rbx
lea rdx, str.__s____s____s_
lea rcx, [rbp - 0x20]
call fcn.140002f70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rbx, qword [rsp + 0x50]
test eax, eax
cmove rbx, r14
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140013dfa
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
jmp 0x140013e03
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400018b0
int3
Function at 0x140014010
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareProcessLasso
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400140a9
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.DateTimeFormat
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400140bd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x78
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x78
ret

Function at 0x1400140e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov rbx, r9
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareProcessLasso
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140014185
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.DateTimeFormat
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x5c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14001419a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x70
pop rbx
ret
Function at 0x140014970
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov rdi, rcx
mov dword [rbp - 0x41], 0xffffffff
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x140014ad4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
mov r9, qword [rbx]
mov r8, qword [rdi]
lea rdx, str.__s___s
lea rcx, [rbp - 0x39]
call fcn.140002f70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
movups xmmword [rbp + 0x1b], xmm0
movups xmmword [rbp + 0x2b], xmm0
mov dword [rbp + 0x3b], eax
mov dword [rbp - 0x29], 0x68
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
mov rbx, qword [rbp - 0x39]
cmp dword [rbx - 8], 1
jle 0x140014a20
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x39]
call fcn.140002cd0
mov rbx, qword [rbp - 0x39]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140014a91
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140014a7d
lea rdx, [rbp - 0x41]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp - 0x41]
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140014ab1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400018b0
int3
Function at 0x140019330
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400193c3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UseFileSystemLocks
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400193d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x58
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 1
jne 0x1400193c3
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x58
ret
Function at 0x140026ed0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x3130], 0
mov rbx, rcx
je 0x140026fa5
mov rcx, qword [rcx + 0x3258]
cmp dword [rcx - 0x10], 0
je 0x140026fa5
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140026fa5
lea r9, [rsp + 0x48]
mov rcx, rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rdi
test eax, eax
jne 0x140026f64
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140026fa5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x3128]
mov rcx, qword [rsp + 0x48]
cmp rcx, rdx
mov qword [rbx + 0x3128], rcx
setne al
cmp esi, dword [0x14008a858]
je 0x140026fa7
mov dword [0x14008a858], esi
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret