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

Disassembly:
push 0xffffffffffffffff
push 0x55b4c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x980
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebp, [esi + 4]
push ebp
call fcn.00541f33
mov eax, dword [0x5c73d0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x998], ebx
je 0x4629e5
mov edx, dword [0x5c73b4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4629e5
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46289b
push 0x5c73b4
lea ecx, [esp + 0x14]
call fcn.005422f7
jmp 0x4629f3
mov eax, dword [0x5c73b4]
push 0x5c
push eax
call fcn.00526d20
mov edi, eax
add esp, 8
test edi, edi
je 0x4629e5
push 0
lea ecx, [esp + 0x1c]
inc edi
call fcn.00424b90
push str._languages_
lea ecx, [esp + 0x90]
mov byte [esp + 0x99c], 1
call fcn.00542347
push edi
lea ecx, [esp + 0x8c]
call fcn.00542347
push 0x5c73b4
lea ecx, [esp + 0x80]
call fcn.005422f7
mov ecx, dword [esi + 8]
push 0x5c80ac
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x84], 1
call fcn.005422f7
lea ecx, [esp + 0x18]
call fcn.0053e1a5
cmp eax, 1
jne 0x462936
push 0x5c73b4
lea ecx, [esp + 0x14]
call fcn.005422f7
mov ebx, 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x998], 9
call fcn.004ff780
lea ecx, [esp + 0x94]
mov byte [esp + 0x998], 8
call fcn.00549f10
lea ecx, [esp + 0x90]
mov byte [esp + 0x998], 7
call fcn.005421be
lea ecx, [esp + 0x8c]
mov byte [esp + 0x998], 6
call fcn.005421be
lea ecx, [esp + 0x88]
mov byte [esp + 0x998], 5
call fcn.005421be
lea ecx, [esp + 0x84]
mov byte [esp + 0x998], 4
call fcn.005421be
lea ecx, [esp + 0x7c]
mov byte [esp + 0x998], 3
call fcn.005421be
lea ecx, [esp + 0x78]
mov byte [esp + 0x998], 2
call fcn.005421be
lea ecx, [esp + 0x18]
mov byte [esp + 0x998], 0
call fcn.0053dde6
test ebx, ebx
jne 0x4629f3
push str.tutor.chm
lea ecx, [esp + 0x14]
call fcn.0054259a
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call edi
cmp eax, 0xffffffff
jne 0x462c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x462c5f
push ebp
lea ecx, [esp + 0x18]
call fcn.00541f33
mov bl, 0xa
push str.tutor.hlp
lea ecx, [esp + 0x18]
mov byte [esp + 0x99c], bl
call fcn.0054259a
mov eax, dword [esp + 0x14]
push eax
call edi
or edi, 0xffffffff
cmp eax, edi
je 0x462a6b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0053eac1
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 0x462b87
push 0
lea ecx, [esp + 0x1c]
call fcn.00424b90
push str._data_v4_
lea ecx, [esp + 0x90]
mov byte [esp + 0x99c], 0xb
call fcn.00542347
push str.tutor.chm
lea ecx, [esp + 0x8c]
call fcn.00542347
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.005422f7
mov ecx, dword [esi + 8]
push 0x5c80ac
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x84], 1
call fcn.005422f7
lea ecx, [esp + 0x18]
call fcn.0053e1a5
cmp eax, 1
je 0x462ba4
lea ecx, [esp + 0xd0]
mov byte [esp + 0x998], 0x13
call fcn.004ff780
lea ecx, [esp + 0x94]
mov byte [esp + 0x998], 0x12
call fcn.00549f10
lea ecx, [esp + 0x90]
mov byte [esp + 0x998], 0x11
call fcn.005421be
lea ecx, [esp + 0x8c]
mov byte [esp + 0x998], 0x10
call fcn.005421be
lea ecx, [esp + 0x88]
mov byte [esp + 0x998], 0xf
call fcn.005421be
lea ecx, [esp + 0x84]
mov byte [esp + 0x998], 0xe
call fcn.005421be
lea ecx, [esp + 0x7c]
mov byte [esp + 0x998], 0xd
call fcn.005421be
lea ecx, [esp + 0x78]
mov byte [esp + 0x998], 0xc
call fcn.005421be
lea ecx, [esp + 0x18]
mov byte [esp + 0x998], bl
call fcn.0053dde6
lea ecx, [esp + 0x14]
mov byte [esp + 0x998], 0
call fcn.005421be
mov dword [esp + 0x998], edi
jmp 0x462c92
lea ecx, [esp + 0xd0]
mov byte [esp + 0x998], 0x1b
call fcn.004ff780
lea ecx, [esp + 0x94]
mov byte [esp + 0x998], 0x1a
call fcn.00549f10
lea ecx, [esp + 0x90]
mov byte [esp + 0x998], 0x19
call fcn.005421be
lea ecx, [esp + 0x8c]
mov byte [esp + 0x998], 0x18
call fcn.005421be
lea ecx, [esp + 0x88]
mov byte [esp + 0x998], 0x17
call fcn.005421be
lea ecx, [esp + 0x84]
mov byte [esp + 0x998], 0x16
call fcn.005421be
lea ecx, [esp + 0x7c]
mov byte [esp + 0x998], 0x15
call fcn.005421be
lea ecx, [esp + 0x78]
mov byte [esp + 0x998], 0x14
call fcn.005421be
lea ecx, [esp + 0x18]
mov byte [esp + 0x998], bl
call fcn.0053dde6
lea ecx, [esp + 0x14]
mov byte [esp + 0x998], 0
call fcn.005421be
mov eax, dword [0x5c77d0]
test eax, eax
je 0x462c87
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0053eac1
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
push 0
push 0
push edx
push eax
call dword [0x5c77d0]
mov dword [esp + 0x998], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005421be
mov ecx, dword [esp + 0x990]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98c
ret