Function at 0x10026310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x448], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
xor eax, eax
push eax
mov dword [esp + 0x14], ecx
push 0x10057090
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
call fcn.10001bf0
push 0x206
lea eax, [esp + 0x46]
push 0
push eax
mov word [esp + 0x4c], 0
call fcn.1003d360
add esp, 0xc
push 0x206
lea ecx, [esp + 0x24e]
push 0
push ecx
mov word [esp + 0x254], 0
call fcn.1003d360
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
push eax
mov dword [esi], 0
mov dword [edi], 0
lea ecx, [esp + 0x44]
push 0x104
mov dword [ebx], 0
push ecx
mov dword [edx], 0
call fcn.1003e374
add esp, 0xc
push str.SYSTEM32KERNEL32.DLL
lea edx, [esp + 0x44]
push 0x104
push edx
call fcn.10040110
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002644e
mov edx, dword [esp + 0x14]
push edi
push esi
lea ecx, [esp + 0x48]
push ecx
push edx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.100267d0
cmp dword [esp + 0x3c], 8
mov esi, eax
jb 0x10026435
mov eax, dword [esp + 0x28]
push eax
call fcn.1003c1aa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
push 0x104
push edx
call fcn.1003e374
add esp, 0xc
push str.SYSTEM32Winload.exe
lea eax, [esp + 0x44]
push 0x104
push eax
call fcn.10040110
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100264d1
mov eax, dword [esp + 0x14]
push edi
push esi
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x18]
push eax
mov ecx, ebx
call fcn.100267d0
cmp dword [esp + 0x3c], 8
mov esi, eax
jb 0x10026435
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1003c1aa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push 0x104
push eax
call fcn.1003e374
add esp, 0xc
push str.SYSTEM32Winlogon.exe
lea ecx, [esp + 0x44]
push 0x104
push ecx
call fcn.10040110
add esp, 0xc
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026558
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
call fcn.100267d0
cmp dword [esp + 0x3c], 8
mov esi, eax
jb 0x10026435
mov edx, dword [esp + 0x28]
push edx
call fcn.1003c1aa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x44]
push 0x104
push ecx
call fcn.1003e374
add esp, 0xc
push str.explorer.exe
lea edx, [esp + 0x44]
push 0x104
push edx
call fcn.10040110
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100265d0
mov edx, dword [esp + 0x14]
push edi
push esi
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, ebx
mov edx, dword [esp + 0x1c]
call fcn.100267d0
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.10001970
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x24c]
push 0x104
push ecx
call fcn.1003e374
add esp, 0xc
push str.SYSTEM32
lea edx, [esp + 0x24c]
push 0x104
push edx
call fcn.10040110
add esp, 0xc
lea edi, [esp + 0x40]
mov ebx, 0x10058764
lea esi, [esp + 0x248]
call fcn.100266d0
test eax, eax
je 0x10026638
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
mov edx, edi
push edx
push eax
jmp 0x100265a3
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24c]
push 0x104
push edx
call fcn.1003e374
add esp, 0xc
push str.SYSTEM32
lea eax, [esp + 0x24c]
push 0x104
push eax
call fcn.10040110
add esp, 0xc
lea edi, [esp + 0x40]
mov ebx, str..exe
lea esi, [esp + 0x248]
call fcn.100266d0
test eax, eax
je 0x100266a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov eax, edi
push eax
push ecx
mov ecx, dword [esp + 0x30]
jmp 0x100265a3
lea ecx, [esp + 0x24]
call fcn.10001970
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1003c13d
mov esp, ebp
pop ebp
ret 0x10