joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f520
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rdx + 0x20]
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14003f5dd
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.1400cb730
call fcn.14009ebd0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 2
lea rcx, [rsp + 0x30]
call fcn.14000b2a0
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14010d7b8]
cmp dword [rsp + 0x28], eax
setl byte [rsp + 0x128]
jl 0x14003f5d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rdi + 0x18]
lea rdx, str.T_08x_WinHttpReceiveResponse_failed:__lu
lea rcx, [rsp + 0x20]
call fcn.140016420
mov byte [rsp + 0x128], 1
lea rcx, [rsp + 0x20]
call fcn.140005530
jmp 0x14003f5e1
mov byte [rbx + 8], 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
Function at 0x14003f700
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rdx
mov rsi, rcx
mov r9, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x38]
sub rdx, r9
mov eax, r8d
not rax
cmp rdx, rax
jbe 0x14003f7b7
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.1400cb730
call fcn.14009ebd0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 2
lea rcx, [rsp + 0x30]
call fcn.14000b2a0
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14010d7b8]
cmp dword [rsp + 0x28], eax
setl byte [rbp + 0x28]
jl 0x14003f7a8
mov r8d, dword [rbx + 0x18]
lea rdx, str.T_08x_Available_response_body_size_is_way_too_much
lea rcx, [rsp + 0x20]
call fcn.140016420
mov byte [rbp + 0x28], 1
lea rcx, [rsp + 0x20]
call fcn.140005530
jmp 0x14003f918
mov eax, 0x2000
cmp r8d, eax
cmova r8d, eax
mov edx, r8d
mov dword [rbx + 0x58], edx
mov rax, qword [rbx + 0x38]
sub rax, r9
add rdx, rax
cmp rdx, qword [rbx + 0x60]
jbe 0x14003f84a
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call fcn.1400cb730
call fcn.14009ebd0
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 2
lea rcx, [rbp + 0x40]
call fcn.14000b2a0
nop
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14010d7b8]
cmp dword [rbp + 0x38], eax
setl byte [rbp + 0x138]
jl 0x14003f83c
mov r8d, dword [rbx + 0x18]
lea rdx, str.T_08x_Available_response_body_is_larger_than_the_limit
lea rcx, [rbp + 0x30]
call fcn.140016420
mov byte [rbp + 0x138], 1
lea rcx, [rbp + 0x30]
call fcn.140005530
jmp 0x14003f918
lfence
lea rcx, [rbx + 0x30]
call fcn.140042c60
mov rcx, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x30]
add rdx, rcx
mov r8d, dword [rbx + 0x58]
lea rax, [rcx + r8]
mov qword [rbx + 0x48], rax
mov rax, qword [rbx + 0x20]
xor r9d, r9d
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14003f914
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x140]
call fcn.1400cb730
call fcn.14009ebd0
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x148], 2
lea rcx, [rbp + 0x150]
call fcn.14000b2a0
nop
mov rcx, qword [rbp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14010d7b8]
cmp dword [rbp + 0x148], eax
setl byte [rbp + 0x248]
jl 0x14003f906
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rbx + 0x18]
lea rdx, str.T_08x_WinHttpReadData_failed:__lu
lea rcx, [rbp + 0x140]
call fcn.140016420
mov byte [rbp + 0x248], 1
lea rcx, [rbp + 0x140]
call fcn.140005530
jmp 0x14003f918
mov byte [rsi + 8], 1
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e2a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rax, vtable.Windows::RegistryHelper.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x200
xor ebx, ebx
mov qword [r11 - 0x20], rbx
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x50], 7
mov word [rsp + 0x60], bx
lea r8d, [rbx + 0x1a]
lea rdx, str.SOFTWARESophosAutoUpdate
lea rcx, [r11 - 0x68]
call fcn.140005e00
nop
mov dword [rsp + 0x20], 0x20019
lea r9, [rsp + 0x60]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.14007c940
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14004e36a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e365
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e4a6
call fcn.1400c59a0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
mov r8d, 0x10
lea rdx, str.DelaySupplements
lea rcx, [rsp + 0x40]
call fcn.140005e00
nop
mov dword [rsp + 0xa0], ebx
mov dword [rsp + 0xb0], 4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x14004e4ac
cmp dword [rsp + 0xa0], 0
setne bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14004e45a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e455
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e4ed
call fcn.1400c59a0
test bl, bl
je 0x14004e478
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14004e471
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14004e48d
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14004e48b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400c5980
add rsp, 0xc0
pop rbx
ret
call fcn.1400da6f8
nop
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x60]
call fcn.14000c390
nop
mov r9d, ebx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x80]
call fcn.1400cb8d0
nop
call fcn.1400da6f8
int3
Function at 0x14004fc20
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp + 0x27], rdx
xorps xmm0, xmm0
xor eax, eax
mov rdi, qword [r8 + 8]
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
test rdi, rdi
je 0x14004fca7
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14004fe23
lfence
mov rcx, rdi
call fcn.14000ec80
mov qword [rbp + 0xf], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x1f], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400cb730
mov qword [rbp + 0x17], rbx
jmp 0x14004fcab
mov rbx, qword [rbp + 0x17]
mov r14, qword [r14]
mov rax, qword [rbp + 0xf]
sub rbx, rax
test rdi, rdi
je 0x14004fd1c
test rax, rax
jne 0x14004fccc
call fcn.1400dbe44
mov dword [rax], 0x16
jmp 0x14004fd17
test r14, r14
je 0x14004fce7
cmp rbx, rdi
jb 0x14004fce7
mov r8, rdi
mov rdx, r14
mov rcx, qword [rbp + 0xf]
call fcn.1400cb9c0
jmp 0x14004fd1c
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp + 0xf]
call fcn.1400cb730
test r14, r14
jne 0x14004fd07
call fcn.1400dbe44
mov dword [rax], 0x16
jmp 0x14004fd17
cmp rbx, rdi
jae 0x14004fd1c
call fcn.1400dbe44
mov dword [rax], 0x22
call fcn.1400da6d8
mov eax, edi
cmp rax, rdi
jne 0x14004fdfc
mov dword [rbp + 0x27], edi
lea rax, [rbp + 0x27]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x14004fe29
mov r8d, dword [rbp + 0x27]
mov qword [rsi], 0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rbp + 0xf]
mov rcx, rsi
call fcn.14000c140
nop
mov rdi, qword [rbp + 0xf]
cmp rdi, qword [rbp + 0x17]
je 0x14004fd9b
mov rcx, qword [rbp + 0x1f]
sub rcx, rdi
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rbp + 0xf]
test rdi, rdi
je 0x14004fdd0
mov rdx, qword [rbp + 0x1f]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004fdc8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fdf6
mov rcx, rdi
call fcn.1400c59a0
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400da6f8
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x29]
call fcn.14002b450
lea rdx, [0x140156a60]
lea rcx, [rbp - 0x29]
call fcn.1400cb8d0
nop
call fcn.140014430
nop
lea rdx, str.Decrypt:_CryptDecrypt___failed
lea rcx, [rbp - 0x11]
call fcn.14000c390
nop
lea rcx, [rbp - 0x11]
call fcn.14001e7f0
int3
Function at 0x14004feb0
Capabilities:
Encrypt data using des via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rbx, rcx
lea rdi, [rcx + 0x20]
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140050091
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
xor r14d, r14d
mov qword [rbp - 9], r14
lea ecx, [r14 + 0x18]
call fcn.1400c5c48
mov qword [rbp - 0x19], rax
lea rcx, [rax + 0x18]
mov qword [rbp - 9], rcx
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdx
mov qword [rbp - 0x11], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], r14
lea ecx, [rdx + 8]
call fcn.1400c5c48
mov qword [rbp - 1], rax
lea rcx, [rax + 8]
mov qword [rbp + 0xf], rcx
xor edx, edx
mov qword [rax], rdx
mov qword [rbp + 7], rcx
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x39], xmm0
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
mov rdx, rdi
call fcn.1400500d0
mov dword [rbp + 0x17], 0x208
mov dword [rbp + 0x1b], 0x6603
mov dword [rbp + 0x1f], 0x18
mov rax, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
sub rax, rcx
je 0x14004fffa
test rcx, rcx
je 0x14004ffc5
cmp rax, 0x18
ja 0x14004ffc5
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 0x23]
call fcn.1400cb9c0
jmp 0x14004fffa
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rbp + 0x23], xmm0
mov qword [rbp + 0x33], rdx
test rcx, rcx
jne 0x14004ffe4
call fcn.1400dbe44
mov dword [rax], 0x16
jmp 0x14004fff5
cmp rax, 0x18
jbe 0x14004fffa
call fcn.1400dbe44
mov dword [rax], 0x22
call fcn.1400da6d8
add rbx, 0x28
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 0x24]
lea rdx, [rbp + 0x17]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1400500ac
xor r9d, r9d
mov r8, qword [rbp - 1]
lea edx, [r9 + 1]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x140050076
lea rcx, [rbp - 1]
call fcn.140050be0
nop
lea rcx, [rbp - 0x19]
call fcn.140050be0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400c5980
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.Encrypt:_CryptSetKeyParam_IV__failed
lea rcx, [rbp - 0x39]
call fcn.14000c390
nop
lea rcx, [rbp - 0x39]
call fcn.14001e7f0
nop
lea rdx, str.CryptAcquireContext_failed
lea rcx, [rbp - 0x39]
call fcn.14000c390
nop
lea rcx, [rbp - 0x39]
call fcn.14001e7f0
nop
lea rdx, str.Encrypt:_CryptImportKey_failed
lea rcx, [rbp - 0x39]
call fcn.14000c390
nop
lea rcx, [rbp - 0x39]
call fcn.14001e7f0
int3
Function at 0x140058790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rax, vtable.Windows::RegistryHelper.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x100
xor edi, edi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
lea r8d, [rdi + 0x51]
lea rdx, str.SYSTEMCurrentControlSetServicesSophos_Endpoint_DefenseTamperProtectionConfig
lea rcx, [rsp + 0x60]
call fcn.140005e00
nop
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x60]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.14007c940
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140058864
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005885f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400589a6
call fcn.1400c59a0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov r8d, 0xa
lea rdx, str.SEDEnabled
lea rcx, [rsp + 0x40]
call fcn.140005e00
nop
mov dword [rsp + 0xa8], edi
mov dword [rsp + 0xac], 4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rax, [rsp + 0xac]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1400589ac
cmp dword [rsp + 0xa8], 0
setne bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140058954
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005894f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400589ed
call fcn.1400c59a0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14005897a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
jmp 0x140058985
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
call fcn.1400da6f8
nop
lea rdx, str.RegGetValueW_failed
lea rcx, [rsp + 0x60]
call fcn.14000c390
nop
mov r9d, ebx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x88]
call fcn.1400cb8d0
nop
call fcn.1400da6f8
int3
Function at 0x14006ac60
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x80], rcx
mov r15, qword [rdx + 0x10]
xor esi, esi
test r15, r15
jne 0x14006acb5
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
jmp 0x14006ae30
mov dword [rsp + 0x80], esi
mov rcx, r14
cmp qword [rdx + 0x18], 0x10
jb 0x14006acc9
mov rcx, qword [rdx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, r15d
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14006ae60
xorps xmm0, xmm0
mov ebp, dword [rsp + 0x80]
movdqu xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rsi
test rbp, rbp
je 0x14006ad84
cmp rbp, 0x1000
jb 0x14006ad50
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14006ae7d
lfence
call fcn.1400c5c48
mov rcx, rax
test rax, rax
je 0x14006ae5a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006ad5b
lfence
mov rcx, rbp
call fcn.1400c5c48
mov qword [rsp + 0x88], rax
lea rbx, [rax + rbp]
mov qword [rsp + 0x98], rbx
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400cb730
mov qword [rsp + 0x90], rbx
cmp qword [r14 + 0x18], 0x10
jb 0x14006ad8e
mov r14, qword [r14]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8d, 1
mov edx, r15d
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14006ae83
mov r8d, dword [rsp + 0x80]
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x88]
mov rcx, rdi
call fcn.14000c140
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14006ae30
mov rdx, qword [rsp + 0x98]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ae2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ae5a
call fcn.1400c59a0
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400da6f8
int3
lea rdx, [0x140127d90]
lea rcx, [rsp + 0x40]
call fcn.14000c390
nop
lea rcx, [rsp + 0x40]
call fcn.14001e7f0
nop
call fcn.140003fc0
nop
lea rdx, str.CryptStringToBinaryA_2_
lea rcx, [rsp + 0x60]
call fcn.14000c390
nop
lea rcx, [rsp + 0x60]
call fcn.14001e7f0
int3
Function at 0x14007a890
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [0x14010eff0]
movaps xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test eax, eax
jne 0x14007a96d
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007a8f4
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x20]
call fcn.140005e00
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007a933
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000bef0
nop
lea rcx, [rsp + 0x20]
call fcn.14000cba0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c5980
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.SHGetKnownFolderPath_failed
lea rcx, [rsp + 0x20]
call fcn.14000c390
nop
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.140088240
int3

Function at 0x14007c860
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, r8
mov rax, rdx
cmp qword [r8 + 0x10], 0
je 0x14007c907
mov rdx, rbx
cmp qword [r8 + 0x18], 8
jb 0x14007c888
mov rdx, qword [r8]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14007c8be
cmp eax, 2
jne 0x14007c8ce
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
lea rdx, str.RegQueryValueExW_failed
lea rcx, [rsp + 0x50]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x30]
call fcn.1400cb8d0
nop
lea rdx, str.Invalid_registry_value_name
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
int3

Function at 0x14007cac0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rbx, r8
mov rax, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007cadd
mov rdx, qword [r8]
xor r9d, r9d
mov r8d, dword [rcx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
test eax, eax
jne 0x14007cb01
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
lea rdx, str.RemoveKeyFunction_failed
lea rcx, [rsp + 0x20]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x40]
call fcn.1400cb8d0
int3
Function at 0x14007cb60
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r9, r8
mov r8, rdx
lea rdx, [rsp + 0x60]
call fcn.14007c440
nop
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
test eax, eax
jne 0x14007cbf3
lea rcx, [rsp + 0x70]
call fcn.14000cba0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007cbd2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret
lea rdx, str.RegDeleteTreeW_failed
lea rcx, [rsp + 0x20]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x40]
call fcn.1400cb8d0
int3

Function at 0x14007cc30
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, r8
mov rax, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007cc4d
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test eax, eax
jne 0x14007cc67
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, str.RegDeleteValue_failed
lea rcx, [rsp + 0x20]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x40]
call fcn.1400cb8d0
int3

Function at 0x14007cca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, r8
mov rax, rdx
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007ccd5
mov rdx, qword [r8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14007cd18
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c5980
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
lea rdx, str.RegQueryValueEx_failed
lea rcx, [rsp + 0x30]
call fcn.14000c390
nop
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14007c360
lea rdx, [0x140157538]
lea rcx, [rsp + 0x50]
call fcn.1400cb8d0
int3