Function at 0x1062ff2
Capabilities:
Get geographical location

Disassembly:
push 0x70
mov eax, 0x10b75f5
call fcn.010aacd7
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x28], esi
call fcn.010626cf
xor ebx, ebx
lea ecx, [esi + 0x8c]
push esi
mov dword [ebp - 4], ebx
mov dword [esi], 0x10141bc
call fcn.01063ba7
lea ecx, [esi + 0x3bc]
push esi
mov byte [ebp - 4], 1
call fcn.01065a3d
lea ecx, [esi + 0x68c]
push esi
mov byte [ebp - 4], 2
call fcn.01066c42
lea ecx, [esi + 0x87c]
mov byte [ebp - 4], 3
call fcn.010573d9
lea edi, [esi + 0x8bc]
mov dword [edi], ebx
fldz
push ebx
fst dword [esi + 0x8c0]
push 0x101439c
fstp dword [esi + 0x8c4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
mov byte [esi + 0x8c8], bl
mov dword [esi + 0x8cc], 2
mov dword [esi + 0x8e4], ebx
mov dword [esi + 0x8fc], ebx
call fcn.010ab86f
push 5
mov byte [ebp - 4], 6
lea eax, [esi + 0x8e8]
pop edx
mov ecx, 0xff000000
mov dword [eax - 0x18], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x10630ae
mov ecx, esi
call fcn.01062eb2
push 3
lea eax, [ebp - 0x18]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10630ed
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
cmp eax, 1
jne 0x10630ed
mov dword [esi + 0x8cc], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 7
call sub.MFC42u.dll_AfxGetModuleState
cmp dword [ebp + 0x14], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c0]
je 0x106316c
cmp dword [ebp + 0x14], ebx
je 0x106316c
cmp eax, ebx
je 0x106316c
cmp dword [eax + 0x54], ebx
je 0x106316c
mov ecx, eax
call fcn.0104195d
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x1063286
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x8c]
cmp eax, ebx
jl 0x1063286
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
lea ecx, [esi + 0x8c4]
push ecx
lea ecx, [esi + 0x8c0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x104]
cmp dword [ebp - 0x24], ebx
jmp 0x1063273
lea eax, [ebp - 0x20]
push eax
push 0x101438c
push 1
push ebx
push 0x10066f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jl 0x1063196
push dword [ebp - 0x20]
push edi
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
jmp 0x10631bd
mov eax, dword [section..data]
cmp eax, section..data
je 0x10631bd
test byte [eax + 0x1c], 4
je 0x10631bd
push dword [ebp - 0x1c]
push 0x1013a00
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
cmp dword [ebp - 0x1c], ebx
jl 0x1063257
push 0x104
push 0x10054e0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x17
push 0x4c
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [eax + 0xc8]
call fcn.0106162a
test eax, eax
jl 0x106320c
mov eax, dword [edi]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x1c]
lea edx, [ebp - 0x7c]
push edx
push eax
call dword [ecx + 0x60]
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x16
push 0x104
push dword [ebp - 0x1c]
lea ecx, [eax + 0xc8]
call fcn.01061579
cmp eax, ebx
jl 0x106324a
cmp dword [ebp - 0x1c], ebx
je 0x106324a
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x106324a
mov eax, dword [edi]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esi + 0x8c8]
push eax
lea eax, [esi + 0x8c4]
push eax
lea eax, [esi + 0x8c0]
push eax
call fcn.01068c16
cmp eax, ebx
jl 0x1063286
push dword [edi]
fld dword [esi + 0x8c0]
push ecx
fstp dword [esp]
call fcn.0106873e
lea eax, [esi + 0x3bc]
push eax
mov ecx, esi
call sub.MFC42u.dll_CPropertySheet::AddPage
mov eax, dword [edi]
lea ecx, [esi + 0x44c]
push eax
call fcn.0106831e
push dword [ebp + 0x14]
lea ecx, [esi + 0x44c]
call fcn.010682ee
or dword [esi + 0x420], 0x20
lea eax, [esi + 0x8c]
push eax
mov ecx, esi
call sub.MFC42u.dll_CPropertySheet::AddPage
mov eax, dword [edi]
lea ecx, [esi + 0x11c]
push eax
call fcn.0106831e
push dword [ebp + 0x14]
lea ecx, [esi + 0x11c]
call fcn.010682ee
or dword [esi + 0xf0], 0x20
lea eax, [esi + 0x68c]
push eax
mov ecx, esi
call sub.MFC42u.dll_CPropertySheet::AddPage
mov eax, dword [edi]
lea edi, [esi + 0x71c]
push eax
mov ecx, edi
call fcn.0106831e
push dword [ebp + 0x14]
mov ecx, edi
call fcn.010682ee
mov eax, dword [ebp - 0x20]
or dword [esi + 0x6f0], 0x20
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x1063328
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0x10