joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400542c0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r12, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r12 + 0x30]
mov rax, qword [r12 + 8]
mov r8, qword [r12 + 0x18]
lea rsi, [rdx + rdx]
add rsi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x140054353
mov rdx, qword [rdx]
mov rdi, rcx
cmp rcx, rax
je 0x140054362
mov rdi, qword [r8 + rsi*8]
mov rdi, qword [rdi]
cmp rdi, rdx
je 0x14005437b
cmp dword [rdx + 0x10], ebx
jne 0x140054350
cmp rdx, rax
je 0x14005437b
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x1400543ee
mov rsi, qword [rax]
mov r15, qword [rsi + 8]
mov ecx, 0x20
call fcn.14014b1a0
test rsi, rsi
mov rcx, r15
cmove rcx, rax
mov rdx, rsi
cmove rdx, rax
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
mov qword [rax + 0x18], 0
mov rcx, qword [r12 + 0x10]
movabs rdx, 0x7fffffffffffffe
cmp rcx, rdx
je 0x140054401
add rcx, 1
mov qword [r12 + 0x10], rcx
mov qword [rsi + 8], rax
mov qword [r15], rax
mov rax, qword [r12 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r12
mov rdx, r14
call fcn.140054410
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.14014ccf0
ud2
Function at 0x140054710
Capabilities:
Hash data using fnv

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
movzx eax, byte [r8 + 0x10]
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs r8, 0x100000001b3
imul rbx, r8
movzx edi, byte [rsi + 0x11]
xor rdi, rbx
imul rdi, r8
movzx eax, byte [rsi + 0x12]
xor rax, rdi
imul rax, r8
movzx ebx, byte [rsi + 0x13]
xor rbx, rax
imul rbx, r8
and rbx, qword [rcx + 0x30]
mov r14, rdx
lea rdx, [rbx + rbx]
mov rdi, qword [rcx + 0x18]
mov rax, rbx
shl rax, 4
lea r8, [rdi + rax]
mov rax, qword [rdi + rax]
cmp qword [rdi + rdx*8 + 8], rsi
je 0x14005478c
cmp rax, rsi
jne 0x1400547c0
mov rdx, rsi
jmp 0x1400547ba
cmp rax, rsi
je 0x14005479f
lea r8, [rdi + rdx*8]
add r8, 8
lea rdx, [rsi + 8]
jmp 0x1400547ba
mov rax, qword [rcx + 8]
mov qword [r8], rax
lea r8, [rbx + rbx]
add r8, 1
lea rdx, [rcx + 8]
shl r8, 3
add r8, qword [rcx + 0x18]
mov rax, qword [rdx]
mov qword [r8], rax
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov qword [rax + 8], rdx
add qword [rcx + 0x10], 0xffffffffffffffff
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400547f7
lock sub dword [rcx + 8], 1
jne 0x1400547f7
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.14004ef30
mov edx, 0x20
mov rcx, rsi
call fcn.14014b210
mov qword [r14], rbx
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140054de0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r12, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r12 + 0x30]
mov rax, qword [r12 + 8]
mov r8, qword [r12 + 0x18]
lea rsi, [rdx + rdx]
add rsi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x140054e73
mov rdx, qword [rdx]
mov rdi, rcx
cmp rcx, rax
je 0x140054e82
mov rdi, qword [r8 + rsi*8]
mov rdi, qword [rdi]
cmp rdi, rdx
je 0x140054e9e
cmp dword [rdx + 0x10], ebx
jne 0x140054e70
cmp rdx, rax
je 0x140054e9e
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x140054f21
mov rsi, qword [rax]
mov r15, qword [rsi + 8]
mov ecx, 0x38
call fcn.14014b1a0
test rsi, rsi
mov rcx, r15
cmove rcx, rax
mov rdx, rsi
cmove rdx, rax
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
mov ecx, 0xf
movq xmm0, rcx
pslldq xmm0, 8
movdqu xmmword [rax + 0x28], xmm0
mov byte [rax + 0x18], 0
mov rcx, qword [r12 + 0x10]
movabs rdx, 0x492492492492491
cmp rcx, rdx
je 0x140054f34
add rcx, 1
mov qword [r12 + 0x10], rcx
mov qword [rsi + 8], rax
mov qword [r15], rax
mov rax, qword [r12 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r12
mov rdx, r14
call fcn.140054f50
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.14014ccf0
ud2
Function at 0x140055280
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r12, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r12 + 0x30]
mov rax, qword [r12 + 8]
mov r8, qword [r12 + 0x18]
lea rsi, [rdx + rdx]
add rsi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x140055313
mov rdx, qword [rdx]
mov rdi, rcx
cmp rcx, rax
je 0x140055322
mov rdi, qword [r8 + rsi*8]
mov rdi, qword [rdi]
cmp rdi, rdx
je 0x14005533b
cmp dword [rdx + 0x10], ebx
jne 0x140055310
cmp rdx, rax
je 0x14005533b
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x1400553b1
mov rsi, qword [rax]
mov r15, qword [rsi + 8]
mov ecx, 0x38
call fcn.14014b1a0
test rsi, rsi
mov rcx, r15
cmove rcx, rax
mov rdx, rsi
cmove rdx, rax
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [r12 + 0x10]
movabs rdx, 0x492492492492491
cmp rcx, rdx
je 0x1400553c4
add rcx, 1
mov qword [r12 + 0x10], rcx
mov qword [rsi + 8], rax
mov qword [r15], rax
mov rax, qword [r12 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r12
mov rdx, r14
call fcn.1400553e0
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.14014ccf0
ud2
Function at 0x1400559e0
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 0x140055a02
mov r12, qword [r12]
movabs rbx, 0xcbf29ce484222325
test r15, r15
mov qword [rsp + 0x20], rdx
je 0x140055a35
movabs rax, 0x100000001b3
lea rdx, [r15 - 1]
mov r8d, r15d
and r8d, 3
cmp rdx, 3
jae 0x140055a3a
xor esi, esi
jmp 0x140055a8c
mov rdx, rbx
jmp 0x140055ab7
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 0x140055a50
mov rdx, rbx
test r8, r8
je 0x140055ab7
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 0x140055aa0
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 0x140055af8
jmp 0x140055b20
mov rdi, qword [rdi]
cmp rbp, rbx
je 0x140055b20
mov rax, qword [r13 + r14*8]
mov rax, qword [rax]
cmp rax, rdi
je 0x140055b58
cmp qword [rdi + 0x20], r15
jne 0x140055af0
cmp qword [rdi + 0x28], 0xf
jbe 0x140055b30
mov rsi, qword [rdi + 0x10]
jmp 0x140055b34
mov rax, rbx
cmp rax, rdi
jne 0x140055b05
jmp 0x140055b58
lea rsi, [rdi + 0x10]
mov rcx, rsi
mov rdx, r12
mov r8, r15
call fcn.14016f170
test eax, eax
jne 0x140055af0
mov rcx, r12
mov rdx, rsi
mov r8, r15
call fcn.14016f170
test eax, eax
je 0x140055b71
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 0x140055b60
Function at 0x140059920
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 0x14005a0a0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a38]
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 0x14005a18f
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 0x14005a18f
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x14005a18f
mov ebx, dword [rdi + 8]
mov rdi, qword [rdi]
lea rcx, [0x1401a0270]
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 0x14005a187
mov r8d, ebx
xor r9d, r9d
call rax
jmp 0x14005a18d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014b5e0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005a1c0
Capabilities:
Query or enumerate registry value

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

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

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x1401e3a38]
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 0x14005a30e
mov eax, dword [rsp + 0x4c]
or eax, 8
mov edi, 0x3f4
cmp eax, 0xb
jne 0x14005a30e
cmp dword [rsp + 0x3c], 8
jne 0x14005a30e
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1050
call fcn.14014b570
sub rsp, rax
mov rsi, r8
mov rax, qword [0x1401e3a38]
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 0x14005a470
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14005a3d1
mov edi, 0x3f4
cmp eax, 1
jne 0x14005a470
lea rcx, [rsp + 0x840]
call fcn.140186640
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14005a425
lea r9, [rsp + 0x840]
jmp 0x14005a418
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 0x14005a470
lea rcx, [rsp + 0x40]
call fcn.140186640
mov rdi, rax
mov rax, qword [rsi + 0x18]
cmp rax, rdi
jae 0x14005a445
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.140006110
jmp 0x14005a46e
mov rbx, rsi
cmp rax, 8
jb 0x14005a431
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x840]
jmp 0x14005a460
mov rbx, rsi
cmp rax, 8
jb 0x14005a451
mov rbx, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14016f270
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1048]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x1050
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005a490
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1401e3a38]
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.14014b5e0
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x14005a4f0
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 0x14005a520
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.140186640
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 0x14005a7d0
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 [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx], 0
je 0x14005a912
cmp dword [rsi + 8], 0
js 0x14005a912
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.14004b560
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 0x14005a90e
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 0x14005a8c1
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.14005acb0
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.14004b560
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 0x14005a956
lea rax, [rsi + 0x10]
cmp qword [rsi + 0x28], 8
jb 0x14005a920
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.14014b5e0
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 0x14005a937

Function at 0x14005aa60
Capabilities:
Query or enumerate registry value

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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x1401e3a38]
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 0x14005ab12
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 0x14005ab34
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.14014b5e0
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 0x14005ab19
test edx, edx
js 0x14005ab19
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 0x14005ab19
jmp 0x14005ab1f

Function at 0x14005ac30
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401e3a38]
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 0x14005ac92
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005ac92
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 0x14005ac98
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014b5e0
nop
add rsp, 0x60
pop rsi
ret
Function at 0x14005d990
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 [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401e8180]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14005daff
jp 0x14005daff
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 [0x1401e8190]
mov ecx, dword [0x1401ea448]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x18]
jg 0x14005db1e
mov eax, dword [0x1401e81a0]
mov ecx, dword [0x1401ea448]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x18]
jg 0x14005db5a
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 [0x1401e8198]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x14019a090]
subpd xmm1, xmmword [0x14019a0a0]
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 [0x14019a2b0]
ucomisd xmm1, xmm0
ja 0x14005daff
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401e8188]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x14019a090]
subpd xmm1, xmmword [0x14019a0a0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addpd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401e8180], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14014b5e0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1401e8190]
call fcn.14014b390
mov eax, dword [0x1401e8190]
cmp eax, 0xffffffff
jne 0x14005da11
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401e8188], rdx
lea rcx, [0x1401e8190]
call fcn.14014b400
jmp 0x14005da11
lea rcx, [0x1401e81a0]
call fcn.14014b390
mov eax, dword [0x1401e81a0]
cmp eax, 0xffffffff
jne 0x14005da36
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1401e8198], rax
lea rcx, [0x1401e81a0]
call fcn.14014b400
jmp 0x14005da36
Function at 0x140061940
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a38]
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 0x14006197e
mov rcx, qword [rsi]
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140061a2f
mov rcx, rsi
call fcn.140038770
movzx r8d, al
xor r8d, 5
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x1400619b0
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140061a8a
lea rcx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.14003be80
mov dil, 1
test eax, eax
jle 0x140061b00
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.14003bf00
lea rcx, [rsp + 0x68]
lea rdx, str.Scheduled_for_deletion:
call fcn.140002b70
cmp qword [rsi + 0x18], 7
jbe 0x140061a17
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14003cf40
mov rcx, rbx
call fcn.14003c3a0
jmp 0x140061b00
mov ecx, 1
call fcn.14003be50
test al, al
je 0x140061afe
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.14003cd30
lea rcx, [rsp + 0x70]
cmp qword [rsi + 0x18], 7
jbe 0x140061a79
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.14003cf40
lea rdx, str._does_not_exist.
jmp 0x140061aee
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061afe
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.14003cd30
lea rcx, [rsp + 0x70]
lea rdx, str.Could_not_schedule
call fcn.140002b70
cmp qword [rsi + 0x18], 7
jbe 0x140061adc
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14003cf40
lea rdx, str._for_deletion.
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003ce70
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret