Function at 0x453b1d
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 [0x7aa378]
xor eax, ebp
mov dword [ebp + 0x320], eax
push 0x10
mov eax, 0x6a1271
call fcn.00642d11
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.00447fdb
xor ebx, ebx
lea ecx, [ebp + 0x54]
inc ebx
mov byte [ebp - 4], bl
call fcn.00447fdb
lea eax, [ebp + 0x70]
mov byte [ebp - 4], 3
push eax
call fcn.00449ef1
mov edi, eax
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 4
call fcn.00441cf4
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp + 0x54]
call fcn.00441cf4
lea ecx, [ebp + 0x8c]
call fcn.0044803c
lea ecx, [ebp + 0x70]
call fcn.0044803c
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.00447fb7
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.0043ffde
inc eax
lea ecx, [ebp + 4]
push eax
push esi
lea eax, [ebp + 0x100]
push eax
call fcn.00440c52
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.004285f6
push ebx
push 0x1a
lea eax, [ebp + 0x118]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x453ccc
push 0x7479ec
lea ecx, [ebp + 0x100]
call fcn.0040f32f
push str.cannotGetAppDataPath
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xb
call fcn.0040f32f
push str.failGeneral
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 0xc
call fcn.0040f32f
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.004514b6
push esi
push ebx
lea ecx, [ebp + 0xe4]
call fcn.0040f95f
push esi
push ebx
lea ecx, [ebp + 0x90]
call fcn.0040f95f
push esi
push ebx
lea ecx, [ebp + 0x100]
call fcn.0040f95f
jmp 0x453e8f
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00447fb7
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
mov edi, 0x6cae28
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.004392c2
cmp dword [ebp + 0xbc], 0
mov dword [ebp - 0x18], eax
je 0x453daa
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 0x453d49
lea eax, [ebp + 0x100]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x453d97
cmp dword [ebp - 0x18], 0
jne 0x453d77
lea ecx, [ebp + 0xfc]
call fcn.0044803c
lea ecx, [ebp + 0x1c]
call fcn.0044803c
mov ebx, esi
jmp 0x453e8f
cmp byte [ebp - 0x11], 0
je 0x453d9d
lea ecx, [ebp + 0xfc]
call fcn.0044803c
lea ecx, [ebp + 0x1c]
call fcn.0044803c
push 2
jmp 0x453e8e
cmp dword [ebp - 0x18], 0
je 0x453d5d
lea ecx, [ebp + 0xfc]
call fcn.0044803c
jmp 0x453dba
cmp byte [ebp - 0x11], 0
jne 0x453d88
test eax, eax
je 0x453d68
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 0x6cc5f4
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.0044803c
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x453e09
lea eax, [ebp + 0xc8]
push eax
call edi
cmp eax, 0xffffffff
jne 0x453e26
lea ecx, [ebp + 0xc4]
call fcn.0044803c
lea ecx, [ebp + 0x1c]
call fcn.0044803c
jmp 0x453e8f
cmp dword [ebp + 0xbc], 0
je 0x453eb9
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 0x453e5f
lea eax, [ebp + 0x90]
push eax
call edi
lea ecx, [ebp + 0x8c]
cmp eax, 0xffffffff
jne 0x453e74
call fcn.0044803c
jmp 0x453e11
call fcn.0044803c
lea ecx, [ebp + 0xc4]
call fcn.0044803c
lea ecx, [ebp + 0x1c]
call fcn.0044803c
push 3
pop ebx
lea ecx, [ebp]
call fcn.0044803c
lea ecx, [ebp + 0x54]
call fcn.0044803c
lea ecx, [ebp + 0x38]
call fcn.0044803c
lea ecx, [ebp + 0xa8]
call fcn.0044803c
mov eax, ebx
jmp 0x453fa1
lea ecx, [ebp + 0xc4]
call fcn.0044803c
lea ecx, [ebp + 0x1c]
call fcn.0044803c
lea ecx, [ebp]
call fcn.0044803c
lea ecx, [ebp + 0x54]
call fcn.0044803c
lea ecx, [ebp + 0x38]
call fcn.0044803c
lea ecx, [ebp + 0xa8]
call fcn.0044803c
push 3
pop eax
jmp 0x453fa1
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.00642c5e
lea esp, [ebp + 0x324]
pop ebp
ret