Function at 0x447790
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x230], ebx
jne 0x4477ff
push 0x1b8
call fcn.0049948f
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4477f4
push 1
mov edi, eax
call fcn.00422250
jmp 0x4477f6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
mov eax, dword [ebx]
lea esi, [ebp - 0x220]
call fcn.004238c0
mov esi, 1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], 0
je 0x44784a
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x447a7b
cmp dword [ebx], 0
jne 0x44787c
push 0x1b8
call fcn.0049948f
add esp, 4
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x447874
push esi
mov edi, eax
call fcn.00422250
jmp 0x447876
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebx], eax
mov ebx, dword [ebx]
cmp dword [ebx + 0x14], 0
push 0x206
push 0
je 0x447916
lea edx, [ebp - 0x216]
xor ecx, ecx
push edx
mov word [ebp - 0x218], cx
call fcn.0049dad0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x4c8a90
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 0x102
mov dword [ebp - 0x21c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44798c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
lea edi, [ebp - 0x220]
call fcn.00401d00
jmp 0x44798c
lea eax, [ebp - 0x216]
xor edx, edx
push eax
mov word [ebp - 0x218], dx
call fcn.0049dad0
add esp, 0xc
push esi
push 0x26
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447956
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, eax
call fcn.00401c50
push 0x14
push 0x4ca7dc
lea ebx, [ebp - 0x220]
call fcn.00406d60
mov edi, dword [ebp - 0x220]
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x21c], 0
call fcn.00404350
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4479dd
mov eax, 0x104
lea ecx, [ebp - 0x224]
call fcn.00401ea0
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0049acee
add esp, 8
test eax, eax
js 0x447bd3
cmp eax, dword [esi - 8]
jg 0x447bd3
mov dword [esi - 0xc], eax
xor ecx, ecx
lea edx, [ebp - 0x21c]
mov word [esi + eax*2], cx
push edx
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x228], esp
mov eax, esi
mov ebx, esp
mov dword [ebp - 0x228], esi
call fcn.00404350
add eax, 0x10
mov dword [ebx], eax
call fcn.00421d70
add esp, 8
test eax, eax
jne 0x447a97
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447a59
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447a79
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x21c], 0x64
jge 0x447bae
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x4c8a90
call fcn.00401d40
lea ecx, [ebp - 0x21c]
push ecx
mov byte [ebp - 4], 4
call fcn.00421e10
add esp, 4
test eax, eax
jne 0x447b38
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447af2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447b0f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447a79
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x447a79
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x22c]
push edx
mov ebx, 0x4ca7dc
call fcn.00404180
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00404260
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447b88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447bae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x220]
push ecx
mov eax, 1
lea ecx, [ebp - 0x22c]
call fcn.00404c90
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x447be7
test ecx, ecx
jns 0x447bdd
push 0x80070057
call fcn.00402be0
cmp word [eax], 0x5c
jne 0x447be7
xor bl, bl
jmp 0x447be9
mov bl, 1
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447c0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x447c1c
push 0x5c
lea edi, [ebp - 0x220]
call fcn.0041e6d0
mov esi, dword [ebp - 0x230]
call fcn.00447710
mov esi, dword [ebp - 0x220]
mov edx, esi
call fcn.00423810
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x447a7b