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

Disassembly:
push 0xffffffffffffffff
push 0x552291
mov eax, dword fs:[0]
push eax
mov eax, 0x10010
call fcn.00528ef0
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x1000c], eax
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x10020]
mov dword fs:[0], eax
push 0x566c94
lea ecx, [esp + 0x14]
mov dword [esp + 0x1002c], 1
call fcn.00405ee0
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 0x42757f
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427487
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x4274b9
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4274a5
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 0x4274c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.004062a0
push 1
push 0x56a3d4
lea ecx, [esp + 0x18]
call fcn.00405e50
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00405e50
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00402380
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00426620
add esp, 4
test eax, eax
je 0x42757f
mov eax, dword [esp + 0x10034]
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402380
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.00402380
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x10034], 2
call fcn.00424270
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x42768c
push 0xfffe
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00526c60
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 0x42768c
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4275b5
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x4275e7
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4275d3
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.00406220
push str.RealtekAudioAP_
lea ecx, [esp + 0x14]
call fcn.0040aff0
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00405e50
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402380
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00426620
add esp, 4
test eax, eax
je 0x42768c
mov eax, dword [esp + 0x10034]
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402380
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.00402380
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x10034], 2
call fcn.00424270
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 0x4276b4
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 0x4276d8
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 0x427706
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.00524c67
add esp, 0x1001c
ret