Function at 0x41e828
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7d0
mov eax, dword [0x4260d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x760], ecx
xor edi, edi
mov dword [ebp - 0x778], eax
lea ecx, [ebp - 0x770]
mov eax, dword [ebp + 0x10]
push ecx
push 0x408140
push edi
mov esi, dword [eax]
push edi
push eax
mov dword [ebp - 0x768], eax
mov ecx, dword [esi + 0x24]
call dword [0x42d974]
call dword [esi + 0x24]
test eax, eax
js 0x41ef23
mov eax, 0x2011
mov dword [ebp - 0x7b8], edi
mov word [ebp - 0x7c0], ax
lea ecx, [ebp - 0x7c0]
mov eax, dword [ebp - 0x770]
push edi
push ecx
mov dword [ebp - 0x76c], edi
mov esi, dword [eax]
push 0x4069fc
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
test eax, eax
js 0x41ef0d
mov eax, dword [ebp - 0x7b8]
lea ecx, [ebp - 0x76c]
push ecx
push eax
mov edi, dword [eax + 0x10]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov eax, dword [ebp - 0x760]
lea ecx, [ebp - 0x7b0]
push ecx
push edi
push dword [ebp - 0x76c]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
test eax, eax
js 0x41ef0d
cmp dword [ebp - 0x76c], 0
mov eax, dword [ebp - 0x7b0]
mov edi, dword [eax]
je 0x41e933
push dword [ebp - 0x7b8]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea eax, [ebp - 0x7c0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [edi + 4]
mov esi, 0x400
lea eax, [ebp - 0x454]
push 0x406a14
push esi
push eax
call fcn.00411f1f
mov eax, dword [ebp - 0x778]
add esp, 0x10
or dword [ebp - 0x780], 0xffffffff
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x454]
mov dword [ebp - 0x794], eax
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
mov dword [ebp - 0x7a8], 0xffff0003
mov dword [ebp - 0x7a4], 5
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [edi]
lea eax, [ebp - 0x454]
push 0x406a20
push esi
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x768]
lea ecx, [ebp - 0x774]
push ecx
push 0
push 0
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x50]
call dword [0x42d974]
call dword [esi + 0x50]
test eax, eax
jne 0x41ea28
push dword [ebp - 0x774]
lea eax, [ebp - 0x454]
push 0x406a2c
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x774]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 8
pop eax
mov word [ebp - 0x7d0], ax
lea ecx, [ebp - 0x7d0]
mov eax, dword [ebp - 0x770]
push 0
push ecx
push 0x4038e4
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0xc]
call dword [0x42d974]
call dword [esi + 0xc]
test eax, eax
js 0x41eb36
push dword [ebp - 0x7c8]
lea ecx, [ebp - 0x764]
call sub.MFC42.dll_CString::CString_3
push dword [ebp - 0x7c8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x764]
lea eax, [ebp - 0x758]
push 0x406a3c
push 0x200
push eax
call fcn.00411f1f
add esp, 0x10
mov dword [ebp - 0x760], 0x104
lea eax, [ebp - 0x75c]
xor esi, esi
mov dword [ebp - 0x75c], esi
push eax
lea eax, [ebp - 0x758]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41eb29
lea eax, [ebp - 0x760]
push eax
lea eax, [ebp - 0x558]
push eax
push esi
push esi
push esi
push dword [ebp - 0x75c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41eb1d
lea eax, [ebp - 0x558]
push eax
push 0x406a68
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push esi
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x75c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x764]
call sub.MFC42.dll_CString::CString
jmp 0x41eb38
xor esi, esi
mov eax, esi
mov dword [ebp - 0x760], eax
cmp dword [edi + 8], esi
jbe 0x41ef06
push eax
push 0x406a78
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
mov eax, dword [ebp - 0x778]
add esp, 0x10
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x7ac], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x764], eax
lea eax, [ebp - 0x454]
mov ecx, dword [esi + ecx]
shr ecx, 1
and ecx, 1
push ecx
push 0x406a84
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax]
shr eax, 3
and eax, 1
push eax
push 0x406a94
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax]
shr eax, 2
and eax, 1
push eax
push 0x406aa4
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax]
and eax, 1
push eax
push 0x406ab0
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax + 0x18]
test eax, eax
jne 0x41ec88
mov eax, 0x408180
push 0x27
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x54]
push eax
push 0x406abc
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov dword [ebp - 0x75c], ecx
cmp dword [esi + eax + 8], ecx
jbe 0x41ede4
mov eax, dword [ebp - 0x764]
push ecx
push 0x406ad0
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x7ac], eax
mov eax, 0x400
call fcn.00421c40
mov ecx, dword [ebp - 0x75c]
mov eax, esp
push 0x400
push eax
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax + 0xc]
push dword [eax + ecx*8]
call fcn.0041ef3a
push eax
push 0x406adc
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x400
call fcn.00421c40
mov ecx, dword [ebp - 0x75c]
mov eax, esp
push 0x400
push eax
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax + 0xc]
push dword [eax + ecx*8 + 4]
call fcn.0041ef3a
push eax
push 0x406aec
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x75c]
mov eax, dword [edi + 0xc]
inc ecx
mov dword [ebp - 0x75c], ecx
cmp ecx, dword [eax + esi + 8]
jb 0x41ecdc
xor ecx, ecx
mov dword [ebp - 0x768], ecx
cmp dword [esi + eax + 0x10], ecx
jbe 0x41eeed
and dword [ebp - 0x75c], ecx
mov eax, dword [ebp - 0x764]
push ecx
push 0x406af8
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x7ac], eax
lea eax, [ebp - 0x54]
push 0x27
push eax
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax + 0x14]
add eax, dword [ebp - 0x75c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x54]
push eax
push 0x406b04
lea eax, [ebp - 0x454]
push 0x400
push eax
call fcn.00411f1f
add esp, 0x10
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x75c]
mov eax, dword [esi + eax + 0x14]
push dword [eax + ecx + 0x14]
push dword [eax + ecx + 0x10]
lea eax, [ebp - 0x454]
push 0x406b18
push 0x400
push eax
call fcn.00411f1f
add esp, 0x14
lea eax, [ebp - 0x7ac]
push eax
push 0
push 0x1100
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x768]
mov eax, dword [edi + 0xc]
inc ecx
add dword [ebp - 0x75c], 0x18
mov dword [ebp - 0x768], ecx
cmp ecx, dword [esi + eax + 0x10]
jb 0x41edfc
mov eax, dword [ebp - 0x760]
add esi, 0x1c
inc eax
mov dword [ebp - 0x760], eax
cmp eax, dword [edi + 8]
jb 0x41eb49
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x770]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42d974]
call esi
lea esp, [ebp - 0x7dc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421ad0
leave
ret 0x10