Function at 0x42a860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce366
mov eax, dword fs:[0]
push eax
sub esp, 0xc50
mov eax, dword [0x667d00]
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.005a26c0
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.005a26c0
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a26c0
push 0x5d4e18
push str._shellexContextMenuHandlers_
lea eax, [ebp - 0x218]
push 0x5d82f0
push eax
call fcn.00405e00
push 0x5d4e18
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push 0x5d82f0
push eax
call fcn.00405e00
add esp, 0x44
lea ecx, [ebp - 0xc50]
push esi
call fcn.00403da0
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 0x42a940
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc50]
call fcn.00405ab0
push esi
lea ecx, [ebp - 0xc38]
call fcn.00403da0
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 0x42a980
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc38]
call fcn.00405ab0
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42aa46
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x6568d8
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 0x42aa36
test dx, dx
je 0x42aa32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42aa36
add eax, 4
add ecx, 4
test dx, dx
jne 0x42aa10
xor eax, eax
jmp 0x42aa3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ab06
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.005a26c0
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ab16
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x6568d8
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 0x42ab0a
test dx, dx
je 0x42ab02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ab0a
add eax, 4
add ecx, 4
test dx, dx
jne 0x42aae0
xor eax, eax
jmp 0x42ab0f
xor ebx, ebx
jmp 0x42ab48
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ab06
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.005a26c0
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 0x42ab9a
mov ecx, dword [ebp - 0xc38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ab90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ac12
push edx
push ecx
call fcn.0059ce4e
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 0x42abf3
mov ecx, dword [ebp - 0xc50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42abe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ac17
push edx
push ecx
call fcn.0059ce4e
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.0059d38a
mov esp, ebp
pop ebp
ret 4
call fcn.005a5c79
call fcn.005a5c79
int3