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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xa45214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x21c], edx
push esi
xor dl, dl
mov dword [ebp - 0x218], eax
or ecx, 0xffffffff
mov byte [ebp - 0x211], dl
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
xor ebx, ebx
mov dword [ebp - 0x220], ecx
nop
mov eax, dword [eax + 0x38]
movzx esi, word [eax + ebx*2]
cmp esi, 0x22
je 0xa34e30
test si, si
je 0xa2504a
test dl, dl
jne 0xa2500f
push esi
push 0xa25138
call edi
add esp, 8
test eax, eax
jne 0xa2504a
mov ecx, dword [ebp - 0x220]
cmp ecx, 0xffffffff
jne 0xa2502d
push esi
push 0xa25130
call edi
add esp, 8
test eax, eax
jne 0xa26436
mov ecx, dword [ebp - 0x220]
mov dl, byte [ebp - 0x211]
mov eax, dword [ebp - 0x218]
mov word [ebp + ebx*2 - 0x210], si
inc ebx
cmp ebx, 0x103
jb 0xa24fe1
mov dword [ebp - 0x224], ebx
test ebx, ebx
je 0xa3b8fe
add ebx, ebx
cmp ebx, 0x208
jae 0xa34e3e
mov esi, dword [ebp - 0x220]
xor eax, eax
mov word [ebp + ebx - 0x210], ax
cmp esi, 0xffffffff
jne 0xa26450
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
xor edi, edi
mov esi, 0xa214c0
mov eax, dword [esi]
test eax, eax
je 0xa250a7
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
add esp, 8
test eax, eax
je 0xa251a5
add esi, 0x18
inc edi
cmp esi, 0xa218b0
jle 0xa2508c
mov ecx, dword [ebp - 0x21c]
or edi, 0xffffffff
mov dword [0xa4506c], 0xffffffff
push ecx
lea edx, [ebp - 0x210]
mov ecx, 0x2d
call fcn.00a259ce
cmp eax, 0x2d
je 0xa3b918
mov edx, dword [ebp - 0x218]
xor cl, cl
mov byte [ebp - 0x211], cl
cmp edi, 0xffffffff
je 0xa2636f
mov ebx, dword [ebp - 0x224]
mov ecx, dword [edx + 0x38]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xa25103
sub ecx, edx
sar ecx, 1
cmp ebx, ecx
jne 0xa30702
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a213b9
mov esp, ebp
pop ebp
ret
test byte [esi + 8], 4
jne 0xa3b906
mov ecx, dword [ebp - 0x21c]
lea eax, [edi + edi*2]
mov ax, word [eax*8 + 0xa214c8]
mov dword [0xa4506c], edi
mov word [ecx], ax
cmp edi, 0xffffffff
je 0xa250c6
mov edx, dword [ebp - 0x218]
cmp edi, 0x14
jne 0xa250e6
mov dword [edx + 0x40], 1
jmp 0xa250e6
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [edx + 0x38]
movzx esi, word [eax + ebx*2]
test si, si
je 0xa250fd
cmp esi, 0x22
je 0xa34e43
test cl, cl
jne 0xa263cb
push esi
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0xa360c0
mov edx, esi
mov ecx, 0xa22058
call fcn.00a22200
test eax, eax
jne 0xa360c0
mov edx, dword [ebp - 0x218]
cmp esi, 0x2f
je 0xa250fd
mov cl, byte [ebp - 0x211]
inc ebx
jmp 0xa26373
cmp byte [0xa45044], 0
je 0xa2504a
mov ecx, ebx
mov dword [ebp - 0x220], ecx
jmp 0xa2502d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xa26485
mov dword [ebp - 0x224], esi
add esi, esi
cmp esi, 0x208
jae 0xa34e3e
xor eax, eax
mov word [ebp + esi - 0x210], ax
jmp 0xa2507f
test al, 0x10
je 0xa2507f
jmp 0xa26462
mov eax, dword [ebp - 0x218]
lea esi, [ecx + 1]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0xa360cb
lea ecx, [esi + esi]
call fcn.00a24697
mov ecx, dword [ebp - 0x218]
add ebx, ebx
mov edx, esi
mov dword [ebp - 0x21c], eax
mov ecx, dword [ecx + 0x38]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.00a21417
mov ecx, dword [ebp - 0x218]
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0xa3b938
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x3c], esi
xor eax, eax
mov word [ebx + ecx], ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a213b9
mov esp, ebp
pop ebp
ret
test dl, dl
sete byte [ebp - 0x211]
jmp 0xa2500f
call fcn.00a388f6
test cl, cl
sete cl
inc ebx
mov byte [ebp - 0x211], cl
jmp 0xa26373
mov edx, dword [ebp - 0x218]
jmp 0xa250fd
lea edx, [ecx + 2]
jmp 0xa3b922
or eax, 0xffffffff
jmp 0xa2511c
cmp byte [0xa45044], 0
je 0xa250a7
jmp 0xa251af
mov eax, 0x2d
jmp 0xa2511c
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xa3b922
sub ecx, edx
sar ecx, 1
add esi, ecx
jmp 0xa30716
mov edx, esi
mov esi, dword [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00a22c30
jmp 0xa30752