Function at 0x42a130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdce6
mov eax, dword fs:[0]
push eax
sub esp, 0xc50
mov eax, dword [0x664340]
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, dword [ebp + 8]
lea eax, [ebp - 0xc20]
push 0x800
push 0
push eax
mov dword [ebp - 0xc54], 0
call fcn.0046cf80
push 0x208
xor ebx, ebx
mov dword [ebp - 0xc58], 0x800
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc5c], 1
push ebx
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0046cf80
push 0x5d4df4
push str._shellexContextMenuHandlers_
lea eax, [ebp - 0x218]
push 0x5d82b0
push eax
call fcn.00405db0
push 0x5d4df4
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push 0x5d82b0
push eax
call fcn.00405db0
add esp, 0x44
lea ecx, [ebp - 0xc50]
push esi
call fcn.00403ce0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a210
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc50]
call fcn.004058f0
push esi
lea ecx, [ebp - 0xc38]
call fcn.00403ce0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a250
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc38]
call fcn.004058f0
cmp dword [ebp - 0xc3c], 8
lea ecx, [ebp - 0xc54]
push ecx
push 0xf013f
lea eax, [ebp - 0xc50]
cmovae eax, dword [ebp - 0xc50]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42a316
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x6568a4
push dword [ebp - 0xc54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, str.F7C71435_3F18_4903_B387_446346CA44B8
lea eax, [ebp - 0xc20]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a306
test dx, dx
je 0x42a302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a306
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a2e0
xor eax, eax
jmp 0x42a30b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a3d6
lea ebx, [eax + 1]
push dword [ebp - 0xc54]
call esi
push 0x800
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc54], 0
push 0
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0xc58], 0x800
cmp dword [ebp - 0xc24], 8
lea ecx, [ebp - 0xc54]
lea eax, [ebp - 0xc38]
cmovae eax, dword [ebp - 0xc38]
push ecx
push 0xf013f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a3e6
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x6568a4
push dword [ebp - 0xc54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, str.F7C71435_3F18_4903_B387_446346CA44B8
lea eax, [ebp - 0xc20]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a3da
test dx, dx
je 0x42a3d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a3da
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a3b0
xor eax, eax
jmp 0x42a3df
xor ebx, ebx
jmp 0x42a418
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a3d6
lea ebx, [eax + 1]
push dword [ebp - 0xc54]
call esi
push 0x800
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc54], 0
push 0
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0xc58], 0x800
push dword [ebp - 0xc54]
call esi
mov edx, dword [ebp - 0xc24]
mov dword [ebp - 0xc54], 0
cmp edx, 8
jb 0x42a46a
mov ecx, dword [ebp - 0xc38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a4e2
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0xc3c]
xor eax, eax
mov dword [ebp - 0xc28], 0
mov dword [ebp - 0xc24], 7
mov word [ebp - 0xc38], ax
cmp edx, 8
jb 0x42a4c3
mov ecx, dword [ebp - 0xc50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a4b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a4e7
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 esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret 4
call fcn.00470179
call fcn.00470179
int3