Function at 0x4f938c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4f9394
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f9632
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00405de0
test ebx, ebx
je 0x4f949e
mov edx, 0x4f964c
mov eax, ebx
call fcn.004d82c4
mov edx, dword [0x4d7794]
call fcn.00403fa0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f949e
lea eax, [ebp - 0x14]
call fcn.004f92e4
lea eax, [ebp - 0x18]
call fcn.004f9354
lea eax, [ebp - 0x1c]
call fcn.004f931c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edi, eax
dec edi
test edi, edi
jl 0x4f949e
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.004d803c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 4]
call fcn.0040c0f8
cmp dword [ebp - 4], 0
je 0x4f9494
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040c0f8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040bf78
test al, al
jne 0x4f9488
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.0040c0f8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040bf78
test al, al
jne 0x4f9488
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.0040c0f8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0040bf78
test al, al
je 0x4f9494
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405de0
jmp 0x4f949e
inc dword [ebp - 0x24]
dec edi
jne 0x4f9418
cmp dword [esi], 0
jne 0x4f9565
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405e34
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x4f9668
mov eax, 0x4f9688
call fcn.004f7cc8
mov eax, dword [ebp - 0x38]
mov edx, 0x4f96a4
call fcn.0040656c
jne 0x4f9520
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x4f96b4
mov eax, 0x4f9688
call fcn.004f7cc8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4f94f6
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x4f9520
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405e34
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4f96d8
call fcn.0040629c
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.004f7c70
cmp dword [ebp - 0xc], 0
jne 0x4f954c
lea ecx, [ebp - 0xc]
mov dl, 1
xor eax, eax
call fcn.004f8b54
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4f9740
call fcn.0040629c
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.004f7c70
cmp dword [ebp - 0xc], 0
jne 0x4f955b
mov eax, esi
call fcn.004f931c
jmp 0x4f9565
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00405de0
test ebx, ebx
je 0x4f960a
mov edx, 0x4f97a8
mov eax, ebx
call fcn.004d82e8
test eax, eax
jl 0x4f960a
mov edx, 0x4f97a8
mov eax, ebx
call fcn.004d82c4
mov edx, dword [0x4d7960]
call fcn.00403fa0
mov ebx, eax
test ebx, ebx
je 0x4f960a
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [esi]
call fcn.0040bbd4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040c0f8
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov eax, ebx
call fcn.004d8718
cmp dword [ebp - 8], 0
je 0x4f95d5
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0040bbd4
jmp 0x4f960a
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.0040bc9c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040c0f8
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
mov eax, ebx
call fcn.004d8718
cmp dword [ebp - 8], 0
je 0x4f960a
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0040bbd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9639
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00405dd8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405dd8
ret