Function at 0x408930
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x408cf3
lea ecx, [esi + 0xa0]
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
mov ecx, 1
cmp eax, ecx
jl 0x408cf3
cmp dword [esi + 0x280], ecx
je 0x408cf3
cmp dword [esi + 0x2d8], ecx
je 0x408cf3
cmp dword [esi + 0x1d0], ecx
je 0x408cf3
cmp dword [esi + 0x438], ecx
je 0x408cf3
cmp dword [esi + 0x178], ecx
je 0x408cf3
cmp dword [esi + 0x490], ecx
je 0x408cf3
cmp dword [esi + 0x228], ecx
je 0x408cf3
mov eax, dword [esi + 0x9c]
push edi
add eax, 4
push 0x7f
push eax
lea ecx, [esi + 0x240]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esi + 0x9c]
add ecx, 4
push ecx
call fcn.0042aed0
mov edx, dword [esi + 0x9c]
add esp, 4
add edx, 0x94
lea ecx, [esi + 0x374]
push 0x1f
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esi + 0x9c]
add eax, 0x94
push eax
call fcn.0042aed0
mov ecx, dword [esi + 0x9c]
add esp, 4
add ecx, 0xb4
push 0x1f
push ecx
lea ecx, [esi + 0x3f8]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esi + 0x9c]
add edx, 0xb4
push edx
call fcn.0042aed0
mov eax, dword [esi + 0x9c]
add esp, 4
add eax, 0xd4
lea ecx, [esi + 0x190]
push 0x1f
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esi + 0x9c]
add ecx, 0xd4
push ecx
call fcn.0042aed0
mov edx, dword [esi + 0x9c]
add esp, 4
add edx, 0xf4
lea ecx, [esi + 0x138]
push 0xf
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esi + 0x9c]
add eax, 0xf4
push eax
call fcn.0042aed0
mov ecx, dword [esi + 0x9c]
add esp, 4
add ecx, 0x104
push 0x7f
push ecx
lea ecx, [esi + 0x450]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esi + 0x9c]
add edx, 0x104
push edx
call fcn.0042aed0
mov eax, dword [esi + 0x9c]
add esp, 4
add eax, 0x184
lea ecx, [esi + 0x1e8]
push 0x1f
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esi + 0x9c]
add ecx, 0x184
push ecx
call fcn.0042aed0
mov edx, dword [esi + 0x9c]
add esp, 4
add edx, 0x1a4
push 0x2f
push edx
lea ecx, [esi + 0x298]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esi + 0x9c]
add eax, 0x1a4
push eax
call fcn.0042aed0
add esp, 4
lea ecx, [esp + 0xc]
push 0x64
push ecx
lea ecx, [esi + 0x4a8]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esi + 0x9c]
lea edx, [esp + 0xc]
push edx
push str.demo_s
add eax, 0x84
push 0xf
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x64
push ecx
lea ecx, [esi + 0x2f0]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea edx, [esp + 0xc]
push edx
call edi
add esp, 4
mov dword [esp + 8], eax
fild dword [esp + 8]
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push 0x64
push ecx
fstp qword [eax + 0x1d8]
lea ecx, [esi + 0x52c]
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea edx, [esp + 0xe]
push edx
call edi
mov ecx, dword [esi + 0x9c]
push 0x3f
push 0x5a2264
mov dword [ecx + 0x1d4], eax
mov edx, dword [esi + 0x9c]
add edx, 0x1e4
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esi + 0x9c]
add esp, 0x10
mov byte [eax + 0x223], 0
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
test edi, edi
je 0x408cd4
mov ecx, dword [esi + 0x9c]
add ecx, 4
push ecx
push str.Name
push str.Settings
mov ecx, edi
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov edx, dword [esi + 0x9c]
mov ecx, edi
add edx, 0xd4
push edx
push str.State
push str.Settings
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov eax, dword [esi + 0x9c]
mov ecx, edi
add eax, 0xb4
push eax
push str.City
push str.Settings
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov ecx, dword [esi + 0x9c]
add ecx, 0xf4
push ecx
push 0x5815ec
push str.Settings
mov ecx, edi
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov edx, dword [esi + 0x9c]
mov ecx, edi
add edx, 0x104
push edx
push str.Address
push str.Settings
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov eax, dword [esi + 0x9c]
mov ecx, edi
add eax, 0x184
push eax
push str.Phone
push str.Settings
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov ecx, dword [esi + 0x9c]
add ecx, 0x1a4
push ecx
push 0x5815dc
push str.Settings
mov ecx, edi
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov edx, dword [esi + 0x9c]
mov ecx, edi
add edx, 0x104
push edx
push str.Address
push str.Settings
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov eax, dword [esi + 0x118]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
add esp, 0x104
ret
xor eax, eax
pop esi
add esp, 0x104
ret