Function at 0x43ef00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bee5d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], edi
call fcn.0040b040
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x43f1a1
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x5c]
call esi
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
xor al, al
push str.mscoree
mov byte [ebp - 0x61], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43ef97
push str.GetCORVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
push esi
setne al
mov byte [ebp - 0x61], al
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x61]
mov byte [edi + 4], al
test al, al
je 0x43f170
mov dword [ebp - 0x58], 0
call fcn.0040b040
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x43f1a1
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x5c]
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 3
movups xmm0, xmmword [str.SOFTWAREMicrosoft.NETFramework]
mov ax, word [0x4d9f48]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x60]
movups xmmword [ebp - 0x54], xmm0
push eax
movups xmm0, xmmword [0x4d9f18]
push 0x20019
push 0
movups xmmword [ebp - 0x44], xmm0
lea eax, [ebp - 0x54]
mov byte [ebp - 0x61], 0
movups xmm0, xmmword [0x4d9f28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [0x4d9f38]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f145
mov dword [ebp - 0x5c], 0x200
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x200
or eax, ecx
jge 0x43f066
push 0x200
lea ecx, [ebp - 0x58]
call fcn.0040b680
mov esi, dword [ebp - 0x58]
cmp dword [esi - 8], 0x200
jl 0x43f1ab
xor eax, eax
mov dword [esi - 0xc], 0x200
mov word [esi + 0x400], ax
lea eax, [ebp - 0x5c]
push eax
push esi
push 0
push 0
push str.InstallRoot
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f0a9
cmp dword [ebp - 0x5c], 0x200
setbe byte [ebp - 0x61]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi - 8]
push esi
call fcn.00492682
add esp, 8
test eax, eax
js 0x43f1ab
cmp eax, dword [esi - 8]
jg 0x43f1ab
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp byte [ebp - 0x61], cl
je 0x43f145
mov ecx, dword [edi]
lea edx, [esi - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x60], ecx
cmp edx, ecx
je 0x43f145
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x5c], eax
jl 0x43f194
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x43f194
mov ecx, edx
call fcn.0040c920
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43f13d
mov ecx, dword [ebp - 0x60]
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x5c]
call edi
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43f170
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret
push dword [esi - 0xc]
mov ecx, edi
push esi
call fcn.0040b720
jmp 0x43f145
push 0x80004005
call fcn.0040b700
push 0x80070057
call fcn.0040b700
int3