Function at 0x4028f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x406232
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
mov ebx, ecx
push esi
push 0x409ab0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
xor esi, esi
push 0x409ab0
lea ecx, [esp + 0x20]
mov dword [esp + 0x134], esi
call sub.MFC42.DLL_CString::CString_2
push 0x409ab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
mov ebp, 0x100
push eax
push 0x20019
push esi
push str.SOFTWARE_njubrasProject2
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x144], 2
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ade
push edi
mov ecx, 0x40
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.MyValue1
push ecx
mov dword [esp + 0x2c], ebp
call esi
test eax, eax
jne 0x4029f9
call sub.MFC42.DLL_AfxGetEmptyString
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00405810
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.0040580a
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.MyValue2
push edx
mov dword [esp + 0x2c], ebp
call esi
test eax, eax
jne 0x402a6b
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00405810
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x138], 4
call fcn.0040580a
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push str.MyValue3
push eax
mov dword [esp + 0x2c], ebp
call esi
test eax, eax
pop edi
jne 0x402ade
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
lea edx, [esp + 0x28]
mov dword [esp + 0xc], ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00405810
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x134], 5
call fcn.0040580a
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
push 0x409050
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x402b32
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 0x20]
add esp, 4
lea eax, [eax + eax*4]
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 5
push ecx
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret