Function at 0x10036541
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100970b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x8c]
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8c]
add ecx, 0x48
call fcn.1003c460
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0x68
call fcn.1003c460
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
add ecx, 0x88
call fcn.1003c460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x8c]
add ecx, 0xa8
call fcn.1003c460
mov byte [ebp - 4], 4
push fcn.100947c2
push sub.MFC42.DLL_CString::CString
push 0xc
push 4
mov eax, dword [ebp - 0x8c]
add eax, 0xdc
push eax
call fcn.10094e0a
mov byte [ebp - 4], 5
push fcn.100947c2
push sub.MFC42.DLL_CString::CString
push 7
push 4
mov ecx, dword [ebp - 0x8c]
add ecx, 0x10c
push ecx
call fcn.10094e0a
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
add ecx, 0x140
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x148
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x8c]
add ecx, 0x160
call fcn.10019b70
mov ecx, dword [ebp - 0x8c]
add ecx, 0x190
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1a0
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1b0
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c0
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1e8
call fcn.10002720
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1f0
call fcn.10019b70
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1fc
call fcn.10019b70
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0x100a0428
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x1d0], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x1d4], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x178], 0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x17c], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x174], 1
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x170], 0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x16c], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x15c], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x180], 0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x184], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x188], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x18c], 0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x138], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x20c], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x208], 0
push str.Tahoma
mov ecx, dword [ebp - 0x8c]
call fcn.1003be4f
push 5
mov ecx, dword [ebp - 0x8c]
call fcn.1003be2a
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_COleDateTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea ecx, [ebp - 0x48]
push ecx
call sub.MFC42.DLL_COleDateTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.10037068
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
push 1
push 8
mov ecx, dword [ebp - 0x8c]
add ecx, 0x148
call fcn.10002700
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.100370a2
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
push 0
push 8
mov ecx, dword [ebp - 0x8c]
add ecx, 0x148
call fcn.10002700
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.1003716c
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
push 0
push 8
mov ecx, dword [ebp - 0x8c]
add ecx, 0x148
call fcn.10002700
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.10037242
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
push 1
push 8
mov ecx, dword [ebp - 0x8c]
add ecx, 0x148
call fcn.10002700
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.10037327
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.1003c560
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1003c580
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1003c5a0
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1003c5c0
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.1003c5e0
push 1
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1003b4a2
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1003c540
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1003c600
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x58]
call fcn.1000a220
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.1003bdf6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x8c]
call fcn.1003c620
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1003c520
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.1003c2d4
push 0x100c34f8
push 5
call dword [sym.imp.MSVCRT.dll_setlocale]
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.10019b70
push 1
push 1
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8950
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x94]
call fcn.10002700
push eax
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.100947c2
push 1
push 2
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8954
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x9c]
call fcn.10002700
push eax
push 2
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.100947c2
push 1
push 3
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8958
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
call fcn.10002700
push eax
push 3
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.100947c2
push 1
push 4
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b895c
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xac]
call fcn.10002700
push eax
push 4
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.100947c2
push 1
push 5
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8960
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xb4]
call fcn.10002700
push eax
push 5
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.100947c2
push 1
push 6
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8964
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xbc]
call fcn.10002700
push eax
push 6
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.100947c2
push 1
push 7
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8968
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xc4]
call fcn.10002700
push eax
push 7
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.100947c2
push 1
push 8
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b896c
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xcc]
call fcn.10002700
push eax
push 8
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.100947c2
push 1
push 9
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8970
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xd4]
call fcn.10002700
push eax
push 9
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.100947c2
push 1
push 0xa
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8974
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xdc]
call fcn.10002700
push eax
push 0xa
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.100947c2
push 1
push 0xb
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b8978
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xe4]
call fcn.10002700
push eax
push 0xb
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
call fcn.100947c2
push 1
push 0xc
push 0x7d0
lea ecx, [ebp - 0x1c]
call fcn.1003cf60
push 0x100b897c
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec]
call fcn.10002700
push eax
push 0xc
mov ecx, dword [ebp - 0x8c]
call fcn.1003be83
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.100947c2
mov dword [ebp - 0x10], 0
push 0x14
push 0
lea eax, [ebp - 0x30]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x30]
push ecx
push 0x100c
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
add eax, 2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 7
jle 0x10036e4e
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 1
jl 0x10036e6b
cmp dword [ebp - 0x10], 7
jg 0x10036e6b
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.1003bf9d
jmp 0x10036e78
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1003bf9d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret