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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x54b2c0]
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 - 0x238], ebx
jne 0x48ed63
push 0x1b8
call fcn.004e0bc5
add esp, 4
test eax, eax
jne 0x48ed45
xor al, al
mov byte [ebp - 0x21d], al
push 0x530774
lea eax, [ebp - 0x21d]
push eax
call fcn.004e5ccf
mov dword [ebp - 0x22c], eax
push 1
push eax
mov dword [ebp - 4], 0
call fcn.00472eb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
mov eax, dword [ebx]
lea esi, [ebp - 0x224]
call fcn.00474290
mov esi, 1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x48edc5
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 0x48eda7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.004e0040
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
jne 0x48ee0b
push 0x1b8
call fcn.004e0bc5
add esp, 4
test eax, eax
jne 0x48edf4
push 0x530774
lea ecx, [ebp - 0x225]
xor al, al
push ecx
mov byte [ebp - 0x225], al
call fcn.004e5ccf
mov dword [ebp - 0x22c], eax
push esi
push eax
mov byte [ebp - 4], 2
call fcn.00472eb0
mov byte [ebp - 4], 1
mov dword [ebx], eax
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0
push 0x206
push 0
je 0x48eea5
lea eax, [ebp - 0x216]
xor edx, edx
push eax
mov word [ebp - 0x218], dx
call fcn.004e4be0
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x230]
push eax
push 0x51517c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], 0x102
mov dword [ebp - 0x230], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48ef21
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
lea edi, [ebp - 0x224]
call fcn.004594f0
jmp 0x48ef21
lea ecx, [ebp - 0x216]
xor eax, eax
push ecx
mov word [ebp - 0x218], ax
call fcn.004e4be0
add esp, 0xc
push esi
push 0x26
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
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 0x48eee5
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x224]
push edx
mov ebx, eax
call fcn.00459440
push 0x14
push 0x519af8
lea ebx, [ebp - 0x224]
call fcn.0045af80
mov ebx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x230], eax
call fcn.0045cb40
lea esi, [eax + 0x10]
mov dword [ebp - 0x23c], 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 0x48ef76
mov eax, 0x104
lea ecx, [ebp - 0x23c]
call fcn.004593e0
mov esi, dword [ebp - 0x23c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e26e4
add esp, 8
test eax, eax
js 0x48f186
cmp eax, dword [esi - 8]
jg 0x48f186
lea edx, [ebp - 0x21c]
xor ecx, ecx
push edx
mov dword [esi - 0xc], eax
push ecx
lea edi, [esi - 0x10]
mov word [esi + eax*2], cx
mov dword [ebp - 0x22c], esp
mov eax, edi
mov dword [ebp - 0x22c], esp
mov dword [ebp - 0x234], edi
call fcn.0045cb40
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.00472a90
add esp, 8
test eax, eax
jne 0x48f025
mov byte [ebp - 4], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48eff8
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f01e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x48eda9
cmp dword [ebp - 0x21c], 0x64
jge 0x48f128
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, 0x51517c
call fcn.00459530
lea edx, [ebp - 0x21c]
push edx
mov byte [ebp - 4], 4
call fcn.00472b30
add esp, 4
test eax, eax
jne 0x48f0a6
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 0x48f080
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48eff8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x48eff8
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x22c]
push edx
mov ebx, 0x519af8
call fcn.0045c970
add esp, 8
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.0045ca50
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 0x48f0f6
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 0x48f11c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x238]
mov edi, dword [ebp - 0x234]
mov esi, ebx
call fcn.0048ec60
mov esi, dword [ebp - 0x224]
mov edx, esi
call fcn.004741e0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f159
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
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 0x48f17c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x48eda9
push 0x80070057
call fcn.00459fc0
int3