Function at 0x1005052a
Capabilities:
Get geographical location

Disassembly:
push 0x270
mov eax, 0x100f04b0
call fcn.10082248
mov esi, ecx
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x8c], bl
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.10038661
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 2
call fcn.10038661
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.10038661
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 4
call fcn.10038661
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.10038661
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x264]
call fcn.1003ad80
test al, al
je 0x10050ad2
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x58]
push 9
mov edi, str.recordset
mov dword [ebp - 0x48], ebx
push edi
mov byte [ebp - 0x58], bl
call fcn.100187f0
push 9
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.100187f0
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x264]
call fcn.1003a73b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov bl, al
call fcn.10003d90
lea ecx, [ebp - 0x58]
test bl, bl
jne 0x10050625
call fcn.10003d90
xor ebx, ebx
jmp 0x10050ad2
mov byte [ebp - 4], 6
call fcn.10003d90
push 0xf
pop edi
push 5
xor ebx, ebx
mov dword [ebp - 0x2c], edi
push str.popup
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.100187f0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1003a73b
test al, al
je 0x100509ca
lea ecx, [ebp - 0x1bc]
call fcn.10038661
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xa
call fcn.10038661
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xb
call fcn.10038661
push 6
push str.cdnpup
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.100187f0
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1003a5e3
push 5
push str.cdwat
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1003a5e3
push 4
push str.city
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1003a73b
test al, al
je 0x1005081d
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1003ac74
test al, al
je 0x10050811
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x268], 0x64
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
lea eax, [ecx + 1]
mov dword [ebp - 0x26c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005075c
sub ecx, dword [ebp - 0x26c]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.100187f0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10037d3d
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.10003d90
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1003a5e3
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x64], ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], ebx
call fcn.1003744e
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [esi + 4]
call fcn.1004b5d6
lea ecx, [ebp - 0x74]
call fcn.10001ee0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xd
call fcn.10001ee0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1003ac74
test al, al
jne 0x1005072f
push 0xf
pop edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.10003d90
push 8
push str.channels
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1003a73b
test al, al
je 0x100508ed
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x184]
call fcn.1003ac74
test al, al
je 0x100508e1
or dword [ebp - 0x268], 0xffffffff
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x184]
call fcn.1003a5e3
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100373ec
call fcn.1003651b
mov dword [ebp - 0x274], eax
lea ecx, [esi + 0xc]
mov eax, dword [ebp - 0x268]
add esp, 0x18
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.1004b5af
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x184]
call fcn.1003ac74
test al, al
jne 0x1005086a
push 0xf
pop edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.10003d90
push 5
push str.ssoft
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.1003a73b
test al, al
je 0x100509a5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 0x13
jmp 0x1005098a
or dword [ebp - 0x268], 0xffffffff
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1003a5e3
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100373ec
call fcn.1003651b
mov dword [ebp - 0x274], eax
lea ecx, [esi + 0x14]
mov eax, dword [ebp - 0x268]
add esp, 0x18
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.1004b5af
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1003ac74
test al, al
jne 0x10050929
lea ecx, [ebp - 0x28]
call fcn.10003d90
lea ecx, [ebp - 0x14c]
call fcn.1003871c
lea ecx, [ebp - 0x184]
call fcn.1003871c
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 9
call fcn.1003871c
push 4
push str.soft
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1003a73b
test al, al
je 0x10050a15
push 3
push 0x100fb924
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1003a5e3
push 2
pop ebx
push ebx
push 0x100f6fcc
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1003a73b
test al, al
je 0x10050ac8
push ebx
push 0x100fb928
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x114]
call fcn.1003a5e3
push ebx
push 0x100fb92c
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x114]
call fcn.1003a5e3
push ebx
push 0x100fb930
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x114]
call fcn.1003a5e3
push ebx
push 0x100fb934
lea ecx, [ebp - 0x40]
call fcn.100187f0
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x114]
call fcn.1003a5e3
lea ecx, [ebp - 0x40]
mov bl, 1
call fcn.10003d90
lea ecx, [ebp - 0x114]
call fcn.1003871c
lea ecx, [ebp - 0xc4]
call fcn.1003871c
lea ecx, [ebp - 0x22c]
call fcn.1003871c
lea ecx, [ebp - 0x1f4]
call fcn.1003871c
lea ecx, [ebp - 0x264]
call fcn.1003871c
lea ecx, [ebp - 0x8c]
call fcn.10003d90
lea ecx, [ebp + 8]
call fcn.10003d90
mov al, bl
call fcn.100821f2
ret 0x18