Function at 0x4011e9
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40341e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x406038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.removing_tgp_lsp_...
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
push str._n_IERD_TGP_LSP__s
call dword [sym.imp.InstLSP.dll_Install]
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40125a
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push str.success
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40128d
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push dword [ebp - 0x4c]
push str.fail__error_code:
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x4c]
jmp 0x401468
lea eax, [ebp - 0x2c]
push eax
call fcn.00401000
pop ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
call fcn.004010fd
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
jb 0x4012b7
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
jmp 0x4012bd
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x18], 0x10
jb 0x4012cb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
jmp 0x4012d1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x60], eax
push 9
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x4013c1
cmp dword [ebp - 0x34], 0x10
jb 0x4012f5
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
jmp 0x4012fb
lea eax, [ebp - 0x48]
mov dword [ebp - 0x64], eax
push 4
push 0
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x401365
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push str.remove_tgp_lsp_file_success
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004018b3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018b3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x401468
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push str.failed_to_add_lsp_to_reboot_deleting_chain
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x54], 0xfffffffe
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004018b3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018b3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
jmp 0x401468
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
lea eax, [ebp - 0x48]
push eax
push str._to_backup
lea eax, [ebp - 0x2c]
push eax
push str.failed_to_rename_IERD_TGP_LSP_file
push dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402180
pop ecx
pop ecx
push eax
call fcn.004025d8
pop ecx
pop ecx
push eax
call fcn.00402180
pop ecx
pop ecx
push eax
call fcn.004025d8
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x58], 0xfffffffd
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004018b3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018b3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
jmp 0x401468
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402a00
leave
ret