Function at 0x4e124b
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x7757d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xa148528a
mov dword [esp + 0x14], 7
push ebx
push 0x34
call fcn.005752a0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4e12a8
lea ecx, [eax + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov byte [eax + 0x28], 1
mov dword [eax + 0x2c], str.Highlight
mov dword [eax + 0x30], str.UnHighlight
mov dword [eax], 0x795d30
mov ebx, eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
add ecx, 0xb523a4ff
push ecx
push eax
call fcn.00537650
push 0x10
mov edi, eax
call fcn.005752a0
add esp, 0xc
test eax, eax
je 0x4e12da
mov dword [eax], 0x790c2c
mov dword [eax + 0xc], edi
add eax, 4
jmp 0x4e12dc
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0xc]
lea edi, [ebx + 0xc]
mov dword [ecx], eax
mov dword [edi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], edi
mov eax, dword [esi + 4]
push edx
push eax
call fcn.00537650
push 0x10
mov dword [esp + 0x1c], eax
call fcn.005752a0
add esp, 0xc
test eax, eax
je 0x4e131e
mov ecx, dword [esp + 0x10]
mov dword [eax], 0x790c2c
mov dword [eax + 0xc], ecx
add eax, 4
jmp 0x4e1320
xor eax, eax
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [edi + 4], eax
mov dword [eax], edi
mov edi, dword [esp + 0xc]
lea edx, [edi - 0x78bfe074]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
push edx
push eax
call fcn.00537650
mov ecx, dword [esp + 0x1c]
add esp, 8
push ebx
mov dword [ebx + 0x14], eax
call fcn.0052e420
mov eax, dword [esp + 0x18]
inc edi
dec eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
jne 0x4e1267
mov ecx, dword [esp + 0x14]
call fcn.0051f180
mov al, byte [0x86347d]
xor ebx, ebx
test al, al
je 0x4e1396
mov ecx, 0x85ad40
call fcn.005138c0
test eax, eax
je 0x4e1396
add eax, 0x434
test eax, eax
je 0x4e1396
mov ebx, dword [eax + 0x3bc]
mov eax, dword [0x8900ac]
test eax, eax
je 0x4e13b4
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
push ecx
push eax
mov ecx, 0x8637d0
call fcn.0053d500
push 0x92260f04
mov ecx, esi
call fcn.004cc2c0
mov eax, dword [0x835c68]
push 0x18
mov dword [esp + 0x14], eax
call fcn.005752a0
add esp, 4
test eax, eax
je 0x4e13ed
lea ecx, [eax + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov byte [eax + 0x14], 1
mov dword [eax], 0x795cb0
mov edi, eax
jmp 0x4e13ef
xor edi, edi
push 0x797668
push 0xabba6482
push edi
mov ecx, esi
call fcn.004b18f0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004b1520
mov ecx, dword [esp + 0x14]
push edi
call fcn.0051ef80
mov edx, dword [0x835c00]
push 0x797668
push edx
push 0x13b49408
mov ecx, esi
call fcn.004cc070
push 0x797668
push ebx
push 0x3b10cb47
mov ecx, esi
call fcn.004cc070
mov eax, dword [0x835c04]
push 0x797668
push eax
push 0xc967aee0
mov ecx, esi
call fcn.004cc070
mov ecx, dword [0x835c08]
push 0x797668
push ecx
push 0x241be921
mov ecx, esi
call fcn.004cc070
fld dword [0x835c0c]
fmul dword [0x784258]
push 0x797668
push ecx
mov ecx, esi
fstp dword [esp]
push 0xd817a4a
call fcn.004cc230
push 0xc3755f6d
mov ecx, esi
call fcn.004cc2c0
mov edx, dword [0x835c10]
push 0x797668
push edx
push 0x151c443f
mov ecx, esi
call fcn.004cc070
mov eax, dword [0x835c14]
push 0x797668
push eax
push 0x22a144ec
mov ecx, esi
call fcn.004cc070
mov ecx, dword [0x835c1c]
push 0x797668
push ecx
push 0x8eab27c5
mov ecx, esi
call fcn.004cc070
mov edx, dword [0x835c18]
push 0x797668
push edx
push 0x8090b36a
mov ecx, esi
call fcn.004cc070
mov eax, dword [0x835c20]
push 0x797668
push eax
push 0xef317ada
mov ecx, esi
call fcn.004cc070
mov ecx, dword [0x835c24]
push 0x797668
push ecx
push 0xe6e0bc3f
mov ecx, esi
call fcn.004cc070
push 0x11f7ac44
mov ecx, esi
call fcn.004cc2c0
mov edx, dword [0x835c2c]
mov eax, dword [0x835c28]
push 0x797668
push edx
push eax
push 0xc35dd09e
mov ecx, esi
call fcn.004cc100
mov ecx, dword [0x835c8c]
mov edx, dword [0x835c88]
push 0x797668
push ecx
push edx
push 0x678144ae
mov ecx, esi
call fcn.004cc100
mov eax, dword [0x835c30]
push 0x797668
push eax
push 0x5f77bb60
mov ecx, esi
call fcn.004cc070
push 0xa49003ba
mov ecx, esi
call fcn.004cc2c0
mov edi, 1
push edi
push 0x8b84e940
call fcn.004ff6d0
add esp, 4
push eax
lea ecx, [esp + 0x24]
push 0x20
push ecx
call fcn.0050c500
lea edx, [esp + 0x2c]
push edx
push 0x797668
push str._s_s
lea eax, [esp + 0x78]
push 0x20
push eax
call fcn.0050c500
mov ecx, dword [0x835de0]
add esp, 0x24
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, esi
call fcn.004cc1a0
push edi
mov ecx, 0x85ad40
call fcn.00500850
test al, al
je 0x4e1659
inc edi
cmp edi, 5
jg 0x4e1659
push edi
push 0x8b84e940
call fcn.004ff6d0
add esp, 4
push eax
lea eax, [esp + 0x24]
push 0x20
push eax
call fcn.0050c500
lea ecx, [esp + 0x2c]
push ecx
push 0x797668
push str._s_s
lea edx, [esp + 0x78]
push 0x20
push edx
call fcn.0050c500
mov eax, dword [edi*4 + 0x835ddc]
add esp, 0x24
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.004cc1a0
push edi
mov ecx, 0x85ad40
call fcn.00500850
test al, al
jne 0x4e15f7
push 0xa63a4af1
mov ecx, esi
call fcn.004cc2c0
mov edi, 1
push edi
push 0x8b84e940
call fcn.004ff6d0
add esp, 4
push eax
lea edx, [esp + 0x44]
push 0x20
push edx
call fcn.0050c500
lea eax, [esp + 0x4c]
push eax
push 0x797668
push str._s_s
lea ecx, [esp + 0x98]
push 0x20
push ecx
call fcn.0050c500
mov edx, dword [0x835e00]
add esp, 0x24
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.004cc1a0
push edi
mov ecx, 0x85ad40
call fcn.00500850
test al, al
je 0x4e1738
jmp 0x4e16d0
inc edi
cmp edi, 5
jg 0x4e1738
push edi
push 0x8b84e940
call fcn.004ff6d0
add esp, 4
push eax
lea ecx, [esp + 0x44]
push 0x20
push ecx
call fcn.0050c500
lea edx, [esp + 0x4c]
push edx
push 0x797668
push str._s_s
lea eax, [esp + 0x98]
push 0x20
push eax
call fcn.0050c500
mov ecx, dword [edi*4 + 0x835dfc]
add esp, 0x24
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, esi
call fcn.004cc1a0
push edi
mov ecx, 0x85ad40
call fcn.00500850
test al, al
jne 0x4e16d0
push 0
mov ecx, 0x85ad40
call fcn.00500850
test al, al
je 0x4e17c3
push 0x2e8d7e4b
mov ecx, esi
call fcn.004cc2c0
mov edi, 1
mov dword [esp + 0xc], 0x86221c
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
je 0x4e17c3
movsx ecx, word [edi*4 + 0x835c36]
movsx ebx, word [edi*4 + 0x835c34]
push edi
push str.CSTATISTICS_REGION_NAME__d
mov dword [esp + 0x18], ecx
call fcn.0050b530
mov edx, dword [esp + 0x18]
add esp, 8
push 0x797668
push edx
push ebx
push eax
mov ecx, esi
call fcn.004cc100
push edi
mov ecx, 0x85ad40
call fcn.00500850
test al, al
je 0x4e17c3
mov eax, dword [esp + 0xc]
add eax, 0x104
inc edi
cmp eax, 0x862730
mov dword [esp + 0xc], eax
jl 0x4e1761
push 0xea33e5b6
mov ecx, esi
call fcn.004cc2c0
mov eax, dword [0x835c54]
push 0x18
mov dword [esp + 0x14], eax
call fcn.005752a0
add esp, 4
test eax, eax
pop ebx
je 0x4e17fd
lea ecx, [eax + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov byte [eax + 0x14], 1
mov dword [eax], 0x795cb0
mov edi, eax
jmp 0x4e17ff
xor edi, edi
push 0x797668
push 0xe0af0d6a
push edi
mov ecx, esi
call fcn.004b18f0
push 0x98
call fcn.005752a0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xa0], 0
je 0x4e183f
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, eax
call fcn.004b1490
jmp 0x4e1841
xor eax, eax
test eax, eax
mov dword [esp + 0xa0], 0xffffffff
je 0x4e1855
add eax, 4
jmp 0x4e1857
xor eax, eax
mov edx, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0xc]
mov dword [edx], eax
mov dword [ecx + 4], eax
mov dword [eax], ecx
push edi
mov ecx, esi
mov dword [eax + 4], edx
call fcn.0051ef80
push 1
mov ecx, esi
call fcn.00538190
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret