Function at 0x418250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d390
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4c6374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.BOOTUSM8PE6F.ISO
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.0040c1a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
cmp dword [eax + 0x10], 0
jne 0x41829c
xor bl, bl
jmp 0x4182ac
cmp dword [eax + 0x14], 8
jb 0x4182a4
mov eax, dword [eax]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4182c1
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x418301
push str.BOOTUSM8PE6F.ISO
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x418301
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x22
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBoot_bootmgfw.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x41832e
xor bl, bl
jmp 0x418341
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x418356
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x4183a8
push 0x22
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBoot_bootmgfw.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4183a8
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x21
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBoot_bootmgr.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x4183d5
xor bl, bl
jmp 0x4183e8
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4183fd
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x41844f
push 0x21
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBoot_bootmgr.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x41844f
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x21
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootmemtest.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x41847c
xor bl, bl
jmp 0x41848f
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4184a4
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x4184f6
push 0x21
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootmemtest.efi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4184f6
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x1c
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootBCD_JP
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x418523
xor bl, bl
jmp 0x418536
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x41854b
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x41859d
push 0x1c
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootBCD_JP
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 4
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x41859d
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x2c
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootzh_CN_bootmgfw.efi.mui
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x4185ca
xor bl, bl
jmp 0x4185dd
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4185f2
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x418644
push 0x2c
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootzh_CN_bootmgfw.efi.mui
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 5
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x418644
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x2b
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootzh_CN_bootmgr.efi.mui
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x418671
xor bl, bl
jmp 0x418684
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x418699
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x4186eb
push 0x2b
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootzh_CN_bootmgr.efi.mui
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 6
call fcn.00415740
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4186eb
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
push 0x2b
xor eax, eax
mov dword [ebp - 0x10], 7
push str.Z:EFIMicrosoftBootzh_CNmemtest.efi.mui
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.0040e610
cmp dword [ebp - 0x14], 0
jne 0x418718
xor bl, bl
jmp 0x41872b
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call esi
test eax, eax
setne bl
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x418740
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f5b0
test bl, bl
je 0x41878b
push 0x2b
xor eax, eax
mov dword [ebp - 0x28], 7
push str.Z:EFIMicrosoftBootzh_CNmemtest.efi.mui
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.0040e610
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 7
call fcn.00415740
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x41878b
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0040f5b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret