Function at 0x100166a0
Capabilities:
Get geographical location

Disassembly:
push 0x24
mov eax, 0x100e81e5
call fcn.100c747c
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 8], 0xffffffff
je 0x10016947
cmp dword [ebx], esi
je 0x100166c5
push esi
push ebx
call fcn.10005d2d
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x14]
mov dword [ebp - 4], esi
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push edx
push dword [ebx + 8]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10016981
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x1c], 1
je 0x10016702
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x10016977
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x10], eax
cmp ecx, esi
je 0x1001671f
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x1010a428
push ecx
call dword [eax]
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0x4c], esi
je 0x100167b8
push 3
pop ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
push 0x1010986c
lea esi, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.100062cd
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
lea esi, [ebp - 0x30]
push esi
push eax
push ecx
call dword [edx + 0xb0]
push dword [ebp - 0x20]
call edi
cmp word [ebp - 0x30], 8
jne 0x100167a9
push dword [ebx + 0x4c]
push dword [ebp - 0x28]
call fcn.1002d54b
pop ecx
pop ecx
test eax, eax
jne 0x100167a9
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001679b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
jmp 0x10016979
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [ebx + 0x50], esi
je 0x10016822
push 3
pop ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 4
push str.ieversion
lea esi, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.100062cd
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea esi, [ebp - 0x30]
push esi
push eax
push ecx
call dword [edx + 0xb0]
push dword [ebp - 0x18]
call edi
cmp word [ebp - 0x30], 8
jne 0x10016813
push dword [ebx + 0x50]
push dword [ebp - 0x28]
call fcn.1002d54b
pop ecx
pop ecx
test eax, eax
je 0x10016780
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [ebx + 0x28], esi
je 0x1001689e
push 3
pop ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 6
push str.country
lea esi, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.100062cd
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea esi, [ebp - 0x30]
push esi
push eax
push ecx
call dword [edx + 0xb0]
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
call edi
cmp word [ebp - 0x30], 8
jne 0x1001688f
cmp dword [ebx + 0x2c], 8
jb 0x10016877
mov eax, dword [ebx + 0x18]
jmp 0x1001687a
lea eax, [ebx + 0x18]
mov ecx, dword [ebp - 0x28]
push 1
push eax
call fcn.1002d37a
pop ecx
pop ecx
test eax, eax
je 0x10016780
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [ebx + 0x44], esi
je 0x1001691a
push 3
pop ecx
mov word [ebp - 0x30], cx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 8
push str.language
lea esi, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.100062cd
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea esi, [ebp - 0x30]
push esi
push eax
push ecx
call dword [edx + 0xb0]
mov byte [ebp - 4], 8
push dword [ebp - 0x18]
call edi
cmp word [ebp - 0x30], 8
jne 0x1001690b
cmp dword [ebx + 0x48], 8
jb 0x100168f3
mov eax, dword [ebx + 0x34]
jmp 0x100168f6
lea eax, [ebx + 0x34]
mov ecx, dword [ebp - 0x28]
push 1
push eax
call fcn.1002d37a
pop ecx
pop ecx
test eax, eax
je 0x10016780
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [ebx], eax
je 0x10016928
push eax
push ebx
call fcn.10005d2d
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, esi
je 0x10016936
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10016947
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edi, [ebx + 0xc]
mov ebx, dword [ebx]
mov dword [edi], esi
cmp ebx, esi
je 0x10016981
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], 0xa
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x20]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x10016981
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.100c7554
ret