Function at 0x492da0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5806bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d4090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.0040b930
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmovae ecx, edi
push 0xd
push str.RAINFALL_CORR
mov edx, ebx
call fcn.004114b0
add esp, 8
test eax, eax
jne 0x492e1e
movsd xmm0, qword [esi + 0x298]
movsd qword [ebp - 0x34], xmm0
jmp 0x493170
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, 0xd
mov esi, ebx
cmovae ecx, edi
mov edx, str.SNOWFALL_CORR
cmp ebx, eax
cmova esi, eax
sub esi, 4
jb 0x492e51
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x492e56
add ecx, 4
add edx, 4
sub esi, 4
jae 0x492e40
cmp esi, 0xfffffffc
je 0x492e8a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x492e83
cmp esi, 0xfffffffd
je 0x492e8a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x492e83
cmp esi, 0xfffffffe
je 0x492e8a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x492e83
cmp esi, 0xffffffff
je 0x492e8a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x492e8a
sbb eax, eax
or eax, 1
jmp 0x492e8c
xor eax, eax
test eax, eax
jne 0x492eac
cmp ebx, 0xd
jb 0x492eac
ja 0x492eac
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x2a0]
movsd qword [ebp - 0x34], xmm0
jmp 0x493170
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, 9
mov esi, ebx
cmovae ecx, edi
mov edx, str.ELEVATION
cmp ebx, eax
cmova esi, eax
mov dword [ebp - 0x38], esi
sub esi, 4
jb 0x492ee1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x492ee6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x492ed0
cmp esi, 0xfffffffc
je 0x492f1a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x492f13
cmp esi, 0xfffffffd
je 0x492f1a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x492f13
cmp esi, 0xfffffffe
je 0x492f1a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x492f13
cmp esi, 0xffffffff
je 0x492f1a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x492f1a
sbb eax, eax
or eax, 1
jmp 0x492f1c
xor eax, eax
test eax, eax
jne 0x492f34
cmp ebx, 9
jb 0x492f34
ja 0x492f34
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x38]
jmp 0x49316b
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, 0xf
mov esi, ebx
cmovae ecx, edi
mov edx, str.CLOUD_MIN_RANGE
cmp ebx, eax
cmova esi, eax
mov edi, esi
sub edi, 4
jb 0x492f67
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x492f6c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x492f56
cmp edi, 0xfffffffc
je 0x492fa0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x492f99
cmp edi, 0xfffffffd
je 0x492fa0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x492f99
cmp edi, 0xfffffffe
je 0x492fa0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x492f99
cmp edi, 0xffffffff
je 0x492fa0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x492fa0
sbb eax, eax
or eax, 1
jmp 0x492fa2
xor eax, eax
test eax, eax
jne 0x492fbd
cmp ebx, 0xf
jb 0x492fbd
ja 0x492fbd
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x2a8]
jmp 0x493168
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, str.CLOUD_MAX_RANGE
cmovae ecx, edi
sub esi, 4
jb 0x492fe5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x492fea
add ecx, 4
add edx, 4
sub esi, 4
jae 0x492fd4
cmp esi, 0xfffffffc
je 0x49301e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x493017
cmp esi, 0xfffffffd
je 0x49301e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x493017
cmp esi, 0xfffffffe
je 0x49301e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x493017
cmp esi, 0xffffffff
je 0x49301e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x49301e
sbb eax, eax
or eax, 1
jmp 0x493020
xor eax, eax
test eax, eax
jne 0x49303b
cmp ebx, 0xf
jb 0x49303b
ja 0x49303b
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x2b0]
jmp 0x49316b
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, 8
mov esi, ebx
cmovae ecx, edi
mov edx, str.LATITUDE
cmp ebx, eax
cmova esi, eax
sub esi, 4
jb 0x493071
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x493076
add ecx, 4
add edx, 4
sub esi, 4
jae 0x493060
cmp esi, 0xfffffffc
je 0x4930aa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4930a3
cmp esi, 0xfffffffd
je 0x4930aa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4930a3
cmp esi, 0xfffffffe
je 0x4930aa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4930a3
cmp esi, 0xffffffff
je 0x4930aa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4930aa
sbb eax, eax
or eax, 1
jmp 0x4930ac
xor eax, eax
test eax, eax
jne 0x4930c4
cmp ebx, 8
jb 0x4930c4
ja 0x4930c4
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x18]
jmp 0x49316b
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x38]
mov edx, str.LONGITUDE
cmovae ecx, edi
sub esi, 4
jb 0x4930f1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4930f6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4930e0
cmp esi, 0xfffffffc
je 0x49312a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x493123
cmp esi, 0xfffffffd
je 0x49312a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x493123
cmp esi, 0xfffffffe
je 0x49312a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x493123
cmp esi, 0xffffffff
je 0x49312a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x49312a
sbb eax, eax
or eax, 1
jmp 0x49312c
xor eax, eax
test eax, eax
jne 0x493141
cmp ebx, 9
jb 0x493141
ja 0x493141
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [eax + 0x20]
jmp 0x49316b
sub esp, 0x18
mov edx, str.CGauge::GetGaugeProperty:_unrecognized_gauge_property
mov ecx, esp
push dword [ebp - 0x30]
call fcn.00410e60
add esp, 4
xor cl, cl
call fcn.0040bfd0
movsd xmm0, qword [0x5bac58]
add esp, 0x18
mov edi, dword [ebp - 0x28]
movsd qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4931a4
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x493195
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4931c2
push ecx
push edi
call fcn.0051faa7
movsd xmm0, qword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051fa69
mov esp, ebp
pop ebp
ret 4
call fcn.0052eb21
int3