Function at 0x44a0d0
Capabilities:
Get common file path
Set registry value

Disassembly:
sub esp, 0x228
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x320]
test eax, eax
je 0x44a557
push pe_nt_image_headers32
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a100
sub eax, edx
cmp byte [esp + eax + 0x2b], 0x5c
push ebx
push esi
push edi
je 0x44a12a
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44a118
mov cx, word [0x4cbc24]
mov word [edi], cx
lea edi, [esp + 0x38]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44a130
mov edx, dword [str.popcinfo.dat]
mov eax, dword [0x4cbc18]
mov ecx, dword [0x4cbc1c]
mov dword [edi], edx
mov dl, byte [0x4cbc20]
mov dword [edi + 4], eax
lea eax, [esp + 0x38]
mov dword [edi + 8], ecx
push 0x4cbc10
push eax
mov byte [edi + 0xc], dl
call fcn.004a1ce2
mov edi, eax
add esp, 8
test edi, edi
je 0x44a251
push edi
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.004a1c3a
add esp, 0x10
test eax, eax
je 0x44a265
mov ax, word [esp + 0x10]
cmp ax, 0x100
jae 0x44a211
movzx eax, ax
push edi
push 1
push eax
lea edx, [esp + 0x144]
push edx
mov byte [esp + eax + 0x148], 0
call fcn.004a1c3a
mov eax, dword [ebp + 0x278]
add esp, 0x10
cmp eax, 0x10
jb 0x44a1d1
mov esi, dword [ebp + 0x264]
jmp 0x44a1d7
lea esi, [ebp + 0x264]
lea eax, [esp + 0x138]
mov edi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x44a208
test cl, cl
je 0x44a204
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x44a208
add eax, 2
add esi, 2
test cl, cl
jne 0x44a1e0
xor eax, eax
jmp 0x44a20d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44a237
push 1
push 4
push edi
call fcn.004a190e
push edi
push 2
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004a1c3a
add esp, 0x1c
test eax, eax
jne 0x44a190
jmp 0x44a265
movzx ecx, word [esp + 0x10]
mov edx, 0xfffffffe
push 1
sub edx, ecx
push edx
push edi
call fcn.004a190e
add esp, 0xc
jmp 0x44a265
lea eax, [esp + 0x38]
push 0x4cbc0c
push eax
call fcn.004a1ce2
add esp, 8
mov edi, eax
xor ecx, ecx
mov cx, word [ebp + 0x274]
push edi
push 2
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x28], ecx
call fcn.004a173a
mov eax, dword [ebp + 0x278]
add esp, 0x10
cmp eax, 0x10
jb 0x44a297
mov eax, dword [ebp + 0x264]
jmp 0x44a29d
lea eax, [ebp + 0x264]
movzx ecx, word [esp + 0x18]
push edi
push 1
push ecx
push eax
call fcn.004a173a
push edi
push 4
lea ebx, [ebp + 0x440]
push 1
push ebx
call fcn.004a173a
push edi
call fcn.004a19bb
lea esi, [ebp + 0x30c]
push esi
lea edx, [esp + 0x44]
push str.SOFTWARE_
push edx
call fcn.00418ac0
mov ecx, dword [eax + 0x18]
add esp, 0x30
cmp ecx, 0x10
jb 0x44a2e9
mov eax, dword [eax + 4]
jmp 0x44a2ec
add eax, 4
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp dword [esp + 0x34], 0x10
jb 0x44a31a
mov edx, dword [esp + 0x20]
push edx
call fcn.0049f22c
add esp, 4
test edi, edi
je 0x44a388
push esi
lea eax, [esp + 0x20]
push str.SOFTWARE_
push eax
call fcn.00418ac0
mov ecx, dword [eax + 0x18]
mov edi, 0x10
add esp, 0xc
cmp ecx, edi
jb 0x44a342
mov eax, dword [eax + 4]
jmp 0x44a345
add eax, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0x4cbc08
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp dword [esp + 0x34], edi
jb 0x44a380
mov eax, dword [esp + 0x20]
push eax
call fcn.0049f22c
add esp, 4
test esi, esi
jne 0x44a554
fld qword [ebp + 0x3a8]
fmul qword [0x4cbc00]
call fcn.0049f6d4
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.MusicVolume
push edx
mov dword [esp + 0x28], eax
call esi
fld qword [ebp + 0x3b0]
fmul qword [0x4cbc00]
call fcn.0049f6d4
mov ecx, dword [esp + 0x14]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.SfxVolume
push ecx
call esi
mov eax, dword [ebp + 0x3c8]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 4
test eax, eax
lea eax, [esp + 0x14]
push eax
push 4
setg dl
push 0
push str.Muted
push ecx
mov dword [esp + 0x28], edx
call esi
mov al, byte [ebp + 0x22c]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
sete dl
push 0
push str.ScreenMode
push ecx
mov dword [esp + 0x28], edx
call esi
mov al, byte [ebp + 0x43d]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.CustomCursors
push ecx
mov dword [esp + 0x28], edx
call esi
mov al, byte [ebp + 0x250]
mov ecx, dword [esp + 0x14]
xor edx, edx
test al, al
push 4
setne dl
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ITSuccess
mov dword [esp + 0x24], edx
push ecx
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.TimesPlayed
push ecx
mov dword [esp + 0x28], edx
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x364]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.LastVerCheckQueryTime
push ecx
mov dword [esp + 0x28], edx
call esi
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.InProgress
push eax
mov dword [esp + 0x28], 0
call esi
mov eax, dword [ebp + 0x37c]
test eax, eax
jbe 0x44a516
cmp dword [ebp + 0x380], 0x10
jb 0x44a4fe
mov ecx, dword [ebp + 0x36c]
jmp 0x44a504
lea ecx, [ebp + 0x36c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push 1
push 0
push str.RegName
push ecx
call esi
mov eax, dword [ebp + 0x398]
test eax, eax
jbe 0x44a549
cmp dword [ebp + 0x39c], 0x10
jb 0x44a531
mov ebp, dword [ebp + 0x388]
jmp 0x44a537
add ebp, 0x388
mov edx, dword [esp + 0x14]
push eax
push ebp
push 1
push 0
push str.RegCode
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x228
ret