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

Disassembly:
push 0xffffffffffffffff
push 0x54e441
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 0x7fff
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x10030], 2
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
mov edi, dword [esp + 0x10030]
je 0x426ecf
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426dd7
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x426e09
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426df5
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1a], bp
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426e10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404a30
push 1
push 0x56497c
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
je 0x426ecf
mov eax, dword [esp + 0x10034]
push 0
push ecx
add eax, 0xfffffff0
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
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x426fdc
push 0xfffe
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00523750
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x426fdc
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426f05
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x426f37
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426f23
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1a], cx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004049b0
push str.RealtekAudioAP_
lea ecx, [esp + 0x14]
call fcn.00410cd0
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 + 0x1c], 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
je 0x426fdc
mov eax, dword [esp + 0x10034]
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00404600
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x10034], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 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 ebp, eax
mov byte [esp + 0x10028], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427004
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 0x427028
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 0x427056
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
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