joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066ab0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, str.SetLength
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r9d, 0xa9
call fcn.140054e50
lea rcx, [rsp + 0x48]
mov rdx, rbx
xor r8d, r8d
call fcn.14009ceb0
lea rcx, [rsp + 0x28]
call fcn.14009b9b0
call fcn.14009c4f0
test al, al
jne 0x140066ba5
mov rcx, qword [rsi]
xor ebx, ebx
lea r8, [rsp + 0x20]
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140066b74
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140066b74
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140066bc1
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x28]
call fcn.14009c560
lea rcx, [rsp + 0x48]
call fcn.14009cfd0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140180700
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x28]
mov r8, rsi
mov r9, rdi
call fcn.14009c590
jmp 0x140066b1a
xor ebx, ebx
jmp 0x140066b74

Function at 0x1400671b0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rdx, str.MapImageToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov r9d, 0x1b
call fcn.140054e50
lea rcx, [rsp + 0x58]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.14009ceb0
mov rcx, rsi
call fcn.140066560
test al, al
je 0x1400672a5
lea rbx, [rsi + 0x40]
mov rcx, rsi
call fcn.14000c640
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rbx
mov rdx, rax
call fcn.14000b260
mov rcx, qword [rsi + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400672a5
mov qword [rsp + 0x20], 0
xor edi, edi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400672a5
lea rdx, [0x1401bfc68]
lea rcx, [rsp + 0x38]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.1400b1310
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x58]
call fcn.14009cfd0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400684b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400684df
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400684e2
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140068503
test bl, bl
je 0x14006854f
cmp byte [rdi + 8], 0
je 0x140068541
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140068544
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x14006851a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14006851d
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140068530
xor edi, edi
jmp 0x14006856c
cmp byte [rdi + 8], 0
je 0x140068583
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140068586
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
jne 0x1400685b8
mov rcx, qword [rdi]
call fcn.1400adb70
mov rcx, qword [0x140214d90]
mov dil, 1
test rcx, rcx
jne 0x1400685c3
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140068599
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
jne 0x1400685cf
mov rcx, qword [rdi]
call fcn.1400adb70
mov rcx, qword [0x140214d90]
test rcx, rcx
jne 0x1400685da
mov dil, 1
jmp 0x14006856c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140068558
mov edx, eax
mov r8d, esi
call fcn.1400a5320
jmp 0x14006856c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400685a2
mov edx, eax
mov r8d, esi
call fcn.1400a5320
jmp 0x1400685b3

Function at 0x140069170
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140069540
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rax], 0
mov r9d, 0x20019
or r9d, dword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400695fc
lea rax, [rsp + 0x6c]
mov dword [rax], 0
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
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 0x1400695fc
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x1400695fc
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140180700
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x140069630
Capabilities:
Query or enumerate registry value

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

Function at 0x1400696c0
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 0x1400696f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x4c]
mov dword [r9], ntohl
lea rax, [rsp + 0x40]
mov qword [rax], 0
lea rdi, [rsp + 0x3c]
mov dword [rdi], 8
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140069769
mov eax, dword [rsp + 0x4c]
and eax, 0xfffffff7
mov edi, 0x3f4
cmp eax, 3
jne 0x140069769
cmp dword [rsp + 0x3c], 8
jne 0x140069769
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140069780
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.140180690
sub rsp, rax
mov rsi, r8
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140069814
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140069818
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140038740
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x1048
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400697f8
cmp eax, 2
jne 0x14006984a
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
dec eax
cmp eax, 0x3ff
ja 0x140069851
lea rdx, [rsp + 0x40]
jmp 0x1400697ee
mov edi, 0x3f4
jmp 0x1400697f8
mov edi, 0xea
jmp 0x1400697f8

Function at 0x140069860
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
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.140180700
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x1400698c0
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 0x1400698f0
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.1401a0cc4
add eax, eax
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 0x140069b50
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx], 0
je 0x140069c34
cmp dword [rsi + 8], 0
js 0x140069c34
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140069c56
mov ebp, dword [rsi + 0x20]
dec ebp
lea rdi, [rsp + 0x4c]
mov dword [rdi], ebp
lea r14, [rsi + 0x28]
mov eax, dword [rsi + 0x30]
mov rbx, qword [rsi + 0x28]
sub eax, ebx
add eax, 0xfffffffe
and eax, 0xfffffffe
lea r13, [rsi + 0x40]
mov dword [rsi + 0x40], eax
lea r12, [rsi + 0x44]
mov edx, ebp
mov rcx, r15
call fcn.14005e1e0
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x140069c60
test eax, eax
jne 0x140069c34
mov eax, dword [r13]
inc rax
and rax, 0xfffffffffffffffe
mov rcx, qword [r14]
mov word [rcx + rax], 0
mov dil, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140069c41
mov rax, qword [rax]
xor edi, edi
mov word [rax], di
mov rax, qword [rsi + 0x28]
mov word [rax], di
mov dword [rsi + 0x40], 0
jmp 0x140069c14
mov ebp, 0xa
jmp 0x140069b99
mov edx, dword [rsi + 0x40]
inc rdx
shr rdx, 1
mov rdi, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, rdi
mov rcx, rax
sar rcx, 1
sub rdx, rcx
jb 0x140069ca0
lea r8, [rsp + 0x4a]
mov word [r8], 0
inc rdx
mov rcx, r14
call fcn.140069fb0
mov rdi, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, rdi
add eax, 0xfffffffe
and eax, 0xfffffffe
mov dword [rsi + 0x40], eax
lea rbx, [rsp + 0x4c]
cmp dword [rbx], ebp
mov edx, 0x4000
cmovne edx, ebp
mov dword [rbx], edx
mov rcx, r15
call fcn.14005e1e0
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x140069bf9
Function at 0x140069da0
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14020eb28]
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 0x140069e6b
lea rdi, [rsp + 0x60]
mov dword [rdi], 0
mov rcx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
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
jne 0x140069e62
mov edx, dword [rsp + 0x60]
dec edx
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140069e72
test edx, edx
js 0x140069e72
lea r9, [rsp + 0x6c]
mov dword [r9], 0x104
lea r8, [rsi + 0xc]
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140069e78
jmp 0x140069e72
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.140180700
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140069f30
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14020eb28]
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 0x140069fa5
mov rcx, qword [rsi]
test rcx, rcx
je 0x140069fa5
lea r9, [rsp + 0x54]
mov dword [r9], 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
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140069fa5
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140180700
nop
add rsp, 0x60
pop rsi
ret
mov word [rsi + 0xc], 0
jmp 0x140069f91
Function at 0x14006c690
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14006c6cc
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14006c6d6
add rdi, rbx
sub rsi, rbx
jne 0x14006c6aa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140071100
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
cmp dword [0x140216fdc], 0
mov r8, qword [rcx]
je 0x140071132
mov rcx, qword [rsi + 0x28]
mov rdx, rdi
mov r9d, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14000fba0
movsxd rax, ebx
mov rcx, rdi
mov rdx, r8
mov r8, rax
call fcn.1401836f0
mov ecx, dword [rsi + 0x4c]
mov r8d, ebx
mov rdx, rdi
call fcn.140070c40
mov dword [rsi + 0x4c], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140074620
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x198], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
mov dword [rsp + 0x190], 0
cmp byte [rcx + 0x17], 0
jns 0x140074666
mov rcx, qword [rsi]
lea r8, [rsp + 0x170]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14007471b
mov rcx, rsi
call fcn.140064e90
movzx r8d, al
xor r8d, 5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14007469a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14007477a
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.140055360
mov dil, 1
test eax, eax
jle 0x14007478a
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r8d, 0x5e
mov r9d, 0xffffffff
call fcn.1400553e0
lea rcx, [rsp + 0x38]
lea rdx, str.Scheduled_for_deletion:
mov r8d, 0x18
call fcn.140006490
cmp byte [rsi + 0x17], 0
jns 0x140074706
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140056180
mov rcx, rbx
call fcn.140055870
jmp 0x14007478a
mov ecx, 1
call fcn.140055330
test al, al
je 0x140074788
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 1
call fcn.140055fe0
lea rcx, [rsp + 0x38]
cmp byte [rsi + 0x17], 0
jns 0x140074760
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.140056180
lea rdx, str._does_not_exist.
mov r8d, 0x10
jmp 0x140074808
mov ecx, 2
call fcn.140055330
test al, al
jne 0x1400747a7
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x4a
mov r9d, 2
call fcn.140055fe0
lea rcx, [rsp + 0x38]
lea rdx, str.Could_not_schedule
mov r8d, 0x13
call fcn.140006490
cmp byte [rsi + 0x17], 0
jns 0x1400747f0
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140056180
lea rdx, str._for_deletion.
mov r8d, reloc.WS2_32.dll_ntohl
mov rcx, rax
call fcn.140006490
mov rcx, rdi
call fcn.1400560d0
jmp 0x140074788
Function at 0x1400750e0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
mov r15, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [rcx]
mov rbx, qword [rcx + 8]
cmp rbx, rdi
je 0x140075136
cmp byte [rbx - 1], 0
jns 0x14007511b
mov rcx, qword [rbx - 0x18]
call fcn.140180390
lea rsi, [rbx - 0x30]
cmp byte [rbx - 0x19], 0
jns 0x14007512e
mov rcx, qword [rbx - 0x30]
call fcn.140180390
mov rbx, rsi
cmp rdi, rsi
jne 0x14007510c
mov qword [r15 + 8], rdi
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.140068cc0
mov rdi, qword [rdi]
mov ebx, 0x80070002
test rdi, rdi
jne 0x140075190
lea rcx, [rsp + 0x60]
call fcn.140068fc0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140180700
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea r14, [rsp + 0x5c]
mov dword [r14], 0
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov edx, 1
mov rcx, rbx
call fcn.14000c960
mov rax, qword [rbx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x140075254
cmp eax, 0xea
jne 0x140075244
mov ebx, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x140075259
mov edx, dword [rsp + 0x5c]
test dl, 1
jne 0x140075259
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
cmp rcx, rdx
jb 0x14007528f
jbe 0x14007521e
add rdx, rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140075276
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140075259
mov ebx, 0x80070002
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140075168
mov qword [rsp + 0x48], rcx
call fcn.140180390
jmp 0x140075168
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8, r15
call fcn.140074d10
mov ebx, eax
jmp 0x140075259
sub rdx, rcx
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000c960
mov rax, qword [rbx]
jmp 0x14007521e
Function at 0x14007a0e0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.1400888c0
test al, al
je 0x14007a1f7
mov rcx, rsi
call fcn.14007a220
test al, al
je 0x14007a14c
call fcn.14006d090
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call fcn.140082ca0
test al, al
jne 0x14007a1f7
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14007a1bc
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x14007a1bc
mov rcx, rsi
call fcn.140037ff0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140038800
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140038290
call fcn.14006d090
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call fcn.140082ca0
test al, al
jne 0x14007a1f7
mov rcx, rsi
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.140038ba0
mov rbx, rax
call fcn.14006d090
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rbx
xor r9d, r9d
call fcn.140082ca0
test al, al
jne 0x14007a1f7
mov rcx, rsi
call fcn.14007a220
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140180700
mov rax, rsi
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007a450
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x14020eb28]
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 0x14007a4c4
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x14007a4c4
mov rcx, rsi
call fcn.140037ff0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140038800
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140038290
mov dil, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x238
pop rdi
pop rsi
ret
Function at 0x14007c790
Capabilities:
Get session user name

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x230], rax
call fcn.1400888c0
test al, al
je 0x14007c804
xorps xmm0, xmm0
lea rdi, [rsp + 0x30]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
call fcn.14006d090
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, r14
mov rdx, rdi
mov r9d, 1
call fcn.140082ca0
mov ebx, eax
cmp byte [rdi + 0x17], 0
jns 0x14007c800
mov rcx, qword [rsp + 0x30]
call fcn.140180390
test bl, bl
je 0x14007c847
cmp byte [rsi + 0x17], 0
js 0x14007c815
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x14007c825
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
mov dil, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14007c8d0
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x14007c8d0
mov rcx, rsi
call fcn.140037ff0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140038800
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140038290
call fcn.14006d090
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, r14
mov rdx, rsi
mov r9d, 1
call fcn.140082ca0
mov dil, 1
test al, al
jne 0x14007c828
mov rcx, rsi
call fcn.14007a220
mov edi, eax
jmp 0x14007c828
xor edi, edi
jmp 0x14007c828