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

Disassembly:
push 0x98
mov eax, 0x4ef544
call fcn.004cb117
mov edi, ecx
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x98], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xf
pop eax
mov byte [ebp - 0x99], 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov byte [ebp - 4], 3
cmp dword [ecx + 0x10], ebx
je 0x45580a
push 0xffffffffffffffff
mov dword [ebp - 0x5c], eax
push ebx
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.0044d89b
mov esi, 0x50bfdc
push esi
mov byte [ebp - 4], 4
call fcn.004ca000
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0044da04
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, eax
call fcn.0044d801
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
mov ecx, eax
call fcn.0044d801
cmp dword [ebp - 0x5c], 0x10
mov eax, dword [ebp - 0x70]
mov byte [ebp - 0x91], 1
jae 0x45547f
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, 0x4f5b60
cmp eax, 0xffffffff
je 0x455613
push 0x4f5b50
lea ecx, [ebp - 0x2c]
call fcn.0044dacf
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0044d801
push esi
mov dword [ebp - 0x90], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push esi
call fcn.0044da04
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.0044d9de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp byte [ebp + 8], bl
jne 0x45555c
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x48]
push eax
sub esp, 0x1c
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
mov byte [ebp - 4], 6
call fcn.0044d9de
call fcn.00462bbc
add esp, 0x24
cmp al, bl
je 0x45558b
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push eax
add ecx, 0x1c
call fcn.0044d67e
test eax, eax
jne 0x45558b
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x54]
xor ecx, ecx
cmp eax, dword [ebp - 0xa4]
jne 0x45558b
cmp ecx, dword [ebp - 0xa0]
jmp 0x455583
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0046318e
pop ecx
pop ecx
mov eax, dword [ebp - 0x98]
add eax, 0x38
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.0044d67e
test eax, eax
jne 0x45558b
mov byte [ebp - 0x91], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0044d2a1
push 0x4f5b40
call fcn.004ca000
pop ecx
push eax
push 0x4f5b40
lea ecx, [ebp - 0x2c]
call fcn.0044d934
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
call fcn.0044d801
push esi
mov dword [ebp - 0x90], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push esi
call fcn.0044da04
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.0044d9de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0044d2a1
cmp byte [ebp - 0x91], bl
je 0x455799
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x18]
push 0x4f5b30
lea ecx, [ebp - 0x2c]
call fcn.0044dacf
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0044d801
push esi
mov dword [ebp - 0x90], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push esi
call fcn.0044da04
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.0044d9de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 1
push 3
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x70]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
push dword [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.0044d9de
sub esp, 0x1c
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.0044d9de
push dword [ebp + 0x48]
lea eax, [ebp - 0x54]
push 1
push dword [ebp - 0x98]
lea ecx, [edi + 8]
push eax
mov byte [ebp - 4], 9
call fcn.00454cb8
mov byte [ebp - 0x99], al
cmp al, bl
je 0x45571a
push 0x4f5b20
call fcn.004ca000
pop ecx
push eax
push 0x4f5b20
lea ecx, [ebp - 0x2c]
call fcn.0044d934
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
jmp 0x455750
push 0x4f5b14
call fcn.004ca000
pop ecx
push eax
push 0x4f5b14
lea ecx, [ebp - 0x2c]
call fcn.0044d934
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2c]
call fcn.0044d801
push 0xffffffffffffffff
lea ecx, [ebp - 0x8c]
push ebx
push ecx
mov ecx, eax
call fcn.0044d801
push esi
mov dword [ebp - 0x90], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push esi
call fcn.0044da04
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call fcn.0044d9de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044d2a1
lea ecx, [ebp - 0x2c]
jmp 0x4557f7
push 0x4f5b08
lea ecx, [ebp - 0x48]
call fcn.0044dacf
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.0044d801
mov esi, 0x4f5ae8
push esi
mov dword [ebp - 0x90], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push esi
call fcn.0044da04
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call fcn.0044d9de
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x48]
push ebx
push 1
call fcn.0044d2a1
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.0044d2a1
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x8c]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp + 0x28]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp + 0x4c]
call fcn.0044d2a1
mov al, byte [ebp - 0x99]
call fcn.004cb19a
ret 0x60