Function at 0x140041650
Capabilities:
Check os version
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movzx r12d, dl
mov r15, rcx
xor r13d, r13d
mov dword [rbp - 0x31], r13d
mov eax, dword [0x1401aa9e8]
test al, 1
jne 0x1400416cd
or eax, 1
mov dword [0x1401aa9e8], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9f0], rax
lea rcx, [0x140109b30]
call fcn.1400c4080
nop
mov eax, dword [0x1401aa9e8]
test al, 2
jne 0x140041709
or eax, 2
mov dword [0x1401aa9e8], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9e0], rax
lea rcx, [0x140109af0]
call fcn.1400c4080
nop
mov eax, dword [0x1401aa9e8]
test al, 4
jne 0x140041745
or eax, 4
mov dword [0x1401aa9e8], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9d8], rax
lea rcx, [0x140109ab0]
call fcn.1400c4080
nop
mov eax, dword [0x1401aa9e8]
test al, 8
jne 0x14004177b
or eax, 8
mov dword [0x1401aa9e8], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9f8], rax
lea rcx, [0x140109a70]
call fcn.1400c4080
nop
mov rax, qword [0x1401aa9e0]
mov ecx, dword [rax - 0x10]
mov ebx, 1
mov rax, qword [0x1401aa9f8]
mov rdx, qword [0x1401aa4b0]
test ecx, ecx
je 0x1400417eb
mov ecx, r13d
test rdx, rdx
setne cl
test ecx, ecx
jne 0x1400417b4
mov ecx, 0x80004005
call fcn.140001930
int3
mov rcx, rax
mov r9, rdx
sub r9, rax
nop dword [rax]
movzx r8d, word [rcx]
cmp r8w, word [rcx + r9]
jne 0x1400417da
add rcx, 2
test r8w, r8w
jne 0x1400417c0
mov ecx, r13d
jmp 0x1400417de
sbb ecx, ecx
or ecx, ebx
test ecx, ecx
setne cl
test cl, cl
je 0x140042613
lea rcx, [rdx - 0x18]
lea rbx, [rax - 0x18]
cmp rcx, rbx
je 0x14004183f
cmp dword [rbx + 0x10], 0
jl 0x14004182f
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14004182f
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041822
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aa9f8], rax
jmp 0x14004183f
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9f8]
call fcn.140002240
mov rax, qword [0x1401aa9f0]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004189f
cmp dword [rdx + 0x10], 0
jge 0x14004187b
cmp dword [rax - 0xc], 0
jge 0x14004186a
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aa9f0]
mov word [rax], r13w
jmp 0x14004189f
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004188b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9f0], rax
mov rax, qword [0x1401aa9e0]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041906
cmp dword [rdx + 0x10], 0
jge 0x1400418e2
cmp dword [rax - 0xc], 0
jge 0x1400418ca
mov ecx, 0x80070057
call fcn.140001930
int3
mov rax, qword [0x1401aa9e0]
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aa9e0]
mov word [rax], r13w
jmp 0x140041906
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400418f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9e0], rax
mov rax, qword [0x1401aa9d8]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041966
cmp dword [rdx + 0x10], 0
jge 0x140041942
cmp dword [rax - 0xc], 0
jge 0x140041931
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aa9d8]
mov word [rax], r13w
jmp 0x140041966
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041952
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9d8], rax
mov r14d, r13d
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x39], rbx
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Volatile_Environment
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041d28
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041ccb
mov dword [rbp + 0x77], 0x104
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x140041a2e
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002330
mov rbx, qword [rbp - 0x39]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041a84
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400c44a0
test eax, eax
js 0x140041a79
cmp eax, dword [rbx - 0xc]
jg 0x140041a79
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
jmp 0x140041ad3
mov ecx, 0x80070057
call fcn.140001930
int3
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041ad3
cmp dword [rdx + 0x10], 0
jge 0x140041ab2
cmp dword [rbx - 0xc], 0
jge 0x140041aa8
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140041ad3
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041ac2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x39], rbx
mov dword [rbp + 0x77], 0x104
mov rax, qword [0x1401aa9f0]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x82
or ecx, edx
jge 0x140041b0e
mov edx, 0x82
lea rcx, [0x1401aa9f0]
call fcn.140002330
mov rax, qword [0x1401aa9f0]
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.Local_AppData
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041b77
mov rcx, qword [0x1401aa9f0]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400c44a0
test eax, eax
js 0x140041b6c
mov rcx, qword [0x1401aa9f0]
cmp eax, dword [rcx - 0xc]
jg 0x140041b6c
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [0x1401aa9f0]
mov word [rax + rcx*2], r13w
jmp 0x140041bdb
mov ecx, 0x80070057
call fcn.140001930
int3
mov rax, qword [0x1401aa9f0]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041bdb
cmp dword [rdx + 0x10], 0
jge 0x140041bb3
cmp dword [rax - 0xc], 0
jge 0x140041ba2
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aa9f0]
mov word [rax], r13w
jmp 0x140041bdb
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041bc3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aa9f0], rax
mov rbx, qword [rbp - 0x39]
mov dword [rbp + 0x77], 0x104
mov rax, qword [rbp - 0x49]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x140041c08
mov edx, 0x82
lea rcx, [rbp - 0x49]
call fcn.140002330
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp - 0x49]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041c62
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.1400c44a0
test eax, eax
js 0x140041c57
cmp eax, dword [rdi - 0xc]
jg 0x140041c57
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
jmp 0x140041cbf
mov ecx, 0x80070057
call fcn.140001930
int3
mov rdx, qword [0x1401aa9f0]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x49]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140041cbf
cmp dword [rdi + 0x10], 0
jl 0x140041cb2
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140041cb2
call fcn.140002390
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140041ca4
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rbp - 0x49], rax
mov rbx, qword [rbp - 0x39]
jmp 0x140041cbf
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140002240
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140041d28
mov rdx, qword [0x1401aa9f0]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x49]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140041d28
cmp dword [rdi + 0x10], 0
jl 0x140041d1b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140041d1b
call fcn.140002390
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140041d0d
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rbp - 0x49], rax
mov rbx, qword [rbp - 0x39]
jmp 0x140041d28
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140002240
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr ax, 8
movzx edx, al
cmp ecx, 6
ja 0x140041d4c
jne 0x140041f49
cmp edx, 1
jbe 0x140041f49
mov dil, 1
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMain
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041e3e
mov dword [rbp + 0x77], 0x104
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x140041daa
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002330
mov rbx, qword [rbp - 0x39]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.Isolation
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041e2b
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400c44a0
test eax, eax
js 0x140041e20
cmp eax, dword [rbx - 0xc]
jg 0x140041e20
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
xor dil, dil
cmp dword [rbx - 0x10], 0
jl 0x140041e2b
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400c4670
test rax, rax
je 0x140041e2b
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140041e2b
lea r14d, [rax + 1]
jmp 0x140041e2b
mov ecx, 0x80070057
call fcn.140001930
int3
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140041f4f
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerAdvancedOptionsCRYPTOPROTECTEDMODESECURITY
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041f49
mov dword [rbp + 0x77], 0x104
mov edi, 1
mov ecx, edi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x140041e9b
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002330
mov rbx, qword [rbp - 0x39]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x7f]
xor r8d, r8d
lea rdx, str.DefaultValue
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400c44a0
test eax, eax
js 0x140041f3e
cmp eax, dword [rbx - 0xc]
jg 0x140041f3e
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx - 0x10], 0
jl 0x140041f10
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400c4670
test rax, rax
je 0x140041f10
sub rax, rbx
sar rax, 1
test eax, eax
cmove r14d, edi
mov eax, dword [0x1401a9d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
cmp ecx, 4
jne 0x140041f4f
dec dword [0x1401aa4d8]
jmp 0x140041f4f
mov ecx, 0x80070057
call fcn.140001930
int3
mov r14d, 1
lea rdi, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
cmp qword [0x1401a4d48], 0xffffffff80000002
jne 0x140042027
mov rdx, qword [0x1401aa4b0]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aa9e0]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140041fc9
cmp dword [rbx + 0x10], 0
jl 0x140041fb9
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041fb9
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041fac
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aa9e0], rax
jmp 0x140041fc9
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9e0]
call fcn.140002240
mov rcx, qword [rbp - 0x49]
add rcx, 0xffffffffffffffe8
mov rbx, qword [0x1401aa9f0]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400421e8
cmp dword [rbx + 0x10], 0
jl 0x1400420db
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400420db
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140042017
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aa9f0], rax
jmp 0x1400421e8
test r14d, r14d
je 0x1400420f7
call fcn.140041430
test al, al
je 0x140041f67
cmp byte [0x1401a9ea4], 0
jne 0x140041f67
lea rdx, str.Software_
lea rcx, [rbp + 0xf]
call fcn.140002090
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aa9e0]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400420ba
cmp dword [rbx + 0x10], 0
jl 0x1400420a9
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400420a9
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14004209c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aa9e0], rax
jmp 0x1400420ba
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9e0]
call fcn.140002240
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041fc9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140041fc9
mov rdi, qword [rbp - 0x49]
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [0x1401aa9f0]
call fcn.140002240
jmp 0x1400421e8
call fcn.140041480
test al, al
jne 0x140042119
mov r8d, 0x1e
lea rdx, str.Packageswindows_ie_ac_001AC
lea rcx, [0x1401aa9f0]
call fcn.14000f920
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x19], rbx
test rdi, 0xffffffffffff0000
jne 0x14004215b
movzx edi, di
mov ecx, edi
call fcn.1400019f0
test rax, rax
je 0x140042171
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140002530
jmp 0x14004216d
mov r8d, 0x7a
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.140002240
mov rbx, qword [rbp - 0x19]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aa9e0]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x1400421d5
cmp dword [r14 + 0x10], 0
jl 0x1400421c1
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x1400421c1
mov rcx, rdi
call fcn.140002390
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x1400421b4
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aa9e0], rax
jmp 0x1400421d5
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aa9e0]
call fcn.140002240
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x1400421e8
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1401aa9e0]
cmp dword [rcx - 0x10], 0
jl 0x140042286
lea rdx, str.windows_ie_ac_001
call fcn.1400c4670
test rax, rax
je 0x140042286
sub rax, qword [0x1401aa9e0]
sar rax, 1
test eax, eax
jle 0x140042286
mov rdx, qword [0x1401aa4b0]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aa9d8]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140042475
cmp dword [rbx + 0x10], 0
jl 0x140042271
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140042271
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140042261
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aa9d8], rax
jmp 0x140042475
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9d8]
call fcn.140002240
jmp 0x140042475
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov r9d, eax
mov ecx, dword [0x1401a9d80]
lea r8d, [rcx + 1]
imul r8d, ecx
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xe
sub r8d, edx
cmp r8d, 8
jne 0x1400422c4
inc dword [0x1401aa4a8]
cmp r9b, 6
jae 0x1400423a2
cmp byte [0x1401a9ea4], 0
jne 0x1400423a2
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x21], rbx
lea rax, str.Software_
test rax, 0xffffffffffff0000
jne 0x140042323
movzx edi, ax
mov ecx, edi
call fcn.1400019f0
test rax, rax
je 0x140042339
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002530
jmp 0x140042335
mov r8d, 9
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002240
mov rbx, qword [rbp - 0x21]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aa9d8]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x14004239d
cmp dword [r14 + 0x10], 0
jl 0x140042389
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x140042389
mov rcx, rdi
call fcn.140002390
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x14004237c
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aa9d8], rax
jmp 0x14004239d
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aa9d8]
call fcn.140002240
nop
jmp 0x140042462
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x29], rbx
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
test rdx, 0xffffffffffff0000
jne 0x1400423eb
movzx edi, dx
mov ecx, edi
call fcn.1400019f0
test rax, rax
je 0x1400423fe
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140002530
jmp 0x1400423fa
mov r8d, 0x7a
lea rcx, [rbp - 0x29]
call fcn.140002240
mov rbx, qword [rbp - 0x29]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aa9d8]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x140042462
cmp dword [r14 + 0x10], 0
jl 0x14004244e
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x14004244e
mov rcx, rdi
call fcn.140002390
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x140042441
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aa9d8], rax
jmp 0x140042462
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aa9d8]
call fcn.140002240
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140042475
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [0x1401a4d48]
cmp rbx, 0xffffffff80000002
je 0x140042501
cmp byte [0x1401a4c12], 0
je 0x140042501
lea rcx, [rbp - 1]
call fcn.1400412c0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9e0]
call fcn.14000f920
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400424c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 7]
call fcn.1400412c0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aa9d8]
call fcn.14000f920
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400424fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [0x1401a4d48]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [0x1401aa9e0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140042561
mov qword [rsp + 0x40], r13
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1401aa9e0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14004256b
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [0x1401a4d48]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [0x1401aa9d8]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400425d2
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1401aa9d8]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400425dd
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400425f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004260e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, 1
test r12b, r12b
je 0x140042631
mov rcx, qword [0x1401aa9d8]
add rcx, 0xffffffffffffffe8
call fcn.140002390
add rax, 0x18
mov qword [r15], rax
jmp 0x140042648
mov rcx, qword [0x1401aa9e0]
add rcx, 0xffffffffffffffe8
call fcn.140002390
add rax, 0x18
mov qword [r15], rax
mov dword [rbp - 0x31], ebx
mov rax, r15
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret