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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xe]
lea ebx, [edi + 0xe]
or eax, dword [ebx + 4]
jne 0x100ae621
mov ecx, ebx
call fcn.100ae510
test al, al
je 0x100ae621
mov byte [edi + 0x19], 1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 4]
push eax
call fcn.100aeee0
mov eax, dword [ebp - 4]
cmp eax, dword [0x10154a54]
jne 0x100ae855
push ebx
mov dword [0x6ac780], 1
lea eax, [ebp - 0x128]
push dword [0x5193cc]
push str._s_artheads_s_
push eax
call fcn.100af000
mov esi, eax
add esp, 0x10
cmp esi, 0xfa
jg 0x100ae618
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x100ae614
movzx eax, word [edi + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ea165
mov dword [ebp - 4], eax
add esp, 4
xor eax, eax
xor ebx, ebx
cmp ax, word [edi + 8]
jae 0x100ae705
lea eax, [ebp - 0x128]
add eax, esi
push ebx
push str._d.png
push eax
call fcn.1000d880
mov eax, dword [ebp - 4]
add esp, 0xc
lea eax, [eax + ebx*4]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x128]
push eax
push dword [0x1017533c]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileExA]
test eax, eax
js 0x100ae81c
call dword [0x101212e8]
movzx eax, word [edi + 8]
inc ebx
cmp ebx, eax
lea eax, [ebp - 0x128]
lea eax, [eax + esi]
jl 0x100ae6a6
mov eax, 0xabcd
cmp word [edi + 0xc], ax
je 0x100ae7da
xor eax, eax
mov ecx, esi
cmp esi, 0x104
jge 0x100ae73b
mov dl, byte [eax + str.highlight.off]
test dl, dl
je 0x100ae73b
mov byte [ebp + ecx - 0x128], dl
inc eax
inc ecx
cmp ecx, 0x104
jl 0x100ae720
mov al, byte [eax + str.highlight.off]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov byte [ebp + ecx - 0x128], al
lea eax, [ebp - 0x128]
push eax
call ebx
cmp eax, 0xffffffff
je 0x100ae760
mov byte [edi + 0x1f], 1
cmp byte [edi + 0x1f], 0
jne 0x100ae792
cmp dword [0x10175fec], 0
je 0x100ae792
push esi
mov edx, str.highlight.on
lea ecx, [ebp - 0x128]
call fcn.100ae5b0
lea eax, [ebp - 0x128]
push eax
call ebx
cmp eax, 0xffffffff
je 0x100ae792
mov byte [edi + 0x1f], 2
xor eax, eax
cmp esi, 0x104
jge 0x100ae7bb
nop dword [eax]
mov cl, byte [eax + str.background.off]
test cl, cl
je 0x100ae7bb
mov byte [ebp + esi - 0x128], cl
inc eax
inc esi
cmp esi, 0x104
jl 0x100ae7a0
mov al, byte [eax + str.background.off]
mov byte [ebp + esi - 0x128], al
lea eax, [ebp - 0x128]
push eax
call ebx
cmp eax, 0xffffffff
je 0x100ae7da
mov byte [edi + 0x1e], 1
mov eax, dword [ebp - 4]
lea ebx, [edi + 0x1e]
mov dword [edi + 0x1a], eax
lea eax, [edi + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x1f]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [edi + 0xe]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], ebx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.100af020
mov dword [0x6ac780], 0
jmp 0x100ae869
xor esi, esi
test ebx, ebx
jle 0x100ae833
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc esi
cmp esi, ebx
jl 0x100ae822
push dword [ebp - 4]
call fcn.100e9b8b
add esp, 4
mov byte [edi + 0x19], 1
mov dword [0x6ac780], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x10]
lea ebx, [edi + 0x1e]
mov dword [edi + 0x1a], ecx
mov cl, byte [eax + 0x14]
mov byte [edi + 0x1f], cl
mov al, byte [eax + 0x15]
mov byte [ebx], al
xor eax, eax
xor esi, esi
cmp ax, word [edi + 8]
jae 0x100ae8bd
push 0
mov edx, esi
mov ecx, edi
call fcn.100172d0
cmp byte [ebx], 0
mov ecx, eax
je 0x100ae89b
push dword [ecx + 4]
lea eax, [ecx + 0xc]
push 0xff
push eax
call fcn.100ed160
add esp, 0xc
jmp 0x100ae8b4
xor eax, eax
cmp dword [ecx + 4], eax
jbe 0x100ae8b4
cmp byte [eax + ecx + 0xc], 0
je 0x100ae8ae
mov byte [eax + ecx + 0xc], 0xff
inc eax
cmp eax, dword [ecx + 4]
jb 0x100ae8a2
movzx eax, word [edi + 8]
inc esi
cmp esi, eax
jl 0x100ae873
mov byte [edi + 0x18], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret