Function at 0x44f54e
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 [0x7bb3e8]
xor eax, ebp
mov dword [ebp + 0x320], eax
push 0x10
mov eax, 0x6ad7b9
call fcn.006523d1
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 0x48]
lea edx, [ebp + 0x70]
push edx
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x48]
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp + 0x38]
mov byte [ebp - 0x11], al
call fcn.00442f2b
xor ebx, ebx
lea ecx, [ebp + 0x54]
inc ebx
mov byte [ebp - 4], bl
call fcn.00442f2b
lea eax, [ebp + 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.00444eab
mov edi, eax
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 4
call fcn.0043c97b
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp + 0x54]
call fcn.0043c97b
lea ecx, [ebp + 0xc4]
call fcn.00442f8c
lea ecx, [ebp + 0xa8]
call fcn.00442f8c
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.00442f07
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp + 4]
mov dword [ebp - 0x18], 0x5c
call fcn.0043ab5e
inc eax
lea ecx, [ebp + 4]
push eax
push esi
lea eax, [ebp + 0x100]
push eax
call fcn.0043b7d2
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
mov byte [ebp - 4], 0xd
call dword [eax + 0x50]
push esi
push ebx
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 0xc
call fcn.004284eb
push ebx
push 0x1a
lea eax, [ebp + 0x118]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x44f785
push 0x756a0c
lea ecx, [ebp + 0x100]
call fcn.0040f49f
push str.cannotGetAppDataPath
lea ecx, [ebp + 0xc8]
mov byte [ebp - 4], 0xe
call fcn.0040f49f
push str.failGeneral
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0xf
call fcn.0040f49f
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0xc8]
mov byte [ebp - 4], 0x10
push eax
push esi
lea eax, [ebp + 0xe4]
push eax
call fcn.0044c58b
push esi
push ebx
lea ecx, [ebp + 0xe4]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0xc8]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 0xc
call fcn.0040facf
push 0x756a0c
lea ecx, [ebp + 0xe4]
call fcn.0040f49f
push str.cannotGetAppDataPath
lea ecx, [ebp + 0xc8]
mov byte [ebp - 4], 0x11
call fcn.0040f49f
push str.failGeneral.cannotGetAppDataPath
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 0x12
call fcn.0040f49f
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp + 0xc8]
mov byte [ebp - 4], 0x13
push eax
push esi
lea eax, [ebp + 0x100]
push eax
call fcn.0044c5e1
push esi
push ebx
lea ecx, [ebp + 0x100]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0xc8]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0xe4]
call fcn.0040facf
jmp 0x44f942
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00442f07
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
mov edi, 0x6d7a88
mov byte [ebp - 4], 0x14
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.00436351
cmp dword [ebp + 0x84], 0
mov dword [ebp - 0x18], eax
je 0x44f860
mov edx, dword [ebp]
lea eax, [ebp + 0x70]
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 0x44f7ff
lea eax, [ebp + 0x100]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x44f84d
cmp dword [ebp - 0x18], 0
jne 0x44f82d
lea ecx, [ebp + 0xfc]
call fcn.00442f8c
lea ecx, [ebp + 0x1c]
call fcn.00442f8c
mov ebx, esi
jmp 0x44f942
cmp byte [ebp - 0x11], 0
je 0x44f853
lea ecx, [ebp + 0xfc]
call fcn.00442f8c
lea ecx, [ebp + 0x1c]
call fcn.00442f8c
push 2
jmp 0x44f941
cmp dword [ebp - 0x18], 0
je 0x44f813
lea ecx, [ebp + 0xfc]
call fcn.00442f8c
jmp 0x44f870
cmp byte [ebp - 0x11], 0
jne 0x44f83e
test eax, eax
je 0x44f81e
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 + 0x8c]
push 0x6d92b0
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call dword [edx + 0x34]
lea ecx, [ebp + 0xe0]
mov byte [ebp - 4], 0x17
call fcn.00442f8c
cmp dword [ebp + 0xa4], 8
mov eax, dword [ebp + 0x90]
jae 0x44f8bf
lea eax, [ebp + 0x90]
push eax
call edi
cmp eax, 0xffffffff
jne 0x44f8dc
lea ecx, [ebp + 0x8c]
call fcn.00442f8c
lea ecx, [ebp + 0x1c]
call fcn.00442f8c
jmp 0x44f942
cmp dword [ebp + 0x84], 0
je 0x44f969
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0xc4]
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
call dword [eax + 0x3c]
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x44f912
lea eax, [ebp + 0xc8]
push eax
call edi
lea ecx, [ebp + 0xc4]
cmp eax, 0xffffffff
jne 0x44f927
call fcn.00442f8c
jmp 0x44f8c7
call fcn.00442f8c
lea ecx, [ebp + 0x8c]
call fcn.00442f8c
lea ecx, [ebp + 0x1c]
call fcn.00442f8c
push 3
pop ebx
lea ecx, [ebp]
call fcn.00442f8c
lea ecx, [ebp + 0x54]
call fcn.00442f8c
lea ecx, [ebp + 0x38]
call fcn.00442f8c
lea ecx, [ebp + 0x70]
call fcn.00442f8c
mov eax, ebx
jmp 0x44facd
lea ecx, [ebp + 0x8c]
call fcn.00442f8c
lea ecx, [ebp + 0x1c]
call fcn.00442f8c
lea ecx, [ebp]
call fcn.00442f8c
lea ecx, [ebp + 0x54]
call fcn.00442f8c
lea ecx, [ebp + 0x38]
call fcn.00442f8c
lea ecx, [ebp + 0x70]
call fcn.00442f8c
push 3
pop eax
jmp 0x44facd
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.0065231e
lea esp, [ebp + 0x324]
pop ebp
ret