Function at 0x140041160
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 [0x1401aaa58]
test al, 1
jne 0x1400411dd
or eax, 1
mov dword [0x1401aaa58], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aaa60], rax
lea rcx, [0x140108e40]
call fcn.1400c2f20
nop
mov eax, dword [0x1401aaa58]
test al, 2
jne 0x140041219
or eax, 2
mov dword [0x1401aaa58], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aaa50], rax
lea rcx, [0x140108e00]
call fcn.1400c2f20
nop
mov eax, dword [0x1401aaa58]
test al, 4
jne 0x140041255
or eax, 4
mov dword [0x1401aaa58], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aaa48], rax
lea rcx, [0x140108dc0]
call fcn.1400c2f20
nop
mov eax, dword [0x1401aaa58]
test al, 8
jne 0x14004128b
or eax, 8
mov dword [0x1401aaa58], eax
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1401aaa68], rax
lea rcx, [0x140108d80]
call fcn.1400c2f20
nop
mov rax, qword [0x1401aaa50]
mov ecx, dword [rax - 0x10]
mov rax, qword [0x1401aaa68]
mov rdx, qword [0x1401aa4d0]
test ecx, ecx
je 0x1400412fc
mov ecx, r13d
test rdx, rdx
setne cl
test ecx, ecx
jne 0x1400412bf
mov ecx, 0x80004005
call fcn.140001920
int3
mov rcx, rax
mov r9, rdx
sub r9, rax
nop dword [rax + rax]
movzx r8d, word [rcx]
cmp r8w, word [rcx + r9]
jne 0x1400412ea
add rcx, 2
test r8w, r8w
jne 0x1400412d0
mov ecx, r13d
jmp 0x1400412ef
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x1400420da
lea rcx, [rdx - 0x18]
lea rbx, [rax - 0x18]
cmp rcx, rbx
je 0x140041350
cmp dword [rbx + 0x10], 0
jl 0x140041340
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041340
call fcn.1400025b0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041333
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aaa68], rax
jmp 0x140041350
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa68]
call fcn.140002460
mov rax, qword [0x1401aaa60]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400413b0
cmp dword [rdx + 0x10], 0
jge 0x14004138c
cmp dword [rax - 0xc], 0
jge 0x14004137b
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aaa60]
mov word [rax], r13w
jmp 0x1400413b0
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004139c
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 [0x1401aaa60], rax
mov rax, qword [0x1401aaa50]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041417
cmp dword [rdx + 0x10], 0
jge 0x1400413f3
cmp dword [rax - 0xc], 0
jge 0x1400413db
mov ecx, 0x80070057
call fcn.140001920
int3
mov rax, qword [0x1401aaa50]
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aaa50]
mov word [rax], r13w
jmp 0x140041417
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041403
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 [0x1401aaa50], rax
mov rax, qword [0x1401aaa48]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140041477
cmp dword [rdx + 0x10], 0
jge 0x140041453
cmp dword [rax - 0xc], 0
jge 0x140041442
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aaa48]
mov word [rax], r13w
jmp 0x140041477
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041463
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 [0x1401aaa48], 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 0x140041839
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 0x1400417dc
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 0x14004153f
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002550
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 0x140041595
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400c3494
test eax, eax
js 0x14004158a
cmp eax, dword [rbx - 0xc]
jg 0x14004158a
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
jmp 0x1400415e4
mov ecx, 0x80070057
call fcn.140001920
int3
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400415e4
cmp dword [rdx + 0x10], 0
jge 0x1400415c3
cmp dword [rbx - 0xc], 0
jge 0x1400415b9
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x1400415e4
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400415d3
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 [0x1401aaa60]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x82
or ecx, edx
jge 0x14004161f
mov edx, 0x82
lea rcx, [0x1401aaa60]
call fcn.140002550
mov rax, qword [0x1401aaa60]
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 0x140041688
mov rcx, qword [0x1401aaa60]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400c3494
test eax, eax
js 0x14004167d
mov rcx, qword [0x1401aaa60]
cmp eax, dword [rcx - 0xc]
jg 0x14004167d
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [0x1401aaa60]
mov word [rax + rcx*2], r13w
jmp 0x1400416ec
mov ecx, 0x80070057
call fcn.140001920
int3
mov rax, qword [0x1401aaa60]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400416ec
cmp dword [rdx + 0x10], 0
jge 0x1400416c4
cmp dword [rax - 0xc], 0
jge 0x1400416b3
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x1401aaa60]
mov word [rax], r13w
jmp 0x1400416ec
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400416d4
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 [0x1401aaa60], 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 0x140041719
mov edx, 0x82
lea rcx, [rbp - 0x49]
call fcn.140002550
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 0x140041773
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.1400c3494
test eax, eax
js 0x140041768
cmp eax, dword [rdi - 0xc]
jg 0x140041768
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
jmp 0x1400417d0
mov ecx, 0x80070057
call fcn.140001920
int3
mov rdx, qword [0x1401aaa60]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x49]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1400417d0
cmp dword [rdi + 0x10], 0
jl 0x1400417c3
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400417c3
call fcn.1400025b0
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x1400417b5
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 0x1400417d0
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140002460
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140041839
mov rdx, qword [0x1401aaa60]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x49]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140041839
cmp dword [rdi + 0x10], 0
jl 0x14004182c
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14004182c
call fcn.1400025b0
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x14004181e
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 0x140041839
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140002460
call fcn.140040e80
test al, al
je 0x140041a13
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 0x140041938
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 0x1400418a4
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002550
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 0x140041925
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400c3494
test eax, eax
js 0x14004191a
cmp eax, dword [rbx - 0xc]
jg 0x14004191a
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
xor dil, dil
cmp dword [rbx - 0x10], 0
jl 0x140041925
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400c3664
test rax, rax
je 0x140041925
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140041925
lea r14d, [rax + 1]
jmp 0x140041925
mov ecx, 0x80070057
call fcn.140001920
int3
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140041a19
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 0x140041a13
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 0x140041993
mov edx, 0x82
lea rcx, [rbp - 0x39]
call fcn.140002550
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.1400c3494
test eax, eax
js 0x140041a08
cmp eax, dword [rbx - 0xc]
jg 0x140041a08
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 0x140041a19
lea rdx, str.PMIL
mov rcx, rbx
call fcn.1400c3664
test rax, rax
je 0x140041a19
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140041a19
jmp 0x140041a13
mov ecx, 0x80070057
call fcn.140001920
int3
mov r14d, 1
lea rdi, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
cmp qword [0x1401a4d48], 0xffffffff80000002
jne 0x140041af1
mov rdx, qword [0x1401aa4d0]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aaa50]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140041a93
cmp dword [rbx + 0x10], 0
jl 0x140041a83
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041a83
call fcn.1400025b0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041a76
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aaa50], rax
jmp 0x140041a93
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa50]
call fcn.140002460
mov rcx, qword [rbp - 0x49]
add rcx, 0xffffffffffffffe8
mov rbx, qword [0x1401aaa60]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140041cee
cmp dword [rbx + 0x10], 0
jl 0x140041ba6
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041ba6
call fcn.1400025b0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041ae1
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aaa60], rax
jmp 0x140041cee
test r14d, r14d
je 0x140041bc2
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x140041a31
cmp byte [0x1401a9ea4], 0
jne 0x140041a31
lea rdx, str.Software_
lea rcx, [rbp + 0xf]
call fcn.1400022a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aaa50]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140041b85
cmp dword [rbx + 0x10], 0
jl 0x140041b74
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041b74
call fcn.1400025b0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041b67
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aaa50], rax
jmp 0x140041b85
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa50]
call fcn.140002460
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041a93
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140041a93
mov rdi, qword [rbp - 0x49]
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [0x1401aaa60]
call fcn.140002460
jmp 0x140041cee
call fcn.140040f90
test al, al
jne 0x140041be4
mov r8d, 0x1e
lea rdx, str.Packageswindows_ie_ac_001AC
lea rcx, [0x1401aaa60]
call fcn.14000f520
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x19], rbx
test rdi, 0xffffffffffff0000
jne 0x140041c26
movzx edi, di
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140041c3c
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140002750
jmp 0x140041c38
mov r8d, 0x7a
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.140002460
mov rbx, qword [rbp - 0x19]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aaa50]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x140041ca0
cmp dword [r14 + 0x10], 0
jl 0x140041c8c
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x140041c8c
mov rcx, rdi
call fcn.1400025b0
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x140041c7f
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aaa50], rax
jmp 0x140041ca0
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aaa50]
call fcn.140002460
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140041cb3
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [0x1401a9d80]
imul ecx, ecx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 7
jne 0x140041cee
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov rcx, qword [0x1401aaa50]
cmp dword [rcx - 0x10], 0
jl 0x140041d8c
lea rdx, str.windows_ie_ac_001
call fcn.1400c3664
test rax, rax
je 0x140041d8c
sub rax, qword [0x1401aaa50]
sar rax, 1
test eax, eax
jle 0x140041d8c
mov rdx, qword [0x1401aa4d0]
lea rcx, [rdx - 0x18]
mov rbx, qword [0x1401aaa48]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140041f41
cmp dword [rbx + 0x10], 0
jl 0x140041d77
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140041d77
call fcn.1400025b0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140041d67
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [0x1401aaa48], rax
jmp 0x140041f41
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa48]
call fcn.140002460
jmp 0x140041f41
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x140041e6e
cmp byte [0x1401a9ea4], 0
jne 0x140041e6e
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 0x140041def
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140041e05
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002750
jmp 0x140041e01
mov r8d, 9
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002460
mov rbx, qword [rbp - 0x21]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aaa48]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x140041e69
cmp dword [r14 + 0x10], 0
jl 0x140041e55
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x140041e55
mov rcx, rdi
call fcn.1400025b0
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x140041e48
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aaa48], rax
jmp 0x140041e69
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aaa48]
call fcn.140002460
nop
jmp 0x140041f2e
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 0x140041eb7
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140041eca
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140002750
jmp 0x140041ec6
mov r8d, 0x7a
lea rcx, [rbp - 0x29]
call fcn.140002460
mov rbx, qword [rbp - 0x29]
lea rdi, [rbx - 0x18]
mov r14, qword [0x1401aaa48]
add r14, 0xffffffffffffffe8
cmp rdi, r14
je 0x140041f2e
cmp dword [r14 + 0x10], 0
jl 0x140041f1a
mov rax, qword [r14]
cmp qword [rdi], rax
jne 0x140041f1a
mov rcx, rdi
call fcn.1400025b0
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x140041f0d
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [0x1401aaa48], rax
jmp 0x140041f2e
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401aaa48]
call fcn.140002460
nop
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140041f41
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 0x140041fcd
cmp byte [0x1401a4c12], 0
je 0x140041fcd
lea rcx, [rbp - 1]
call fcn.140040b80
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa50]
call fcn.14000f520
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041f90
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 7]
call fcn.140040b80
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [0x1401aaa48]
call fcn.14000f520
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140041fc6
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 [0x1401aaa50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004202d
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 [0x1401aaa50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140042037
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 [0x1401aaa48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004209e
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 [0x1401aaa48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400420a9
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 0x1400420c2
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 0x1400420da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12b, r12b
je 0x1400420f8
mov rcx, qword [0x1401aaa48]
add rcx, 0xffffffffffffffe8
call fcn.1400025b0
add rax, 0x18
mov qword [r15], rax
jmp 0x140042155
mov ecx, dword [0x1401a9d80]
imul ecx, ecx
mov eax, 0x78787879
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub ecx, edx
cmp ecx, 5
jne 0x14004213e
mov ecx, 4
call fcn.1400c2fd0
mov rbx, rax
call fcn.1400c31d0
mov dword [rbx], eax
mov dword [0x1401a9d80], eax
mov rcx, rbx
call fcn.1400c27f0
mov rcx, qword [0x1401aaa50]
add rcx, 0xffffffffffffffe8
call fcn.1400025b0
add rax, 0x18
mov qword [r15], rax
mov dword [rbp - 0x31], 1
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