Function at 0x1062fcb
Capabilities:
Get geographical location

Disassembly:
push 0x70
mov eax, 0x10b755e
call fcn.010aac8f
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.010626b3
xor ebx, ebx
lea ecx, [esi + 0x8c]
push esi
mov dword [ebp - 4], ebx
mov dword [esi], 0x10141bc
call fcn.01063b96
lea ecx, [esi + 0x3bc]
push esi
mov byte [ebp - 4], 1
call fcn.01065a2c
lea ecx, [esi + 0x68c]
push esi
mov byte [ebp - 4], 2
call fcn.01066c26
lea ecx, [esi + 0x87c]
mov byte [ebp - 4], 3
call fcn.010573c8
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.010ab82f
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 0x1063087
mov ecx, esi
call fcn.01062e8b
push 3
lea eax, [ebp - 0x18]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10630c6
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
cmp eax, 1
jne 0x10630c6
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 0x1063145
cmp dword [ebp + 0x14], ebx
je 0x1063145
cmp eax, ebx
je 0x1063145
cmp dword [eax + 0x54], ebx
je 0x1063145
mov ecx, eax
call fcn.0104194c
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x106325f
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x8c]
cmp eax, ebx
jl 0x106325f
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 0x106324c
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 0x106316f
push dword [ebp - 0x20]
push edi
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
jmp 0x1063196
mov eax, dword [section..data]
cmp eax, section..data
je 0x1063196
test byte [eax + 0x1c], 4
je 0x1063196
push dword [ebp - 0x1c]
push 0x1013a00
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079041
cmp dword [ebp - 0x1c], ebx
jl 0x1063230
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.0106160e
test eax, eax
jl 0x10631e5
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.0106155d
cmp eax, ebx
jl 0x1063223
cmp dword [ebp - 0x1c], ebx
je 0x1063223
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x1063223
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.01068bfa
cmp eax, ebx
jl 0x106325f
push dword [edi]
fld dword [esi + 0x8c0]
push ecx
fstp dword [esp]
call fcn.01068722
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.01068302
push dword [ebp + 0x14]
lea ecx, [esi + 0x44c]
call fcn.010682d2
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.01068302
push dword [ebp + 0x14]
lea ecx, [esi + 0x11c]
call fcn.010682d2
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.01068302
push dword [ebp + 0x14]
mov ecx, edi
call fcn.010682d2
mov eax, dword [ebp - 0x20]
or dword [esi + 0x6f0], 0x20
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x1063301
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret 0x10