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

Disassembly:
push 0xffffffffffffffff
push 0x55692b
mov eax, dword fs:[0]
push eax
mov eax, 0x10010
call fcn.00530550
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x1000c], eax
push ebp
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x10020]
mov dword fs:[0], eax
push 0x5703b8
lea ecx, [esp + 0x18]
mov dword [esp + 0x1002c], 1
call fcn.0040c150
push 0xfffe
xor edi, edi
lea eax, [esp + 0x20]
push edi
push eax
mov byte [esp + 0x10034], 2
call fcn.0052d8f0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov ebp, dword [esp + 0x10030]
jl 0x41e02b
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41de60
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x1a], 0x5c
jne 0x41de94
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41de80
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x1a], di
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
jmp 0x41dea0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dea0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402fc0
push 0x13
push str.RealtekAudioHDA_
lea ecx, [esp + 0x1c]
call fcn.0040bfc0
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.0040bfc0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402cf0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0041d030
add esp, 4
test eax, eax
jne 0x41df89
mov byte [esp + 0x10028], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x10028], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df54
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 0x41df82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41e0a7
lea ecx, [esp + 0x10034]
push 0x5703b8
push ecx
call fcn.0041ef70
add esp, 8
test al, al
je 0x41dfc5
push 0x571270
lea ecx, [esp + 0x18]
call fcn.0040c0d0
mov ecx, dword [esp + 0x10034]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040bfc0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x41dfe0
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00402730
mov eax, dword [esp + 0x14]
push 0
call fcn.0041c0d0
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
mov edi, eax
jne 0x41dff8
xor eax, eax
jmp 0x41e015
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e000
sub eax, esi
sar eax, 1
js 0x41e0ce
cmp eax, dword [edx - 8]
jg 0x41e0ce
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x14]
mov word [ecx + eax*2], 0
mov byte [esp + 0x10028], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e053
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x10028], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e077
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 0x41e0a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0052944d
add esp, 0x1001c
ret
push 0x80070057
call fcn.00402660
int3