Function at 0x4cfa50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4cfa58
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4cfe33
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x2c], 0
je 0x4cfa83
cmp dword [ebx + 0x30], 0
jne 0x4cfdee
lea eax, [ebp - 8]
call fcn.004cab3c
mov eax, dword [ebp - 8]
call fcn.00419864
test al, al
je 0x4cfb12
push 0x186a0
push 0xf4240
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x2c]
mov edx, 0x4cfe50
mov eax, 0x4cfe70
call fcn.004bdc2c
mov dword [ebx + 0x2c], eax
push 0x186a0
push 0xf4240
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x30]
mov edx, 0x4cfe84
mov eax, 0x4cfe70
call fcn.004bdc2c
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, 0x4cfea0
mov eax, 0x4cfe70
call fcn.004bdb24
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x34]
call fcn.00405e0c
cmp dword [ebx + 0x2c], 0
jle 0x4cfb12
cmp dword [ebx + 0x30], 0
jg 0x4cfdee
xor edx, edx
push ebp
push 0x4cfde4
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, 0x4cfec0
call fcn.004c9758
test al, al
je 0x4cfdda
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 4]
call fcn.00405e0c
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x4cff34
call fcn.004be694
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406060
cmp dword [ebx + 0x2c], 0
jne 0x4cfc45
lea eax, [ebp - 0x10]
mov edx, 0x4cff44
call fcn.004050a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004058f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cfba3
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4cfba3
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040520c
mov esi, eax
test esi, esi
je 0x4cfbae
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x14]
add edx, esi
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00405840
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov edx, dword [ebp - 0x20]
mov eax, 0x4cff5c
call fcn.004068e0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405840
push 0
push 0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov eax, dword [ebp - 0x24]
call fcn.004193b4
cmp edx, 0
jne 0x4cfc13
cmp eax, 0
jbe 0x4cfc2f
jmp 0x4cfc15
jle 0x4cfc2f
push 0
push 0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov eax, dword [ebp - 0x28]
call fcn.004193b4
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x2c]
mov edx, 0x4cfe50
mov eax, 0x4cfe70
call fcn.004bdd30
cmp dword [ebx + 0x30], 0
jne 0x4cfd2b
lea eax, [ebp - 0x10]
mov edx, 0x4cff6c
call fcn.004050a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004058f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cfc89
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4cfc89
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040520c
mov esi, eax
test esi, esi
je 0x4cfc94
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x18]
add edx, esi
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00405840
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov edx, dword [ebp - 0x2c]
mov eax, 0x4cff5c
call fcn.004068e0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405840
push 0
push 0
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov eax, dword [ebp - 0x30]
call fcn.004193b4
cmp edx, 0
jne 0x4cfcf9
cmp eax, 0
jbe 0x4cfd15
jmp 0x4cfcfb
jle 0x4cfd15
push 0
push 0
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov eax, dword [ebp - 0x34]
call fcn.004193b4
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x30]
mov edx, 0x4cfe84
mov eax, 0x4cfe70
call fcn.004bdd30
cmp dword [ebx + 0x34], 0
jne 0x4cfdda
lea eax, [ebp - 0x10]
mov edx, 0x4cff84
call fcn.004050a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004058f0
mov edi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4cfd6e
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4cfd6e
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0040520c
mov esi, eax
test esi, esi
je 0x4cfd79
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea edx, [esi + edi]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00405840
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00406038
mov edx, dword [ebp - 0x3c]
mov eax, 0x4cff5c
call fcn.004068e0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405840
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x34]
call fcn.00406038
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, 0x4cfea0
mov eax, 0x4cfe70
call fcn.004bdcc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfdee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfe3a
lea eax, [ebp - 0x3c]
call fcn.00405dfc
lea eax, [ebp - 0x38]
call fcn.00404ff0
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00405e04
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405014
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405e04
ret