Function at 0x452ded
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x658], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x654], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x64c], eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x648], eax
cmp dword [0x6c8920], ebx
jne 0x452ffd
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00506540
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
call dword [0x52b35c]
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00506540
push 0xffffffffffffffff
push str.ntdll.dll
lea eax, [ebp - 0x414]
push eax
push 0x5462f8
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0040c242
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call dword [0x52b268]
cmp eax, ebx
jne 0x452ee9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452f6a
lea eax, [ebp - 0x20c]
push eax
call dword [0x52b148]
cmp eax, ebx
je 0x452f6a
push str.RtlGetVersion
push eax
call dword [0x52b248]
mov esi, eax
cmp esi, ebx
je 0x452f6a
push 0x110
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.00506540
add esp, 0xc
lea eax, [ebp - 0x644]
push eax
mov dword [ebp - 0x644], 0x114
call esi
mov eax, dword [ebp - 0x640]
cmp eax, ebx
je 0x452f6a
mov dword [0x6c8920], eax
mov eax, dword [ebp - 0x63c]
mov dword [0x6c8924], eax
mov eax, dword [ebp - 0x638]
mov dword [0x6c8928], eax
mov eax, dword [ebp - 0x634]
mov dword [0x6c892c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x630]
push eax
push edi
push 0x6c8930
call fcn.004fe824
add esp, 0x10
push 0x118
lea eax, [ebp - 0x52c]
push ebx
push eax
call fcn.00506540
add esp, 0xc
lea eax, [ebp - 0x530]
push eax
mov dword [ebp - 0x530], 0x11c
call dword [0x52b394]
pop edi
pop esi
test eax, eax
je 0x452ffd
cmp dword [0x6c8920], ebx
jne 0x452fd0
mov eax, dword [ebp - 0x52c]
mov dword [0x6c8920], eax
mov eax, dword [ebp - 0x528]
mov dword [0x6c8924], eax
mov eax, dword [ebp - 0x524]
mov dword [0x6c8928], eax
mov eax, dword [ebp - 0x520]
mov dword [0x6c892c], eax
cmp byte [0x6c8b3e], bl
jne 0x452ffd
mov ax, word [ebp - 0x41a]
mov word [0x6c8b3c], ax
mov ax, word [ebp - 0x41c]
mov word [0x6c8b38], ax
mov al, byte [ebp - 0x416]
mov byte [0x6c8b3e], al
mov eax, dword [ebp - 0x650]
cmp eax, ebx
je 0x45300f
mov ecx, dword [0x6c8920]
mov dword [eax], ecx
mov eax, dword [ebp - 0x658]
cmp eax, ebx
je 0x453021
mov ecx, dword [0x6c8924]
mov dword [eax], ecx
mov eax, dword [ebp - 0x654]
cmp eax, ebx
je 0x453033
mov ecx, dword [0x6c8928]
mov dword [eax], ecx
mov eax, dword [ebp - 0x64c]
cmp eax, ebx
je 0x453045
mov ecx, dword [0x6c892c]
mov dword [eax], ecx
cmp dword [ebp - 0x648], ebx
je 0x45306a
cmp dword [ebp + 0x1c], ebx
je 0x45306a
push 0xffffffffffffffff
push 0x6c8930
push dword [ebp + 0x1c]
push dword [ebp - 0x648]
call fcn.004fe824
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004fe191
leave
ret