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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11700]
mov eax, 0x11800
call fcn.1400d3380
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x11838], rbx
mov qword [rsp + 0x11840], rsi
mov qword [rsp + 0x11848], rdi
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rbp + 0x116f0], rax
movzx r12d, dl
mov r15, rcx
mov qword [rbp - 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x74], r13d
mov eax, dword [0x1401c6a70]
test al, 1
jne 0x140047185
or eax, 1
mov dword [0x1401c6a70], eax
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401c6a78], rax
lea rcx, [0x140120f50]
call fcn.1400ce9e0
nop
mov eax, dword [0x1401c6a70]
test al, 2
jne 0x1400471c1
or eax, 2
mov dword [0x1401c6a70], eax
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401c6a68], rax
lea rcx, [0x140120f10]
call fcn.1400ce9e0
nop
mov eax, dword [0x1401c6a70]
test al, 4
jne 0x1400471fd
or eax, 4
mov dword [0x1401c6a70], eax
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401c6a60], rax
lea rcx, [0x140120ed0]
call fcn.1400ce9e0
nop
mov eax, dword [0x1401c6a70]
test al, 8
jne 0x140047233
or eax, 8
mov dword [0x1401c6a70], eax
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401c6a80], rax
lea rcx, [0x140120e90]
call fcn.1400ce9e0
nop
mov rax, qword [0x1401c6a68]
mov ecx, dword [rax - 0x10]
mov rax, qword [0x1401c6a80]
mov rdx, qword [0x1401c5e78]
test ecx, ecx
je 0x14004729c
mov ecx, r13d
test rdx, rdx
setne cl
test ecx, ecx
jne 0x140047267
mov ecx, 0x80004005
call fcn.140001920
int3
mov rcx, rax
mov r9, rdx
sub r9, rax
movzx r8d, word [rcx]
cmp r8w, word [rcx + r9]
jne 0x14004728a
add rcx, 2
test r8w, r8w
jne 0x140047270
mov ecx, r13d
jmp 0x14004728f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x140048196
lea rcx, [rdx - 0x18]
lea rbx, [rax - 0x18]
or r14, 0xffffffffffffffff
cmp rcx, rbx
je 0x1400472f4
cmp dword [rbx + 0x10], 0
jl 0x1400472e4
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400472e4
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], r14d
jg 0x1400472d7
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401c6a80], rax
jmp 0x1400472f4
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a80]
call fcn.1400022b0
mov rax, qword [0x1401c6a78]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140047354
cmp dword [rdx + 0x10], 0
jge 0x140047330
cmp dword [rax - 0xc], 0
jge 0x14004731f
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401c6a78]
mov word [rax], r13w
jmp 0x140047354
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047340
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 [0x1401c6a78], rax
mov rax, qword [0x1401c6a68]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400473bb
cmp dword [rdx + 0x10], 0
jge 0x140047397
cmp dword [rax - 0xc], 0
jge 0x14004737f
mov ecx, 0x80070057
call fcn.140001920
int3
mov rax, qword [0x1401c6a68]
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401c6a68]
mov word [rax], r13w
jmp 0x1400473bb
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400473a7
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 [0x1401c6a68], rax
mov rax, qword [0x1401c6a60]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004741b
cmp dword [rdx + 0x10], 0
jge 0x1400473f7
cmp dword [rax - 0xc], 0
jge 0x1400473e6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401c6a60]
mov word [rax], r13w
jmp 0x14004741b
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047407
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 [0x1401c6a60], rax
mov esi, r13d
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
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 0x140047801
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x60]
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 0x1400477a0
mov dword [rsp + 0x50], 0x104
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x1400474eb
mov edx, 0x82
lea rcx, [rsp + 0x68]
call fcn.1400023a0
mov rbx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047544
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400cedf8
test eax, eax
js 0x140047539
cmp eax, dword [rbx - 0xc]
jg 0x140047539
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
jmp 0x140047594
mov ecx, 0x80070057
call fcn.140001920
int3
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140047594
cmp dword [rdx + 0x10], 0
jge 0x140047572
cmp dword [rbx - 0xc], 0
jge 0x140047568
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140047594
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047582
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 [rsp + 0x68], rbx
mov dword [rsp + 0x50], 0x104
mov rax, qword [0x1401c6a78]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x82
or ecx, edx
jge 0x1400475d0
mov edx, 0x82
lea rcx, [0x1401c6a78]
call fcn.1400023a0
mov rax, qword [0x1401c6a78]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.Local_AppData
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004763f
mov rcx, qword [0x1401c6a78]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400cedf8
mov rcx, rax
test eax, eax
js 0x140047634
mov rax, qword [0x1401c6a78]
cmp ecx, dword [rax - 0xc]
jg 0x140047634
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [0x1401c6a78]
mov word [rax + rcx*2], r13w
jmp 0x1400476a4
mov ecx, 0x80070057
call fcn.140001920
int3
mov rax, qword [0x1401c6a78]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400476a4
cmp dword [rdx + 0x10], 0
jge 0x14004767b
cmp dword [rax - 0xc], 0
jge 0x14004766a
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401c6a78]
mov word [rax], r13w
jmp 0x1400476a4
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004768b
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 [0x1401c6a78], rax
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x50], 0x104
mov rax, qword [rsp + 0x58]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x1400476d4
mov edx, 0x82
lea rcx, [rsp + 0x58]
call fcn.1400023a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.A520A1A4_1780_4FF6_BD18_167343C5AF16
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047732
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.1400cedf8
test eax, eax
js 0x140047727
cmp eax, dword [rdi - 0xc]
jg 0x140047727
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
jmp 0x140047793
mov ecx, 0x80070057
call fcn.140001920
int3
mov rdx, qword [0x1401c6a78]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140047793
cmp dword [rdi + 0x10], 0
jl 0x140047785
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140047785
call fcn.140002400
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140047775
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x68]
jmp 0x140047793
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400022b0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140047801
mov rdx, qword [0x1401c6a78]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140047801
cmp dword [rdi + 0x10], 0
jl 0x1400477f3
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400477f3
call fcn.140002400
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x1400477e3
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x68]
jmp 0x140047801
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400022b0
call fcn.140046e00
test al, al
je 0x140047ac5
mov dil, 1
lea rax, [rsp + 0x60]
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 0x140047936
mov eax, dword [0x1401c4d60]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
cmp ecx, 7
jne 0x14004786f
dec dword [0x1401c5e00]
mov dword [rsp + 0x50], 0x104
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x14004789f
mov edx, 0x82
lea rcx, [rsp + 0x68]
call fcn.1400023a0
mov rbx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.Isolation
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047922
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400cedf8
test eax, eax
js 0x140047917
cmp eax, dword [rbx - 0xc]
jg 0x140047917
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
xor dil, dil
cmp dword [rbx - 0x10], 0
jl 0x140047922
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400cefc8
test rax, rax
je 0x140047922
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140047922
lea esi, [rax + 1]
jmp 0x140047922
mov ecx, 0x80070057
call fcn.140001920
int3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140047aca
lea rax, [rsp + 0x60]
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 0x140047ac5
mov dword [rsp + 0x50], 0x104
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x82
or eax, ecx
jge 0x140047995
mov edx, 0x82
lea rcx, [rsp + 0x68]
call fcn.1400023a0
mov rbx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.DefaultValue
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1401c4d60]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 5
jne 0x140047a6a
mov word [rbp - 0x30], r13w
xor edx, edx
mov r8d, 0x11710
lea rcx, [rbp - 0x2e]
call fcn.1400d3710
mov r10, r13
mov r9, r14
nop dword [rax]
mov r8, r13
test r10, r10
je 0x140047a3e
test r8, r8
je 0x140047a3e
lea rcx, [r8 + r9]
lea rax, [r8 + r9]
movzx edx, word [rbp + rcx*2 - 0x1a8]
inc dx
add dx, word [rbp + rax*2 - 0x30]
lea rax, [r8 + r9]
mov word [rbp + rax*2 - 0x2e], dx
inc r8
cmp r8, 0xbd
jl 0x140047a13
inc r10
add r9, 0xbd
cmp r9, 0x8b88
jl 0x140047a10
movsx eax, word [rbp + 0x116e0]
mov dword [0x1401c4d60], eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400cedf8
test eax, eax
js 0x140047aba
cmp eax, dword [rbx - 0xc]
jg 0x140047aba
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx - 0x10], 0
jl 0x140047aca
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400cefc8
test rax, rax
je 0x140047aca
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140047aca
jmp 0x140047ac5
mov ecx, 0x80070057
call fcn.140001920
int3
mov esi, 1
lea rdi, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
cmp qword [0x1401bfd48], 0xffffffff80000002
jne 0x140047ba3
mov rdx, qword [0x1401c5e78]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401c6a68]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140047b44
cmp dword [rbx + 0x10], 0
jl 0x140047b34
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140047b34
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140047b27
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401c6a68], rax
jmp 0x140047b44
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a68]
call fcn.1400022b0
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
mov rbx, qword [0x1401c6a78]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140047d62
cmp dword [rbx + 0x10], 0
jl 0x140047c56
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140047c56
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140047b93
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401c6a78], rax
jmp 0x140047d62
test esi, esi
je 0x140047c73
call fcn.140046eb0
test al, al
je 0x140047ae2
cmp byte [0x1401c4e84], 0
jne 0x140047ae2
lea rdx, str.Software_
lea rcx, [rbp - 0x60]
call fcn.140002100
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401c6a68]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140047c35
cmp dword [rbx + 0x10], 0
jl 0x140047c24
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140047c24
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140047c17
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401c6a68], rax
jmp 0x140047c35
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a68]
call fcn.1400022b0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047b44
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140047b44
mov rdi, qword [rsp + 0x58]
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [0x1401c6a78]
call fcn.1400022b0
jmp 0x140047d62
call fcn.140046f10
test al, al
jne 0x140047c95
mov r8d, 0x1e
lea rdx, str.Packageswindows_ie_ac_001AC
lea rcx, [0x1401c6a78]
call fcn.140010150
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x80], rbx
test rdi, 0xffffffffffff0000
jne 0x140047cd7
movzx edi, di
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140047ced
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400025a0
jmp 0x140047ce9
mov r8d, 0x7a
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400022b0
mov rbx, qword [rbp - 0x80]
lea rdi, [rbx - 0x18]
mov rsi, qword [0x1401c6a68]
add rsi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x140047d4f
cmp dword [rsi + 0x10], 0
jl 0x140047d3b
mov rax, qword [rsi]
cmp qword [rdi], rax
jne 0x140047d3b
mov rcx, rdi
call fcn.140002400
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140047d2e
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401c6a68], rax
jmp 0x140047d4f
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401c6a68]
call fcn.1400022b0
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140047d62
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1401c6a68]
cmp dword [rcx - 0x10], 0
jl 0x140047e00
lea rdx, str.windows_ie_ac_001
call fcn.1400cefc8
test rax, rax
je 0x140047e00
sub rax, qword [0x1401c6a68]
sar rax, 1
test eax, eax
jle 0x140047e00
mov rdx, qword [0x1401c5e78]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401c6a60]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140047ffb
cmp dword [rbx + 0x10], 0
jl 0x140047deb
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140047deb
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140047ddb
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401c6a60], rax
jmp 0x140047ffb
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a60]
call fcn.1400022b0
jmp 0x140047ffb
mov r8d, dword [0x1401c4d60]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 7
jne 0x140047e33
inc r8d
mov dword [0x1401c4d60], r8d
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ebx, al
call fcn.140046bc0
test al, al
jne 0x140047e4b
dec dword [0x1401c4d60]
cmp ebx, 6
jae 0x140047f26
cmp byte [0x1401c4e84], 0
jne 0x140047f26
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x78], rbx
lea rax, str.Software_
test rax, 0xffffffffffff0000
jne 0x140047ea9
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140047ebf
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400025a0
jmp 0x140047ebb
mov r8d, 9
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400022b0
mov rbx, qword [rbp - 0x78]
lea rdi, [rbx - 0x18]
mov rsi, qword [0x1401c6a60]
add rsi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x140047f21
cmp dword [rsi + 0x10], 0
jl 0x140047f0d
mov rax, qword [rsi]
cmp qword [rdi], rax
jne 0x140047f0d
mov rcx, rdi
call fcn.140002400
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140047f00
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401c6a60], rax
jmp 0x140047f21
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401c6a60]
call fcn.1400022b0
nop
jmp 0x140047fe8
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x78], rbx
lea rdx, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
test rdx, 0xffffffffffff0000
jne 0x140047f71
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140047f86
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400025a0
jmp 0x140047f81
mov r8d, 0x7a
lea rcx, [rsp + 0x78]
call fcn.1400022b0
mov rbx, qword [rsp + 0x78]
lea rdi, [rbx - 0x18]
mov rsi, qword [0x1401c6a60]
add rsi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x140047fe8
cmp dword [rsi + 0x10], 0
jl 0x140047fd4
mov rax, qword [rsi]
cmp qword [rdi], rax
jne 0x140047fd4
mov rcx, rdi
call fcn.140002400
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140047fc7
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401c6a60], rax
jmp 0x140047fe8
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401c6a60]
call fcn.1400022b0
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140047ffb
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [0x1401bfd48]
cmp rbx, 0xffffffff80000002
je 0x140048087
cmp byte [0x1401bfc12], 0
je 0x140048087
lea rcx, [rbp - 0x58]
call fcn.140046c70
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a68]
call fcn.140010150
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004804a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x50]
call fcn.140046c70
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401c6a60]
call fcn.140010150
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048080
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [0x1401bfd48]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [0x1401c6a68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400480e7
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x70]
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 [0x1401c6a68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400480f1
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [0x1401bfd48]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [0x1401c6a60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048158
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x68]
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 [0x1401c6a60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140048163
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004817d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048196
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12b, r12b
je 0x1400481b4
mov rcx, qword [0x1401c6a60]
add rcx, 0xffffffffffffffe8
call fcn.140002400
add rax, 0x18
mov qword [r15], rax
jmp 0x1400481cb
mov rcx, qword [0x1401c6a68]
add rcx, 0xffffffffffffffe8
call fcn.140002400
add rax, 0x18
mov qword [r15], rax
mov dword [rsp + 0x74], 1
mov rax, r15
mov rcx, qword [rbp + 0x116f0]
xor rcx, rsp
call fcn.1400ce2d0
lea r11, [rsp + 0x11800]
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