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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7171
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x539c80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xe], dl
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
mov eax, dword [0x53fbc8]
test al, 1
jne 0x43a9ae
or eax, 1
mov dword [0x53fbc8], eax
mov dword [ebp - 4], 1
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x53fbcc], eax
mov byte [ebp - 4], 1
push 0x4e23b0
call fcn.004acdc6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x53fbc8]
test al, 2
jne 0x43a9f0
or eax, 2
mov dword [0x53fbc8], eax
mov dword [ebp - 4], 3
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x53fbc4], eax
mov byte [ebp - 4], 3
push 0x4e2350
call fcn.004acdc6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x53fbc8]
test al, 4
jne 0x43aa32
or eax, 4
mov dword [0x53fbc8], eax
mov dword [ebp - 4], 5
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x53fbc0], eax
mov byte [ebp - 4], 5
push 0x4e22f0
call fcn.004acdc6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x53fbc8]
test al, 8
jne 0x43aa6f
or eax, 8
mov dword [0x53fbc8], eax
mov dword [ebp - 4], 7
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x53fbd0], eax
mov byte [ebp - 4], 7
push 0x4e2290
call fcn.004acdc6
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x53fbc4]
cmp dword [eax - 0xc], 0
je 0x43aa87
call fcn.0043d560
test al, al
je 0x43b210
mov eax, dword [0x53f670]
mov esi, dword [0x53fbd0]
lea edi, [eax - 0x10]
add esi, 0xfffffff0
or ebx, 0xffffffff
cmp edi, esi
je 0x43aae2
cmp dword [esi + 0xc], 0
jl 0x43aad4
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x43aad4
mov ecx, edi
call fcn.00402720
mov edi, eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43aaca
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [0x53fbd0], eax
jmp 0x43aae2
push dword [eax - 0xc]
mov ecx, 0x53fbd0
push eax
call fcn.004025f0
mov ecx, 0x53fbcc
call fcn.00402300
mov ecx, 0x53fbc4
call fcn.00402300
mov ecx, 0x53fbc0
call fcn.00402300
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xa
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.Volatile_Environment
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ad38
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ad28
mov dword [ebp - 0x18], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x43abb0
push 0x82
lea ecx, [ebp - 0x1c]
call fcn.004026b0
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push str.AppData
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43abf7
push dword [esi - 8]
push esi
call fcn.004ad21c
add esp, 8
test eax, eax
js 0x43abed
cmp eax, dword [esi - 8]
jg 0x43abed
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x43ac02
push 0x80070057
call fcn.00401a60
lea ecx, [ebp - 0x1c]
call fcn.00402300
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x53fbcc]
mov dword [ebp - 0x18], 0x104
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x82
or ecx, edx
jge 0x43ac37
push 0x82
mov ecx, 0x53fbcc
call fcn.004026b0
mov eax, dword [0x53fbcc]
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push str.Local_AppData
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ac8a
mov eax, dword [0x53fbcc]
push dword [eax - 8]
push eax
call fcn.004ad21c
mov edx, eax
add esp, 8
test edx, edx
js 0x43abed
mov ecx, dword [0x53fbcc]
cmp edx, dword [ecx - 8]
jg 0x43abed
mov dword [ecx - 0xc], edx
mov eax, dword [0x53fbcc]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x43ac94
mov ecx, 0x53fbcc
call fcn.00402300
mov dword [ebp - 0x18], 0x104
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x82
or eax, ecx
jge 0x43acbf
push 0x82
lea ecx, [ebp - 0x20]
call fcn.004026b0
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x28]
push eax
push 0
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ad0d
push dword [edi - 8]
push edi
call fcn.004ad21c
add esp, 8
test eax, eax
js 0x43abed
cmp eax, dword [edi - 8]
jg 0x43abed
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43ad38
push 0x53fbcc
lea ecx, [ebp - 0x20]
call fcn.00402510
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43ad38
push 0x53fbcc
lea ecx, [ebp - 0x20]
call fcn.00402510
mov edi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x53ed90]
mov eax, ecx
imul eax, ecx
cdq
mov dword [ebp - 0x2c], 5
idiv dword [ebp - 0x2c]
cmp edx, 2
jne 0x43ad6e
inc dword [0x53f634]
mov eax, dword [ebp - 0x38]
cmp eax, 6
ja 0x43ad8c
jne 0x43af10
cmp dword [ebp - 0x3c], 1
ja 0x43ad8c
mov eax, 1
jmp 0x43af1a
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x12
idiv ecx
mov byte [ebp - 0xd], 1
cmp edx, 8
jne 0x43ada9
inc dword [0x53f62c]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ae74
mov dword [ebp - 0x18], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x82
or eax, ecx
jge 0x43adf7
push 0x82
lea ecx, [ebp - 0x1c]
call fcn.004026b0
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push str.Isolation
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ae61
push dword [esi - 8]
push esi
call fcn.004ad21c
add esp, 8
test eax, eax
js 0x43abed
cmp eax, dword [esi - 8]
jg 0x43abed
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov byte [ebp - 0xd], cl
cmp dword [esi - 0xc], ecx
jl 0x43ae61
push 0x51e874
push esi
call fcn.004ad3c6
add esp, 8
test eax, eax
je 0x43ae61
sub eax, esi
sar eax, 1
jne 0x43ae61
mov dword [ebp - 0x24], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], 0
je 0x43af17
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerAdvancedOptionsCRYPTOPROTECTEDMODESECURITY
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43af10
lea eax, [ebp - 0x18]
push eax
push 0x82
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
call fcn.00402360
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push str.DefaultValue
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x1c]
push dword [esi - 8]
push esi
call fcn.004ad21c
add esp, 8
test eax, eax
js 0x43abed
cmp eax, dword [esi - 8]
jg 0x43abed
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi - 0xc], 0
jl 0x43af17
push str.PMIL
push esi
call fcn.004ad3c6
add esp, 8
test eax, eax
je 0x43af17
sub eax, esi
sar eax, 1
jne 0x43af17
mov eax, 1
jmp 0x43af1a
mov eax, dword [ebp - 0x24]
cmp dword [0x53b31c], reloc.OLEAUT32.dll_SysReAllocString
jne 0x43af48
push 0x53f670
mov ecx, 0x53fbc4
call fcn.00402510
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x53fbcc
call fcn.00402510
jmp 0x43afea
test eax, eax
je 0x43af96
call fcn.0043a740
test al, al
je 0x43af26
cmp byte [0x53eea8], 0
jne 0x43af26
push 0x51ea0c
lea ecx, [ebp - 0x3c]
call fcn.00402400
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x53fbc4
call fcn.00402510
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
call fcn.004024b0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x53fbcc
call fcn.00402510
jmp 0x43afea
call fcn.0043a790
test al, al
jne 0x43afae
push str.Packageswindows_ie_ac_001AC
mov ecx, 0x53fbcc
call fcn.00417a90
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
lea ecx, [ebp - 0x3c]
call fcn.00402400
mov byte [ebp - 4], 0xe
push eax
mov ecx, 0x53fbc4
call fcn.00402510
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43afea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x53fbc4]
cmp dword [eax - 0xc], 0
jl 0x43b024
push str.windows_ie_ac_001
push eax
call fcn.004ad3c6
add esp, 8
test eax, eax
je 0x43b024
sub eax, dword [0x53fbc4]
sar eax, 1
test eax, eax
jle 0x43b024
push 0x53f670
mov ecx, 0x53fbc0
call fcn.00402510
jmp 0x43b097
call fcn.0043a740
test al, al
je 0x43b05b
cmp byte [0x53eea8], 0
jne 0x43b05b
push 0x51eadc
lea ecx, [ebp - 0x3c]
call fcn.00402400
mov byte [ebp - 4], 0x12
push eax
mov ecx, 0x53fbc0
call fcn.00402510
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x3c]
jmp 0x43b07e
push 0x51eaf0
lea ecx, [ebp - 0x38]
call fcn.00402400
mov byte [ebp - 4], 0x10
push eax
mov ecx, 0x53fbc0
call fcn.00402510
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b097
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [0x53b31c]
cmp ebx, reloc.OLEAUT32.dll_SysReAllocString
je 0x43b137
cmp byte [0x53b282], 0
je 0x43b137
lea ecx, [ebp - 0x2c]
call fcn.0043a5c0
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
mov ecx, 0x53fbc4
push dword [eax - 0xc]
push eax
call fcn.0040fda0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b0f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.0043a5c0
mov byte [ebp - 4], 0x16
mov eax, dword [eax]
mov ecx, 0x53fbc0
push dword [eax - 0xc]
push eax
call fcn.0040fda0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b131
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [0x53b31c]
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push dword [0x53fbc4]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43b177
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x53fbc4]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43b180
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [0x53b31c]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push dword [0x53fbc0]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43b1c6
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x53fbc0]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43b1cf
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xa
add edi, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b1ef
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x43b20d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x30]
cmp byte [ebp - 0xe], 0
je 0x43b22b
mov ecx, dword [0x53fbc0]
lea ecx, [ecx - 0x10]
call fcn.00402720
add eax, 0x10
mov dword [ebx], eax
jmp 0x43b23e
mov ecx, dword [0x53fbc4]
lea ecx, [ecx - 0x10]
call fcn.00402720
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret