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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004194d
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
add r9, r9
je 0x14004197c
movzx eax, byte [r8 + rcx]
xor rdx, rax
movabs r10, 0x100000001b3
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x14004195e
mov rsi, qword [r14 + 0x30]
and rsi, rdx
mov rax, qword [r14 + 8]
add rsi, rsi
mov rdi, qword [r14 + 0x18]
cmp qword [rdi + rsi*8], rax
jne 0x140041999
mov rdi, rax
jmp 0x1400419a1
mov rdi, qword [rdi + rsi*8 + 8]
mov rdi, qword [rdi]
mov rax, qword [r14 + 0x18]
cmp rdi, qword [rax + rsi*8]
je 0x140041a0d
mov rdi, qword [rdi + 8]
lea r9, [rdi + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1400419c1
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [r12 + 0x10]
xor edx, edx
mov rcx, r12
call fcn.140012c50
nop
test eax, eax
je 0x1400419e4
mov rbx, qword [rsp + 0x88]
jmp 0x1400419a1
lea rcx, [r14 + 8]
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
call fcn.140048ce4
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140041aaa
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140041a4a
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14 + 8]
jne 0x140041a67
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x140041a96
cmp rax, rdi
jne 0x140041a72
mov qword [rdx + rsi*8], rbx
jmp 0x140041a96
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x140041a96
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.140047d58
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400486e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rbx, rdx
cmp qword [r9 + 0x18], 8
mov r10, rcx
mov rdx, qword [r9 + 0x10]
jb 0x140048707
mov r9, qword [r9]
xor ecx, ecx
movabs r11, 0xcbf29ce484222325
add rdx, rdx
je 0x140048736
movzx eax, byte [r9 + rcx]
movabs rdi, 0x100000001b3
xor r11, rax
inc rcx
imul r11, rdi
cmp rcx, rdx
jb 0x140048718
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, r11
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14004876e
cmp qword [rcx + rdx*8], r8
jne 0x140048768
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004877b
mov rax, qword [r8 + 8]
jmp 0x140048761
cmp qword [rcx + rdx*8], r8
jne 0x140048780
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov r8, qword [rsp + 0x40]
lea rcx, [r10 + 8]
mov rdx, rbx
call fcn.140048ce4
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140049530
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14004955f
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x140049541
mov r15, qword [rsi + 0x30]
and r15, rcx
add r15, r15
mov rbx, qword [rsi + 0x18]
mov rbx, qword [rbx + r15*8]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x18]
cmp qword [rcx + r15*8], rax
je 0x140049587
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400495f0
lea rcx, [rbx + 0x10]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1400495a0
mov r9, qword [rdi]
jmp 0x1400495a3
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 0x10]
xor edx, edx
call fcn.140012c50
nop
test eax, eax
je 0x1400495bd
mov rbx, qword [rbx]
jmp 0x140049571
lea r9, [rbx + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1400495cf
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140012c50
nop
test eax, eax
je 0x1400495eb
mov rbx, qword [rsi + 8]
mov qword [r14], rbx
jmp 0x1400495f7
mov rax, qword [rsi + 8]
mov qword [r14], rax
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400498d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
lea rcx, [rsp + 0x60]
call fcn.140016d14
nop
mov rdx, qword [rax]
mov r9d, dword [rdx + 0xc]
mov dword [rsp + 0x34], r9d
lea rdx, [rsp + 0x34]
lea rcx, [0x140278ca8]
call fcn.14004b2d0
mov rbx, rax
call fcn.1400fd6c4
mov rcx, rax
xor r9d, r9d
mov r8, qword [rdi]
mov rdx, rbx
call fcn.1400fd97c
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140049987
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x140049987
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140049987
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
mov dword [rsp + 0x30], eax
cmp qword [rsi + 0x18], 8
jb 0x14004999e
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._s.Approximate_duration_:__d_milliseconds.
lea rcx, [rsp + 0x70]
call fcn.140049d1c
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400499cb
mov rbx, qword [rax]
lea rcx, [rbp - 0x70]
call fcn.1400f6db0
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x40], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.MonitoredScope::ExecuteUnderStopWatch
mov edx, 0x3b0
mov ecx, 0x51054a
mov r8d, 0x32
call fcn.140014654
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140007eb8
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400898a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
lea rdx, [rsp + 0x20]
call fcn.140047a4c
mov rcx, rax
cmp qword [rax + 0x18], 8
mov r9, qword [rax + 0x10]
jb 0x1400898d2
mov rcx, qword [rax]
xor r8d, r8d
movabs rbx, 0xcbf29ce484222325
add r9, r9
je 0x140089902
movzx eax, byte [r8 + rcx]
movabs r10, 0x100000001b3
xor rbx, rax
inc r8
imul rbx, r10
cmp r8, r9
jb 0x1400898e4
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.140007eb8
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140022430
add rsp, 0x50
pop rbx
ret

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

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140092ff0
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14009301f
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x140093001
mov r15, qword [rsi + 0x30]
and r15, rcx
add r15, r15
mov rbx, qword [rsi + 0x18]
mov rbx, qword [rbx + r15*8]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x18]
cmp qword [rcx + r15*8], rax
je 0x140093047
mov rax, qword [rcx + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400930b0
lea rcx, [rbx + 0x10]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140093060
mov r9, qword [rdi]
jmp 0x140093063
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 0x10]
xor edx, edx
call fcn.140012c50
nop
test eax, eax
je 0x14009307d
mov rbx, qword [rbx]
jmp 0x140093031
lea r9, [rbx + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x14009308f
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140012c50
nop
test eax, eax
je 0x1400930ab
mov rbx, qword [rsi + 8]
mov qword [r14], rbx
jmp 0x1400930b7
mov rax, qword [rsi + 8]
mov qword [r14], rax
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x140099984
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
call fcn.140045480
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140018960
nop
lea rdx, [0x140271f78]
mov rcx, qword [rax]
call fcn.1400fcca0
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400999eb
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400999eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400999eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
call fcn.140045480
lea rcx, [rax + 0x18]
xor r8d, r8d
lea rdx, [0x140272bd8]
add rsp, 0x40
pop rbx
jmp fcn.140011d58
Function at 0x1400afdf4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r14d, r14d
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
mov sil, r9b
mov dword [rsp + 0x40], r14d
mov rbx, r8
cmp rcx, 0xffffffffffffffff
je 0x1400afe9a
mov eax, 0xffffffff
cmp rbx, rax
ja 0x1400afec2
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400afef9
mov ecx, dword [rsp + 0x40]
cmp rcx, rbx
je 0x1400afe71
test sil, sil
jne 0x1400aff4b
mov eax, ecx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, str.trying_to_read_from_a_file_thats_not_open
mov edx, 0x15
lea rcx, [rsp + 0x50]
call fcn.140008aa8
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, [0x1401e5908]
mov dword [rsp + 0x50], 0x5d
lea rcx, [rsp + 0x50]
mov dword [rbp + 0x154], r14d
mov word [rbp + 0x258], r14w
mov word [rbp + 0x158], r14w
mov word [rsp + 0x54], r14w
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rsp + 0x44], ebx
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400ae6c8
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x10]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
mov edx, 0x21
lea r8, str.Failed_to_read__d_bytes_from__s._Number_of_bytes_read___d
call fcn.1400ae60c
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400aff90
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 0xffffffff
cmp qword [rsp + 0x20], rax
jg 0x1400b001b
mov edx, dword [rsp + 0x20]
mov rcx, rdi
call fcn.140022114
mov r8, qword [rdi + 8]
mov r9b, 1
sub r8, qword [rdi]
mov rcx, rbx
mov rax, r8
neg rax
sbb rdx, rdx
and rdx, qword [rdi]
call fcn.1400afdf4
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.OFile_does_not_support_reading_files_of_this_size
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140024200
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400b004c
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x3e8
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rcx, qword [rcx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1400b00a1
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400b00c9
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140022430
add rsp, 0x3e8
ret
lea r8, str.trying_to_write_to_a_file_thats_not_opened
mov edx, 0x15
lea rcx, [rsp + 0x40]
call fcn.1400ae588
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.write_to_file_failed
mov edx, 0xf
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14002f8c0
lea rdx, [0x1401e5908]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400b0734
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
lea rax, [r11 - 0x28]
mov rbp, r8
mov dword [r11 + 0x20], r14d
xor r8d, r8d
mov qword [r11 - 0x38], rax
or r9d, 0x20019
mov esi, r14d
mov edi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b0828
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b0828
mov ebx, dword [rsp + 0x78]
test ebx, ebx
je 0x1400b0828
mov eax, ebx
and eax, 1
test al, al
jne 0x1400b0828
shr ebx, 1
lea eax, [r14 + 2]
inc ebx
lea r15, [r14 - 1]
mov ecx, ebx
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140022308
mov rdi, rax
test rax, rax
je 0x1400b0828
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b0828
mov rdx, qword [rsp + 0x80]
lea eax, [rbx - 1]
xor r9d, r9d
mov word [rdi + rax*2], r14w
mov r8, r15
mov rcx, rdi
call fcn.140006f18
test eax, eax
sete sil
mov rcx, rdi
call fcn.140022300
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400b0840
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1400b09bc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r8, rdx
mov dword [rsp + 0x20], 0x20a
mov rbx, rcx
lea r9, str.AutoConvert
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.1400b066c
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140022430
add rsp, 0x460
pop rbx
ret
Function at 0x1400b0a38
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, rdx
mov dword [rsp + 0x20], 0x20a
mov rdi, rcx
lea r9, str.TreatAs
mov r8, rsi
lea rcx, [rsp + 0x30]
mov edx, 0x105
call fcn.1400b066c
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor ebx, ebx
test eax, eax
jne 0x1400b0aa9
lea eax, [rbx + 1]
jmp 0x1400b0aec
mov edx, 0x105
lea r9, str.AutoTreatAs
mov r8, rsi
lea rcx, [rsp + 0x30]
call fcn.1400b066c
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x20a
lea r8, [rsp + 0x240]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400b0b14
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rsi, r8
mov dword [rsp + 0x20], 0x20a
mov r8, rdx
mov rbx, rcx
or r15, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r14d, 0x105
mov r9, r15
mov edx, r14d
xor edi, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r9, r15
lea r8, [0x14017c6c4]
mov edx, r14d
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov r9, r15
lea r8, str.protocolStdFileEditing_server
mov edx, r14d
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rbp + 0x560]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x1400b0bc1
lea eax, [rdi + 1]
jmp 0x1400b0c32
mov rdx, rsi
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400b0c30
mov ebx, 0x104
mov word [rbp + 0x140], di
mov r8d, ebx
mov word [rbp + 0x350], di
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8d, ebx
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x8c8]
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b0c58
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rax, r9
mov dword [rsp + 0x20], 0x20a
mov rsi, r8
lea r9, str.LocalServer32
mov rbx, rcx
mov r8, rax
mov edx, 0x105
lea rcx, [rbp + 0x560]
xor edi, edi
call fcn.1400b066c
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x560]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x1400b0cd3
lea eax, [rdi + 1]
jmp 0x1400b0d3e
mov rdx, rsi
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400b0d3c
mov ebx, 0x104
mov word [rsp + 0x30], di
mov r8d, ebx
mov word [rbp + 0x350], di
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r8d, ebx
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rbp + 0x350]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x880
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e0f58
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
and qword [rbp - 0x38], 0
and qword [rbp - 0x30], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1400e1f6c
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1400e09cc
mov rdi, qword [rbp - 0x38]
cmp qword [rbp - 0x30], 0
je 0x1400e1083
mov qword [rbp + 0x30], rdi
mov rbx, qword [rdi]
mov qword [rbp + 0x38], rbx
cmp rbx, rdi
je 0x1400e1083
lea r12, vtable.OHandle.0
mov r8d, dword [rbx + 0x10]
mov dword [rbp + 0x28], r8d
lea rax, vtable.RefCounted.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0
mov qword [rbp - 0x28], r12
and qword [rbp - 0x18], 0
mov byte [rbp - 0x10], 0
mov dword [rbp - 0xc], 0x55
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call fcn.14012bba0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, str.TaskRemoveInstallation::KillProcessesRunningFromInstallDirectory___Terminating_still_running_process:__d
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x3d1787
lea r8d, [rdx + 0x24]
call fcn.14000b550
xor edx, edx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov qword [rbp - 0x28], r12
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400e1051
cmp byte [rbp - 0x10], 0
je 0x1400e1051
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400e0fc7
lea r9, str.TaskRemoveInstallation::KillProcessesRunningFromInstallDirectory:_Pausing_to_give_processes_time_to_exit.
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x3d1788
lea r8d, [rdx + 0x24]
call sub.Mso20Win32Client.dll_Ordinal_203
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rdi]
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
cmp rcx, rdi
je 0x1400e10a3
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, rdi
jne 0x1400e1092
mov rcx, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rbp
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]