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

Disassembly:
push 0xffffffffffffffff
push 0x5505c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x960
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebp, [esi + 4]
push ebp
call fcn.00537879
mov eax, dword [0x5ba7e0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x978], ebx
je 0x45d245
mov edx, dword [0x5ba7c4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45d245
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45d0fb
push 0x5ba7c4
lea ecx, [esp + 0x14]
call fcn.00537c3d
jmp 0x45d253
mov eax, dword [0x5ba7c4]
push 0x5c
push eax
call fcn.0051c7b0
mov edi, eax
add esp, 8
test edi, edi
je 0x45d245
push 0
lea ecx, [esp + 0x1c]
inc edi
call fcn.00422180
push str._languages_
lea ecx, [esp + 0x90]
mov byte [esp + 0x97c], 1
call fcn.00537c8d
push edi
lea ecx, [esp + 0x8c]
call fcn.00537c8d
push 0x5ba7c4
lea ecx, [esp + 0x80]
call fcn.00537c3d
mov ecx, dword [esi + 8]
push 0x5bb454
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x84], 1
call fcn.00537c3d
lea ecx, [esp + 0x18]
call fcn.00533ae5
cmp eax, 1
jne 0x45d196
push 0x5ba7c4
lea ecx, [esp + 0x14]
call fcn.00537c3d
mov ebx, 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 9
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 8
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 7
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 6
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 5
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 4
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 3
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 2
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], 0
call fcn.00533726
test ebx, ebx
jne 0x45d253
push str.tutor.chm
lea ecx, [esp + 0x14]
call fcn.00537ee0
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call edi
cmp eax, 0xffffffff
jne 0x45d4bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45d4bf
push ebp
lea ecx, [esp + 0x18]
call fcn.00537879
mov bl, 0xa
push str.tutor.hlp
lea ecx, [esp + 0x18]
mov byte [esp + 0x97c], bl
call fcn.00537ee0
mov eax, dword [esp + 0x14]
push eax
call edi
or edi, 0xffffffff
cmp eax, edi
je 0x45d2cb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00534401
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
push 1
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x45d3e7
push 0
lea ecx, [esp + 0x1c]
call fcn.00422180
push str._data_v4_
lea ecx, [esp + 0x90]
mov byte [esp + 0x97c], 0xb
call fcn.00537c8d
push str.tutor.chm
lea ecx, [esp + 0x8c]
call fcn.00537c8d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.00537c3d
mov ecx, dword [esi + 8]
push 0x5bb454
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x84], 1
call fcn.00537c3d
lea ecx, [esp + 0x18]
call fcn.00533ae5
cmp eax, 1
je 0x45d404
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 0x13
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 0x12
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 0x11
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 0x10
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 0xf
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 0xe
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 0xd
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 0xc
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], bl
call fcn.00533726
lea ecx, [esp + 0x14]
mov byte [esp + 0x978], 0
call fcn.00537b04
mov dword [esp + 0x978], edi
jmp 0x45d4f2
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 0x1b
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 0x1a
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 0x19
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 0x18
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 0x17
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 0x16
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 0x15
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 0x14
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], bl
call fcn.00533726
lea ecx, [esp + 0x14]
mov byte [esp + 0x978], 0
call fcn.00537b04
mov eax, dword [0x5babd8]
test eax, eax
je 0x45d4e7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00534401
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
push 0
push 0
push edx
push eax
call dword [0x5babd8]
mov dword [esp + 0x978], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00537b04
mov ecx, dword [esp + 0x970]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x96c
ret