Function at 0x494d20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8838
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6619c4]
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 0x494ff3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00408720
mov dword [ebp - 0x20], eax
push str.country
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
push esi
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494dc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 4]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494e17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 8]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494e65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0xc]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494eb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x63eff4
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x10]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494f01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x14]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494f4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x14]
call fcn.00406970
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004960b0
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x18]
push eax
lea ecx, [ecx + 0x14]
call fcn.00407150
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 0x494f9b
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.00495f50
test eax, eax
je 0x494fc7
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00486cb0
lea ecx, [ebp - 0x34]
call fcn.00487a50
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.00475700
push dword [ebp - 0x20]
call fcn.00589955
add esp, 4
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
call fcn.00412030
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