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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae507
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4e51f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4fdd70]
mov ecx, dword [0x4fdd74]
cmp byte [eax + 0x13], 0
je 0x452df2
push 0
jmp 0x452df4
push 1
call fcn.00456d10
mov ecx, dword [0x4fdd70]
mov bl, al
cmp byte [ecx + 0x12], 0
je 0x4530f4
cmp dword [ecx + 0x28], 0
je 0x4530f4
add ecx, 0x18
call fcn.0047aeb0
test al, al
jne 0x452efa
lea ecx, [ebp - 0x28]
call fcn.00482950
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov edx, dword [0x4fdd70]
push 0x4ca4e4
lea edx, [edx + 0x18]
call fcn.004322b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00432410
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x452e6c
mov eax, dword [eax]
push 0x30
push 0x4c9374
push eax
push dword [0x5147c4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x74], 8
jb 0x452e94
push dword [ebp - 0x88]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x452ebc
push dword [ebp - 0x70]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x452ee1
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x4530f4
mov edx, dword [0x4fdd70]
lea ecx, [ebp - 0x40]
push 0x4ca518
lea edx, [edx + 0x18]
call fcn.004322b0
add esp, 4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, dword [0x4fdd70]
push str.error.dat
lea edx, [edx + 0x18]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp eax, 0xffffffff
je 0x452fb8
test al, 0x10
jne 0x452fb8
lea ecx, [ebp - 0x40]
call fcn.0047b210
test al, al
jne 0x452fb8
lea ecx, [ebp - 0x88]
call fcn.00482950
mov esi, eax
push 0x4ca544
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 5
push esi
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00432410
add esp, 4
mov ecx, eax
call fcn.0047ebb0
lea ecx, [ebp - 0x28]
call fcn.00432b00
lea ecx, [ebp - 0x70]
call fcn.00432b00
lea ecx, [ebp - 0x88]
jmp 0x4530df
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
cmp eax, 0xffffffff
je 0x453005
test al, 0x10
jne 0x453005
lea ecx, [ebp - 0x58]
call fcn.0047b210
test al, al
jne 0x453005
lea ecx, [ebp - 0x88]
call fcn.00482950
mov esi, eax
push 0x4ca544
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 7
jmp 0x452f88
mov edx, dword [0x4fdd70]
lea ecx, [ebp - 0x40]
lea edx, [edx + 0x30]
call fcn.0047df00
test al, al
jne 0x453047
lea ecx, [ebp - 0x88]
call fcn.00482950
mov esi, eax
push 0x4ca578
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 9
jmp 0x452f88
test bl, bl
jne 0x4530e4
push 0x4bcf0c
lea ecx, [ebp - 0x28]
call fcn.00433100
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.0047df00
test al, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
sete bl
call fcn.00432b00
test bl, bl
je 0x4530e4
lea ecx, [ebp - 0xd0]
call fcn.00482950
mov esi, eax
push 0x4ca578
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb8]
call fcn.004322b0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa0]
call fcn.00432410
add esp, 4
mov ecx, eax
call fcn.0047ebb0
lea ecx, [ebp - 0xa0]
call fcn.00432b00
lea ecx, [ebp - 0xb8]
call fcn.00432b00
lea ecx, [ebp - 0xd0]
call fcn.00432b00
lea ecx, [ebp - 0x58]
call fcn.00432b00
lea ecx, [ebp - 0x40]
call fcn.00432b00
mov eax, dword [0x4fdd78]
mov eax, dword [eax + 4]
test eax, eax
je 0x45310d
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cca9
mov esp, ebp
pop ebp
ret