Function at 0x427080
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x54e3d6
mov eax, dword fs:[0]
push eax
mov eax, 0x10010
call fcn.005259e0
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x1000c], eax
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x10020]
mov dword fs:[0], eax
push 0x564f30
lea ecx, [esp + 0x14]
mov dword [esp + 0x1002c], 1
call fcn.00404670
push 0xfffe
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
mov byte [esp + 0x10034], 2
call fcn.00523750
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov ebp, dword [esp + 0x10034]
mov edi, dword [esp + 0x10030]
jl 0x427295
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427121
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x427154
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427140
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1a], si
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x427160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427160
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.00404a30
push 0x13
push str.RealtekAudioHDA_
lea ecx, [esp + 0x18]
call fcn.00404550
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00404550
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00404600
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00426150
add esp, 4
test eax, eax
jne 0x427249
mov byte [esp + 0x10028], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4271f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x10028], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427214
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10028], 0xffffffff
mov eax, dword [esp + 0x10034]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42730a
push 0
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00404600
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x10034], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00404600
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x10034], 2
call fcn.00423f90
add esp, 0xc
mov esi, eax
mov byte [esp + 0x10028], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4272bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x10028], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4272e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x10028], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1000c]
xor ecx, esp
call fcn.0052151a
add esp, 0x1001c
ret