Function at 0x4b4c68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
mov esi, 0x68b398
push eax
push esi
lea eax, [ebp + 0x10]
mov ebx, ecx
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.004227ad
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004227ad
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004227ad
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea eax, [ebp + 0x24]
push eax
push esi
lea eax, [ebp + 0x20]
push eax
push esi
lea eax, [ebp + 0x1c]
push eax
push esi
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.004227ad
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004227ad
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.004227ad
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
call dword [eax + 0xc]
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x24
mov edx, esi
mov dword [ebp - 4], edx
test eax, eax
jle 0x4b4ebe
mov edi, dword [ebp - 8]
mov ecx, dword [ebx + 0x68]
push edx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x4b4dd9
lea esi, [eax - 8]
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
push edi
lea ecx, [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
call fcn.004229b4
test eax, eax
je 0x4b4e1f
lea ecx, [esi - 0x10]
call fcn.00419521
mov edx, dword [ebp - 4]
inc edx
push 0
mov dword [ebp - 4], edx
pop esi
cmp edx, dword [ebp - 0x14]
jl 0x4b4dca
jmp 0x4b4ebe
mov ecx, dword [ebx + 0x68]
push dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esi - 0x10]
call fcn.00419521
lea edi, [ebx + 0x74]
xor esi, esi
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x24
cdq
pop ecx
idiv ecx
mov dword [ebp - 0xc], esi
test eax, eax
je 0x4b4e8f
mov eax, esi
mov dword [ebp - 4], eax
mov ecx, dword [edi]
push dword [ebp + 0x18]
add ecx, eax
call fcn.004229b4
test eax, eax
je 0x4b4e7d
push 0x24
pop eax
add dword [ebp - 4], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
inc ecx
cmp ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
jb 0x4b4e4e
jmp 0x4b4e8f
imul eax, dword [ebp - 0xc], 0x24
mov ecx, edi
add eax, dword [edi]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00511128
push 0x68c4fc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004227e4
add esp, 0xc
lea ecx, [ebx + 0x70]
push 0x6809b0
push dword [eax]
call fcn.004e936a
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x1c]
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, esi
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x4b4fc8
mov ecx, dword [ebx + 0x68]
push eax
mov edx, dword [ecx]
call dword [edx]
test eax, eax
je 0x4b4eef
add eax, 0xfffffff8
mov dword [ebp - 4], eax
jmp 0x4b4ef4
mov eax, esi
mov dword [ebp - 4], esi
lea ecx, [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
push edi
lea ecx, [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
call fcn.004229b4
test eax, eax
je 0x4b4f3a
lea ecx, [esi - 0x10]
call fcn.00419521
mov eax, dword [ebp - 0x10]
inc eax
push 0
mov dword [ebp - 0x10], eax
pop esi
cmp eax, dword [ebp - 0x18]
jl 0x4b4edb
jmp 0x4b4fc6
mov ecx, dword [ebp - 4]
and dword [ebp - 0xc], 0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4b4fad
xor edx, edx
mov ecx, dword [ebp - 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.004177e7
push str.cityitem_cityname
lea ecx, [ebp - 0x10]
call fcn.004334a5
test eax, eax
je 0x4b4f97
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
inc dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
cmp edx, eax
jl 0x4b4f4c
jmp 0x4b4fad
mov ecx, dword [ebp - 0x1c]
push dword [ebp + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
push dword [ebp - 8]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x170]
lea ecx, [esi - 0x10]
call fcn.00419521
xor esi, esi
mov eax, dword [ebx + 0x78]
sub eax, dword [ebx + 0x74]
push 0x24
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4b5016
mov eax, esi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x74]
push dword [ebp + 8]
add ecx, eax
call fcn.004229b4
test eax, eax
je 0x4b5007
mov eax, dword [ebx + 0x78]
inc esi
sub eax, dword [ebx + 0x74]
push 0x24
pop ecx
cdq
idiv ecx
add dword [ebp - 0x10], ecx
cmp esi, eax
mov eax, dword [ebp - 0x10]
jb 0x4b4fdd
jmp 0x4b5016
imul ecx, esi, 0x24
lea eax, [ebp + 0x18]
push eax
add ecx, dword [ebx + 0x74]
call fcn.00418bac
mov esi, dword [ebp - 8]
lea ecx, [ebx + 0x70]
push esi
push edi
call fcn.004e936a
mov eax, dword [ebx + 0x70]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
push eax
call fcn.00418dea
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esp
push str.List
call fcn.004177e7
push ecx
mov ecx, esp
push str.OtherCity
call fcn.004177e7
mov ecx, 0x735bd8
call fcn.004fdb1b
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00418bac
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebx + 0x50]
call fcn.00418bac
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebx + 0x54]
call fcn.00418bac
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20