Function at 0x4cfee0
Capabilities:
Get geographical location

Disassembly:
push 0xd8
mov eax, 0x698919
call fcn.0056e23b
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
or dword [ebp - 0xcc], 0xffffffff
and dword [ebp - 0xc8], 0
lea ecx, [ebx + 0x5c]
push 0
push 0x6d4b20
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], esi
call fcn.004044d0
push 0
lea ecx, [ebx + 0x40]
push 0x6d4b24
call fcn.004044d0
push 0
lea ecx, [ebx + 0xe8]
push 0x6d4b28
call fcn.004044d0
push 0
push 0x6d4b2c
lea ecx, [ebx + 0xcc]
call fcn.004044d0
push 0
lea ecx, [ebx + 0x13c]
push 0x6d4b30
call fcn.004044d0
push 0
lea ecx, [ebx + 0x104]
push 0x6d4b34
call fcn.004044d0
push 0
lea ecx, [ebx + 0xb0]
push 0x6d4b38
call fcn.004044d0
push 0
lea ecx, [ebx + 0x94]
push 0x6d4b3c
call fcn.004044d0
push 0
push 0x6d4b40
lea ecx, [ebx + 0x78]
call fcn.004044d0
push 0
lea ecx, [ebx + 0x120]
push 0x6d4b44
call fcn.004044d0
push 0
lea ecx, [ebx + 0x24]
push 0x6d4b48
call fcn.004044d0
mov eax, dword [ebp - 0xd4]
xor edx, edx
mov dword [ebx + 0x168], edx
mov dword [ebx + 0x16c], edx
test eax, eax
je 0x4d0958
test esi, esi
je 0x4d0958
lea ecx, [ebp - 0xc8]
push ecx
push 0x20019
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d0958
and dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x6c]
call fcn.004173bc
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0xe4]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0xd4]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4d094c
cmp dword [ebp - 0xd4], eax
jne 0x4d006f
push 2
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041786a
jmp 0x4d095e
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x6d4b4c
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d094c
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 0x6d4b6c
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4d005b
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x6d4b70
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d094c
cmp dword [ebp - 0x58], 0
jne 0x4d005b
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x6d4b8c
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d094c
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 0x6d4bb0
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4d03e0
cmp dword [edi + 0x30], reloc.OLEAUT32.dll_SysReAllocString
jne 0x4d01b3
lea ecx, [ebp - 0x9c]
push esi
cmp dword [edi + 0x34], eax
jne 0x4d0161
call fcn.00409600
mov byte [ebp - 4], 1
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [edi + 0x50]
call fcn.004ceefe
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov byte [ebp - 4], cl
push ecx
push 1
lea ecx, [ebp - 0x9c]
call fcn.00401d60
jmp 0x4d01b3
call fcn.00409600
push 2
pop edx
mov byte [ebp - 4], dl
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
lea ecx, [edi + 0x50]
mov edi, dword [ecx]
push eax
call fcn.004d1adf
mov esi, dword [eax]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
cmp esi, edi
je 0x4d01a7
push 2
pop eax
mov ebx, eax
jmp 0x4d005e
mov edi, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xd8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x74], ecx
push ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x84]
push 0x6d4bb4
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004044d0
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc4]
push eax
push esi
mov ecx, edi
call fcn.004d0f0d
test eax, eax
jne 0x4d024f
push 2
pop eax
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
push 0
push 1
call fcn.00401d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
push 0
push 1
call fcn.00401d60
jmp 0x4d005e
push str.SoftwareMicrosoftInstallerProducts_
call fcn.00647fd1
pop ecx
push eax
push str.SoftwareMicrosoftInstallerProducts_
lea ecx, [ebp - 0x84]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x84]
call fcn.00404690
cmp dword [ebp - 0x70], 8
lea ecx, [ebp - 0xd0]
push ecx
push 0x20019
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 2
pop ecx
cmp eax, ecx
jne 0x4d0313
push str.SOFTWAREClassesInstallerProducts_
call fcn.00647fd1
pop ecx
push eax
push str.SOFTWAREClassesInstallerProducts_
lea ecx, [ebp - 0x84]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x84]
call fcn.00404690
cmp dword [ebp - 0x70], 8
lea ecx, [ebp - 0xd0]
push ecx
push 0x20019
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 2
pop ecx
test eax, eax
jne 0x4d03d9
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x6d4c54
push dword [ebp - 0xd0]
call fcn.004d097d
cmp dword [ebp - 0x58], 0
je 0x4d021f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x94]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.ProductIcon
push dword [ebp - 0xd0]
call fcn.004d097d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00401e50
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.MsiExec.exe__x
call fcn.00647fd1
pop ecx
push eax
push str.MsiExec.exe__x
lea ecx, [ebx + 0x120]
call fcn.004044d0
push esi
lea ecx, [ebx + 0x120]
call fcn.0041caaf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
push 0
push 1
call fcn.00401d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
push 0
push 1
call fcn.00401d60
or esi, 0xffffffff
jmp 0x4d0487
mov ebx, ecx
jmp 0x4d0224
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.DisplayName
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d041b
cmp dword [ebp - 0x58], 0
je 0x4d005b
or esi, 0xffffffff
lea eax, [ebp - 0x68]
push esi
push 0
push eax
lea ecx, [ebx + 0x94]
call fcn.00401e50
jmp 0x4d041e
or esi, 0xffffffff
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.DisplayIcon
push dword [ebp - 0xc8]
call fcn.004d097d
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.UninstallString
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
cmp dword [ebp - 0x58], 0
jne 0x4d0475
push 2
pop ebx
mov dword [ebp - 4], esi
jmp 0x4d0062
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x120]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.DisplayVersion
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.Comments
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x5c]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.Contact
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x40]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push 0x6d4d38
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0xe8]
call fcn.00401e50
cmp dword [ebp - 0x58], 0
je 0x4d0593
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.0064960b
mov ecx, edx
shld ecx, eax, 0xa
mov dword [ebx + 0x16c], ecx
lea ecx, [ebx + 0xe4]
shl eax, 0xa
neg ecx
mov dword [ebx + 0x168], eax
lea eax, [ebx + 0xe8]
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebx + 0x16c]
push dword [ebx + 0x168]
call fcn.005671e8
add esp, 0x10
jmp 0x4d05b1
and dword [ebx + 0x168], 0
lea ecx, [ebx + 0xe4]
and dword [ebx + 0x16c], 0
push 0x6d4d54
call fcn.004179fb
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.InstallDate
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
cmp dword [ebp - 0x58], 8
je 0x4d05dc
push 0x6d4d70
jmp 0x4d0621
xor esi, esi
push esi
lea ecx, [ebp - 0x68]
call fcn.00404220
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
cmp word [eax + esi*2], 0x30
jb 0x4d061c
push esi
lea ecx, [ebp - 0x68]
call fcn.00404220
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
cmp word [eax + esi*2], 0x39
ja 0x4d061c
inc esi
cmp esi, dword [ebp - 0x58]
jb 0x4d05de
jmp 0x4d0629
push 0x6d4d74
lea ecx, [ebp - 0x6c]
call fcn.004179fb
push 0x10
lea esi, [ebx + 0x154]
push 0
push esi
call fcn.00644240
add esp, 0xc
cmp dword [ebp - 0x58], 0
je 0x4d085d
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xac]
push eax
call esi
lea eax, [ebx + 0x154]
push eax
call esi
push 4
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4d067d
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 2
pop eax
push eax
push 4
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4d06bf
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebp - 0xaa], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 0xffffffffffffffff
push 6
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4d06ff
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebp - 0xa6], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 4
push 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x4d073f
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebx + 0x154], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 2
pop eax
push eax
push 4
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4d0781
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebx + 0x156], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 0xffffffffffffffff
push 6
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407b80
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x4d07c1
mov eax, dword [eax]
push eax
call fcn.00649635
pop ecx
mov word [ebx + 0x15a], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push 0
push 1
call fcn.00401d60
push 0
push 0
push 0x1f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4d094c
add eax, eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0xd8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056e306
mov esi, eax
pop ecx
test esi, esi
je 0x4d094c
push dword [ebp - 0xd8]
push esi
push 0x1f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x20
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0xac]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
call fcn.0056e30f
pop ecx
lea eax, [ebp - 0x50]
jmp 0x4d089f
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0055663f
add esp, 0xc
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
cmovae eax, dword [ebp - 0x68]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004179fb
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.InstallLocation
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d094c
or esi, 0xffffffff
lea eax, [ebp - 0x68]
push esi
push 0
push eax
lea ecx, [ebx + 0x13c]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.InstallSource
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x104]
call fcn.00401e50
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push str.Publisher
push dword [ebp - 0xc8]
call fcn.004d097d
test eax, eax
je 0x4d0947
lea ecx, [ebp - 0x6c]
call fcn.0041df2f
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
lea ecx, [ebx + 0x74]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.004179fb
xor ebx, ebx
jmp 0x4d046d
mov dword [ebp - 4], esi
jmp 0x4d0950
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041786a
mov ebx, dword [ebp - 0xcc]
cmp dword [ebp - 0xc8], 0
je 0x4d0973
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.0056e1e5
ret 0xc