Function at 0x44e9a4
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
sub esp, 0x320
lea ebp, [esp - 4]
mov eax, dword [0x767e58]
xor eax, ebp
mov dword [ebp + 0x320], eax
push 0x10
mov eax, 0x670be0
call fcn.00629bc1
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 0x44]
lea edx, [ebp + 0xa8]
push edx
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebx + 0x44]
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x20]
lea ecx, [ebp + 0x38]
mov byte [ebp - 0x11], al
call fcn.00442ecd
xor ebx, ebx
lea ecx, [ebp + 0x54]
inc ebx
mov byte [ebp - 4], bl
call fcn.00442ecd
lea eax, [ebp + 0x70]
mov byte [ebp - 4], 3
push eax
call fcn.00444df9
mov edi, eax
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 4
call fcn.0043cef2
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp + 0x54]
call fcn.0043cef2
lea ecx, [ebp + 0x8c]
call fcn.00442f2e
lea ecx, [ebp + 0x70]
call fcn.00442f2e
push 0x104
lea eax, [ebp + 0x118]
mov dword [ebp - 4], 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp]
call fcn.00442ea9
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 4]
mov dword [ebp - 0x18], 0x5c
call fcn.0043b1cf
inc eax
lea ecx, [ebp + 4]
push eax
push esi
lea eax, [ebp + 0x100]
push eax
call fcn.0043be56
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call dword [eax + 0x50]
push esi
push ebx
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 9
call fcn.0042386b
push ebx
push 0x1a
lea eax, [ebp + 0x118]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x44eb53
push 0x70ed3c
lea ecx, [ebp + 0x100]
call fcn.0040a58f
push str.cannotGetAppDataPath
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xb
call fcn.0040a58f
push str.failGeneral
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0xc
call fcn.0040a58f
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x90]
mov byte [ebp - 4], 0xd
push eax
push esi
lea eax, [ebp + 0xe4]
push eax
call fcn.0044c335
push esi
push ebx
lea ecx, [ebp + 0xe4]
call fcn.0040abbf
push esi
push ebx
lea ecx, [ebp + 0x90]
call fcn.0040abbf
push esi
push ebx
lea ecx, [ebp + 0x100]
call fcn.0040abbf
jmp 0x44ed16
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00442ea9
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
mov edi, 0x695774
mov byte [ebp - 4], 0xe
push edi
call dword [eax + 0x24]
lea ecx, [ebp + 0x38]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp + 4]
call fcn.00434271
cmp dword [ebp + 0xbc], 0
mov dword [ebp - 0x18], eax
je 0x44ec31
mov edx, dword [ebp]
lea eax, [ebp + 0xa8]
push eax
lea eax, [ebp + 0xfc]
push eax
lea ecx, [ebp]
call dword [edx + 0x3c]
cmp dword [ebp + 0x114], 8
mov eax, dword [ebp + 0x100]
jae 0x44ebd0
lea eax, [ebp + 0x100]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x44ec1e
cmp dword [ebp - 0x18], 0
jne 0x44ebfe
lea ecx, [ebp + 0xfc]
call fcn.00442f2e
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
mov ebx, esi
jmp 0x44ed16
cmp byte [ebp - 0x11], 0
je 0x44ec24
lea ecx, [ebp + 0xfc]
call fcn.00442f2e
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
push 2
jmp 0x44ed15
cmp dword [ebp - 0x18], 0
je 0x44ebe4
lea ecx, [ebp + 0xfc]
call fcn.00442f2e
jmp 0x44ec41
cmp byte [ebp - 0x11], 0
jne 0x44ec0f
test eax, eax
je 0x44ebef
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0xe0]
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
call dword [eax + 0x3c]
mov edx, dword [eax]
lea ecx, [ebp + 0xc4]
push 0x696d88
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call dword [edx + 0x34]
lea ecx, [ebp + 0xe0]
mov byte [ebp - 4], 0x11
call fcn.00442f2e
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x44ec90
lea eax, [ebp + 0xc8]
push eax
call edi
cmp eax, 0xffffffff
jne 0x44ecad
lea ecx, [ebp + 0xc4]
call fcn.00442f2e
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
jmp 0x44ed16
cmp dword [ebp + 0xbc], 0
je 0x44ed40
lea eax, [ebp + 0xa8]
push eax
lea eax, [ebp + 0x8c]
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
call dword [eax + 0x3c]
cmp dword [ebp + 0xa4], 8
mov eax, dword [ebp + 0x90]
jae 0x44ece6
lea eax, [ebp + 0x90]
push eax
call edi
lea ecx, [ebp + 0x8c]
cmp eax, 0xffffffff
jne 0x44ecfb
call fcn.00442f2e
jmp 0x44ec98
call fcn.00442f2e
lea ecx, [ebp + 0xc4]
call fcn.00442f2e
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
push 3
pop ebx
lea ecx, [ebp]
call fcn.00442f2e
lea ecx, [ebp + 0x54]
call fcn.00442f2e
lea ecx, [ebp + 0x38]
call fcn.00442f2e
lea ecx, [ebp + 0xa8]
call fcn.00442f2e
mov eax, ebx
jmp 0x44ee28
lea ecx, [ebp + 0xc4]
call fcn.00442f2e
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
lea ecx, [ebp]
call fcn.00442f2e
lea ecx, [ebp + 0x54]
call fcn.00442f2e
lea ecx, [ebp + 0x38]
call fcn.00442f2e
lea ecx, [ebp + 0xa8]
call fcn.00442f2e
push 3
pop eax
jmp 0x44ee28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x320]
xor ecx, ebp
call fcn.00629b0e
lea esp, [ebp + 0x324]
pop ebp
ret