Function at 0x10bc326
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x210], eax
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x218]
push 0x206
mov dword [ebp - 0x21c], esi
stosd dword es:[edi], eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x214], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x57
pop edi
cmp ebx, esi
jne 0x10bc3b5
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bc5e6
test byte [eax + 0x1c], 1
je 0x10bc5e6
push 0x100b42c
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10bc5e6
cmp dword [ebp + 0x18], esi
jne 0x10bc3dd
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bc5e6
test byte [eax + 0x1c], 1
je 0x10bc5e6
push 0x100b42c
push 0x42
jmp 0x10bc3a5
test byte [ebp + 0x10], 0x10
lea eax, [ebp - 0x20c]
je 0x10bc49b
push esi
push esi
push eax
push 0x100b810
call fcn.010bbffe
cmp eax, esi
jge 0x10bc42d
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bc425
test byte [ecx + 0x1c], 1
je 0x10bc425
push eax
push 0x100b42c
push 0x43
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
push 3
pop edi
jmp 0x10bc5e6
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
jne 0x10bc463
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bc5e6
test byte [eax + 0x1c], 1
je 0x10bc5e6
push 0x100b42c
push 0x44
jmp 0x10bc3a5
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x10bc4e4
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10bc5e6
test byte [eax + 0x1c], 1
je 0x10bc5e6
push 0x100b42c
push 0x45
jmp 0x10bc3a5
push dword [ebp - 0x210]
push 0x104
push eax
call fcn.0104e20e
cmp eax, esi
jge 0x10bc4e4
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bc5e6
test byte [ecx + 0x1c], 1
je 0x10bc5e6
push eax
push 0x100b42c
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
jmp 0x10bc5e6
cmp dword [ebp + 0xc], esi
jbe 0x10bc580
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x18]
push ebx
call fcn.010aceee
add esp, 0x10
test eax, eax
jl 0x10bc5c3
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10bc5e4
test byte [ebp + 0x10], 1
jne 0x10bc5e4
test byte [ebp + 0x10], 2
je 0x10bc576
lea eax, [ebp - 0x240]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x10bc576
test esi, esi
je 0x10bc558
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x10bc576
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x10bc4ed
test byte [ebp + 0x10], 2
je 0x10bc5e6
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [ebp + 0x18]
push ebx
call fcn.010aceee
add esp, 0x10
test eax, eax
jge 0x10bc5e4
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bc5e6
test byte [ecx + 0x1c], 1
je 0x10bc5e6
push eax
push 0x100b42c
push 0x48
jmp 0x10bc4d4
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10bc5e6
test byte [ecx + 0x1c], 1
je 0x10bc5e6
push eax
push 0x100b42c
push 0x47
jmp 0x10bc4d4
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a0b37
leave
ret 0x14