Function at 0x457a00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeea8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
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 0x457cd3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00402d00
mov dword [ebp - 0x20], eax
push str.country
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
push esi
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457aa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 4]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457af7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 8]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457b45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0xc]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457b93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ca910
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x10]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457be1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x14]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457c2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x14]
call fcn.00404ff0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00458c20
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + 0x18]
push eax
lea ecx, [ecx + 0x14]
call fcn.00416090
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 0x457c7b
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.00458ac0
test eax, eax
je 0x457ca7
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0044efa0
lea ecx, [ebp - 0x34]
call fcn.0044b610
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.004513b0
push dword [ebp - 0x20]
call fcn.00465daa
add esp, 4
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
call fcn.00438350
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