Function at 0x4e2ac0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4e2ac9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x4e2fcb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e2638]
call fcn.004e2a80
mov esi, eax
mov eax, dword [esi + 0x398]
mov edx, dword [eax]
call dword [edx + 0xe8]
mov eax, dword [0x5bf1d0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e2b81
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 4]
mov eax, dword [0x5bf1d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 4]
mov eax, 0x4e2fe4
call fcn.00405a98
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e2b52
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
sub ecx, edi
lea edx, [edi + 1]
mov eax, dword [ebp - 4]
call fcn.004059b4
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x398]
mov eax, dword [eax + 0x284]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4e2b25
xor edx, edx
mov eax, dword [esi + 0x398]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov edx, dword [eax + 0x27c]
mov eax, dword [esi + 0x3c4]
call fcn.00462bd4
mov eax, dword [esi + 0x3c4]
mov edx, dword [eax + 0x4c]
add edx, dword [esi + 0x4c]
sub edx, 0xa
mov eax, esi
call fcn.004622c0
mov edx, 0x4e2ff0
mov eax, dword [esi + 0x368]
call fcn.00462bd4
mov edx, 0x4e3000
mov eax, dword [esi + 0x370]
call fcn.00462bd4
mov edx, 0x4e300c
mov eax, dword [esi + 0x36c]
call fcn.00462bd4
mov edx, 0x4e301c
mov eax, dword [esi + 0x374]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x378]
call fcn.00462bd4
mov edx, 0x4e3034
mov eax, dword [esi + 0x37c]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x380]
call fcn.00462bd4
mov edx, 0x4e3048
mov eax, dword [esi + 0x384]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x388]
call fcn.00462bd4
mov edx, 0x4e305c
mov eax, dword [esi + 0x38c]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x390]
call fcn.00462bd4
mov edx, 0x4e3070
mov eax, dword [esi + 0x3a4]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x3a8]
call fcn.00462bd4
mov edx, 0x4e3080
mov eax, dword [esi + 0x3c0]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x39c]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x3a0]
call fcn.00462bd4
mov edx, 0x4e3098
mov eax, dword [esi + 0x394]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x398]
call fcn.00462bd4
mov edx, 0x4e30a8
mov eax, dword [esi + 0x3ac]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x3b0]
call fcn.00462bd4
mov edx, 0x4e30b8
mov eax, dword [esi + 0x3b4]
call fcn.00462bd4
xor edx, edx
mov eax, dword [esi + 0x3b8]
call fcn.00462bd4
mov edx, 0x4e30c8
mov eax, dword [esi + 0x3c8]
call fcn.00462bd4
mov edx, 0x4e30e8
mov eax, dword [esi + 0x360]
call fcn.00462bd4
mov edx, 0x4e30f8
mov eax, dword [esi + 0x364]
call fcn.00462bd4
cmp dword [ebp - 8], 0
je 0x4e2e1b
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [esi + 0x390]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x3a8]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x39c]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x3a0]
call fcn.00462bd4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.005a59a0
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x398]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x378]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x24]
mov eax, dword [esi + 0x380]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x28]
mov eax, dword [esi + 0x388]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x2c]
mov eax, dword [esi + 0x3b0]
call fcn.00462bd4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [esi + 0x3b8]
call fcn.00462bd4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x1c], 0
je 0x4e2e0b
mov dl, 1
mov eax, dword [esi + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
jmp 0x4e2e1b
mov dl, 1
mov eax, dword [esi + 0x36c]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xfc]
mov ebx, eax
cmp ebx, 1
jne 0x4e2f7f
cmp dword [ebp - 8], 0
je 0x4e2f7f
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x390]
call fcn.00462ba4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.004054e4
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x3a8]
call fcn.00462ba4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.004054e4
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0x39c]
call fcn.00462ba4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, 0x10
call fcn.004054e4
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0x3a0]
call fcn.00462ba4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, 0x14
call fcn.004054e4
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x398]
call fcn.00462ba4
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005a5abc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.004054e4
mov eax, dword [esi + 0x370]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x4e2eec
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 1
jmp 0x4e2ef3
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 0
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x378]
call fcn.00462ba4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, 0x20
call fcn.004054e4
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x380]
call fcn.00462ba4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
add eax, 0x24
call fcn.004054e4
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x388]
call fcn.00462ba4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
add eax, 0x28
call fcn.004054e4
lea edx, [ebp - 0x40]
mov eax, dword [esi + 0x3b0]
call fcn.00462ba4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
add eax, 0x2c
call fcn.004054e4
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x3b8]
call fcn.00462ba4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
add eax, 0x34
call fcn.004054e4
mov eax, esi
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2fd2
lea eax, [ebp - 0x44]
mov edx, 6
call fcn.004054b4
lea eax, [ebp - 0x2c]
call fcn.00405490
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004054b4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004054b4
lea eax, [ebp - 4]
call fcn.00405490
ret