Function at 0x464c40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48772e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
mov eax, dword [0x4ce19c]
push ebx
mov ebx, dword [esp + 0x4c0]
push esi
push edi
mov edi, dword [esp + 0x4cc]
push 0
mov dword [esp + 0x4b8], eax
lea eax, [esp + 0x24]
push eax
push ebx
push 1
mov ecx, 0x4e313c
mov byte [esp + 0x1f], 0
mov dword [edi], 0xffffffff
call fcn.0046ccb0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x464caa
push eax
call fcn.0045c690
add esp, 4
mov dword [edi], eax
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x464d44
push 0x48cf08
call dword [sym.imp.MSVCR71.dll__wgetenv]
movzx eax, word [eax]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0045ba10
add esp, 0x10
xor esi, esi
call fcn.0045b990
test eax, eax
jbe 0x464d39
push 0
lea ecx, [esp + 0x2c]
call fcn.00472870
cmp ebx, 8
mov dword [esp + 0x4c0], 0
lea ecx, [esp + 0x28]
push esi
jne 0x464d0a
call fcn.00472ea0
test eax, eax
jmp 0x464d17
call fcn.00472db0
test eax, eax
je 0x464d1b
cmp dword [esp + 0x24], esi
je 0x464d1b
mov dword [edi], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.004725b0
inc esi
call fcn.0045b990
cmp esi, eax
jb 0x464ce1
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x464e18
push 1
push eax
call fcn.0045bb50
push str.preboot
movzx ecx, ax
push ecx
push str._c:_s
lea edx, [esp + 0x2c0]
push 0x208
push edx
call fcn.00403fa3
add esp, 0x1c
lea eax, [esp + 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464e18
push str.pdaversion.txt
lea ecx, [esp + 0x2b0]
push ecx
push 0x48be08
lea edx, [esp + 0xb0]
push 0x208
push edx
call fcn.00403fa3
lea eax, [esp + 0xb8]
push eax
call fcn.004579e0
add esp, 0x18
test eax, eax
je 0x464e18
lea ecx, [esp + 0x34]
call sub.MFC71U.DLL_CStdioFile::CStdioFile
push 0
push 0
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x4cc], 1
call sub.MFC71U.DLL_CSocketFile::Open
test eax, eax
jne 0x464e3e
lea edx, [esp + 0xa4]
push edx
push str.IsDriveBootable:_Unable_to_open__s
push 0x48ae58
call fcn.004572b0
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c0], 0xffffffff
call sub.MFC71U.DLL_CStatusBarCtrl::CStatusBarCtrl
xor al, al
mov ecx, dword [esp + 0x4b8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4ac]
pop ebx
call fcn.00475533
add esp, 0x4b8
ret
push 0x48b000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c4], 2
call sub.MFC71U.DLL_CInternetFile::ReadString
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00414090
mov ebx, 3
push str.Version
lea ecx, [esp + 0x50]
mov byte [esp + 0x4c4], bl
call fcn.00414780
push str.SOFTWARELenovoRescue_and_Recovery
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c4], 4
call fcn.00414780
push 0
push 0
push 0x20019
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x68]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4d8], 5
call fcn.0042cae0
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c0], 8
call fcn.004034a5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c0], 7
call fcn.004034a5
test esi, esi
je 0x464f3d
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6c]
call fcn.0042c820
test al, al
je 0x464f3d
lea ecx, [esp + 0x14]
call fcn.00411580
cmp eax, 9
jb 0x464f3d
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0xb
jl 0x464f3d
mov esi, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
add eax, 0x10
push eax
add esi, 0xc
push esi
call dword [sym.imp.MSVCR71.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x464f78
lea ecx, [esp + 0x14]
call fcn.00407125
test al, al
mov esi, dword [esp + 0x18]
jne 0x464f53
mov esi, 0x48b000
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push esi
push str.4.21
push str.External_drive_is_not_bootable_with_RnR__s._Prompting_user_to_make_drive_bootable.__reg_s_crm_s
push 0x48ae58
call fcn.004572b0
add esp, 0x14
jmp 0x464f7d
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x34]
call sub.MFC71U.DLL_CSocketFile::Close
lea ecx, [esp + 0x64]
mov byte [esp + 0x4c0], bl
call fcn.0042cb50
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c0], 2
call fcn.004034a5
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c0], 0xffffffff
call sub.MFC71U.DLL_CStatusBarCtrl::CStatusBarCtrl
mov al, byte [esp + 0xf]
jmp 0x464e1a