Function at 0x4924c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e12de
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x515de0]
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 ebx, ecx
mov dword [ebp - 0x34], ebx
call fcn.004920c0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
call fcn.004913e0
lea ecx, [ebp - 0xbc]
call fcn.004a62d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 1
call fcn.004a7910
test al, al
je 0x492de0
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x74]
push eax
call fcn.004a7470
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x492da7
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
je 0x492da7
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x492da7
lea esp, [esp]
mov ecx, dword [edi + 0x20]
mov edx, str.meta
add ecx, 8
mov eax, ecx
lea ecx, [ecx]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4925c0
test bl, bl
je 0x4925bc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4925c0
add eax, 2
add edx, 2
test bl, bl
jne 0x4925a0
xor eax, eax
jmp 0x4925c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4925f2
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
push str.active
call fcn.004a80f0
test eax, eax
jne 0x492de0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0xc94], eax
jmp 0x492d93
mov eax, str.profile
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x492617
test dl, dl
je 0x492613
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x492617
add ecx, 2
add eax, 2
test dl, dl
jne 0x4925f7
xor eax, eax
jmp 0x49261c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492d90
push str.name
mov ecx, edi
call fcn.004a6be0
mov esi, eax
test esi, esi
je 0x492d90
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push str.TimedMode
mov ecx, edi
call fcn.004a80f0
push 0xcf0
call fcn.004c3c3a
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x49267b
push dword [ebp - 0x50]
mov ecx, eax
push esi
call fcn.00490bc0
mov ebx, eax
mov dword [ebp - 0x2c], eax
jmp 0x492680
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0xc64], 0x10
lea eax, [ebx + 0xc50]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], ebx
jb 0x492698
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.00491310
test al, al
jne 0x492e3c
lea eax, [ebx + 8]
mov ecx, edi
mov dword [eax], 0
push eax
push str.MovesLimitMode
call fcn.004a80f0
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
push str.level
call fcn.004a80f0
test eax, eax
jne 0x4926dc
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x26c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push str.Completed
mov ecx, edi
call fcn.004a80f0
mov eax, dword [ebp - 0x48]
mov ecx, edi
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x298]
push eax
push str.SkipSolitairesCount
mov dword [eax], 0
call fcn.004a80f0
lea eax, [ebx + 0x29c]
mov ecx, edi
mov dword [eax], 0
push eax
push str.SkipMahjongCount
call fcn.004a80f0
lea eax, [ebx + 0x280]
mov ecx, edi
mov dword [eax], 1
push eax
push str.InitStatus
call fcn.004a80f0
lea eax, [ebx + 0xc14]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Status
call fcn.004a80f0
lea eax, [ebx + 0xce0]
mov ecx, edi
mov dword [eax], 1
push eax
push str.SnowInM3
call fcn.004a80f0
lea eax, [ebx + 0x278]
mov ecx, edi
mov dword [eax], 0
push eax
push str.MahjongCompleted
call fcn.004a80f0
lea eax, [ebx + 0xcc0]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Season
call fcn.004a80f0
lea eax, [ebx + 0xcc4]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Clouds
call fcn.004a80f0
lea eax, [ebx + 4]
mov ecx, edi
mov dword [eax], 1
push eax
push str.EnabledHints
call fcn.004a80f0
lea eax, [ebx + 0xcc8]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Rain
call fcn.004a80f0
lea eax, [ebx + 0xcd0]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Rainbow
call fcn.004a80f0
lea eax, [ebx + 0xcd4]
mov ecx, edi
mov dword [eax], 0
push eax
push 0x4e992c
call fcn.004a80f0
lea eax, [ebx + 0xcdc]
push eax
push str.CurrentDate
mov ecx, edi
mov dword [eax], 1
call fcn.004a80f0
lea eax, [ebx + 0xcd8]
mov ecx, edi
mov dword [eax], 1
push eax
push str.Illumination
call fcn.004a80f0
lea eax, [ebx + 0xccc]
mov ecx, edi
mov dword [eax], 0
push eax
push str.Snow
call fcn.004a80f0
lea eax, [ebx + 0xcbc]
mov ecx, edi
mov dword [eax], 0
push eax
push str.TotalCoinsCount
call fcn.004a80f0
lea eax, [ebx + 0xc90]
mov ecx, edi
mov dword [eax], 0
push eax
push str.LastBuilding
call fcn.004a80f0
lea eax, [ebx + 0xc4c]
mov ecx, edi
mov dword [eax], 0
push eax
push str.WasChallengeMode
call fcn.004a80f0
lea eax, [ebx + 0xc08]
mov ecx, edi
mov dword [eax], 0
push eax
push str.OopsHintCount
call fcn.004a80f0
lea eax, [ebx + 0x27c]
mov ecx, edi
mov dword [eax], 0
push eax
push str.HogCompleted
call fcn.004a80f0
lea eax, [ebx + 0x274]
mov ecx, edi
mov dword [eax], 0
push eax
push str.SolitaireCompleted
call fcn.004a80f0
lea eax, [ebx + 0x10]
mov ecx, edi
mov dword [eax], 0x1e
push eax
push str.CoinsCount
call fcn.004a80f0
lea eax, [ebx + 0x2a0]
mov ecx, edi
mov dword [eax], 0
push eax
push str.AddedTime
call fcn.004a80f0
lea eax, [ebx + 0x2a4]
mov ecx, edi
mov dword [eax], 0
push eax
push str.AddedMoves
call fcn.004a80f0
lea eax, [ebx + 0xc0c]
mov ecx, edi
mov dword [eax], 0
push eax
push str.OutroStatus
call fcn.004a80f0
lea eax, [ebx + 0xce4]
mov dword [eax], 0
push eax
push str.KapljaHintCount
mov ecx, edi
call fcn.004a80f0
lea eax, [ebx + 0xce8]
mov ecx, edi
mov dword [eax], 0
push eax
push str.KeyHintCount
call fcn.004a80f0
lea eax, [ebx + 0xcec]
mov ecx, edi
mov dword [eax], 0
push eax
push str.HalfHintCount
call fcn.004a80f0
lea eax, [ebx + 0x288]
xorps xmm0, xmm0
push eax
push str.TotalTime
mov ecx, edi
movsd qword [eax], xmm0
call fcn.004a80b0
lea eax, [ebx + 0x290]
xorps xmm0, xmm0
push eax
push str.TimeInLevel
mov ecx, edi
movsd qword [eax], xmm0
call fcn.004a80b0
lea eax, [ebx + 0x270]
mov ecx, edi
mov dword [eax], 0
push eax
push str.TotalBonusUsed
call fcn.004a80f0
lea eax, [ebx + 0xc18]
mov ecx, edi
mov dword [eax], 0x556
push eax
push str.CityPosition
call fcn.004a80f0
lea eax, [ebx + 0xc44]
mov ecx, edi
mov dword [eax], 0
push eax
push str.GreatTimingCounter
call fcn.004a80f0
lea eax, [ebx + 0xc48]
mov ecx, edi
mov dword [eax], 0
push eax
push str.BarrelLevelCompleted
call fcn.004a80f0
lea eax, [ebx + 0x284]
mov ecx, edi
mov dword [eax], 0
push eax
push str.ComboCount
call fcn.004a80f0
mov ecx, edi
call fcn.004a7500
mov edi, eax
test edi, edi
je 0x492d79
mov ecx, dword [edi + 0x20]
mov esi, str.buildings
add ecx, 8
mov edx, ecx
mov edi, edi
mov al, byte [edx]
cmp al, byte [esi]
jne 0x492aa0
test al, al
je 0x492a9c
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x492aa0
add edx, 2
add esi, 2
test al, al
jne 0x492a80
xor eax, eax
jmp 0x492aa5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492af0
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push 0x4e5b34
call fcn.004a80f0
test eax, eax
jne 0x492d68
cmp dword [ebp - 0x44], 0x63
ja 0x492d68
mov dword [ebp - 0x30], eax
mov ecx, edi
lea eax, [ebp - 0x30]
push eax
push str.value
call fcn.004a80f0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
mov dword [ebx + ecx*4 + 0xdc], eax
jmp 0x492d68
mov edx, str.achievement
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x492b17
test bl, bl
je 0x492b13
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x492b17
add eax, 2
add edx, 2
test bl, bl
jne 0x492af7
xor eax, eax
jmp 0x492b1c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492b71
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
push 0x4e5b34
call fcn.004a80f0
test eax, eax
jne 0x492d65
cmp dword [ebp - 0x54], 0x31
ja 0x492d65
mov dword [ebp - 0x30], eax
mov ecx, edi
lea eax, [ebp - 0x30]
push eax
push str.value
call fcn.004a80f0
mov ecx, dword [ebp - 0x30]
mov eax, 2
mov ebx, dword [ebp - 0x2c]
test ecx, ecx
cmovne ecx, eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + eax*4 + 0x14], ecx
jmp 0x492d68
mov edx, str.level
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x492b98
test bl, bl
je 0x492b94
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x492b98
add eax, 2
add edx, 2
test bl, bl
jne 0x492b78
xor eax, eax
jmp 0x492b9d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492c40
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push 0x4e98d4
call fcn.004a80f0
test eax, eax
jne 0x492d65
mov eax, dword [ebp - 0x38]
dec eax
cmp eax, 0xc7
ja 0x492d65
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push str.moves
mov ecx, edi
call fcn.004a80f0
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebx + ecx*4 + 0x2a4], eax
lea eax, [ebp - 0x4c]
push eax
push str.time
mov ecx, edi
mov dword [ebp - 0x4c], 0
call fcn.004a80f0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x4c]
mov dword [ebx + ecx*4 + 0x5c4], eax
lea eax, [ebp - 0x40]
push eax
push str.OnceCheckpoint
mov ecx, edi
mov dword [ebp - 0x40], 0
call fcn.004a80f0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ebx + ecx*4 + 0x8e4], eax
jmp 0x492d68
mov edx, str.hintstatus
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x492c67
test bl, bl
je 0x492c63
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x492c67
add eax, 2
add edx, 2
test bl, bl
jne 0x492c47
xor eax, eax
jmp 0x492c6c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492ca7
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
push 0x4e98d4
call fcn.004a80f0
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x492d68
mov eax, dword [ebp - 0x64]
cmp eax, 9
ja 0x492d68
mov dword [ebx + eax*4 + 0xc1c], 1
jmp 0x492d68
mov edx, str.GhostStatus
mov eax, ecx
mov edi, edi
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x492cd0
test bl, bl
je 0x492ccc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x492cd0
add eax, 2
add edx, 2
test bl, bl
jne 0x492cb0
xor eax, eax
jmp 0x492cd5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492d05
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x4e98d4
call fcn.004a80f0
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x492d68
mov eax, dword [ebp - 0x68]
cmp eax, 9
ja 0x492d68
mov dword [ebx + eax*4 + 0xc68], 1
jmp 0x492d68
mov eax, str.RandomCoinStatus
lea ebx, [ebx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x492d30
test dl, dl
je 0x492d2c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x492d30
add ecx, 2
add eax, 2
test dl, dl
jne 0x492d10
xor eax, eax
jmp 0x492d35
sbb eax, eax
or eax, 1
test eax, eax
jne 0x492d65
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
push 0x4e98d4
call fcn.004a80f0
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x492d68
mov eax, dword [ebp - 0x70]
cmp eax, 9
ja 0x492d68
mov dword [ebx + eax*4 + 0xc94], 1
jmp 0x492d68
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
call fcn.004a79d0
mov edi, eax
test edi, edi
jne 0x492a71
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0xcac]
call fcn.004b5d80
mov edi, dword [ebp - 0x3c]
jmp 0x492d93
mov ebx, dword [ebp - 0x34]
mov ecx, edi
call fcn.004a79d0
mov edi, eax
mov dword [ebp - 0x3c], eax
test edi, edi
jne 0x492590
mov ecx, dword [ebx + 0xc94]
test ecx, ecx
js 0x492dc4
mov eax, dword [ebx + 0xcb0]
sub eax, dword [ebx + 0xcac]
sar eax, 2
cmp ecx, eax
jl 0x492de0
mov eax, dword [ebx + 0xcb0]
sub eax, dword [ebx + 0xcac]
and eax, 0xfffffffc
neg eax
sbb eax, eax
neg eax
dec eax
mov dword [ebx + 0xc94], eax
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0
mov dword [ebp - 0xbc], vtable.TiXmlDocument.0
cmp eax, 0x51db9c
je 0x492e04
push eax
call fcn.004c3c8b
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.004a6840
cmp dword [ebp - 0x14], 8
jb 0x492e20
push dword [ebp - 0x28]
call fcn.004c3c8b
add esp, 4
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.004c4554
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x492de0
cmp dword [ebx + 0xc64], 0x10
jb 0x492e57
push dword [ebx + 0xc50]
call fcn.004c3c8b
add esp, 4
mov dword [ebx + 0xc64], 0xf
mov dword [ebx + 0xc60], 0
push ebx
mov byte [ebx + 0xc50], 0
call fcn.004c3c8b
add esp, 4
jmp 0x492de0