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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5599
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4fa7e0]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], 0
call fcn.0049dc5a
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48a53d
push 0x80004005
call fcn.00486f80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], 1
cmp dword [eax - 0xc], 0
jle 0x48a79c
push 0x25
push eax
call fcn.004b509d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48a79c
mov ecx, dword [edi]
sub ebx, ecx
cmp ebx, 0xffffffff
je 0x48a79c
lea eax, [ebx + 1]
test eax, eax
js 0x48a7a4
cmp eax, dword [ecx - 0xc]
jge 0x48a7a4
add eax, ecx
push 0x25
push eax
call fcn.004b509d
add esp, 8
test eax, eax
je 0x48a7a4
sub eax, dword [edi]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
je 0x48a7a4
dec eax
mov ecx, edi
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0048b000
mov eax, dword [ebp - 0x120]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x48a797
call fcn.0049dc5a
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48a607
push 0x80004005
call fcn.00486f80
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
push str.programfiles
push dword [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.004b514f
add esp, 8
test eax, eax
jne 0x48a65a
push eax
push 0x26
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x48a6aa
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00486b20
jmp 0x48a6a4
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00499860
add esp, 8
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.00486ab0
mov edx, dword [ebp - 0x124]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48a6a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x11c]
push ebx
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.0048af00
mov ecx, dword [ebp - 0x118]
push eax
mov byte [ebp - 4], 4
call fcn.00486ab0
mov edx, dword [ebp - 0x124]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48a6ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x118]
push esi
call fcn.00486e20
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x128]
dec eax
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0048b250
mov eax, dword [eax]
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 5
push dword [eax - 0xc]
push eax
call fcn.00486e20
mov edx, dword [ebp - 0x128]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48a751
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48a76e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x120]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48a7a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48a7a4
or ebx, 0xffffffff
jmp 0x48a774
push edi
mov ecx, esi
call fcn.00486ab0
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.004b3861
mov esp, ebp
pop ebp
ret