Function at 0x42a250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cde16
mov eax, dword fs:[0]
push eax
sub esp, 0xc50
mov eax, dword [0x667ce0]
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.005a2240
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.005a2240
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a2240
push 0x5d4e0c
push str._shellexContextMenuHandlers_
lea eax, [ebp - 0x218]
push 0x5d82b8
push eax
call fcn.00405d80
push 0x5d4e0c
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x420]
push 0x5d82b8
push eax
call fcn.00405d80
add esp, 0x44
lea ecx, [ebp - 0xc50]
push esi
call fcn.00403d20
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 0x42a330
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc50]
call fcn.00405a30
push esi
lea ecx, [ebp - 0xc38]
call fcn.00403d20
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 0x42a370
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc38]
call fcn.00405a30
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 0x42a436
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x656858
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 0x42a426
test dx, dx
je 0x42a422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a426
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a400
xor eax, eax
jmp 0x42a42b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a4f6
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.005a2240
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 0x42a506
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0xc5c]
push eax
push 0
push 0x656858
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 0x42a4fa
test dx, dx
je 0x42a4f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a4fa
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a4d0
xor eax, eax
jmp 0x42a4ff
xor ebx, ebx
jmp 0x42a538
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a4f6
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.005a2240
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 0x42a58a
mov ecx, dword [ebp - 0xc38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a580
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a602
push edx
push ecx
call fcn.0059c9cd
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 0x42a5e3
mov ecx, dword [ebp - 0xc50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a5d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a607
push edx
push ecx
call fcn.0059c9cd
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.0059cf09
mov esp, ebp
pop ebp
ret 4
call fcn.005a57f9
call fcn.005a57f9
int3