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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1600
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x532ab0]
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 - 0x2c], ebx
mov eax, dword [0x53bb68]
mov dword [ebp - 0x3c], 0
test al, 1
jne 0x43c88f
or eax, 1
mov dword [0x53bb68], eax
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
push 0x4e44f0
mov dword [0x53bb6c], eax
call fcn.004a53c8
mov eax, dword [0x53bb68]
add esp, 4
test al, 2
jne 0x43c8c2
or eax, 2
mov dword [0x53bb68], eax
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
push 0x4e44c0
mov dword [0x53bb64], eax
call fcn.004a53c8
mov eax, dword [0x53bb68]
add esp, 4
test al, 4
jne 0x43c8f5
or eax, 4
mov dword [0x53bb68], eax
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
push 0x4e4490
mov dword [0x53bb60], eax
call fcn.004a53c8
mov eax, dword [0x53bb68]
add esp, 4
test al, 8
jne 0x43c923
or eax, 8
mov dword [0x53bb68], eax
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
push 0x4e4460
mov dword [0x53bb70], eax
call fcn.004a53c8
add esp, 4
mov eax, dword [0x53bb64]
cmp dword [eax - 0xc], 0
je 0x43c93b
call fcn.0043ef10
test al, al
je 0x43d089
mov eax, dword [0x53ba48]
mov esi, dword [0x53bb70]
lea edi, [eax - 0x10]
add esi, 0xfffffff0
or ebx, 0xffffffff
cmp edi, esi
je 0x43c996
cmp dword [esi + 0xc], 0
jl 0x43c988
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x43c988
mov ecx, edi
call fcn.00401d10
mov edi, eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c97e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [0x53bb70], eax
jmp 0x43c996
push dword [eax - 0xc]
mov ecx, 0x53bb70
push eax
call fcn.00401be0
mov ecx, 0x53bb6c
call fcn.00401900
mov ecx, 0x53bb64
call fcn.00401900
mov ecx, 0x53bb60
call fcn.00401900
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.Volatile_Environment
push SysReAllocStringLen
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43cbec
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 0x43cbdc
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 0x43ca64
push 0x82
lea ecx, [ebp - 0x1c]
call fcn.00401ca0
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 0x43caab
push dword [esi - 8]
push esi
call fcn.004a5c79
add esp, 8
test eax, eax
js 0x43caa1
cmp eax, dword [esi - 8]
jg 0x43caa1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x43cab6
push 0x80070057
call fcn.00401010
lea ecx, [ebp - 0x1c]
call fcn.00401900
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x53bb6c]
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 0x43caeb
push 0x82
mov ecx, 0x53bb6c
call fcn.00401ca0
mov eax, dword [0x53bb6c]
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 0x43cb3e
mov eax, dword [0x53bb6c]
push dword [eax - 8]
push eax
call fcn.004a5c79
mov edx, eax
add esp, 8
test edx, edx
js 0x43caa1
mov ecx, dword [0x53bb6c]
cmp edx, dword [ecx - 8]
jg 0x43caa1
mov dword [ecx - 0xc], edx
mov eax, dword [0x53bb6c]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x43cb48
mov ecx, 0x53bb6c
call fcn.00401900
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 0x43cb73
push 0x82
lea ecx, [ebp - 0x20]
call fcn.00401ca0
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 0x43cbc1
push dword [edi - 8]
push edi
call fcn.004a5c79
add esp, 8
test eax, eax
js 0x43caa1
cmp eax, dword [edi - 8]
jg 0x43caa1
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 0x43cbec
push 0x53bb6c
lea ecx, [ebp - 0x20]
call fcn.00401a90
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43cbec
push 0x53bb6c
lea ecx, [ebp - 0x20]
call fcn.00401a90
mov edi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 6
ja 0x43cc15
jne 0x43cd80
cmp eax, 1
ja 0x43cc15
mov eax, 1
jmp 0x43cd8a
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov byte [ebp - 0xd], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43cce4
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 0x43cc67
push 0x82
lea ecx, [ebp - 0x1c]
call fcn.00401ca0
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 0x43ccd1
push dword [esi - 8]
push esi
call fcn.004a5c79
add esp, 8
test eax, eax
js 0x43caa1
cmp eax, dword [esi - 8]
jg 0x43caa1
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 0x43ccd1
push str.PMIL
push esi
call fcn.004a56ca
add esp, 8
test eax, eax
je 0x43ccd1
sub eax, esi
sar eax, 1
jne 0x43ccd1
mov dword [ebp - 0x24], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], 0
je 0x43cd87
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 0x43cd80
lea eax, [ebp - 0x18]
push eax
push 0x82
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
call fcn.00401960
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.004a5c79
add esp, 8
test eax, eax
js 0x43caa1
cmp eax, dword [esi - 8]
jg 0x43caa1
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 0x43cd87
push str.PMIL
push esi
call fcn.004a56ca
add esp, 8
test eax, eax
je 0x43cd87
sub eax, esi
sar eax, 1
jne 0x43cd87
mov eax, 1
jmp 0x43cd8a
mov eax, dword [ebp - 0x24]
cmp dword [0x535ee4], reloc.OLEAUT32.dll_SysReAllocString
jne 0x43cdb8
push 0x53ba48
mov ecx, 0x53bb64
call fcn.00401a90
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x53bb6c
call fcn.00401a90
jmp 0x43ce6f
test eax, eax
je 0x43ce1b
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x43cd96
cmp byte [0x53b984], 0
jne 0x43cd96
push 0x518158
lea ecx, [ebp - 0x24]
call fcn.004019c0
push eax
mov ecx, 0x53bb64
mov byte [ebp - 4], 2
call fcn.00401a90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43cda5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x53bb6c
call fcn.00401a90
jmp 0x43ce6f
call fcn.0043c690
test al, al
jne 0x43ce33
push str.Packageswindows_ie_ac_001AC
mov ecx, 0x53bb6c
call fcn.00419be0
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
lea ecx, [ebp - 0x24]
call fcn.004019c0
push eax
mov ecx, 0x53bb64
mov byte [ebp - 4], 3
call fcn.00401a90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43ce6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x53bb64]
cmp dword [eax - 0xc], 0
jl 0x43cea9
push str.windows_ie_ac_001
push eax
call fcn.004a56ca
add esp, 8
test eax, eax
je 0x43cea9
sub eax, dword [0x53bb64]
sar eax, 1
test eax, eax
jle 0x43cea9
push 0x53ba48
mov ecx, 0x53bb60
call fcn.00401a90
jmp 0x43cf1d
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x43cee1
cmp byte [0x53b984], 0
jne 0x43cee1
push 0x518158
lea ecx, [ebp - 0x30]
call fcn.004019c0
push eax
mov ecx, 0x53bb60
mov byte [ebp - 4], 5
call fcn.00401a90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
jmp 0x43cf04
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragewindows_ie_ac_001Software_
lea ecx, [ebp - 0x34]
call fcn.004019c0
push eax
mov ecx, 0x53bb60
mov byte [ebp - 4], 4
call fcn.00401a90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43cf1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [0x535ee4]
cmp ebx, reloc.OLEAUT32.dll_SysReAllocString
je 0x43cfb0
lea ecx, [ebp - 0x24]
call fcn.0043c510
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov ecx, 0x53bb64
push dword [eax - 0xc]
push eax
call fcn.004100d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43cf6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.0043c510
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov ecx, 0x53bb60
push dword [eax - 0xc]
push eax
call fcn.004100d0
mov byte [ebp - 4], 1
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 0x43cfaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [0x535ee4]
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push dword [0x53bb64]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43cff0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x53bb64]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43cff9
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [0x535ee4]
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [0x53bb60]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43d03f
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x53bb60]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43d048
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43d068
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x43d086
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x2c]
cmp byte [ebp - 0xe], 0
mov ecx, dword [0x53bb60]
jne 0x43d09b
mov ecx, dword [0x53bb64]
lea ecx, [ecx - 0x10]
call fcn.00401d10
add eax, 0x10
mov dword [ebx], eax
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