Function at 0x4172c0
Capabilities:
Check if file exists
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d327
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x4c6374]
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 esi, ecx
call fcn.00414c70
test al, al
jne 0x41747a
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
mov edx, str.IsDirPath_Error:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
push 0x16
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
call fcn.0040f450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
push 0xe
push str.GptRestore.cpp
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x1a4], 0
call fcn.0040f450
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 3
push eax
push 0x13
lea eax, [ebp - 0x1a4]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x148]
cmp eax, 8
jb 0x4173f2
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x14c], 0
cmp eax, 0x10
jb 0x41742d
inc eax
lea ecx, [ebp - 0x1a4]
push eax
push dword [ebp - 0x1a4]
call fcn.0040f330
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x1a4], 0
cmp eax, 0x10
jb 0x417466
inc eax
lea ecx, [ebp - 0x174]
push eax
push dword [ebp - 0x174]
call fcn.0040f330
lea ecx, [ebp - 0x58]
call fcn.00408b70
mov dword [ebp - 4], 4
jmp 0x41821e
cmp dword [esi + 0x28], 0
je 0x4180a5
cmp dword [esi + 0x2c], 8
jb 0x41748f
mov eax, dword [esi + 0x18]
jmp 0x417492
lea eax, [esi + 0x18]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x4180a5
push str.BOOTUSM8PE6F.WIM
mov edx, esi
lea ecx, [ebp - 0x15c]
call fcn.0040c1a0
add esp, 4
cmp dword [eax + 0x10], 0
jne 0x4174c7
mov byte [ebp - 0x141], 0
jmp 0x4174db
cmp dword [eax + 0x14], 8
jb 0x4174cf
mov eax, dword [eax]
push eax
call ebx
test eax, eax
setne byte [ebp - 0x141]
mov eax, dword [ebp - 0x148]
cmp eax, 8
jb 0x4174f9
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.0040f5b0
cmp byte [ebp - 0x141], 0
jne 0x417643
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str.BOOTUSM8PE6F.WIM
mov edx, esi
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1bc]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xa
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x15c]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xc
call fcn.0040f550
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xe
push eax
push 0x1d
lea eax, [ebp - 0x174]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x1bc]
call fcn.0040f680
mov eax, dword [ebp - 0x160]
cmp eax, 0x10
jb 0x4175f6
inc eax
lea ecx, [ebp - 0x174]
push eax
push dword [ebp - 0x174]
call fcn.0040f330
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
cmp eax, 0x10
jb 0x41762f
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.0040f330
lea ecx, [ebp - 0x58]
call fcn.00408b70
mov dword [ebp - 4], 0xf
jmp 0x41821e
push str.BOOTBOOT.SDI
mov edx, esi
lea ecx, [ebp - 0x15c]
call fcn.0040c1a0
add esp, 4
cmp dword [eax + 0x10], 0
jne 0x417667
mov byte [ebp - 0x141], 0
jmp 0x41767b
cmp dword [eax + 0x14], 8
jb 0x41766f
mov eax, dword [eax]
push eax
call ebx
test eax, eax
setne byte [ebp - 0x141]
lea ecx, [ebp - 0x15c]
call fcn.0040f680
cmp byte [ebp - 0x141], 0
jne 0x41778f
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str.BOOTBOOT.SDI
mov edx, esi
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x1bc]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0x10
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x12
call fcn.0040f550
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x14
push eax
push 0x22
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x1bc]
call fcn.0040f680
lea ecx, [ebp - 0x15c]
call fcn.0040ef30
lea ecx, [ebp - 0x174]
call fcn.0040ef30
lea ecx, [ebp - 0x58]
call fcn.00408b70
mov dword [ebp - 4], 0x15
jmp 0x41821e
add esi, 0x30
lea ecx, [ebp - 0x15c]
push str._bootmgfw.efi
mov edx, esi
call fcn.0040c1a0
add esp, 4
cmp dword [eax + 0x10], 0
jne 0x4177b1
xor bl, bl
jmp 0x4177c1
cmp dword [eax + 0x14], 8
jb 0x4177b9
mov eax, dword [eax]
push eax
call ebx
test eax, eax
setne bl
lea ecx, [ebp - 0x15c]
call fcn.0040f680
test bl, bl
jne 0x4178cc
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str._bootmgfw.efi
mov edx, esi
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x1bc]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0x16
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x18
call fcn.0040f550
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x1a
push eax
push 0x27
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x1bc]
call fcn.0040f680
lea ecx, [ebp - 0x15c]
call fcn.0040ef30
lea ecx, [ebp - 0x174]
call fcn.0040ef30
lea ecx, [ebp - 0xa8]
call fcn.004059f0
jmp 0x418231
push str._bootmgr.efi
mov edx, esi
lea ecx, [ebp - 0x15c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x15c]
sete bl
call fcn.0040f680
test bl, bl
je 0x417a96
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
mov edx, esi
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.0040be40
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x1c
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x1e
push eax
push 0x2c
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
call fcn.0040f680
lea ecx, [ebp - 0x15c]
call fcn.0040ef30
lea ecx, [ebp - 0x174]
call fcn.0040ef30
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.004059f0
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str._bootmgr.efi
mov edx, esi
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1f
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
mov byte [ebp - 4], 0x21
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x23
push eax
push 0x2d
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
jmp 0x4178a1
push str.memtest.efi
mov edx, esi
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x18c]
sete bl
call fcn.0040f680
test bl, bl
je 0x417b9c
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str.memtest.efi
mov edx, esi
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x24
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x26
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x28
push eax
push 0x32
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
jmp 0x4178a1
push str._bcdedit.exe
mov edx, esi
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x18c]
sete bl
call fcn.0040f680
test bl, bl
je 0x417ca2
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str._bcdedit.exe
mov edx, esi
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x29
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x2b
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x2d
push eax
push 0x37
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
jmp 0x4178a1
push str.zh_CNmemtest.efi.mui
mov edx, esi
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x18c]
sete bl
call fcn.0040f680
test bl, bl
je 0x417da8
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str.zh_CNmemtest.efi.mui
mov edx, esi
mov dword [ebp - 4], 0x2e
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x2e
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x30
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x31
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x32
push eax
push 0x3f
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
jmp 0x4178a1
push str.zh_CN_bootmgfw.efi.mui
mov edx, esi
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x18c]
sete bl
call fcn.0040f680
test bl, bl
je 0x417eae
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
push str.zh_CN_bootmgfw.efi.mui
mov edx, esi
mov dword [ebp - 4], 0x33
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xa8]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x33
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x35
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x36
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x37
push eax
push 0x45
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
jmp 0x4178a1
push str.zh_CN_bootmgr.efi.mui
mov edx, esi
lea ecx, [ebp - 0x18c]
call fcn.0040c1a0
add esp, 4
mov ecx, eax
call fcn.00414db0
test al, al
lea ecx, [ebp - 0x18c]
sete bl
call fcn.0040f680
test bl, bl
je 0x41809e
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
mov edx, esi
mov dword [ebp - 4], 0x38
lea ecx, [ebp - 0xa8]
call fcn.0040be40
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
call fcn.0040f550
push str.GptRestore.cpp
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x39
call fcn.0040f550
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x3b
push eax
push 0x4b
lea eax, [ebp - 0x15c]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x18c]
call fcn.0040f680
lea ecx, [ebp - 0x15c]
call fcn.0040ef30
lea ecx, [ebp - 0x174]
call fcn.0040ef30
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.004059f0
push 0x98
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x140]
call fcn.00408c30
push str.zh_CN_bootmgr.efi.mui
mov edx, esi
mov dword [ebp - 4], 0x3c
lea ecx, [ebp - 0x1a4]
call fcn.0040c1a0
add esp, 4
mov esi, eax
mov edx, str.IsFileOrDirExist_Error:
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x140]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x3c
call fcn.0040f680
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x1bc]
call fcn.0040f550
mov byte [ebp - 4], 0x3e
push str.GptRestore.cpp
lea ecx, [ebp - 0x1a4]
call fcn.0040f550
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0x3f
push eax
lea ecx, [ebp - 0x140]
call fcn.00408b50
push eax
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0x40
push eax
push 0x4c
lea eax, [ebp - 0x1a4]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
lea ecx, [ebp - 0x1d4]
call fcn.0040f680
lea ecx, [ebp - 0x1a4]
call fcn.0040ef30
lea ecx, [ebp - 0x1bc]
call fcn.0040ef30
lea ecx, [ebp - 0x140]
call fcn.004059f0
jmp 0x418231
mov al, 1
jmp 0x418233
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408c30
mov edx, str.IsFileOrDirExist_Error:
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xa8]
call fcn.0040b820
lea edx, [esi + 0x18]
mov ecx, eax
call fcn.0040be40
push 0x16
push str.CGptRestore::FileCheck
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
call fcn.0040f450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
push 0xe
push str.GptRestore.cpp
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x1a4], 0
call fcn.0040f450
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408b50
push eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 8
push eax
push 0x18
lea eax, [ebp - 0x1a4]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x148]
cmp eax, 8
jb 0x41819b
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x14c], 0
cmp eax, 0x10
jb 0x4181d6
inc eax
lea ecx, [ebp - 0x1a4]
push eax
push dword [ebp - 0x1a4]
call fcn.0040f330
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x190], 0xf
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x1a4], 0
cmp eax, 0x10
jb 0x41820f
inc eax
lea ecx, [ebp - 0x174]
push eax
push dword [ebp - 0x174]
call fcn.0040f330
lea ecx, [ebp - 0x58]
call fcn.00408b70
mov dword [ebp - 4], 9
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::ios_base.0
push eax
call fcn.0042f0f8
add esp, 4
xor al, al
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.00475cda
mov esp, ebp
pop ebp
ret