Function at 0x4af7c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fba18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x68da90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], 0
cmp dword [eax - 0xc], 0
jne 0x4afa93
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00409e80
mov dword [ebp - 0x20], eax
push 0x663b9c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
push esi
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af869
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 4]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af8b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 8]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af905
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0xc]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af953
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x663bcc
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x10]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af9a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x14]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af9ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x14]
call fcn.00404020
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b0940
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x18]
push eax
lea ecx, [ecx + 0x14]
call fcn.00403640
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4afa3b
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 - 0x20]
call fcn.004b07e0
test eax, eax
je 0x4afa67
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0049bff0
lea ecx, [ebp - 0x34]
call fcn.00499e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x20]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004170b0
push dword [ebp - 0x20]
call fcn.005a8a50
add esp, 4
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
call fcn.004172d0
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