Function at 0x1062fdd
Capabilities:
Get geographical location

Disassembly:
push 0x70
mov eax, 0x10b756f
call fcn.010aac9f
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.010626c5
xor ebx, ebx
lea ecx, [esi + 0x8c]
push esi
mov dword [ebp - 4], ebx
mov dword [esi], 0x10141bc
call fcn.01063ba8
lea ecx, [esi + 0x3bc]
push esi
mov byte [ebp - 4], 1
call fcn.01065a3e
lea ecx, [esi + 0x68c]
push esi
mov byte [ebp - 4], 2
call fcn.01066c38
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.010ab83f
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 0x1063099
mov ecx, esi
call fcn.01062e9d
push 3
lea eax, [ebp - 0x18]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10630d8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
cmp eax, 1
jne 0x10630d8
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 0x1063157
cmp dword [ebp + 0x14], ebx
je 0x1063157
cmp eax, ebx
je 0x1063157
cmp dword [eax + 0x54], ebx
je 0x1063157
mov ecx, eax
call fcn.0104195d
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x1063271
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x8c]
cmp eax, ebx
jl 0x1063271
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 0x106325e
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 0x1063181
push dword [ebp - 0x20]
push edi
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
jmp 0x10631a8
mov eax, dword [section..data]
cmp eax, section..data
je 0x10631a8
test byte [eax + 0x1c], 4
je 0x10631a8
push dword [ebp - 0x1c]
push 0x1013a00
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
cmp dword [ebp - 0x1c], ebx
jl 0x1063242
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.01061620
test eax, eax
jl 0x10631f7
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.0106156f
cmp eax, ebx
jl 0x1063235
cmp dword [ebp - 0x1c], ebx
je 0x1063235
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x1063235
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.01068c0c
cmp eax, ebx
jl 0x1063271
push dword [edi]
fld dword [esi + 0x8c0]
push ecx
fstp dword [esp]
call fcn.01068734
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.01068314
push dword [ebp + 0x14]
lea ecx, [esi + 0x44c]
call fcn.010682e4
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.01068314
push dword [ebp + 0x14]
lea ecx, [esi + 0x11c]
call fcn.010682e4
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.01068314
push dword [ebp + 0x14]
mov ecx, edi
call fcn.010682e4
mov eax, dword [ebp - 0x20]
or dword [esi + 0x6f0], 0x20
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x1063313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 0x10