Function at 0x412fb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aac6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x43b00c]
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 dword [ebp - 0x234], ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
call fcn.004150d0
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
call fcn.00413320
mov eax, dword [ebp - 0x23c]
mov esi, dword [eax]
mov dword [ebp - 0x228], esi
cmp esi, eax
je 0x4132d6
nop dword [eax]
mov dword [ebp - 0x220], 0
call fcn.00403ba0
test eax, eax
je 0x413315
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.shellexContextMenuHandlers
lea ebx, [esi + 0x10]
mov byte [ebp - 4], 1
push dword [ebx]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], ebx
push str._s_s
push eax
call fcn.00405050
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
push dword [ebp - 0x224]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4131eb
push 0x208
push eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00419210
add esp, 0xc
mov dword [ebp - 0x230], 0x104
lea eax, [ebp - 0x230]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x4131df
mov esi, dword [ebp - 0x21c]
test eax, eax
jne 0x41318a
mov ecx, dword [0x43cfe4]
mov eax, 0x92492493
mov edi, dword [0x43cfe0]
xor ebx, ebx
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x21c], eax
je 0x413184
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x218]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x413166
test dx, dx
je 0x413162
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x413166
add ecx, 4
add eax, 4
test dx, dx
jne 0x413140
xor eax, eax
jmp 0x41316b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x413282
inc ebx
add edi, 0x38
cmp ebx, dword [ebp - 0x21c]
jb 0x413133
mov ebx, dword [ebp - 0x22c]
push 0x208
lea eax, [ebp - 0x218]
inc esi
push 0
push eax
call fcn.00419210
add esp, 0xc
mov dword [ebp - 0x230], 0x104
lea eax, [ebp - 0x230]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x413100
mov esi, dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.shell
push dword [ebx]
lea eax, [ebp - 0x224]
push str._s_s
push eax
call fcn.00405050
mov ebx, dword [ebp - 0x224]
add esp, 0xc
add ebx, 0xfffffff0
mov edi, esp
mov ecx, ebx
mov dword [ebp - 0x21c], edi
call fcn.00406390
mov ecx, dword [ebp - 0x234]
add eax, 0x10
push 0x80000000
mov dword [edi], eax
call fcn.004128a0
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41324c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4132c8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4132a4
mov esi, eax
mov dword [ebp - 0x228], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4132c8
nop dword [eax + eax]
mov esi, eax
mov dword [ebp - 0x228], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x413270
jmp 0x4132c8
push dword [ebp - 0x234]
mov ebx, dword [ebp - 0x22c]
lea eax, [ebp - 0x244]
push ebx
push ecx
push eax
lea ecx, [edi + 0x28]
call fcn.00415290
jmp 0x41318a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4132c0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4132c0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4132b0
mov esi, eax
mov dword [ebp - 0x228], esi
mov eax, dword [ebp - 0x23c]
cmp esi, eax
jne 0x413030
push eax
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00414700
push dword [ebp - 0x23c]
call fcn.00416159
add esp, 4
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.00416148
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404640
int3