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

Disassembly:
push 0xffffffffffffffff
push 0x61fb69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd70
mov eax, dword [0x6d1288]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov dword [esp + 0x14], ecx
jne 0x4b24c1
mov eax, 0x6d128c
push ebp
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00402410
mov eax, dword [0x6d11dc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xd88], ebx
je 0x4b2695
mov eax, dword [0x6d11ac]
cmp eax, ebx
je 0x4b2695
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4b2695
mov eax, dword [0x6d11ac]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4b2534
mov ecx, dword [0x6d11ac]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402410
jmp 0x4b272c
mov edx, dword [0x6d11ac]
push 0x5c
push edx
call fcn.005e62ef
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b2695
push ebx
lea ecx, [esp + 0x24]
add esi, 2
call fcn.00443f90
push str._languages_
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8c], 1
call fcn.00602c5f
push esi
lea ecx, [esp + 0x9c]
call fcn.00602c86
mov eax, dword [0x6d11ac]
lea ecx, [esp + 0x84]
push eax
call fcn.00402410
mov ecx, dword [esp + 0x1c]
push 0x6d23c8
mov byte [esp + 0x94], 1
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], edx
call fcn.00602c0f
lea ecx, [esp + 0x20]
call fcn.005fead6
cmp eax, 1
jne 0x4b25dd
mov eax, dword [0x6d11ac]
lea ecx, [esp + 0x10]
push eax
call fcn.00402410
mov edi, 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0xd88], 9
call fcn.005a9bc0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd88], 8
call fcn.0060a5e5
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd88], 7
call fcn.00602ad6
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd88], 6
call fcn.00602ad6
lea ecx, [esp + 0x98]
mov byte [esp + 0xd88], 5
call fcn.00602ad6
lea ecx, [esp + 0x94]
mov byte [esp + 0xd88], 4
call fcn.00602ad6
lea ecx, [esp + 0x84]
mov byte [esp + 0xd88], 3
call fcn.00401070
lea ecx, [esp + 0x80]
mov byte [esp + 0xd88], 2
call fcn.00602ad6
lea ecx, [esp + 0x20]
mov byte [esp + 0xd88], bl
call fcn.005fe717
cmp edi, ebx
jne 0x4b272c
mov ecx, str.tutor.chm
test ecx, ecx
je 0x4b272c
push ecx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x4b272c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4b26c4
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x4b26c6
xor esi, esi
push str.tutor.chm
call fcn.005e639f
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b272c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4b2704
push eax
push esi
call fcn.005e6569
push str.tutor.chm
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x4b2712
push str.tutor.chm
push esi
call fcn.005e6569
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401070
push esi
mov dword [esp + 0x14], esi
call fcn.005e639f
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4b2738
lea eax, [esp + 0x14]
push eax
call ebp
pop edi
cmp eax, 0xffffffff
pop ebp
jne 0x4b292e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4b292e
push ebx
lea ecx, [esp + 0x1c]
call fcn.00443f90
push str._data_v4_
lea ecx, [esp + 0x98]
mov byte [esp + 0xd84], 0xa
call fcn.00602c5f
push 0x6a8aec
lea ecx, [esp + 0x94]
call fcn.00602c5f
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x4b2795
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x80]
call fcn.00402410
mov eax, dword [esp + 0x14]
push 0x6d23c8
mov byte [esp + 0x8c], 1
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
call fcn.00602c0f
lea ecx, [esp + 0x18]
call fcn.005fead6
cmp eax, 1
je 0x4b2884
lea ecx, [esp + 0xd8]
mov byte [esp + 0xd80], 0x12
call fcn.005a9bc0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd80], 0x11
call fcn.0060a5e5
lea ecx, [esp + 0x98]
mov byte [esp + 0xd80], 0x10
call fcn.00602ad6
lea ecx, [esp + 0x94]
mov byte [esp + 0xd80], 0xf
call fcn.00602ad6
lea ecx, [esp + 0x90]
mov byte [esp + 0xd80], 0xe
call fcn.00602ad6
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd80], 0xd
call fcn.00602ad6
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd80], 0xc
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0xd80], 0xb
call fcn.00602ad6
lea ecx, [esp + 0x18]
mov byte [esp + 0xd80], bl
call fcn.005fe717
jmp 0x4b295b
lea ecx, [esp + 0xd8]
mov byte [esp + 0xd80], 0x1a
call fcn.005a9bc0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd80], 0x19
call fcn.0060a5e5
lea ecx, [esp + 0x98]
mov byte [esp + 0xd80], 0x18
call fcn.00602ad6
lea ecx, [esp + 0x94]
mov byte [esp + 0xd80], 0x17
call fcn.00602ad6
lea ecx, [esp + 0x90]
mov byte [esp + 0xd80], 0x16
call fcn.00602ad6
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd80], 0x15
call fcn.00602ad6
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd80], 0x14
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0xd80], 0x13
call fcn.00602ad6
lea ecx, [esp + 0x18]
mov byte [esp + 0xd80], bl
call fcn.005fe717
cmp dword [0x6d16f0], ebx
je 0x4b295b
mov esi, dword [esp + 8]
cmp esi, ebx
jne 0x4b2942
lea esi, [esp + 0xc]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005ff43f
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push esi
push edx
call dword [0x6d16f0]
lea ecx, [esp + 8]
mov dword [esp + 0xd80], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd78]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd7c
ret