Function at 0x408a30
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41715b
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x424d78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x45c], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x468], edi
call fcn.00406820
push edi
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x458], 0
call fcn.00407ef0
cmp eax, 1
jne 0x408c8c
push str.Media
push str.VEN_14F1
lea ecx, [ebp - 0x44c]
call fcn.00406df0
or esi, 0xffffffff
cmp dword [ebp - 0x44c], esi
jne 0x408adc
push str.Media
push str.acpi14F1
lea ecx, [ebp - 0x44c]
call fcn.00406df0
cmp dword [ebp - 0x44c], esi
je 0x408c8c
push 4
lea eax, [ebp - 0x460]
push eax
push 0x20000001
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x408c8c
movzx ecx, word [ebp - 0x460]
lea edx, [ebp - 0x454]
push edx
mov dword [ebp - 0x46c], ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x464]
push ecx
mov esi, 0x104
push 0x41dec8
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x454], esi
call fcn.00406830
test eax, eax
je 0x408c8c
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x464]
push ecx
push 0x41debc
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x454], esi
call fcn.00406830
test eax, eax
je 0x408c8c
mov eax, dword [0x41deb4]
mov edx, dword [str.SOFTWARE_]
mov cx, word [0x41deb8]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x114], edx
mov word [ebp - 0x10c], cx
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408ba0
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408bb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x114]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408bd0
mov dx, word [0x41deac]
lea eax, [ebp - 0x31c]
mov word [edi], dx
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408bf0
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408c00
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x458]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea ecx, [ebp - 0x218]
push ecx
push str.Drivers
push 0
push 0
push 0x25
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
test eax, eax
jne 0x408c7b
mov edx, dword [ebp - 0x46c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x44d]
call fcn.00408810
test eax, eax
je 0x408c7b
mov edx, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x45c]
push edx
call fcn.004089a0
test esi, esi
je 0x408c8c
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], 0xffffffff
call fcn.00406930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d7c0
mov esp, ebp
pop ebp
ret 4