Function at 0x422c60
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42b05c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x43aae0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x130]
push ebp
push esi
mov esi, dword [esp + 0x13c]
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea eax, [esp + 0x14]
push eax
push 1
push ebp
push str.SOFTWAREMentor_GraphicsPADS
push 0x80000001
mov dword [esp + 0x148], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422d36
lea ecx, [esp + 0x1c]
push ecx
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], 0x104
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push ebp
push str.LangID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
cmp edi, ebp
jne 0x422d21
cmp dword [esp + 0x1c], ebp
jne 0x422d2b
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebp
jne 0x422d6d
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push 3
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push ebx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x28]
push ecx
call edi
mov al, byte [esp + eax + 0x27]
cmp al, 0x5c
je 0x422da2
cmp al, 0x2f
je 0x422da2
push 0x42d99c
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x10]
mov ecx, dword [str...Documentation_sRouter_]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call edi
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [esp + eax + 0x30]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x104
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push eax
push 0x104
lea edx, [esp + 0x34]
push edx
call ebx
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
mov eax, dword [esi]
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll__access]
push eax
call ebp
add esp, 8
test eax, eax
je 0x422e6a
mov eax, dword [0x43a9c4]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x422e72
mov ecx, dword [0x43a9c4]
mov edx, dword [str...Documentation_sRouter_]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x104
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push 0x104
lea edx, [esp + 0x34]
push edx
call ebx
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
mov esi, dword [esi]
push 0
push esi
call ebp
add esp, 8
test eax, eax
jne 0x422e72
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
pop ebx
xor ecx, esp
call fcn.0042708e
add esp, 0x128
ret 8