Function at 0x4dac70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x88], ecx
lea eax, [ebp + 0x14]
push eax
push 0x594594
lea ecx, [ebp + 0x10]
push ecx
push 0x594594
lea edx, [ebp + 0xc]
push edx
push 0x594594
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0041ca60
add esp, 0xc
push eax
lea edx, [ebp - 0x44]
push edx
call fcn.0041ca00
add esp, 0xc
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041ca60
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0041ca00
add esp, 0xc
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.0041ca60
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041ca00
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0040f740
lea ecx, [ebp - 0x4c]
call fcn.0040f740
lea ecx, [ebp - 0x48]
call fcn.0040f740
lea ecx, [ebp - 0x44]
call fcn.0040f740
lea ecx, [ebp - 0x40]
call fcn.0040f740
lea ecx, [ebp + 0x24]
push ecx
push 0x594594
lea edx, [ebp + 0x20]
push edx
push 0x594594
lea eax, [ebp + 0x1c]
push eax
push 0x594594
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0041ca60
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ca00
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0041ca60
add esp, 0xc
push eax
lea edx, [ebp - 0x60]
push edx
call fcn.0041ca00
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041ca60
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041ca00
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.0040f740
lea ecx, [ebp - 0x60]
call fcn.0040f740
lea ecx, [ebp - 0x5c]
call fcn.0040f740
lea ecx, [ebp - 0x58]
call fcn.0040f740
lea ecx, [ebp - 0x54]
call fcn.0040f740
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov dword [ebp - 0x14], 0
jmp 0x4daddf
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jge 0x4daeb2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4dae2d
mov ecx, dword [ebp - 0x8c]
sub ecx, 8
mov dword [ebp - 0x90], ecx
jmp 0x4dae37
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x16c]
call eax
push eax
lea ecx, [ebp - 0x18]
call fcn.0041c880
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004a6090
add esp, 8
movzx eax, al
test eax, eax
je 0x4daea5
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
lea ecx, [ebp - 0x18]
call fcn.0040f740
jmp 0x4daeb2
lea ecx, [ebp - 0x18]
call fcn.0040f740
jmp 0x4dadd6
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x4daf93
mov dword [ebp - 0x20], 0
jmp 0x4daed0
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a40
cmp dword [ebp - 0x20], eax
jae 0x4daf58
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a60
push eax
call fcn.004a6090
add esp, 8
movzx edx, al
test edx, edx
je 0x4daf53
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a10
mov ecx, eax
call fcn.004e2a80
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a80
jmp 0x4daf58
jmp 0x4daec7
push 0x582b94
push 0x589a0c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.0041ca60
add esp, 0xc
mov ecx, eax
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x88
call fcn.004a5780
lea ecx, [ebp - 0x78]
call fcn.0040f740
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
jmp 0x4dafc7
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
jge 0x4db11c
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x4db015
mov ecx, dword [ebp - 0x94]
sub ecx, 8
mov dword [ebp - 0x98], ecx
jmp 0x4db01f
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x16c]
call eax
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c880
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004a6090
add esp, 8
movzx eax, al
test eax, eax
je 0x4db10f
mov dword [ebp - 0x30], 0
jmp 0x4db072
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x30], eax
jge 0x4db0e8
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x30]
call eax
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c8a0
push str.cityitem_cityname
lea ecx, [ebp - 0x38]
call fcn.00453fe0
test eax, eax
jne 0x4db0de
lea ecx, [ebp + 0x24]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x38]
call fcn.0040f740
jmp 0x4db0e8
lea ecx, [ebp - 0x38]
call fcn.0040f740
jmp 0x4db069
lea ecx, [ebp - 0x10]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov edx, dword [eax + 0x170]
call edx
lea ecx, [ebp - 0x28]
call fcn.0040f740
jmp 0x4db11c
lea ecx, [ebp - 0x28]
call fcn.0040f740
jmp 0x4dafbe
mov dword [ebp - 0x3c], 0
jmp 0x4db12e
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a40
cmp dword [ebp - 0x3c], eax
jae 0x4db191
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a60
push eax
call fcn.004a6090
add esp, 8
movzx eax, al
test eax, eax
je 0x4db18f
lea ecx, [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x8c
call fcn.004d7a60
mov ecx, eax
call fcn.0041c8e0
jmp 0x4db191
jmp 0x4db125
lea ecx, [ebp - 0x10]
call fcn.0041cb20
push eax
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x88
call fcn.004a5780
mov eax, dword [ebp - 0x88]
add eax, 0x88
push ecx
mov ecx, esp
push eax
call fcn.0041c880
push ecx
mov ecx, esp
push str.List
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.OtherCity
call fcn.0041c8a0
mov ecx, 0x5c2870
call fcn.00480e10
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0x64
call fcn.0041c8e0
lea edx, [ebp + 0x20]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x68
call fcn.0041c8e0
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x6c
call fcn.0041c8e0
lea ecx, [ebp - 0x10]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x14]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
lea ecx, [ebp + 0x20]
call fcn.0040f740
lea ecx, [ebp + 0x24]
call fcn.0040f740
mov esp, ebp
pop ebp
ret 0x20