Function at 0x44cb10
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae83
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5e9db0]
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 edi, ecx
cmp byte [edi], 0
mov dword [ebp - 0x250], edi
mov byte [ebp - 0x23d], 1
jne 0x44cb59
mov al, 1
jmp 0x44ce5e
push 0
push 0x26
lea eax, [ebp - 0x238]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5af97c
lea ecx, [ebp - 0x23c]
call fcn.00401d50
push 0x5af97c
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0
call fcn.00401d50
mov esi, eax
add edi, 8
push edi
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x24c]
push edx
mov byte [ebp - 4], 1
call fcn.0041ba90
push esi
push eax
lea eax, [ebp - 0x248]
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0x18
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cbfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x244]
push eax
call fcn.0041bc30
add esp, 0xc
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.00405080
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push ecx
push eax
call esi
test eax, eax
jne 0x44ccb6
call fcn.00402290
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44cce1
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call esi
test eax, eax
jne 0x44ccd8
call fcn.00402290
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
push eax
call fcn.004052f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x248], eax
push str.installed.ini
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.00401d50
push eax
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x244]
mov bl, 6
push edx
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cd61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cd87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x248]
mov eax, dword [edi - 0xc]
push eax
push edi
call esi
mov esi, eax
test esi, esi
jne 0x44cd9f
call fcn.00402290
lea ecx, [ebp - 0x268]
call fcn.00475945
push 0
push 0x5001
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.0047581d
test eax, eax
je 0x44cded
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + 4]
push eax
lea ecx, [ebp - 0x268]
call fcn.00475a20
lea ecx, [ebp - 0x268]
call fcn.00475be6
mov bl, byte [ebp - 0x23d]
jmp 0x44ce04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.0056db4e
add esp, 0xc
xor bl, bl
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.00475c62
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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.0054f72c
mov esp, ebp
pop ebp
ret