Function at 0x45c6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cd5b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x57506c]
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
mov esi, dword [ebp + 8]
push esi
call fcn.0045dfc0
lea ecx, [ebp - 0x90]
call fcn.004d9b07
push esi
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x90]
call fcn.004da1f5
sub esp, 8
mov byte [ebp - 4], 1
mov eax, esp
lea ecx, [ebp - 0x70]
sub esp, 8
mov dword [eax], 0x560e51
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str._manifest_permissions_:___
mov dword [eax + 4], 0x1a
call fcn.00418190
add esp, 8
lea ecx, [ebp - 0x70]
mov eax, esp
sub esp, 8
mov dword [eax], 0x560e51
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], 0x567430
mov dword [eax + 4], 1
call fcn.00418190
add esp, 8
lea ecx, [ebp - 0x70]
mov eax, esp
sub esp, 8
mov dword [eax], 0x560e51
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], 0x5640c4
mov dword [eax + 4], 1
call fcn.00418190
add esp, 0x10
lea ecx, [ebp - 0x118]
call fcn.004dac24
push 1
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x118]
call fcn.004db982
test al, al
jne 0x45c7b2
xor bl, bl
jmp 0x45ca4e
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 3
mov eax, dword [edi + 4]
cmp eax, 4
je 0x45c7e7
cmp eax, 5
jne 0x45c937
push str._resources.pak
lea edx, [edi + 0x58]
lea ecx, [ebp - 0x40]
call fcn.00444130
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0xe8]
call fcn.00412a20
mov ebx, eax
sub esp, 8
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 8
mov edx, esp
jb 0x45c827
mov ecx, dword [esi]
jmp 0x45c829
mov ecx, esi
mov dword [edx], ecx
mov ecx, ebx
mov eax, dword [esi + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412da0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x45c85e
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45c894
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45c90a
push dword [edi + 0xc]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045eb00
cmp eax, 2
jne 0x45c90a
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45c8ef
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
xor bl, bl
mov word [ebp - 0x28], ax
jmp 0x45ca23
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45c923
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403080
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x120], esp
lea eax, [ebp - 0x70]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403080
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x124], esp
lea eax, [edi + 0x10]
push eax
push str.extensions.settings.
push ecx
call fcn.00428290
sub esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x128], esp
lea eax, [edi + 0x40]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403080
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
mov byte [ebp - 4], 3
call fcn.0045e860
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0xd
call fcn.00406230
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x45ca0f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403550
mov dword [ebp - 0x2c], 0xf
mov bl, 1
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x45ca3c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403550
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0045c5c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x45ca76
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403550
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], 0x5675d0
cmp eax, 0x10
jb 0x45cab4
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00403550
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.004d9b5c
mov dword [ebp - 4], 0xffffffff
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.00469c8e
mov esp, ebp
pop ebp
ret 4