Function at 0x4af4c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00409e80
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24], 0xfffffe00
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
mov ecx, dword [ebx]
call fcn.0049be70
test eax, eax
je 0x4af77f
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.004b0600
test eax, eax
je 0x4af77f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00499e20
push 0x663b9c
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
mov ecx, esi
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af59d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 4]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af5eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 8]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0xc]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af687
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x663bcc
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0x10]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af6d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0x14]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af723
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp + 8]
call fcn.00404020
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b0940
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0x18]
add eax, 0x14
push eax
call fcn.00403640
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4af76f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [esi + 0x1c]
call fcn.004933d0
mov esi, 1
jmp 0x4af789
lea ecx, [ebp - 0x2c]
call fcn.00499e20
xor esi, esi
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 8]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x18]
push eax
call fcn.004170b0
push dword [ebp - 0x18]
call fcn.005a8a50
add esp, 4
mov eax, esi
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