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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x458], eax
xor eax, eax
mov esi, 0x226
push esi
mov word [ebp - 0x454], ax
xor edi, edi
lea eax, [ebp - 0x452]
push edi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x17c929a0
mov dword [ebp - 0x45c], edi
call fcn.17c9f176
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x458], edi
jne 0x17cb2fd8
lea eax, [ebp - 0x458]
push eax
push 0x17c92970
push 0x17c91a6c
call fcn.17ca2299
mov esi, eax
cmp esi, edi
jge 0x17cb2f9c
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33d1
test byte [eax + 0x1c], 1
je 0x17cb33d1
push esi
push 0x17c92794
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cb33d1
cmp dword [ebp - 0x458], edi
je 0x17cb2faf
mov eax, dword [ebp - 0x458]
cmp word [eax], di
jne 0x17cb2fd8
mov esi, 0x8007064a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33d1
test byte [eax + 0x1c], 1
je 0x17cb33d1
push esi
push 0x17c92794
push 0x1f
jmp 0x17cb2f8c
push dword [ebp - 0x458]
lea eax, [ebp - 0x454]
push eax
call fcn.17d08339
mov esi, eax
cmp esi, edi
jge 0x17cb3017
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33d1
test byte [eax + 0x1c], 1
je 0x17cb33d1
push esi
push 0x17c92794
push 0x20
jmp 0x17cb2f8c
movzx eax, word [ebp - 0x454]
push ebx
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], edi
cmp dword [0x17d26150], edi
jbe 0x17cb31db
mov edi, 0x17d260e8
mov ebx, 0x1f4
cmp dword [edi - 8], 0
je 0x17cb3063
push dword [edi - 4]
call fcn.17ca2103
test eax, eax
je 0x17cb31b3
push dword [ebp - 0x474]
lea eax, [ebp - 0x454]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jl 0x17cb321b
push dword [edi - 0xc]
lea eax, [ebp - 0x454]
push eax
call fcn.17d083d6
mov esi, eax
test esi, esi
jl 0x17cb3242
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x17cb31b3
lea eax, [ebp - 0x470]
push eax
push ebx
push 0xa
push dword [0x17d2b0e0]
push dword [ebp - 0x450]
call fcn.17cb3a94
mov esi, eax
test esi, esi
jl 0x17cb3269
cmp dword [ebp - 0x47c], 0
mov eax, dword [ebp - 0x46c]
je 0x17cb30fb
cmp eax, dword [edi + 4]
ja 0x17cb3114
jb 0x17cb31b3
mov eax, dword [ebp - 0x470]
cmp eax, dword [edi]
jae 0x17cb3114
jmp 0x17cb31b3
cmp eax, dword [edi + 4]
jb 0x17cb31b3
ja 0x17cb3114
mov eax, dword [ebp - 0x470]
cmp eax, dword [edi]
jbe 0x17cb31b3
cmp dword [ebp - 0x460], 0
jne 0x17cb314c
push 1
lea eax, [ebp - 0x22c]
push eax
call fcn.17ca4044
mov esi, eax
test esi, esi
jl 0x17cb3290
movzx eax, word [ebp - 0x22c]
mov dword [ebp - 0x460], 1
mov dword [ebp - 0x45c], eax
push dword [ebp - 0x45c]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jl 0x17cb32c2
push dword [edi - 0xc]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d083d6
mov esi, eax
test esi, esi
jl 0x17cb32e9
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 0x17cb3310
mov dword [ebp - 0x468], 1
inc dword [ebp - 0x464]
mov eax, dword [ebp - 0x464]
add edi, 0x18
cmp eax, dword [0x17d26150]
jb 0x17cb304d
cmp dword [ebp - 0x468], 0
jne 0x17cb3334
cmp dword [ebp + 0xc], 0
mov esi, 0x80070002
jne 0x17cb33aa
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push 0x17c92794
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
jmp 0x17cb33aa
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x21
jmp 0x17cb339f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x22
jmp 0x17cb339f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x23
jmp 0x17cb339f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33d0
test byte [eax + 0x1c], 1
je 0x17cb33d0
push esi
push 0x17c92794
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cb33d0
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x25
jmp 0x17cb339f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x26
jmp 0x17cb339f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x27
jmp 0x17cb339f
push dword [ebp - 0x45c]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jge 0x17cb3368
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x29
jmp 0x17cb339f
push 0
push dword [ebp - 0x228]
push 0
push 3
push dword [0x17d2b118]
call fcn.17cb28e2
mov esi, eax
test esi, esi
jge 0x17cb33aa
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb33aa
test byte [eax + 0x1c], 1
je 0x17cb33aa
push esi
push 0x17c92794
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
cmp dword [ebp - 0x460], 0
je 0x17cb33d0
push dword [ebp - 0x45c]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d082d9
push dword [ebp - 0x228]
call fcn.17d0871c
pop ebx
lea eax, [ebp - 0x454]
push eax
call fcn.17d08313
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08313
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x17cb3401
cmp eax, dword [ebp - 0x478]
je 0x17cb3401
push eax
call fcn.17d06bf2
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.17ce4923
leave
ret 8