Function at 0x407bfd
Capabilities:
Copy file
Get common file path
Set file attributes

Disassembly:
push 0x308
mov eax, 0x41c92c
call fcn.00417909
xor esi, esi
push 0x206
lea eax, [ebp - 0x216]
push esi
push eax
mov word [ebp - 0x218], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2f8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x2f8]
push eax
mov byte [ebp - 4], 7
call fcn.004078fe
mov ebx, eax
cmp ebx, esi
jne 0x407cf7
call fcn.0041ab80
test al, al
je 0x40809b
cmp dword [ebp - 0x2e0], 8
mov eax, dword [ebp - 0x2f4]
jae 0x407cdd
lea eax, [ebp - 0x2f4]
push eax
push str._CopyLdrAndSysFile__GetBootDrive_return_fasle__s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0x10
jmp 0x40809b
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push str.gjldr
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x314]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, str.GJLDR.MBR
push edi
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x314]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40809b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x4221f4
lea ecx, [ebp - 0x234]
call dword [0x41d224]
push str.guanjiafix.img
lea ecx, [ebp - 0x234]
call dword [0x41d224]
lea ebx, [ebp - 0x288]
call fcn.0040a0c8
mov ebx, eax
test ebx, ebx
je 0x40809b
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x40809b
dec eax
push eax
lea ecx, [ebp - 0x288]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x407e07
push 0x4221f4
lea ecx, [ebp - 0x288]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push str.pluginsQMBluescreenFixer
lea ecx, [ebp - 0x288]
call dword [0x41d224]
push 0x4221f4
lea ecx, [ebp - 0x288]
call dword [0x41d224]
push str.gjldr
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x314]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x314]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.guanjiafix.img
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x314]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x24c]
push 8
pop edi
cmp dword [ebp - 0x238], edi
jae 0x407ee7
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x2c4], edi
mov eax, dword [ebp - 0x2d8]
jae 0x407efb
lea eax, [ebp - 0x2d8]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push ecx
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x407f5d
call fcn.0041ab80
test al, al
je 0x40809b
cmp dword [ebp - 0x238], edi
mov ecx, dword [ebp - 0x24c]
jae 0x407f2e
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x2c4], edi
mov eax, dword [ebp - 0x2d8]
jae 0x407f42
lea eax, [ebp - 0x2d8]
push ecx
push eax
push str._CopyLdrAndSysFile__CopyFile_failed_src_s__dest_s
push 0xb
push str.D:jenkins_Trunkworkspace10.6Patch_SourceJobqqpcmgr_projBlueRayFTSafeAppQMBlueScreenFixerQMOperateSystemOpt.cpp
call fcn.0041ad40
add esp, 0x14
jmp 0x40809b
cmp dword [ebp - 0x238], edi
mov eax, dword [ebp - 0x24c]
jae 0x407f71
lea eax, [ebp - 0x24c]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 2
push eax
call edi
cmp dword [ebp - 0x254], 8
mov ecx, dword [ebp - 0x268]
jae 0x407f91
lea ecx, [ebp - 0x268]
cmp dword [ebp - 0x2a8], 8
mov eax, dword [ebp - 0x2bc]
jae 0x407fa6
lea eax, [ebp - 0x2bc]
push 1
push ecx
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x407ff2
call fcn.0041ab80
test al, al
je 0x40809b
cmp dword [ebp - 0x254], 8
mov ecx, dword [ebp - 0x268]
jae 0x407fd4
lea ecx, [ebp - 0x268]
cmp dword [ebp - 0x2a8], 8
mov eax, dword [ebp - 0x2bc]
jae 0x407f42
lea eax, [ebp - 0x2bc]
jmp 0x407f42
cmp dword [ebp - 0x254], 8
mov eax, dword [ebp - 0x268]
jae 0x408007
lea eax, [ebp - 0x268]
push 2
push eax
call edi
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x408021
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x28c], 8
mov eax, dword [ebp - 0x2a0]
jae 0x408036
lea eax, [ebp - 0x2a0]
push 1
push ecx
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x40807e
call fcn.0041ab80
test al, al
je 0x40809b
cmp dword [ebp - 0x21c], 8
mov ecx, dword [ebp - 0x230]
jae 0x408060
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x28c], 8
mov eax, dword [ebp - 0x2a0]
jae 0x407f42
lea eax, [ebp - 0x2a0]
jmp 0x407f42
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x408093
lea eax, [ebp - 0x230]
push 2
push eax
call edi
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
call fcn.00417953
ret