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

Disassembly:
push 0xffffffffffffffff
push 0x552226
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 0xfffe
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
mov byte [esp + 0x10034], 2
call fcn.00526c60
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 0x427945
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4277d1
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x427804
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4277f0
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1a], si
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x427810
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427810
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.004062a0
push 0x13
push str.RealtekAudioHDA_
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
jne 0x4278f9
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 0x4278a0
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 0x4278c4
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 0x4278f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4279ba
push 0
push ecx
lea eax, [ebp - 0x10]
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
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 0x42796d
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 0x427991
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 0x4279b8
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.00524c67
add esp, 0x1001c
ret