Function at 0x4e64d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4e64e0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e677e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00405bc4
test ebx, ebx
je 0x4e65ea
mov edx, 0x4e6798
mov eax, ebx
call fcn.004c8e94
mov edx, dword [0x4c829c]
call fcn.00403f34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4e65ea
lea eax, [ebp - 0x14]
call fcn.004e6430
lea eax, [ebp - 0x18]
call fcn.004e64a0
lea eax, [ebp - 0x1c]
call fcn.004e6468
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edi, eax
dec edi
test edi, edi
jl 0x4e65ea
inc edi
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004c8be0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 4]
call fcn.0040be34
cmp dword [ebp - 4], 0
je 0x4e65e0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040be34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040bcb4
test al, al
jne 0x4e65d4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.0040be34
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040bcb4
test al, al
jne 0x4e65d4
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.0040be34
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0040bcb4
test al, al
je 0x4e65e0
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405bc4
jmp 0x4e65ea
inc dword [ebp - 0x24]
dec edi
jne 0x4e6564
cmp dword [esi], 0
jne 0x4e66b1
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405c18
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x4e67b4
mov eax, 0x4e67d4
call fcn.004e4d94
mov eax, dword [ebp - 0x38]
mov edx, 0x4e67f0
call fcn.00406350
jne 0x4e666c
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x4e6800
mov eax, 0x4e67d4
call fcn.004e4d94
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4e6642
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x4e666c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405c18
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4e6824
call fcn.00406080
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.004e4d3c
cmp dword [ebp - 0xc], 0
jne 0x4e6698
lea ecx, [ebp - 0xc]
mov dl, 1
xor eax, eax
call fcn.004e5ca0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4e688c
call fcn.00406080
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.004e4d3c
cmp dword [ebp - 0xc], 0
jne 0x4e66a7
mov eax, esi
call fcn.004e6468
jmp 0x4e66b1
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00405bc4
test ebx, ebx
je 0x4e6756
mov edx, 0x4e68f4
mov eax, ebx
call fcn.004c8eb8
test eax, eax
jl 0x4e6756
mov edx, 0x4e68f4
mov eax, ebx
call fcn.004c8e94
mov edx, dword [0x4c8468]
call fcn.00403f34
mov ebx, eax
test ebx, ebx
je 0x4e6756
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [esi]
call fcn.0040b910
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040be34
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov eax, ebx
call fcn.004c9398
cmp dword [ebp - 8], 0
je 0x4e6721
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0040b910
jmp 0x4e6756
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.0040b9d8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040be34
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
mov eax, ebx
call fcn.004c9398
cmp dword [ebp - 8], 0
je 0x4e6756
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0040b910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6785
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00405bbc
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405bbc
ret