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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f92
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
push 0xa
push str.ONLINEFLAG
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
call fcn.004058d0
mov byte [ebp - 4], 2
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x44]
mov ebx, 1
push eax
lea ecx, [ecx + 0xc]
mov dword [ebp - 0x48], ebx
call fcn.004070c0
cmp eax, ebx
je 0x43509f
push 0xd
xor eax, eax
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
call fcn.004058d0
mov dword [ebp - 4], 3
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x60]
mov ebx, 3
push eax
lea ecx, [ecx + 0xc]
mov dword [ebp - 0x48], ebx
call fcn.004070c0
mov byte [ebp - 0x29], 0
cmp eax, 1
jne 0x4350a3
mov byte [ebp - 0x29], 1
test bl, 2
je 0x4350d0
and ebx, 0xfffffffd
cmp dword [ebp - 0x4c], 8
jb 0x4350bc
push dword [ebp - 0x60]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x4350ed
cmp dword [ebp - 0x30], 8
jb 0x4350ed
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
cmp byte [ebp - 0x29], 0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x44]
je 0x435100
push str.LANUTILSELECTORSetup.exe
jmp 0x435105
push str.DriverLANUTILSELECTORSetup.exe
call fcn.004062a0
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x435140
cmp dword [ebp - 0x14], 8
jb 0x435127
push dword [ebp - 0x28]
call fcn.0048166b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004053e0
cmp dword [ebp - 0x30], 8
jb 0x435151
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43519e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str._CDlgSetupComplete::DoOpenIJNetworkScannerSelector__GetFileAttributes___Failed___fPath:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
xor esi, esi
jmp 0x43528f
push 0x13
xor eax, eax
push str.PRINTER_SERACH_TYPE
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.004058d0
mov byte [ebp - 4], 4
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0xc]
call fcn.004072c0
test eax, eax
sete bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x4351f1
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
lea ecx, [ebp - 0x44]
test bl, bl
je 0x435208
push str.LET_SET_NS_SELECTOR_PATH
call fcn.004051f0
mov byte [ebp - 4], 5
jmp 0x435216
push str.LET_SET_NS_SELECTOREX2_PATH
call fcn.004051f0
mov byte [ebp - 4], 6
mov ecx, dword [0x6fb00c]
lea eax, [ebp - 0x44]
push eax
lea esi, [edi + 0x94]
push esi
call fcn.004534f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x435241
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
push 0x10
xor eax, eax
push str.OPEN_NS_SELECTOR
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.004058d0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 7
mov ecx, dword [0x6fb00c]
push esi
call fcn.00456e50
cmp dword [ebp - 0x30], 8
mov esi, eax
jb 0x43528f
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x4352a0
push dword [ebp - 0x28]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4352c5
push dword [ebp + 8]
call fcn.0048166b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0x18