Function at 0x45e450
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004d0877
add esp, 4
mov edi, eax
sub eax, dword [0x5d91f0]
mov ebx, edx
mov ecx, ebx
sbb ecx, dword [0x5d91f4]
mov dword [ebp - 0x14], ecx
js 0x45e6d1
jg 0x45e4a8
cmp eax, 5
jbe 0x45e6d1
push 2
lea edx, [ebp - 0x10]
push edx
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x10]
push 0x57bfa8
push eax
call fcn.004d182a
add esp, 8
neg eax
sbb eax, eax
neg eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.System
mov dword [0x5d91f8], eax
call fcn.004087e0
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.WindSpeedUnits
mov dword [0x5d91fc], eax
call fcn.004087e0
mov dword [ebp - 4], 1
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PressureUnits
mov dword [0x5d9200], eax
call fcn.004087e0
mov dword [ebp - 4], 2
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.EnergyPowerUnits
mov dword [0x5d9204], eax
call fcn.004087e0
mov dword [ebp - 4], 3
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.FractionDisplay
mov dword [0x5d9208], eax
call fcn.004087e0
mov dword [ebp - 4], 4
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [0x5d920c], eax
push str.CloudCoverDisplay
call fcn.004087e0
mov dword [ebp - 4], 5
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.IlluminanceUnits
mov dword [0x5d9210], eax
call fcn.004087e0
mov dword [ebp - 4], 6
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Tilde
mov dword [0x5d9214], eax
call fcn.004087e0
mov dword [ebp - 4], 7
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.DistanceFormat
mov dword [0x5d9218], eax
call fcn.004087e0
mov dword [ebp - 4], 8
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InchDecimal
mov dword [0x5d921c], eax
call fcn.004087e0
mov dword [ebp - 4], 9
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 0x40
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InchFractionSize
mov dword [0x5d9220], eax
call fcn.004087e0
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PollutantType
mov dword [0x5d9224], eax
call fcn.004087e0
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], esi
call fcn.0045dec0
add esp, 8
mov dword [0x5cebcc], eax
mov dword [0x5d91f0], edi
mov dword [0x5d91f4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret