Function at 0x429cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdca3
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x86c], ebx
push 0x17
xor eax, eax
mov dword [ebp - 0x848], 0
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
call fcn.00403240
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0
call fcn.004058f0
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x858]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429d74
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00403240
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, ebx
call fcn.00429a20
mov edx, dword [ebp - 0x814]
mov byte [ebp - 0x859], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429df7
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429de7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a123
push edx
push ecx
call fcn.0044a315
mov al, byte [ebp - 0x859]
add esp, 8
test al, al
je 0x42a0c7
push 0x2c
push str.CLSIDF7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
call fcn.00403240
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x858]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429e47
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00403240
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
push SysReAllocString
mov ecx, ebx
call fcn.00429a20
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00402fe0
test bl, bl
je 0x42a0c7
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x860], 0
push 0
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0x864], 0x800
lea eax, [ebp - 0x860]
mov dword [ebp - 0x868], 1
xor ebx, ebx
push eax
push 0xf013f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429f52
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x868]
push eax
push ebx
push str.F7C71435_3F18_4903_B387_446346CA44B8
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, str.BKPDF_Shell
lea eax, [ebp - 0x810]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429f46
test dx, dx
je 0x429f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x429f20
xor eax, eax
jmp 0x429f4b
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
sete bl
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x42a0c7
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
push 0x5d8794
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ed0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push 0x5d82f8
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ed0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push 0x5d8308
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ed0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push str.Drive
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ed0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push str.lnkfile
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ed0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
mov esi, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
cmp esi, edi
je 0x42a0ba
mov ecx, dword [ebp - 0x86c]
push esi
call fcn.0042a130
mov bl, al
test bl, bl
je 0x42a0ba
add esi, 0x18
cmp esi, edi
jne 0x42a0a1
lea ecx, [ebp - 0x81c]
call fcn.00403d70
jmp 0x42a0c9
xor bl, bl
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x42a105
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a0fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a128
push edx
push ecx
call fcn.0044a315
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
call fcn.00470179
int3