Function at 0x472720
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x516108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x472b9b
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00413ec0
mov dword [ebp - 0x24], eax
push 0x4fb370
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x4727b5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x4727de
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea ecx, [esi + 0x14]
push edi
call fcn.004021f0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x47283d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x472866
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 4]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x4728c5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x4728ee
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 8]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472918
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x47294d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x472976
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0xc]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4729a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4fb3a0
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x4729d5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x4729fe
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x10]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472a28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x472a5d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x472a86
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x14]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472ab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x10]
call fcn.00404470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c980
mov esi, eax
cmp esi, dword [ebp - 0x24]
je 0x472ae5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413a40
test al, al
je 0x472b0e
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00473c40
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045fde0
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x18]
lea ecx, [esi + 0x14]
push eax
call fcn.004021f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x472b36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 0x2c], 0xfffffe00
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00473a20
test eax, eax
je 0x472b66
lea esi, [edi + 0x1c]
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00468960
jmp 0x472b69
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.00465be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0045d510
push 0x18
push 1
push dword [ebp - 0x24]
call fcn.00403ec0
add esp, 0xc
jmp 0x472b9e
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00436ce0
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4