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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a14a5
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 4], 0
call fcn.00479050
add esp, 4
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0
mov bl, 2
push str.excercisefile
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_4144]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
jle 0x47a076
push 0x4b6424
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x154]
jmp 0x47a1ee
push 0
push str.Common
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jle 0x47a0c1
push str.Common_
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x154]
jmp 0x47a1ee
push 0
push str.AnakageCourses.zip
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jle 0x47a10c
push 0x4c544c
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x154]
jmp 0x47a1ee
push 0
push str.SampleFolder
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jle 0x47a1a8
lea ecx, [ebp - 0x158]
push ecx
call fcn.00478230
push str.SampleFolder_
push eax
lea edx, [ebp - 0x154]
push edx
mov byte [ebp - 4], 6
call fcn.004019e0
add esp, 0x10
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call esi
cmp eax, 0xffffffff
jne 0x47a2ee
lea eax, [ebp - 0x158]
push eax
call fcn.00478230
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14c]
jmp 0x47a1e1
push 0
push str.images
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jle 0x47a1f7
push str.images_
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.004019e0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x150]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ecx
lea eax, [ebp - 0x150]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00479c60
add esp, 4
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call esi
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call fcn.004718b0
add esp, 8
lea ecx, [ebp - 0x14c]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push edi
call fcn.0046f880
lea ecx, [ebp - 0x148]
push ecx
push 0xffffffffffffffff
push edi
call fcn.0046f830
mov ebx, dword [ebp - 0x148]
add esp, 0x14
test ebx, ebx
jne 0x47a298
push ecx
mov edx, esp
mov dword [ebp - 0x158], esp
lea eax, [ebp - 0x14c]
push eax
push str.unzip_error_folder_file:
push edx
call fcn.00401a70
add esp, 0xc
call fcn.00479e40
add esp, 4
push ebx
push ebx
push str.iAssist_Course_files_are_missing.
call sub.mfc100.dll_Ordinal_1982
xor esi, esi
test ebx, ebx
jle 0x47a2d1
mov edi, edi
lea ecx, [ebp - 0x148]
push ecx
push esi
push edi
call fcn.0046f830
lea edx, [ebp - 0x144]
push edx
push esi
push edi
call fcn.00471920
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__itoa]
inc esi
add esp, 0x24
cmp esi, ebx
jl 0x47a2a0
push edi
call fcn.0046f8c0
add esp, 4
push edi
test al, al
je 0x47a2e6
call fcn.00471940
jmp 0x47a2eb
call fcn.0048de60
add esp, 4
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret