Function at 0x4a7a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x74], ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.0043c3e0
movzx eax, al
test eax, eax
je 0x4a7a97
lea ecx, [ebp + 0xc]
call fcn.0049a2d0
jmp 0x4a7e10
mov ecx, dword [ebp - 0x74]
add ecx, 0x3c
call fcn.00418600
movzx ecx, al
test ecx, ecx
jne 0x4a7adc
mov ecx, dword [ebp + 8]
call fcn.0044ea20
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x3c
call fcn.0041d430
test eax, eax
jne 0x4a7adc
cmp dword [ebp + 0x14], 0
jne 0x4a7adc
mov ecx, dword [ebp - 0x74]
add ecx, 0x3c
call fcn.00410210
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x40], 0
cmp dword [ebp + 0x10], 4
jne 0x4a7b1f
mov ecx, dword [ebp - 0x74]
call fcn.004a7f60
test eax, eax
jbe 0x4a7b1f
cmp dword [ebp + 0x14], 0
jne 0x4a7b1f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x44
call fcn.00418390
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0x48
call fcn.00433a70
lea ecx, [ebp + 0xc]
call fcn.0049a2d0
jmp 0x4a7e10
push ecx
mov ecx, esp
lea edx, [ebp + 0xc]
push edx
call fcn.004529c0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.004a7f00
lea ecx, [ebp - 4]
call fcn.00426390
movzx ecx, al
test ecx, ecx
je 0x4a7e00
cmp dword [ebp + 0x10], 0
jne 0x4a7bc0
push ecx
mov ecx, esp
lea edx, [ebp - 4]
push edx
call fcn.004529c0
mov ecx, dword [ebp - 0x74]
call fcn.004a8160
cmp eax, 1
jne 0x4a7bc0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.004a85f0
test eax, eax
jne 0x4a7bab
lea ecx, [ebp - 0x14]
call fcn.0047bfa0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00418390
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x4c
call fcn.004a88d0
lea ecx, [ebp - 0x14]
call fcn.0047bfc0
lea ecx, [ebp - 4]
call fcn.0049a2d0
lea ecx, [ebp + 0xc]
call fcn.0049a2d0
jmp 0x4a7e10
lea ecx, [ebp - 0xc]
call fcn.00418350
cmp dword [ebp + 0x10], 4
jne 0x4a7c10
push str..png
mov eax, dword [ebp + 8]
push eax
push str.hover_
lea ecx, [ebp - 0x48]
push ecx
call fcn.0041f8f0
add esp, 0xc
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.004185a0
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00418390
lea ecx, [ebp - 0x4c]
call fcn.004335b0
lea ecx, [ebp - 0x48]
call fcn.004335b0
jmp 0x4a7c56
cmp dword [ebp + 0x10], 0
jne 0x4a7c56
push str..png
mov eax, dword [ebp + 8]
push eax
push str.leave_
lea ecx, [ebp - 0x50]
push ecx
call fcn.0041f8f0
add esp, 0xc
push eax
lea edx, [ebp - 0x54]
push edx
call fcn.004185a0
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00418390
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x50]
call fcn.004335b0
lea eax, [ebp - 0xc]
push eax
push 0x50d6f8
mov ecx, dword [ebp - 0x74]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004185a0
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041f890
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.00418600
movzx ecx, al
test ecx, ecx
jne 0x4a7df0
lea ecx, [ebp - 8]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a7df0
cmp dword [ebp + 0x10], 4
jne 0x4a7cc0
mov dword [ebp - 0x78], 1
jmp 0x4a7cd0
mov edx, dword [ebp + 0x10]
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 2
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.00439180
mov ecx, eax
call fcn.0043c970
lea ecx, [ebp - 8]
call fcn.0044ea20
push ecx
mov ecx, esp
push eax
call fcn.004224e0
lea ecx, [ebp - 4]
call fcn.00439180
mov ecx, eax
call fcn.00437e50
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
call fcn.00439180
mov ecx, eax
call fcn.004a9960
cmp dword [ebp - 0x18], 0
jbe 0x4a7df0
cmp dword [ebp - 0x1c], 0
jbe 0x4a7df0
mov eax, dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.00422a60
mov dword [ebp - 0x3c], 0
jmp 0x4a7d67
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x28]
jge 0x4a7d8a
mov ecx, dword [ebp - 0x74]
call fcn.004a7f70
mov dword [ebp - 0x60], eax
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x24]
call fcn.00434220
jmp 0x4a7d5e
lea ecx, [ebp - 0x24]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x38]
call fcn.00433420
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00444ce0
lea edx, [ebp - 0x70]
push edx
push 0
mov eax, dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.00439180
mov ecx, eax
call fcn.00437eb0
lea ecx, [ebp - 0x70]
call fcn.004220d0
push 0
push 2
lea ecx, [ebp - 4]
call fcn.00439180
mov ecx, eax
call fcn.00437f30
lea ecx, [ebp - 0x38]
call fcn.004220b0
lea ecx, [ebp - 0x24]
call fcn.00434200
lea ecx, [ebp - 8]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 4]
call fcn.0049a2d0
lea ecx, [ebp + 0xc]
call fcn.0049a2d0
mov esp, ebp
pop ebp
ret 0x10