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

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4babf5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push 1
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x40]
push ebp
push eax
push ecx
call fcn.0051c6f0
add esp, 0x18
pop ebp
add esp, 0x2c
ret
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x4bb009
cmp dword [eax + 0x1c], 1
je 0x4bac10
mov eax, 1
pop ebp
add esp, 0x2c
ret
mov ecx, dword [eax + 0xc]
test ecx, ecx
push esi
jne 0x4bafd8
mov edx, dword [eax]
push edx
call fcn.0055aba0
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0x4c]
mov ecx, dword [eax]
push esi
push ecx
call fcn.004222f0
add esp, 0xc
test eax, eax
je 0x4bafd8
lea edx, [esp + 0x10]
push edx
push esi
call fcn.005e62d7
add esp, 8
test eax, eax
jne 0x4bafd8
cmp dword [esp + 0x50], 1
push edi
je 0x4baf90
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4baf90
mov eax, dword [ebp]
push 0x2e
push eax
call fcn.005da7f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4baf90
push str..size
push edi
call fcn.005f1860
add esp, 8
test eax, eax
je 0x4baf90
push str..atime
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bacb5
mov ecx, dword [esp + 0x2c]
jmp 0x4bafc4
push str..mtime
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bacdb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
push eax
push 0x5f4a38
push ecx
jmp 0x4bafcf
push str..ctime
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bad01
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push edx
push 0x5f4a38
push eax
jmp 0x4bafcf
push str..shortfn
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bad38
mov edi, dword [esp + 0x48]
mov edx, edi
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bad20
push edi
call fcn.00542e10
add esp, 4
jmp 0x4bafd7
push str..longfn
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bad8f
mov edi, dword [esp + 0x48]
push esi
mov byte [edi], al
call fcn.00542cd0
add esp, 4
test eax, eax
je 0x4bad76
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bad63
cmp byte [edi], 0
jne 0x4bafd7
mov edx, edi
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bad80
jmp 0x4bafd7
push 0x5fa2b4
push edi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bafd7
mov ebp, dword [esp + 0x50]
push esi
mov byte [ebp], al
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4baf72
test al, 0x20
je 0x4badd5
mov edi, ebp
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4badc3
mov cx, word [0x5fa2b0]
mov word [edi], cx
test ah, 8
je 0x4badf2
mov edi, ebp
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bade0
mov dx, word [0x5f4eb0]
mov word [edi], dx
test al, 0x40
je 0x4bae12
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bae00
mov cx, word [0x5fa2ac]
mov word [edi], cx
test al, 0x10
je 0x4bae32
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bae20
mov dx, word [0x5f4e8c]
mov word [edi], dx
test ah, 0x40
je 0x4bae52
mov edi, ebp
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bae40
mov cx, word [0x5f604c]
mov word [edi], cx
test al, 2
je 0x4bae72
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bae60
mov dx, word [0x5fa2a8]
mov word [edi], dx
test al, al
jns 0x4bae92
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bae80
mov cx, word [0x5f4ea4]
mov word [edi], cx
test ah, 0x20
je 0x4baeb2
mov edi, ebp
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baea0
mov dx, word [0x5f4e64]
mov word [edi], dx
test ah, 0x10
je 0x4baed2
mov edi, ebp
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baec0
mov cx, word [0x5fa2a4]
mov word [edi], cx
test al, 1
je 0x4baef2
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baee0
mov dx, word [0x5fa2a0]
mov word [edi], dx
test ah, 4
je 0x4baf12
mov edi, ebp
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baf00
mov cx, word [0x5f4e98]
mov word [edi], cx
test ah, 2
je 0x4baf32
mov edi, ebp
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baf20
mov dx, word [0x5f4ec0]
mov word [edi], dx
test al, 4
je 0x4baf52
mov edi, ebp
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4baf40
mov cx, word [0x5f60f4]
mov word [edi], cx
test ah, 1
je 0x4baf72
mov edi, ebp
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4baf60
mov dx, word [str.yrohva]
mov word [edi], dx
mov edx, dword [esp + 0x48]
mov eax, ebp
sub edx, ebp
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4baf80
mov ebp, dword [esp + 0x44]
jmp 0x4bafd7
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00423730
add esp, 8
test eax, eax
je 0x4bafc0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
push ecx
push edx
push str._I64Ld
push eax
call fcn.005d9929
add esp, 0x10
jmp 0x4bafd7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
push ecx
push 0x5f4a38
push edx
call fcn.005d9929
add esp, 0xc
pop edi
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4bb001
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 0x40]
mov ecx, dword [esi]
push eax
push ecx
call fcn.004e8a00
mov dword [esi], eax
mov ecx, dword [ebp + 8]
add esp, 8
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 8], ecx
jg 0x4bafe3
mov dword [ebp + 8], 0
pop esi
mov eax, 2
pop ebp
add esp, 0x2c
ret