Function at 0x1400bad10
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
movzx ebx, dl
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
call fcn.140196b00
test al, al
je 0x1400bb525
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
test bl, bl
je 0x1400bae75
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x20], 1
mov r9d, 0x20019
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionInfo
mov rcx, 0xffffffff80000002
call fcn.1401a5450
test al, al
je 0x1400bae11
mov rbx, qword [rsp + 0x38]
mov word [rbp + 0x140], r15w
test rbx, rbx
je 0x1400bae14
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x40]
lea r8, [rbp + 0x140]
lea rdx, str.ServiceMode
mov rcx, rbx
call fcn.1401a57d0
cmp r15w, word [rbp + 0x140]
setne dil
jmp 0x1400bae1c
mov rbx, r15
xor dil, dil
test rbx, rbx
je 0x1400bae75
mov rcx, rbx
call qword [0x14024f048]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test dil, dil
je 0x1400bae75
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400bae75
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
movabs rax, 0x19254d38000
add rax, rbx
cmp qword [rsp + 0x40], rax
jb 0x1400bb525
mov qword [rsp + 0x48], 0x2000
mov ecx, 0x2000
call fcn.1401c538c
mov r14, rax
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x30], 1
lea r12, [0x14024ff60]
mov qword [rbp - 0x70], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rbx, qword [0x14024ff98]
test rbx, rbx
je 0x1400baedd
lock inc dword [rbx + 8]
mov rbx, qword [0x14024ff98]
mov rsi, qword [0x14024ff90]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rbx
mov edi, 5
mov dword [rsp + 0x30], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
or edi, 2
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x1400baf36
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400baf36
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, r14
mov ecx, 0xfd6
call qword [case.0x14003c8e9.0]
mov esi, eax
jmp 0x1400baf3b
mov esi, 0x1b67
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x1400baf8f
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400baf8b
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400baf8b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov edi, dword [rsp + 0x30]
cmp esi, 0x1b61
jne 0x1400bb0d5
nop dword [rax + rax]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1401c538c
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x78], r14
or edi, 8
mov dword [rsp + 0x30], edi
mov qword [rbp - 0x78], r15
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
test rcx, rcx
je 0x1400bafe0
call fcn.140007ea0
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov qword [rbp - 0x48], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rbx, qword [0x14024ff98]
test rbx, rbx
je 0x1400bb019
lock inc dword [rbx + 8]
mov rbx, qword [0x14024ff98]
mov edi, dword [rsp + 0x30]
mov rsi, qword [0x14024ff90]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
or edi, 0x20
mov dword [rsp + 0x30], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and edi, 0xffffffdf
mov dword [rsp + 0x30], edi
or edi, 0x10
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x1400bb070
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400bb070
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, r14
mov ecx, 0xfd6
call qword [case.0x14003c8e9.0]
mov esi, eax
jmp 0x1400bb075
mov esi, 0x1b67
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x1400bb0c9
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bb0c5
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400bb0c5
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov edi, dword [rsp + 0x30]
cmp esi, 0x1b61
je 0x1400bafa0
cmp dword [r14], 0
je 0x1400bb1d4
add r14, 4
mov r15, qword [r14]
test r15, r15
je 0x1400bb1d1
mov qword [rbp - 0x68], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov rbx, qword [0x14024ff98]
test rbx, rbx
je 0x1400bb121
lock inc dword [rbx + 8]
mov rbx, qword [0x14024ff98]
mov edi, dword [rsp + 0x30]
mov rsi, qword [0x14024ff90]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
bts edi, 7
mov dword [rsp + 0x30], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
btr edi, 7
mov dword [rsp + 0x30], edi
or edi, 0x40
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x1400bb170
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400bb170
xor r8d, r8d
mov rdx, r15
mov ecx, 0xfd4
call qword [case.0x14003c8e9.0]
and edi, 0xffffffbf
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x1400bb1c2
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400bb1be
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400bb1be
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov edi, dword [rsp + 0x30]
add r14, 0x30
cmp dword [r14 - 4], 0
jne 0x1400bb0e3
xor r15d, r15d
lea rbx, [r13 + 0x488]
mov qword [rbp - 0x70], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r14, r15
mov rax, qword [r13 + 0x478]
sub rax, qword [r13 + 0x470]
sar rax, 4
test rax, rax
je 0x1400bb23e
mov rsi, r15
nop word [rax + rax]
mov rcx, qword [r13 + 0x470]
mov rcx, qword [rsi + rcx]
call fcn.1400e0140
inc r14
lea rsi, [rsi + 0x10]
mov rax, qword [r13 + 0x478]
sub rax, qword [r13 + 0x470]
sar rax, 4
cmp r14, rax
jb 0x1400bb210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, 1
lea rcx, [rbp - 0x20]
call fcn.14000d670
mov rsi, rax
lea rax, [0x1401ef308]
mov qword [rsp + 0x40], rax
mov rcx, rsi
call fcn.14000fb40
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14000e7b0
mov rcx, rsi
call fcn.14000e470
mov byte [rsi + 0xa0], 1
lea rdx, [0x1401f11b8]
lea rcx, [rsi + 0x20]
call fcn.14000f370
mov rax, qword [rsi + 0x20]
movsxd rcx, dword [rax + 4]
test byte [rcx + rsi + 0x30], 6
jne 0x1400bb555
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rsi
lea rdx, str._CE.rpc_api.screen_values_set_todefault
mov rcx, r13
call fcn.14000b7e0
nop
lea rcx, [rbp + 0x110]
call fcn.140002800
nop
lea rcx, [rbp + 0xf0]
call fcn.140002800
nop
lea rax, [rbp + 0x90]
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x90]
call fcn.14000b780
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.140002800
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x20], 1
mov r9d, 0x2001b
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionInfo
mov rcx, 0xffffffff80000002
call fcn.1401a5450
lea rdx, str.ServiceMode
test al, al
je 0x1400bb371
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400bb381
mov rcx, rbx
call qword [0x14024f048]
jmp 0x1400bb379
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 1
call fcn.140196c20
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x20], 1
mov r9d, 0x20019
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionInfo
mov rcx, 0xffffffff80000002
call fcn.1401a5450
test al, al
je 0x1400bb50f
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400bb50f
lea r8, [rsp + 0x38]
lea rdx, str.ShowEula
mov rcx, rsi
call fcn.1401a5610
mov ebx, dword [rsp + 0x38]
test al, al
cmove ebx, r15d
mov rcx, rsi
call qword [0x14024f048]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1400bb50f
mov ecx, 4
call fcn.1401adb30
mov rsi, rax
test rax, rax
je 0x1400bb41f
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x1400bb422
mov rsi, r15
mov qword [rbp - 0x40], rsi
mov rbx, qword [r13 + 0x7a0]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1400bb4f6
nop word [rax + rax]
mov rax, qword [rbx + 0x28]
cmp dword [rax + 0x18], 2
jne 0x1400bb4a1
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x38]
mov ecx, dword [rax]
call fcn.1401bf2f0
test eax, eax
je 0x1400bb4a1
mov r8, qword [rsp + 0x38]
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rbp - 0x60]
call fcn.140027290
nop
xor r9d, r9d
lea r8, [0x1401ef380]
mov rdx, qword [rsp + 0x38]
mov rcx, r13
call fcn.1400fe220
nop
cmp byte [rbp - 0x60], 0
jne 0x1400bb4a1
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x58]
call qword [case.0x14003c8e9.0]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400bb4cd
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400bb4c8
cmp rbx, qword [rax + 0x10]
jne 0x1400bb4c8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400bb4b5
mov rbx, rax
jmp 0x1400bb4ec
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400bb4ec
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400bb4e0
cmp byte [rbx + 0x19], 0
je 0x1400bb440
test rsi, rsi
je 0x1400bb50f
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, rsi
call qword [case.0x1401b9e8b.6]
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400bb525
call fcn.140007ea0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x38]
call fcn.14000feb0
lea rdx, [0x14024ab88]
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3