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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, 0x226
push esi
push eax
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x452]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x17c91a28
call fcn.17c9f176
mov dword [ebp - 0x46c], eax
push edi
lea eax, [ebp - 0x454]
push eax
call fcn.17d08339
mov esi, eax
test esi, esi
jge 0x17ca35f7
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4a
jmp 0x17ca38ff
push ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08339
mov esi, eax
test esi, esi
jge 0x17ca3631
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4b
jmp 0x17ca38ff
movzx eax, word [ebp - 0x454]
and dword [ebp - 0x458], 0
cmp dword [0x17d26150], 0
mov dword [ebp - 0x474], eax
movzx eax, word [ebp - 0x22c]
mov dword [ebp - 0x470], eax
jbe 0x17ca390a
mov edi, 0x17d260dc
mov ebx, 0x1f4
cmp dword [edi + 4], 0
je 0x17ca3682
push dword [edi + 8]
push dword [ebp + 8]
call fcn.17ca212c
test eax, eax
je 0x17ca37e1
push dword [ebp - 0x474]
lea eax, [ebp - 0x454]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jl 0x17ca3801
push dword [ebp - 0x470]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jl 0x17ca3828
push dword [edi]
lea eax, [ebp - 0x454]
push eax
call fcn.17d083d6
mov esi, eax
test esi, esi
jl 0x17ca384f
push dword [edi]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d083d6
mov esi, eax
test esi, esi
jl 0x17ca3876
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x17ca37e1
cmp dword [ebp + 0x14], 0
je 0x17ca37b9
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x17ca37b9
cmp dword [ebp + 0x18], 0
je 0x17ca3738
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x460], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x45c], eax
jmp 0x17ca375d
lea eax, [ebp - 0x460]
push eax
push ebx
push 0xa
push dword [0x17d2b0e0]
push dword [ebp - 0x450]
call fcn.17cb3a94
mov esi, eax
test esi, esi
jl 0x17ca3896
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xa
push dword [0x17d2b0e0]
push dword [ebp - 0x228]
call fcn.17cb3a94
mov esi, eax
test esi, esi
jl 0x17ca38c3
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x464]
jb 0x17ca37e1
mov ecx, dword [ebp - 0x460]
ja 0x17ca37a0
cmp ecx, dword [ebp - 0x468]
jb 0x17ca37e1
cmp dword [ebp - 0x46c], 0
je 0x17ca37b9
cmp ecx, dword [ebp - 0x468]
jne 0x17ca37b9
cmp eax, dword [ebp - 0x464]
je 0x17ca37e1
push ebx
push 0xa
push dword [0x17d2b0e0]
push 0
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x450]
call fcn.17d08f1c
mov esi, eax
test esi, esi
jl 0x17ca38e5
inc dword [ebp - 0x458]
mov eax, dword [ebp - 0x458]
add edi, 0x18
cmp eax, dword [0x17d26150]
jb 0x17ca3669
jmp 0x17ca390a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4c
jmp 0x17ca38ff
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4d
jmp 0x17ca38ff
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4e
jmp 0x17ca38ff
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x4f
jmp 0x17ca38ff
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push dword [ebp - 0x450]
push 0x17c919fc
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
jmp 0x17ca390a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push dword [ebp - 0x228]
push 0x17c919fc
push 0x51
jmp 0x17ca38b6
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca390a
test byte [eax + 0x1c], 1
je 0x17ca390a
push esi
push 0x17c919fc
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
lea eax, [ebp - 0x454]
push eax
call fcn.17d08313
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08313
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.17ce4923
leave
ret 0x14