Function at 0x461030
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4872bc
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
call fcn.00457af0
test eax, eax
je 0x4611b8
lea ecx, [esp + 0x30]
call fcn.00414090
mov eax, dword [0x4e3150]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0xc4], 0
call fcn.00414100
push str._netstart.tag
lea ecx, [esp + 0x28]
call fcn.00414780
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 1
call fcn.004129b0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 0
call fcn.004034a5
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x4610c0
mov edx, dword [esp + 0x34]
push edx
call fcn.004579e0
add esp, 4
test eax, eax
je 0x4610e0
cmp esi, 0x3c
jae 0x4610e0
push 0x1388
inc esi
call edi
jmp 0x4610c0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc0], 0xffffffff
call fcn.004034a5
push 0x48b000
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0x48b000
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push str.CommonFiles
push str.SOFTWARELenovoRescue_and_Recovery
mov byte [esp + 0xc8], 3
call fcn.00459d90
push eax
lea eax, [esp + 0x18]
push str._smndmapdrv.exe
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push ecx
call esi
test eax, eax
jne 0x4611e5
mov edx, dword [0x4e314c]
push str.preboot
push edx
lea eax, [esp + 0x14]
push str._s_sutilsmndmapdrv.exe
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call esi
test eax, eax
jne 0x4611e5
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 2
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
mov ecx, 0x4e3118
call fcn.00457f50
test al, al
jne 0x4610f4
or eax, 0xffffffff
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
lea ecx, [esp + 0x18]
call fcn.00414090
push str.Rescue_and_Recovery
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], 4
call fcn.00414780
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 5
call fcn.0046c0f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 7
call fcn.004034a5
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x74]
xor bl, bl
call fcn.0046bc40
test al, al
je 0x461276
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
sete cl
xor edx, edx
test edi, edi
sete dl
xor ecx, edx
jne 0x461276
test esi, esi
jne 0x461263
test edi, edi
je 0x461276
push 0
lea ecx, [esp + 0x1c]
call fcn.004120a0
cmp word [eax], 0
je 0x461276
mov bl, 1
lea eax, [esp + 0x10]
push str._connect__Rescue_and_Recovery_
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov al, byte [esp + 0xd0]
add esp, 8
test al, al
je 0x4612a7
test bl, bl
je 0x4612a7
push 0x4a4c58
lea ecx, [esp + 0x14]
call dword [0x48a380]
mov al, byte [esp + 0xc8]
test al, al
mov dword [esp + 0x14], 0
je 0x461331
test bl, bl
je 0x461331
push 0
push 1
push 0x48ae58
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0x20
push 0x40
push 5
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0xe8], 8
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
mov byte [esp + 0xec], 9
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov byte [esp + 0xe8], 7
call fcn.00460ca0
add esp, 0x28
mov dword [esp + 0x14], eax
jmp 0x4613da
push 0x48b000
lea ecx, [esp + 0x60]
call fcn.00414780
lea ecx, [esp + 0x10]
mov byte [esp + 0xc0], 0xa
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x50]
call fcn.00414780
mov bl, 0xb
lea ecx, [esp + 0xc]
mov byte [esp + 0xc0], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x44]
call fcn.00414780
push 1
push 0x20
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x20]
push edx
push 1
push 5
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xe0], 0xc
call fcn.0046a880
add esp, 0x20
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], bl
call fcn.004034a5
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 0xa
call fcn.004034a5
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 7
call fcn.004034a5
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0xcc]
test cl, cl
je 0x46141b
test eax, eax
je 0x461407
mov edx, dword [esp + 0xc]
push eax
push edx
push str._s_returned__d
push 0x48ae58
call fcn.004572b0
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x46143b
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x74]
call fcn.0046bc40
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0xc8]
test cl, cl
jne 0x461439
test eax, eax
jne 0x461439
push eax
push 1
call fcn.00461030
mov eax, dword [esp + 0x1c]
add esp, 8
mov esi, eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc0], 4
call fcn.0046bbf0
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 3
call fcn.004034a5
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xb8]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret