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

Disassembly:
push 0xffffffffffffffff
push 0x64ea81
mov eax, dword fs:[0]
push eax
sub esp, 0xdd4
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xdd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xde8]
mov dword fs:[0], eax
mov eax, dword [0x75ac4c]
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp eax, ebx
jne 0x4c5bdf
mov eax, 0x75ac50
xor ecx, ecx
mov word [esp + 0x1c], cx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.004017f0
mov dword [esp + 0xdf0], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp dword [0x75ad18], ebx
je 0x4c5d07
mov edx, dword [0x75ace4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4c5d07
mov eax, dword [0x75ace4]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4c5c4a
mov ecx, dword [0x75ace4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004017f0
jmp 0x4c5d15
mov edx, dword [0x75ace4]
push 0x5c
push edx
call fcn.0061ce13
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4c5d07
push ebx
lea ecx, [esp + 0x28]
add esi, 2
call fcn.004458b0
mov byte [esp + 0xdf0], 1
push str._languages_
lea ecx, [esp + 0xbc]
call fcn.0054e080
push esi
lea ecx, [esp + 0xb8]
call fcn.0040e4f0
mov eax, dword [0x75ace4]
push eax
lea ecx, [esp + 0xa4]
call fcn.004017f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push 0x75bc60
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], edx
mov byte [esp + 0xb0], 1
call fcn.004058f0
lea ecx, [esp + 0x24]
call fcn.005f3511
cmp eax, 1
jne 0x4c5cf3
mov eax, dword [0x75ace4]
push eax
lea ecx, [esp + 0x1c]
call fcn.004017f0
mov edi, 1
mov byte [esp + 0xdf0], bl
lea ecx, [esp + 0x24]
call fcn.004459c0
cmp edi, ebx
jne 0x4c5d15
push str.tutor.chm
lea ecx, [esp + 0x1c]
call fcn.00405300
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4c5d21
lea eax, [esp + 0x1c]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x4c5de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4c5de4
push ebx
lea ecx, [esp + 0x28]
call fcn.004458b0
mov byte [esp + 0xdf0], 2
push 9
push str._data_v4_
lea ecx, [esp + 0xc0]
call fcn.00402960
push 9
push 0x688b8c
lea ecx, [esp + 0xbc]
call fcn.00402960
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4c5d80
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa4]
call fcn.004017f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push 0x75bc60
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], edx
mov byte [esp + 0xb0], 1
call fcn.004058f0
lea ecx, [esp + 0x24]
call fcn.005f3511
cmp eax, 1
je 0x4c5dd4
mov byte [esp + 0xdf0], bl
lea ecx, [esp + 0x24]
call fcn.004459c0
jmp 0x4c5e11
mov byte [esp + 0xdf0], bl
lea ecx, [esp + 0x24]
call fcn.004459c0
cmp dword [0x75b5f4], ebx
je 0x4c5e11
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x4c5df8
lea esi, [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f610f
mov eax, dword [eax + 0x20]
push ebx
push ebx
push esi
push eax
call dword [0x75b5f4]
mov dword [esp + 0xdf0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov ecx, dword [esp + 0xde8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdd0]
xor ecx, esp
call fcn.0061d2ff
add esp, 0xde0
ret