Function at 0x43c6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e828c
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x44c], ebx
push 0x3c
xor eax, eax
mov dword [ebp - 0x430], 0
push str.SoftwareMicrosoftWindowsCurrentversionExplorerFileExts_
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
call fcn.0043a1c0
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c712
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.0043dfd0
call fcn.0043bdd0
cmp eax, 2
jne 0x43c74a
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x440]
call fcn.0043dfd0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x458]
push eax
push SysReAllocString
call fcn.0043bb90
mov esi, dword [ebp - 0x458]
test eax, eax
jne 0x43ca17
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00491400
add esp, 0xc
mov dword [ebp - 0x444], 0x400
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Progid
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c84b
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x43c7f7
cmp eax, 2
jne 0x43c84b
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x43c831
test al, 1
jne 0x43c84b
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x43c84b
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x43c83a
lea edx, [ebp - 0x410]
mov ecx, ebx
call fcn.0043cd30
mov bl, al
jmp 0x43ca19
xor eax, eax
mov word [ebp - 0x410], ax
call fcn.0043bdd0
cmp eax, 1
jne 0x43c84b
mov bl, al
jmp 0x43ca19
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Application
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ca17
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x43c894
cmp eax, 2
jne 0x43ca17
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x43ca17
test al, 1
jne 0x43ca17
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x43ca17
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x43ca17
push 0x1e
push str.SoftwareClassesApplications_
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
call fcn.0043a1c0
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c900
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043dfd0
push 6
push str.Shell
lea ecx, [ebp - 0x428]
call fcn.0043dfd0
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043dd20
mov edx, SysReAllocString
mov ecx, ebx
call fcn.0043d770
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
mov bl, al
call fcn.0041e8e0
test bl, bl
jne 0x43ca17
push 0xd
xor eax, eax
mov dword [ebp - 0x418], 0
push str.Applications_
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
call fcn.0043a1c0
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c9b0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043dfd0
push 6
push str.Shell
lea ecx, [ebp - 0x428]
call fcn.0043dfd0
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043dd20
mov ecx, dword [ebp - 0x44c]
mov edx, SysReAllocString
call fcn.0043d770
add esp, 0x18
lea ecx, [ebp - 0x428]
mov bl, al
call fcn.0041e8e0
jmp 0x43ca19
xor bl, bl
test esi, esi
je 0x43ca24
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
call fcn.0041e8e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret