joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400523e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r9d, 0x39
call fcn.1400e8370
xor r15d, r15d
mov rcx, rdi
mov rdx, rbp
xor r8d, r8d
call fcn.1400f4950
mov rcx, rsi
call fcn.1400f0000
test al, al
je 0x14005256d
test ebx, ebx
jne 0x14005259a
mov ebx, 2
xor edi, edi
mov rcx, rsi
call fcn.140026cb0
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebx
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x1400524f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14005261f
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400524e6
mov qword [rsi + 0x40], rdi
call fcn.1400e8390
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
inc rdi
cmp rdi, 2
jb 0x1400525fd
mov dword [rsp + 0x3c], 0
lea rdx, [0x1401f0520]
mov rcx, r14
call fcn.140049d20
test al, al
je 0x1400525ac
mov rcx, rsi
call fcn.140051960
xor r15d, r15d
test rax, rax
jle 0x14005256d
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
and ebx, 2
add ebx, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400525fd
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r15b, 1
lea rcx, [rsp + 0x60]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140111870
mov eax, r15d
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebx, 3
jne 0x140052605
mov rcx, rsi
call fcn.140052240
mov r15d, eax
jmp 0x14005256d
xor eax, eax
lea rdi, [rsp + 0x40]
mov qword [rdi], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r8, rdi
call fcn.140049ed0
mov r15, qword [rdi]
test r15, r15
js 0x1400525fd
mov rcx, qword [r14 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x1400525fd
mov r8, r15
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x140052537
xor r15d, r15d
jmp 0x14005256d
cmp ebx, 2
jne 0x14005263a
mov r15, qword [r14 + 8]
mov rdi, r15
shr rdi, 0x20
mov ebx, 4
jmp 0x140052488
call fcn.1400e8390
mov rcx, qword [rsi + 0x40]
call fcn.1400f0600
mov qword [rsi + 0x40], 0
jmp 0x1400524d1
cmp ebx, 1
jne 0x140052649
mov ebx, 4
jmp 0x140052486
xor ebx, ebx
jmp 0x140052486
Function at 0x140052f60
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x20], 0
test rdx, rdx
je 0x14005300d
mov rdi, rdx
lea r14, [rsp + 0x40]
mov qword [r14], 0xffffffffffffffff
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov rbx, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0x400
mov rcx, rax
mov rdx, rdi
mov r8, rbx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [r14]
cmp qword [rsi], rbx
je 0x14005300d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140053029
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140053005
mov qword [rsi], rbx
call fcn.1400e8390
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x140052ff3
Function at 0x1400542a0
Capabilities:
Create thread

Disassembly:
jmp 0x1400542a0
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov rbp, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebx, 0x10
mov ecx, 0x10
call fcn.1401109bc
mov r14, rax
mov qword [rax], rsi
test rbp, rbp
setne byte [rax + 8]
mov dword [rax + 0xc], edi
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x140054600]
xor ecx, ecx
mov rdx, r15
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140054341
test rbp, rbp
je 0x140054371
mov qword [rbp], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14005435a
mov ebp, eax
cmp eax, 0x5af
je 0x14005435a
cmp ebp, 0xe
jne 0x14005437c
mov rcx, r15
call fcn.140180300
test r14, r14
je 0x14005431f
mov rcx, r14
call fcn.1401109f8
jmp 0x14005431f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005431f
mov eax, dword [0x140221d88]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400543eb
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.14004cb90
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
cmovs rax, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rcx, qword [0x140221d80]
call fcn.1400fad00
cmp byte [rsi + 0x17], 0
jns 0x140054362
mov rcx, qword [rsp + 0x38]
call fcn.1401109f8
jmp 0x140054362
lea rcx, [0x140221d88]
call fcn.140110b10
cmp dword [0x140221d88], 0xffffffff
jne 0x14005439d
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140084900
mov qword [0x140221d80], rax
lea rcx, [0x140221d88]
call fcn.140110ba8
jmp 0x14005439d

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

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14021b038]
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]
mov edi, eax
test eax, eax
jne 0x140054ec3
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140054ec3
cmp dword [rsp + 0x38], 4
jne 0x140054ec3
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x140054ee0
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 0x140054f10
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140111800
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140114200
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140054fc3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140054fc7
lea rdx, [rsp + 0x840]
mov rcx, r14
call fcn.1400322c0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140054fa4
cmp eax, 2
jne 0x14005500c
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140114200
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
dec eax
cmp eax, 0x3ff
ja 0x140055013
lea rdx, [rsp + 0x40]
jmp 0x140054f9a
mov edi, 0x3f4
jmp 0x140054fa4
mov edi, 0xea
jmp 0x140054fa4

Function at 0x140055020
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14021b038]
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.140111870
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x140055080
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.14012c3a4
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 0x140055220
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx], 0
je 0x140055304
cmp dword [rsi + 8], 0
js 0x140055304
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140055326
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.140053eb0
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 0x140055330
test eax, eax
jne 0x140055304
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.140111870
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 0x140055311
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 0x1400552e4
mov ebp, 0xa
jmp 0x140055269
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 0x140055370
lea r8, [rsp + 0x4a]
mov word [r8], 0
inc rdx
mov rcx, r14
call fcn.140055750
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.140053eb0
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 0x1400552c9
Function at 0x140055470
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14021b038]
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 0x14005554a
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 0x140055541
mov edx, dword [rsp + 0x60]
dec edx
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140055551
test edx, edx
js 0x140055551
lea r9, [rsp + 0x6c]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
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 0x140055557
jmp 0x140055551
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.140111870
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140055610
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 8]
lea edx, [rax - 1]
mov dword [rcx + 8], edx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005567e
test eax, eax
jle 0x14005567e
lea r9, [rsp + 0x54]
mov dword [r9], 0x104
movabs r8, 0xaaaaaaaaaaaaaaaa
lea rax, [rsp + 0x48]
mov qword [rax], r8
lea r8, [rsi + 0xc]
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
je 0x140055684
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140111870
nop
add rsp, 0x60
pop rsi
ret
Function at 0x14005d5c0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14021b038]
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 0x14005d606
mov rcx, qword [rsi]
lea r8, [rsp + 0x170]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14005d6b4
mov rcx, rsi
call fcn.140050680
movzx r8d, al
xor r8d, 5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14005d63a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test eax, eax
je 0x14005d719
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.1400e83d0
test eax, eax
jle 0x14005d78f
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x5e
mov r9d, 0xffffffff
call fcn.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.Scheduled_for_deletion:
mov r8d, 0x18
call fcn.1400dd7e0
mov rcx, rax
mov rdx, rsi
call fcn.14004ab40
mov rcx, rbx
call fcn.14004a5c0
jmp 0x14005d78f
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x14005d715
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 1
call fcn.14015f200
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14004ab40
lea rdx, str._does_not_exist.
mov r8d, 0x10
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rdi
call fcn.14015f280
xor esi, esi
jmp 0x14005d795
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005d78f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4a
mov r9d, 2
call fcn.14015f200
lea rcx, [rsp + 0x40]
lea rdx, str.Could_not_schedule
mov r8d, 0x13
call fcn.1400dd7e0
mov rcx, rax
mov rdx, rsi
call fcn.14004ab40
lea rdx, str._for_deletion.
mov r8d, reloc.WS2_32.dll_ntohl
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rbx
call fcn.14015f280
test edi, edi
setne sil
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005e210
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [rcx]
mov rbx, qword [rcx + 8]
cmp rbx, rdi
je 0x14005e266
cmp byte [rbx - 1], 0
jns 0x14005e24b
mov rcx, qword [rbx - 0x18]
call fcn.1401109f8
lea rsi, [rbx - 0x30]
cmp byte [rbx - 0x19], 0
jns 0x14005e25e
mov rcx, qword [rbx - 0x30]
call fcn.1401109f8
mov rbx, rsi
cmp rdi, rsi
jne 0x14005e23c
mov qword [r15 + 8], rdi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rdi], xmm0
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, rdi
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.1400547e0
mov rdi, qword [rdi]
test rdi, rdi
je 0x14005e34f
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.14005ebe0
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov rax, qword [rbx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14005e356
cmp eax, 0xea
jne 0x14005e38d
mov ebx, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x14005e39b
mov edx, dword [rsp + 0x5c]
test dl, 1
jne 0x14005e39b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
cmp rcx, rdx
jae 0x14005e35d
sub rdx, rcx
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.14005ebe0
mov rax, qword [rbx]
jmp 0x14005e367
mov ebx, 0x80070002
jmp 0x14005e3af
mov ebx, 0x80070002
jmp 0x14005e39b
jbe 0x14005e367
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 0x14005e3d7
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005e3af
mov qword [rsp + 0x48], rcx
call fcn.1401109f8
lea rcx, [rsp + 0x60]
call fcn.140054a80
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8, r15
call fcn.14005dcd0
mov ebx, eax
jmp 0x14005e39b
Function at 0x1400620f0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.140071110
test al, al
je 0x14006221c
mov rcx, rsi
call fcn.140062250
test al, al
je 0x14006215c
call fcn.140058290
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call fcn.140068a80
test al, al
jne 0x14006221c
lea rbx, [rsp + 0x30]
mov r8d, 0x200
mov rcx, rbx
mov dl, 0xaa
call fcn.140114200
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0x100
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400621df
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x1400621df
mov rcx, rsi
call fcn.1400322f0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140032750
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400e4c40
call fcn.140058290
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call fcn.140068a80
test al, al
jne 0x14006221c
cmp byte [rsi + 0x17], 0
jns 0x14006223a
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
call fcn.140058290
mov rax, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rsi
xor r9d, r9d
call fcn.140068a80
test al, al
jne 0x14006221c
mov rcx, rsi
call fcn.140062250
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1400621f5
Function at 0x140071950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp edx, 0x918
jg 0x140071990
cmp edi, 0x691
je 0x1400719a9
cmp edi, 0x7d5
jne 0x1400719cd
lea rdi, [0x1401f53f0]
jmp 0x1400719b9
cmp edi, 0x919
je 0x1400719b2
cmp edi, 0xdd8
jne 0x1400719cd
lea rdi, [0x1401f5410]
jmp 0x1400719b9
lea rdi, [0x1401f53e0]
jmp 0x1400719b9
lea rdi, [0x1401f5400]
call fcn.140058290
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov edi, dword [rdi + rax*4]
mov rcx, qword [0x140221e98]
test rcx, rcx
je 0x140071a01
mov rax, qword [rcx]
mov rdx, rsi
mov r8d, edi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14016e320
add edi, dword [rax + 0x30]
mov r14, qword [0x14021ef88]
mov eax, edi
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140071ade
mov r15, rax
mov rcx, r14
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140071ade
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140071ade
mov rbx, rax
mov rcx, r14
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and edi, 0xf
je 0x140071a9e
test eax, eax
je 0x140071a9e
mov ecx, eax
mov rax, rbx
add rax, rcx
dec edi
movzx ecx, word [rbx]
lea rbx, [rbx + rcx*2]
add rbx, 2
cmp rbx, rax
setb cl
add edi, 0xffffffff
jae 0x140071a9e
cmp rbx, rax
jb 0x140071a83
xor eax, eax
mov edx, 0
mov edi, 0
test cl, cl
je 0x140071ae4
movzx r15d, word [rbx]
xor eax, eax
test r15, r15
je 0x140071ae0
mov edx, 0
mov edi, 0
test rbx, rbx
je 0x140071ae4
add rbx, 2
cmp r15w, 0xb
jae 0x140071af4
lea r14, [rsp + 0x20]
mov byte [r14 + 0x17], r15b
jmp 0x140071b1b
xor eax, eax
xor edx, edx
xor edi, edi
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdi
jmp 0x1400719e5
lea edi, [r15 + 8]
and edi, 0xfffffff8
lea rcx, [rdi + rdi]
call fcn.1401109bc
mov r14, rax
mov qword [rsp + 0x20], rax
bts rdi, 0x3f
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r15
lea r8, [r15 + r15]
mov rcx, r14
mov rdx, rbx
call fcn.140113df0
mov word [r14 + r15*2], 0
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
jmp 0x140071ae4