joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059f80
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
mov r9d, 0x20019
or r9d, dword [rcx + 8]
mov rcx, qword [rcx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14005a06f
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005a06f
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x14005a06f
mov ebx, dword [rdi + 8]
mov rdi, qword [rdi]
lea rcx, [0x14019f240]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov rdx, rsi
test rax, rax
je 0x14005a067
mov r8d, ebx
xor r9d, r9d
call rax
jmp 0x14005a06d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014ac50
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005a0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005a11b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14005a11b
cmp dword [rsp + 0x38], 4
jne 0x14005a11b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14005a140
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret
Function at 0x14005a170
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], ntohl
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 8
mov rcx, qword [rcx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005a1ee
mov eax, dword [rsp + 0x4c]
or eax, 8
mov edi, 0x3f4
cmp eax, 0xb
jne 0x14005a1ee
cmp dword [rsp + 0x3c], 8
jne 0x14005a1ee
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x14005a210
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1050
call fcn.14014abe0
sub rsp, rax
mov rsi, r8
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005a350
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14005a2b1
mov edi, 0x3f4
cmp eax, 1
jne 0x14005a350
lea rcx, [rsp + 0x840]
call fcn.140185cb0
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14005a305
lea r9, [rsp + 0x840]
jmp 0x14005a2f8
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x14005a350
lea rcx, [rsp + 0x40]
call fcn.140185cb0
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14005a325
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140006120
jmp 0x14005a34e
mov rbx, rsi
cmp rax, 8
jb 0x14005a311
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x840]
jmp 0x14005a340
mov rbx, rsi
cmp rax, 8
jb 0x14005a331
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14016e8e0
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1048]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x1050
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005a370
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], r8d
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x14005a3d0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x14005a400
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140185cb0
lea eax, [rax + rax]
add eax, 2
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005a6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx], 0
je 0x14005a7f2
cmp dword [rsi + 8], 0
js 0x14005a7f2
lea r15, [rsi + 0x10]
mov rbx, qword [rsi + 0x28]
mov edx, ebx
mov dword [rsp + 0x44], ebx
lea r14, [rsi + 0x30]
mov eax, dword [rsi + 0x38]
mov rdi, qword [rsi + 0x30]
sub eax, edi
add eax, 0xfffffffe
and eax, 0xfffffffe
lea r12, [rsi + 0x48]
mov dword [rsi + 0x48], eax
lea r13, [rsi + 0x4c]
mov rcx, r15
call fcn.14004bb40
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8, rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x14005a7ee
mov edx, dword [rsi + 0x48]
add rdx, 1
shr rdx, 1
add edx, 1
mov rdi, qword [rsi + 0x30]
mov rax, qword [rsi + 0x38]
sub rax, rdi
mov rcx, rax
sar rcx, 1
cmp rcx, rdx
jae 0x14005a7a1
mov word [rsp + 0x42], 0
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x42]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov rcx, r14
call fcn.14005ab90
mov rdi, qword [rsi + 0x30]
mov rax, qword [rsi + 0x38]
sub rax, rdi
add eax, 0xfffffffe
and eax, 0xfffffffe
mov dword [rsi + 0x48], eax
cmp dword [rsp + 0x44], ebx
mov edx, 0x4000
cmovne edx, ebx
mov dword [rsp + 0x44], edx
mov rcx, r15
call fcn.14004bb40
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8, rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14005a836
lea rax, [rsi + 0x10]
cmp qword [rsi + 0x28], 8
jb 0x14005a800
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rsi + 0x30]
mov word [rax], 0
mov dword [rsi + 0x48], 0
xor esi, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [r12]
add rax, 1
and rax, 0xfffffffffffffffe
mov rcx, qword [r14]
mov word [rcx + rax], 0
mov sil, 1
jmp 0x14005a817

Function at 0x14005a940
Capabilities:
Query or enumerate registry value

Disassembly:
add dword [rcx + 8], 0xffffffff
jmp fcn.14005a6b0
Function at 0x14005a970
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x70], rax
or r9d, 0x20019
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005a9f2
mov dword [rsp + 0x60], 0
mov rcx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14005aa14
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], 0
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14014ac50
nop
add rsp, 0x78
pop rdi
pop rsi
ret
mov edx, dword [rsp + 0x60]
add edx, 0xffffffff
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005a9f9
test edx, edx
js 0x14005a9f9
mov dword [rsp + 0x6c], 0x104
lea r8, [rsi + 0xc]
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005a9f9
jmp 0x14005a9ff

Function at 0x14005ab10
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 8]
lea edx, [rax - 1]
mov dword [rcx + 8], edx
test eax, eax
jle 0x14005ab72
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005ab72
mov dword [rsp + 0x54], 0x104
lea r8, [rsi + 0xc]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x54]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14005ab78
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014ac50
nop
add rsp, 0x60
pop rsi
ret
Function at 0x14005d860
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401e6d30]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14005d9cf
jp 0x14005d9cf
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401e6d40]
mov ecx, dword [0x1401e8ff8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x18]
jg 0x14005d9ee
mov eax, dword [0x1401e6d50]
mov ecx, dword [0x1401e8ff8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x18]
jg 0x14005da2a
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x1401e6d48]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x140198f50]
subpd xmm1, xmmword [0x140198f60]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addpd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401990e0]
ucomisd xmm1, xmm0
ja 0x14005d9cf
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401e6d38]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x140198f50]
subpd xmm1, xmmword [0x140198f60]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addpd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401e6d30], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14014ac50
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1401e6d40]
call fcn.14014aa00
mov eax, dword [0x1401e6d40]
cmp eax, 0xffffffff
jne 0x14005d8e1
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401e6d38], rdx
lea rcx, [0x1401e6d40]
call fcn.14014aa70
jmp 0x14005d8e1
lea rcx, [0x1401e6d50]
call fcn.14014aa00
mov eax, dword [0x1401e6d50]
cmp eax, 0xffffffff
jne 0x14005d906
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1401e6d48], rax
lea rcx, [0x1401e6d50]
call fcn.14014aa70
jmp 0x14005d906
Function at 0x140061870
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x50], 0
cmp qword [rcx + 0x18], 7
jbe 0x1400618ae
mov rcx, qword [rsi]
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14006195f
mov rcx, rsi
call fcn.140038940
movzx r8d, al
xor r8d, 5
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x1400618e0
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400619ba
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.14003c440
mov dil, 1
test eax, eax
jle 0x140061a30
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x5d
mov r9d, 0xffffffff
call fcn.14003c4c0
lea rcx, [rsp + 0x68]
lea rdx, str.Scheduled_for_deletion:
call fcn.140002b70
cmp qword [rsi + 0x18], 7
jbe 0x140061947
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14003d500
mov rcx, rbx
call fcn.14003c960
jmp 0x140061a30
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140061a2e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x3e
mov r9d, 1
call fcn.14003d2f0
lea rcx, [rsp + 0x70]
cmp qword [rsi + 0x18], 7
jbe 0x1400619a9
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.14003d500
lea rdx, str._does_not_exist.
jmp 0x140061a1e
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061a2e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x49
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x70]
lea rdx, str.Could_not_schedule
call fcn.140002b70
cmp qword [rsi + 0x18], 7
jbe 0x140061a0c
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14003d500
lea rdx, str._for_deletion.
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
Function at 0x140062250
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.1400623e0
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
lea rdi, [rsp + 0x68]
mov rcx, rdi
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.140059510
mov rbx, qword [rdi]
test rbx, rbx
je 0x140062361
lea r14, [rsp + 0x64]
mov dword [r14], 0
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov edx, 1
mov rcx, rdi
mov r8, rdi
call fcn.140014550
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x140062368
cmp eax, 0xea
jne 0x140062351
mov edi, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x14006236d
mov edx, dword [rsp + 0x64]
test dl, 1
jne 0x14006236d
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8, rdi
call fcn.140014550
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400623c2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14006236d
mov edi, 0x80070002
jmp 0x140062399
mov edi, 0x80070002
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140062399
lea rsi, [rsp + 0x40]
mov r8, qword [rsi + 0x10]
sub r8, rdx
mov rcx, rsi
call fcn.140006a10
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rcx, [rsp + 0x68]
call fcn.140059750
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8, rsi
call fcn.140061ed0
mov edi, eax
jmp 0x14006236d
Function at 0x140065d90
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rcx + 0x30], 0
je 0x140065deb
mov rsi, rcx
lea r12, [rcx + 0x20]
lea rbx, [rsp + 0x140]
mov rcx, r12
mov rdx, rbx
call fcn.140033220
mov rcx, r12
mov dl, 1
call fcn.140037bf0
test al, al
je 0x140065e39
xor ebp, ebp
jmp 0x140065eb8
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140065e32
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x48
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x30]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
call fcn.140002b70
mov rcx, rsi
call fcn.14003c960
xor esi, esi
jmp 0x140065ff9
mov ecx, 1
call fcn.14003c410
test al, al
je 0x140065ea5
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x54
mov r9d, 1
call fcn.14003c4c0
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_delete_temporary_directory
call fcn.140002b70
cmp qword [rsi + 0x38], 7
mov rdx, r12
jbe 0x140065e86
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call fcn.14003d500
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003c960
mov rcx, r12
call fcn.140061a50
mov bpl, 1
test al, al
je 0x140065fea
cmp qword [rsi + 0x10], 0
je 0x140065fb1
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x28]
lea r13, str.Error_removing_directory
jmp 0x140065efd
mov rcx, rbx
mov rdx, rdi
call fcn.140033220
mov rcx, rbx
mov rdx, rdi
call fcn.1400324c0
mov rcx, rdi
call fcn.1400323e0
test bpl, 1
jne 0x140065f96
cmp qword [rsp + 0x158], 7
mov rcx, rbx
jbe 0x140065f1d
mov rcx, qword [rsp + 0x140]
call r14
test eax, eax
jne 0x140065f9e
mov ecx, 1
call fcn.14003c410
mov bpl, 1
test al, al
je 0x140065f96
call r15
cmp eax, 0x91
je 0x140065f96
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
mov r8d, 0x61
mov r9d, 1
call fcn.14003d2f0
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.140002b70
cmp qword [rsp + 0x158], 7
mov rdx, rbx
jbe 0x140065f86
mov rdx, qword [rsp + 0x140]
mov rcx, rax
call fcn.14003d500
mov rcx, rdi
call fcn.14003d430
mov rcx, rbx
call fcn.140061870
mov rcx, rbx
mov rdx, rsi
call fcn.140032560
test al, al
je 0x140065edf
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140065fbe
mov rax, qword [rsi]
mov qword [rsi + 0x10], 0
mov word [rax], 0
cmp qword [rsi + 0x38], 8
jb 0x140065fd6
mov r12, qword [r12]
mov qword [rsi + 0x30], 0
mov word [r12], 0
mov sil, 1
jmp 0x140065fec
xor esi, esi
lea rcx, [rsp + 0x140]
call fcn.1400323e0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140067630
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor edi, edi
test eax, eax
je 0x1400676a4
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x1400676a4
mov rcx, rsi
call fcn.140009e80
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.1400159c0
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000a020
mov dil, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x238
pop rdi
pop rsi
ret
Function at 0x140073de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movdqa xmmword [rsp + 0x80], xmm7
movdqa xmmword [rsp + 0x70], xmm6
mov r14, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, edx
call fcn.140073fb0
mov ebx, eax
mov rcx, qword [0x1401e6e28]
test rcx, rcx
je 0x140073e35
mov rax, qword [rcx]
mov rdx, r14
mov r8d, ebx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140073f7d
mov eax, 7
movq xmm6, rax
pslldq xmm6, 8
movdqu xmmword [rsp + 0x50], xmm6
mov word [rsp + 0x40], 0
call fcn.140074020
add ebx, dword [rax + 0x40]
mov r15, qword [0x1401ecbb8]
mov eax, ebx
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140073f59
mov rsi, rax
mov rcx, r15
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140073f59
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140073f59
mov rdi, rax
mov rcx, r15
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and ebx, 0xf
je 0x140073ef4
test eax, eax
je 0x140073ef4
mov ecx, eax
mov rax, rdi
add rax, rcx
mov edx, 1
sub edx, ebx
movzx ecx, word [rdi]
lea rdi, [rdi + rcx*2]
add rdi, 2
cmp rdi, rax
setb cl
test edx, edx
je 0x140073ef4
inc edx
cmp rdi, rax
jb 0x140073ed8
test cl, cl
je 0x140073f59
movzx r8d, word [rdi]
test r8, r8
je 0x140073f59
add rdi, 2
mov eax, 7
movq xmm7, rax
pslldq xmm7, 8
lea rsi, [rsp + 0x20]
movdqu xmmword [rsi + 0x10], xmm7
xor ebx, ebx
mov word [rsi], bx
mov rcx, rsi
mov rdx, rdi
call fcn.1400060c0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140006b50
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
movdqu xmmword [rsi + 0x10], xmm7
mov word [rsi], bx
mov rcx, rsi
call fcn.140006b50
lea rcx, [rsp + 0x40]
movaps xmm0, xmmword [rcx]
movaps xmm1, xmmword [rcx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movdqa xmmword [rcx + 0x10], xmm6
mov word [rcx], 0
call fcn.140006b50
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14014ac50
mov rax, r14
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret