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

Disassembly:
push 0xffffffffffffffff
push 0x584384
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
lea esi, [ebp + 4]
push esi
call fcn.00569e75
mov eax, dword [0x63e438]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x908], ebx
je 0x474499
mov edx, dword [0x63e41c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x474499
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47434b
push 0x63e41c
lea ecx, [esp + 0x14]
call fcn.0056a239
jmp 0x4744a7
mov eax, dword [0x63e41c]
push 0x5c
push eax
call fcn.0054dff0
mov edi, eax
add esp, 8
test edi, edi
je 0x474499
push 0
lea ecx, [esp + 0x1c]
inc edi
call fcn.0042b4f0
push str._languages_
lea ecx, [esp + 0x98]
mov byte [esp + 0x90c], 1
call fcn.0056a289
push edi
lea ecx, [esp + 0x94]
call fcn.0056a289
mov ecx, dword [0x63e41c]
push 0
push ecx
lea ecx, [esp + 0x84]
call fcn.004024c0
mov edx, dword [ebp + 8]
push 0x63f1f4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], edx
mov byte [esp + 0x8c], 1
call fcn.0056a239
lea ecx, [esp + 0x18]
call fcn.00566096
cmp eax, 1
jne 0x4743ea
push 0x63e41c
lea ecx, [esp + 0x14]
call fcn.0056a239
mov ebx, 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x908], 9
call fcn.0051e0a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x908], 8
call fcn.00571d9b
lea ecx, [esp + 0x98]
mov byte [esp + 0x908], 7
call fcn.0056a100
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 6
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x908], 5
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x908], 4
call fcn.0056a100
lea ecx, [esp + 0x7c]
mov byte [esp + 0x908], 3
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0x908], 2
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x908], 0
call fcn.00565cd7
test ebx, ebx
jne 0x4744a7
push str.tutor.chm
lea ecx, [esp + 0x14]
call fcn.0056a476
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
cmp eax, 0xffffffff
jne 0x474763
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x474763
push esi
lea ecx, [esp + 0x18]
call fcn.00569e75
mov bl, 0xa
push str.tutor.hlp
lea ecx, [esp + 0x18]
mov byte [esp + 0x90c], bl
call fcn.0056a476
mov ecx, dword [esp + 0x14]
push ecx
call edi
cmp eax, 0xffffffff
je 0x47451d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005669ff
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
push 1
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x474692
push 0
lea ecx, [esp + 0x1c]
call fcn.0042b4f0
push str._data_v4_
lea ecx, [esp + 0x98]
mov byte [esp + 0x90c], 0xb
call fcn.0056a289
push str.tutor.chm
lea ecx, [esp + 0x94]
call fcn.0056a289
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
call fcn.00401070
test esi, esi
je 0x4745b9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4745b9
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [esp + 0x84], eax
je 0x4745b9
lea ecx, [eax + eax + 2]
push ecx
call fcn.0056649c
add esp, 4
mov dword [esp + 0x7c], eax
test eax, eax
je 0x4745b9
mov edx, dword [esp + 0x84]
push edx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push 0x63f1f4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], eax
mov byte [esp + 0x8c], 1
call fcn.0056a239
lea ecx, [esp + 0x18]
call fcn.00566096
cmp eax, 1
je 0x4746a8
lea ecx, [esp + 0xd8]
mov byte [esp + 0x908], 0x13
call fcn.0051e0a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x908], 0x12
call fcn.00571d9b
lea ecx, [esp + 0x98]
mov byte [esp + 0x908], 0x11
call fcn.0056a100
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 0x10
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x908], 0xf
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x908], 0xe
call fcn.0056a100
lea ecx, [esp + 0x7c]
mov byte [esp + 0x908], 0xd
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0x908], 0xc
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x908], bl
call fcn.00565cd7
lea ecx, [esp + 0x14]
mov byte [esp + 0x908], 0
call fcn.0056a100
jmp 0x47478b
lea ecx, [esp + 0xd8]
mov byte [esp + 0x908], 0x1b
call fcn.0051e0a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x908], 0x1a
call fcn.00571d9b
lea ecx, [esp + 0x98]
mov byte [esp + 0x908], 0x19
call fcn.0056a100
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 0x18
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x908], 0x17
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x908], 0x16
call fcn.0056a100
lea ecx, [esp + 0x7c]
mov byte [esp + 0x908], 0x15
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0x908], 0x14
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x908], bl
call fcn.00565cd7
lea ecx, [esp + 0x14]
mov byte [esp + 0x908], 0
call fcn.0056a100
mov eax, dword [0x63e8a8]
test eax, eax
je 0x47478b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005669ff
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
push 0
push 0
push ecx
push edx
call dword [0x63e8a8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x908], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x900]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8fc
ret