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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aea40
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4e51f0]
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
push 0x14
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4ca678
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00432f80
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00456df0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x455469
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [0x4fdd70]
mov dword [ebp - 0x18], 0
cmp dword [eax + 0xc], 0xffffffff
je 0x455e9e
mov cl, 1
call fcn.00458d80
test al, al
je 0x455e9e
mov eax, dword [0x4fdd70]
push 0xffffffffffffffff
imul ecx, dword [eax + 0xc], 0x188
add ecx, dword [eax]
xor eax, eax
push eax
mov word [ebp - 0x130], ax
mov dword [ebp - 0x11c], 7
lea eax, [ecx + 0x18]
mov dword [ebp - 0x120], 0
push eax
lea ecx, [ebp - 0x130]
call fcn.00432c00
mov dword [ebp - 4], 1
mov eax, dword [0x4fdd70]
push 0xffffffffffffffff
imul ecx, dword [eax + 0xc], 0x188
add ecx, dword [eax]
xor eax, eax
push eax
mov word [ebp - 0xe8], ax
mov dword [ebp - 0xd4], 7
lea eax, [ecx + 0x30]
mov dword [ebp - 0xd8], 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.00432c00
mov byte [ebp - 4], 2
mov eax, dword [0x4fdd70]
push 0xffffffffffffffff
imul ecx, dword [eax + 0xc], 0x188
add ecx, dword [eax]
xor eax, eax
push eax
mov word [ebp - 0x118], ax
mov dword [ebp - 0x104], 7
lea eax, [ecx + 0x48]
mov dword [ebp - 0x108], 0
push eax
lea ecx, [ebp - 0x118]
call fcn.00432c00
mov ecx, dword [0x4fdd78]
push 0
lea ecx, [ecx + 0x15a4]
call fcn.00489b20
xor eax, eax
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], eax
mov word [ebp - 0xd0], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 6
mov eax, 0x2aaaaaab
mov esi, dword [0x4fdd70]
xor ebx, ebx
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x455875
xor edi, edi
mov edx, dword [esi + 0x54]
lea ecx, [ebp - 0x40]
add edx, edi
call fcn.0047ada0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
cmp ecx, eax
je 0x455607
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
jb 0x45561c
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
push 0x4ca5ac
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x40]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [0x4fdd70]
mov ecx, dword [ecx + 0x54]
add ecx, edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.00432410
add esp, 4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
cmp ecx, eax
je 0x455667
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
cmp dword [ebp - 0x14], 8
jb 0x455678
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4556a1
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
push str.inc_
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x40]
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00432410
add esp, 4
push str..txt
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
cmp ecx, eax
je 0x4556fd
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
cmp dword [ebp - 0x14], 8
jb 0x45570e
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x455733
push dword [ebp - 0x58]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x45575c
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455a09
test al, 0x10
jne 0x455a09
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push 0
cmovae eax, dword [ebp - 0xd0]
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4557d6
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push 0
cmovae eax, dword [ebp - 0x88]
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x455824
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
ja 0x455a09
jne 0x45584c
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x15c]
ja 0x455a09
mov esi, dword [0x4fdd70]
mov eax, 0x2aaaaaab
inc ebx
add edi, 0x18
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x4555e2
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
add esi, 0x60
mov byte [ebp - 4], 0x10
mov eax, 0x92492493
xor edi, edi
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x455d0c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x134], eax
mov edi, edi
mov edx, dword [esi]
lea ecx, [ebp - 0x40]
add edx, eax
call fcn.0047ada0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
cmp ecx, eax
je 0x455914
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x2c], 8
jb 0x455929
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
push 0x4ca5ac
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x40]
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x12
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00432410
add esp, 4
push 0x4ca6f0
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x14
cmp ecx, eax
je 0x455985
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
cmp dword [ebp - 0x44], 8
jb 0x455996
push dword [ebp - 0x58]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x4559bb
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4559e4
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [0x4fdd78]
mov dword [ebp - 0x30], 0
mov eax, dword [eax + 0xd90]
test eax, eax
jne 0x455a76
jmp 0x455a82
push 0x18
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4ca6bc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00432f80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
call fcn.00456df0
cmp dword [ebp - 0x14], 8
jb 0x455a4a
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
mov ecx, dword [0x4fdd78]
xor eax, eax
push 1
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
lea ecx, [ecx + 0x15a4]
mov word [ebp - 0x28], ax
call fcn.00489b20
jmp 0x455d88
push 0
push 0
push 0xf0
push eax
call ebx
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x28]
push str._bs_
test al, 1
je 0x455ad0
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00432410
add esp, 4
push 0x4ca6f8
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 0x17
jmp 0x455b0a
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x18
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00432410
add esp, 4
push str..lzss
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.004322b0
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x70]
cmp ecx, eax
je 0x455b1b
push 0xffffffffffffffff
push 0
push eax
call fcn.00432c00
cmp dword [ebp - 0x2c], 8
jb 0x455b2c
push dword [ebp - 0x40]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
jb 0x455b4d
push dword [ebp - 0x58]
call fcn.0048ccb8
add esp, 4
mov byte [ebp - 4], 0x10
xor eax, eax
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
jb 0x455b72
push dword [ebp - 0x28]
call fcn.0048ccb8
add esp, 4
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455c87
test al, 0x10
jne 0x455c87
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push 0
cmovae eax, dword [ebp - 0xb8]
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x455be6
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push 0x8000080
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x455c2e
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x148]
cmp eax, ecx
ja 0x455c52
jne 0x455cc4
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x14c]
jbe 0x455cc4
mov eax, dword [0x4fdd78]
mov dword [ebp - 0x198], 8
mov dword [ebp - 0x18c], 2
mov dword [ebp - 0x188], 2
mov eax, dword [eax + 0x15a8]
test eax, eax
je 0x455cc4
lea ecx, [ebp - 0x198]
jmp 0x455cba
mov eax, dword [0x4fdd78]
mov dword [ebp - 0x1d4], 8
mov dword [ebp - 0x1c8], 2
mov dword [ebp - 0x1c4], 2
mov eax, dword [eax + 0x15a8]
test eax, eax
je 0x455cc4
lea ecx, [ebp - 0x1d4]
push ecx
push edi
push 0x102b
push eax
call ebx
mov esi, dword [0x4fdd70]
mov eax, 0x92492493
add dword [ebp - 0x134], 0x1c
add esi, 0x60
inc edi
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [ebp - 0x134]
jl 0x4558f0
cmp dword [ebp - 0x5c], 8
jb 0x455d0c
push dword [ebp - 0x70]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x455d37
push dword [ebp - 0xb8]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x455d6b
push dword [ebp - 0xa0]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x74], 8
jb 0x455d9c
push dword [ebp - 0x88]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0xbc], 8
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x455dca
push dword [ebp - 0xd0]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0xbc], 7
cmp dword [ebp - 0xec], 8
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
jb 0x455dfe
push dword [ebp - 0x100]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0xec], 7
cmp dword [ebp - 0x104], 8
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
jb 0x455e32
push dword [ebp - 0x118]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x104], 7
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
jb 0x455e66
push dword [ebp - 0xe8]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0xd4], 7
cmp dword [ebp - 0x11c], 8
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
jb 0x455e9a
push dword [ebp - 0x130]
call fcn.0048ccb8
add esp, 4
mov al, 1
jmp 0x455ea0
xor al, al
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.0048cca9
mov esp, ebp
pop ebp
ret