Function at 0x65f170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x65f179
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x65f192
add esp, 0xfffffff0
call fcn.00404830
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65f999
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x14]
push eax
mov al, byte [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0064096c
push ebp
mov eax, 0x65f9cc
call fcn.0065f11c
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x60], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 0
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0065fcb4
test al, al
je 0x65f1fb
push ebp
mov eax, 0x65f9f8
call fcn.0065f11c
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x60], 1
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0065fcb4
test al, al
je 0x65f21e
push ebp
mov eax, 0x65fa24
call fcn.0065f11c
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 1
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x65fa48
lea edi, [ebp - 0x4c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x65f28d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x58]
mov eax, dword [0x6c5ec8]
mov eax, dword [eax]
call fcn.004f24e0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040a200
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00409f88
mov eax, dword [ebp - 0x50]
mov edx, 0x65fa70
call fcn.0040574c
jne 0x65f283
mov esi, 0x65fa84
lea edi, [ebp - 0x4c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65f2cc
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov byte [eax + edx + 0x62], 0
xor eax, eax
push ebp
push 0x65f3ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2c], 0x10a3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xff
ja 0x65f319
bt dword [ebp - 0x4c], eax
jae 0x65f3e3
lea eax, [ebp - 0x2c]
call fcn.004d8a88
test al, al
je 0x65f38c
push ebp
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
lea edx, [ebp - 0x88]
mov ecx, 3
mov eax, 0x65fae8
call fcn.0040bd18
mov eax, dword [ebp - 0x68]
call fcn.0065f11c
pop ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov byte [eax + edx + 0x62], 1
inc dword [ebp - 0x14]
jmp 0x65f3e3
push ebp
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
lea edx, [ebp - 0x88]
mov ecx, 3
mov eax, 0x65fb28
call fcn.0040bd18
mov eax, dword [ebp - 0x8c]
call fcn.0065f11c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65f430
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 5
jne 0x65f2d1
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov byte [eax + edx + 0x67], 0
xor eax, eax
push ebp
push 0x65f59d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2c], 0x2a3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
call fcn.004d8a88
test al, al
je 0x65f51a
push ebp
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0xbc]
mov ecx, 4
mov eax, 0x65fb94
call fcn.0040bd18
mov eax, dword [ebp - 0x94]
call fcn.0065f11c
pop ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov byte [eax + edx + 0x67], 1
inc dword [ebp - 0x10]
jmp 0x65f593
push ebp
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0xbc]
mov ecx, 4
mov eax, 0x65fbd8
call fcn.0040bd18
mov eax, dword [ebp - 0xc0]
call fcn.0065f11c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65f5e0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jne 0x65f447
mov al, byte [ebp + 0x10]
sub al, 0xd
jne 0x65f76a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x60], 0
je 0x65f63b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040682c
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x63f330]
call fcn.00406a08
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040682c
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*4 + 0x68], ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x61], 0
je 0x65f680
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040682c
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x63f330]
call fcn.00406a08
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040682c
mov edx, dword [ebp - 4]
mov dword [edx + eax*4 + 0x68], 1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 1
mov edx, dword [0x63f330]
call fcn.00406a08
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040682c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x65f6f5
inc ebx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x65fc48
call fcn.0040bd18
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx*8]
call fcn.00405378
inc dword [ebp - 0xc]
dec ebx
jne 0x65f6b7
cmp dword [ebp - 0x14], 0
jle 0x65f70b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 0x65fc58
call fcn.00405378
cmp dword [ebp - 0x14], 1
jle 0x65f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 8
mov edx, 0x65fc64
call fcn.00405378
cmp dword [ebp - 0x14], 2
jle 0x65f73d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0x10
mov edx, 0x65fc70
call fcn.00405378
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 1
mov edx, dword [0x63f330]
call fcn.00406a08
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, 0x65fc80
call fcn.00405378
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040682c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x65f7ea
inc ebx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x65fc90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
push dword [eax + edx*8]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.004056c0
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, 8
mov dl, 1
mov eax, dword [0x4d7a18]
call fcn.004d8fa8
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*8 + 4], esi
push 0x405f4000
push 0
push 0
push 0
mov eax, esi
call fcn.004d9128
inc dword [ebp - 0xc]
dec ebx
jne 0x65f784
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040682c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x65f8aa
inc ebx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x65fc9c
call fcn.0040bd18
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx*8]
call fcn.00405378
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x65fc90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
push dword [eax + edx*8]
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.004056c0
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x4d7a18]
call fcn.004d8fa8
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + edx*8 + 4], esi
push 0x40c19400
push 0
push 0
push 0
mov eax, esi
call fcn.004d9128
inc dword [ebp - 0xc]
dec ebx
jne 0x65f808
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040682c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x65f956
inc ebx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x65fcac
call fcn.0040bd18
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx*8]
call fcn.00405378
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x65fc90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
push dword [eax + edx*8]
lea eax, [ebp - 0xdc]
mov edx, 3
call fcn.004056c0
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, 3
mov dl, 1
mov eax, dword [0x4d7a18]
call fcn.004d8fa8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*8 + 4], eax
inc dword [ebp - 0xc]
dec ebx
jne 0x65f8c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65f9a0
lea eax, [ebp - 0xdc]
mov edx, 8
call fcn.00405348
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00405348
lea eax, [ebp - 0x68]
call fcn.00405324
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00405348
ret