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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x28]
call fcn.140047e90
call fcn.14006a6b0
test al, al
je 0x14004fae6
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x28]
mov r8, rsi
mov r9, rdi
call fcn.14006a750
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 0x14004fb44
mov rcx, qword [rsi]
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004fb44
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14004fb42
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
jmp 0x14004fb44
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.14006a720
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011a370
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x140057f40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, r8
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140057f62
mov r12, qword [r12]
movabs rbx, 0xcbf29ce484222325
test r15, r15
mov qword [rsp + 0x20], rdx
je 0x140057f95
movabs rax, 0x100000001b3
lea rdx, [r15 - 1]
mov r8d, r15d
and r8d, 3
cmp rdx, 3
jae 0x140057f9a
xor esi, esi
jmp 0x140057fec
mov rdx, rbx
jmp 0x140058017
mov rbp, r15
sub rbp, r8
xor esi, esi
nop word cs:[rax + rax]
nop dword [rax]
movzx edx, byte [r12 + rsi]
xor rdx, rbx
imul rdx, rax
movzx ebx, byte [r12 + rsi + 1]
xor rbx, rdx
imul rbx, rax
movzx edx, byte [r12 + rsi + 2]
xor rdx, rbx
imul rdx, rax
movzx ebx, byte [r12 + rsi + 3]
xor rbx, rdx
imul rbx, rax
add rsi, 4
cmp rbp, rsi
jne 0x140057fb0
mov rdx, rbx
test r8, r8
je 0x140058017
add rsi, r12
xor ebp, ebp
nop dword [rax]
movzx edx, byte [rsi + rbp]
xor rdx, rbx
imul rdx, rax
add rbp, 1
mov rbx, rdx
cmp r8, rbp
jne 0x140058000
and rdx, qword [rcx + 0x30]
mov rbx, qword [rcx + 8]
mov r13, qword [rcx + 0x18]
mov rax, rdx
shl rax, 4
mov rbp, qword [r13 + rax]
lea r14, [rdx + rdx]
add r14, 1
mov rdi, rbp
cmp rbp, rbx
jne 0x140058058
jmp 0x140058080
mov rdi, qword [rdi]
cmp rbp, rbx
je 0x140058080
mov rax, qword [r13 + r14*8]
mov rax, qword [rax]
cmp rax, rdi
je 0x1400580b8
cmp qword [rdi + 0x20], r15
jne 0x140058050
cmp qword [rdi + 0x28], 0xf
jbe 0x140058090
mov rsi, qword [rdi + 0x10]
jmp 0x140058094
mov rax, rbx
cmp rax, rdi
jne 0x140058065
jmp 0x1400580b8
lea rsi, [rdi + 0x10]
mov rcx, rsi
mov rdx, r12
mov r8, r15
call fcn.14011d9c0
test eax, eax
jne 0x140058050
mov rcx, r12
mov rdx, rsi
mov r8, r15
call fcn.14011d9c0
test eax, eax
je 0x1400580d1
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x20]
mov qword [rax], rdi
jmp 0x1400580c0
Function at 0x14005c960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x14005c9e1
xor r11d, r11d
lea r10, [0x140150410]
mov edx, r9d
nop word cs:[rax + rax]
nop
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x14005c990
jmp 0x14005c9e4
mov edx, r9d
cmp edx, dword [rcx + 0x18]
sete al
pop rsi
ret

Function at 0x14005c9f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x14005ca71
xor r11d, r11d
lea r10, [0x140150410]
mov edx, r9d
nop word cs:[rax + rax]
nop
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x14005ca20
jmp 0x14005ca74
mov edx, r9d
mov dword [rcx + 0x18], edx
pop rsi
ret

Function at 0x140068e10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x14017b580]
cmp ecx, 0xffffffff
je 0x140068e3d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140068e42
call fcn.140068f70
mov eax, dword [0x14017ef08]
mov ecx, dword [0x1401800d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 8]
jg 0x140068f0b
mov rbx, qword [0x14017ef00]
mov rcx, rbx
call fcn.140047ea0
mov rcx, qword [0x14017d6f0]
add rcx, 1
xor edx, edx
lea rax, [0x14017d700]
nop word [rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140068ec1
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140068ec1
add rdx, 2
add rcx, 2
cmp rdx, 0x100
jb 0x140068e90
jmp 0x140068ee6
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x14017d6f0], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x140068f53
cmp eax, 0x100
jge 0x140068f5a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14017ef08]
call fcn.14011a5a0
mov eax, dword [0x14017ef08]
cmp eax, 0xffffffff
jne 0x140068e67
mov ecx, 8
call fcn.14011a310
mov rbx, rax
mov rcx, rax
call fcn.140047e90
mov qword [0x14017ef00], rbx
lea rcx, [0x14017ef08]
call fcn.14011a540
jmp 0x140068e67
int3
int3
Function at 0x140068f70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1040
call fcn.14011ac70
sub rsp, rax
lea rbp, [rsp + 0x80]
mov rax, qword [0x14017b818]
xor rax, rbp
mov qword [rbp + 0xfb8], rax
mov ecx, dword [0x14017b580]
mov dword [rbp - 0x54], ecx
cmp ecx, 0xffffffff
jne 0x140069008
lea rcx, [rbp - 0x54]
call fcn.14006f0e0
test al, al
je 0x14006907f
mov ecx, dword [rbp - 0x54]
cmp ecx, 0xffffffff
jne 0x140068fe8
lea rcx, [rbp - 0x54]
call fcn.14006f0e0
test al, al
je 0x140069086
cmp dword [rbp - 0x54], 0xffffffff
je 0x140069086
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rbp - 0x54]
mov eax, 0xffffffff
lock cmpxchg dword [0x14017b580], ecx
mov ecx, dword [rbp - 0x54]
je 0x140069008
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14017b580]
mov dword [rbp - 0x54], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140069078
lea rsi, [rbp - 0x50]
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14011d800
mov ecx, dword [rbp - 0x54]
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14011a3b0
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14011d3a0
mov ecx, dword [rbp - 0x54]
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rbp + 0xfb8]
xor rcx, rbp
call fcn.14011a370
mov rax, rdi
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret
int3
int3
int3

Function at 0x140069090
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14017b580]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400690bf
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x1400690bf
mov rax, qword [rax + rcx]
jmp 0x1400690c1
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400690d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14017b580]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400690f2
call fcn.140068f70
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14006c3a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x14006c3e2
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 0x14006c3ed
add rdi, rbx
sub rsi, rbx
jne 0x14006c3c0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
int3
Function at 0x14006f000
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
xor edx, edx
mov r8d, 0x238
mov rcx, rsi
call fcn.14011d800
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x14006f038
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14006f048
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14006f0e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006f0f9
mov dword [rsi], eax
mov al, 1
jmp 0x14006f0fb
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400749e0
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x7fffffff
jbe 0x14006f2fc
xor eax, eax
ret
jmp 0x1400749e0
push rsi
xor eax, eax
test rcx, rcx
je 0x140074b1d
test edx, edx
jle 0x140074b1d
mov r11d, edx
shr r11d, 2
je 0x140074a9c
lea r10d, [r11 - 1]
mov r9d, r11d
mov esi, edx
mov r8, rcx
test dl, 4
je 0x140074a3a
movzx r9d, word [rcx]
add r9d, edx
movzx eax, word [rcx + 2]
shl eax, 0xb
xor eax, r9d
shl r9d, 0x10
xor r9d, eax
lea r8, [rcx + 4]
mov esi, r9d
shr esi, 0xb
add esi, r9d
mov r9d, r10d
lea r10, [r10*4 + 4]
cmp r11d, 1
je 0x140074a97
add r9d, 2
nop dword [rax]
movzx eax, word [r8]
add eax, esi
movzx esi, word [r8 + 2]
shl esi, 0xb
xor esi, eax
shl eax, 0x10
xor eax, esi
mov esi, eax
shr esi, 0xb
add esi, eax
movzx eax, word [r8 + 4]
add eax, esi
movzx esi, word [r8 + 6]
shl esi, 0xb
xor esi, eax
shl eax, 0x10
xor eax, esi
mov esi, eax
shr esi, 0xb
add esi, eax
add r9d, 0xfffffffe
add r8, 8
cmp r9d, 2
jg 0x140074a50
add rcx, r10
jmp 0x140074a9e
mov esi, edx
and dl, 3
cmp dl, 1
je 0x140074acc
cmp dl, 2
je 0x140074ade
cmp dl, 3
jne 0x140074af1
movzx eax, word [rcx]
add esi, eax
movsx eax, byte [rcx + 2]
shl eax, 0x12
xor eax, esi
mov ecx, esi
shl ecx, 0x10
xor eax, ecx
mov esi, eax
shr esi, 0xb
jmp 0x140074aef
movsx eax, byte [rcx]
add esi, eax
mov eax, esi
shl eax, 0xa
xor eax, esi
mov esi, eax
shr esi, 1
jmp 0x140074aef
movzx eax, word [rcx]
add esi, eax
mov eax, esi
shl eax, 0xb
xor eax, esi
mov esi, eax
shr esi, 0x11
add esi, eax
lea eax, [rsi*8]
xor eax, esi
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov edx, ecx
shl edx, 0x19
xor edx, ecx
mov eax, edx
shr eax, 6
add eax, edx
pop rsi
ret
Function at 0x140075e40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x270
mov rsi, rdx
mov eax, ecx
mov rcx, qword [0x14017b818]
xor rcx, rsp
mov qword [rsp + 0x268], rcx
lea rbx, [rsp + 0x60]
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor edi, edi
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov edx, eax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140075ec0
lea rdi, [rsp + 0x30]
mov qword [rdi], rbx
mov rcx, rbx
call fcn.140120930
mov qword [rdi + 8], rax
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.140028910
mov rcx, rsi
mov rdx, rbx
call fcn.140028aa0
mov rcx, rbx
call fcn.1400289c0
mov dil, 1
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14011a370
mov eax, edi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400764f0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [r8 + 0x10], 0
je 0x140076547
bt ebx, 8
jae 0x14007652c
mov eax, ebx
and eax, 0x200
jne 0x140076547
cmp edi, 2
lea rax, [0x14017f270]
lea rcx, [0x14017f470]
cmove rcx, rax
cmp word [rcx], 0
je 0x140076566
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14011a370
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x140076547
cmp byte [0x14017f260], 0
setne al
bt ebx, 8
jb 0x140076547
shr ebx, 9
and ebx, 1
or bl, al
je 0x140076547
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
cmp qword [r12 + 0x18], 8
mov rdi, r12
jb 0x1400765c6
mov rdi, qword [r12]
mov rbp, qword [r12 + 0x10]
xor r15d, r15d
mov r13d, 1
mov eax, 0
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
jmp 0x140076668
movzx edx, word [rdi + rbx*2]
cmp edx, 0x5c
je 0x140076601
test dx, dx
jne 0x14007668a
lea rax, [rdi + rbx*2]
mov ebp, dword [rsi + 0x10]
lea rcx, str.WOW6432Node_
cmp ebp, 1
je 0x14007662f
cmp ebp, 2
jne 0x140076625
mov rdi, rax
lea rcx, str.WOW6432Node
jmp 0x14007662f
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx edx, dx
cmp edx, 0x5c
mov dword [rsp + 0x2c], ebp
jne 0x14007664b
dec r14
movzx edx, word [rax + 2]
add rax, 2
cmp edx, 0x5c
je 0x14007663b
mov r13, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
mov rbp, r14
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov rdi, rax
jmp 0x140076691
mov rbx, qword [rsi + 8]
mov r14, rbp
sub r14, rbx
jb 0x14007668a
mov rdx, qword [rsi]
mov rcx, rdi
mov r8, rbx
call fcn.140132160
test eax, eax
je 0x1400765ef
add rsi, 0x28
inc r15
cmp r15, r13
jb 0x140076668
cmp dword [rsp + 0x2c], 0
je 0x140076547
cmp qword [r12 + 0x18], 8
mov rax, r12
jb 0x1400766b0
mov rax, qword [r12]
mov rdi, qword [rsp + 0x30]
sub rdi, rax
sar rdi, 1
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140120930
mov rcx, r12
mov rdx, rdi
mov r8, rsi
mov r9, rax
call fcn.14000ddd0
jmp 0x140076547
Function at 0x140077740
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rcx + 0x30], 0
je 0x14007779b
lea r12, [rsi + 0x20]
lea rbx, [rsp + 0x140]
mov rcx, r12
mov rdx, rbx
call fcn.140029680
mov dl, 1
mov rcx, r12
call fcn.14002e210
test al, al
je 0x1400777e9
xor ebp, ebp
jmp 0x140077868
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x1400777e2
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x30]
mov r8d, 0x48
mov r9d, 2
mov rcx, rsi
call fcn.14002c3a0
lea rcx, [rsp + 0x38]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
call fcn.140002bb0
mov rcx, rsi
call fcn.14002c830
xor esi, esi
jmp 0x1400779a9
mov ecx, 1
call fcn.14002c2f0
test al, al
je 0x140077855
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rdi, [rsp + 0x30]
mov r8d, 0x54
mov r9d, 1
mov rcx, rdi
call fcn.14002c3a0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_delete_temporary_directory
call fcn.140002bb0
cmp qword [rsi + 0x38], 7
mov rdx, r12
jbe 0x140077836
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call fcn.14002da70
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov rcx, rax
call fcn.140002bb0
mov rcx, rdi
call fcn.14002c830
mov rcx, r12
call fcn.14007d0b0
mov bpl, 1
test al, al
je 0x14007799a
cmp qword [rsi + 0x10], 0
je 0x140077961
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x30]
lea r13, str.Error_removing_directory
jmp 0x1400778ad
mov rcx, rbx
mov rdx, rdi
call fcn.140029680
mov rcx, rbx
mov rdx, rdi
call fcn.140028aa0
mov rcx, rdi
call fcn.1400289c0
test bpl, 1
jne 0x140077946
cmp qword [rsp + 0x158], 7
mov rcx, rbx
jbe 0x1400778cd
mov rcx, qword [rsp + 0x140]
call r14
test eax, eax
jne 0x14007794e
mov ecx, 1
call fcn.14002c2f0
mov bpl, 1
test al, al
je 0x140077946
call r15
cmp eax, 0x91
je 0x140077946
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0x61
mov r9d, 1
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
call fcn.14002d860
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.140002bb0
cmp qword [rsp + 0x158], 7
mov rdx, rbx
jbe 0x140077936
mov rdx, qword [rsp + 0x140]
mov rcx, rax
call fcn.14002da70
mov rcx, rdi
call fcn.14002d9a0
mov rcx, rbx
call fcn.14007cec0
mov rcx, rbx
mov rdx, rsi
call fcn.140028b40
test al, al
je 0x14007788f
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x14007796e
mov rax, qword [rsi]
mov qword [rsi + 0x10], 0
mov word [rax], 0
cmp qword [rsi + 0x38], 8
jb 0x140077986
mov r12, qword [r12]
mov qword [rsi + 0x30], 0
mov word [r12], 0
mov sil, 1
jmp 0x14007799c
xor esi, esi
lea rcx, [rsp + 0x140]
call fcn.1400289c0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14011a370
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 0x14007cec0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x168], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov rsi, rcx
mov dword [rsp + 0x50], 0
cmp qword [rcx + 0x18], 7
jbe 0x14007cefe
mov rcx, qword [rsi]
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14007cfb3
mov rcx, rsi
call fcn.14002ec50
movzx eax, al
mov r8d, 5
sub r8d, eax
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14007cf34
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14007d00e
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.14002c320
mov dil, 1
test eax, eax
jle 0x14007d084
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x58]
mov r8d, 0x5d
mov r9d, 0xffffffff
mov rcx, rbx
call fcn.14002c3a0
lea rcx, [rsp + 0x60]
lea rdx, str.Scheduled_for_deletion:
call fcn.140002bb0
cmp qword [rsi + 0x18], 7
jbe 0x14007cf9b
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14002da70
mov rcx, rbx
call fcn.14002c830
jmp 0x14007d084
mov ecx, 1
call fcn.14002c2f0
test al, al
je 0x14007d082
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x58]
mov r8d, 0x3e
mov r9d, 1
mov rcx, rdi
call fcn.14002d860
lea rcx, [rsp + 0x68]
cmp qword [rsi + 0x18], 7
jbe 0x14007cffd
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.14002da70
lea rdx, str._does_not_exist.
jmp 0x14007d072
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x14007d082
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x58]
mov r8d, 0x49
mov r9d, 2
mov rcx, rdi
call fcn.14002d860
lea rcx, [rsp + 0x68]
lea rdx, str.Could_not_schedule
call fcn.140002bb0
cmp qword [rsi + 0x18], 7
jbe 0x14007d060
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14002da70
lea rdx, str._for_deletion.
mov rcx, rax
call fcn.140002bb0
mov rcx, rdi
call fcn.14002d9a0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14011a370
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007d8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.14007da40
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
lea rdi, [rsp + 0x68]
mov rdx, 0xffffffff80000002
mov r9d, 1
mov rcx, rdi
call fcn.14003aba0
mov rdi, qword [rdi]
test rdi, rdi
je 0x14007d9e1
lea r14, [rsp + 0x64]
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
mov r8, rbx
call fcn.140077230
mov rax, qword [rbx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14007d9e8
cmp eax, 0xea
jne 0x14007d9d1
mov ebx, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x14007d9ed
mov edx, dword [rsp + 0x64]
test dl, 1
jne 0x14007d9ed
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8, rbx
call fcn.140077230
mov rax, qword [rbx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14007da20
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14007d9ed
mov ebx, 0x80070002
jmp 0x14007d9f7
mov ebx, 0x80070002
lea rcx, [rsp + 0x40]
call fcn.1400771d0
lea rcx, [rsp + 0x68]
call fcn.14003ade0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011a370
mov eax, ebx
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.14007d540
mov ebx, eax
jmp 0x14007d9ed