Function at 0x4111e5
Capabilities:
Delete file
Move file

Disassembly:
jmp 0x41688c
push 0x19c
mov eax, 0x41c3ef
call fcn.00411758
mov edi, ecx
mov ecx, 0x4270e8
call fcn.0041183e
xor esi, esi
lea ecx, [ebp - 0x18c]
push 0xb8
mov dword [ebp - 0x14], esi
call fcn.00411168
push 1
lea ecx, [ebp - 0x18c]
call fcn.0041159b
push 0x40
push 0x20
push str.record.bank
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], esi
call fcn.004116a4
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x18c]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x41691d
push 0x411082
push str._nError_in_opening_database__File_Not_Found_
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0041143d
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140D.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 0x416a6e
push 2
push esi
push esi
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP140D.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00411749
push esi
push 0x40
push edx
push eax
call fcn.004118c5
push str._records_in_the_file
mov ebx, eax
push ebx
push str._nThere_are
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0041143d
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.0041143d
push str._nEnter_record_number_to_delete:
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0041143d
mov ecx, dword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x14]
add esp, 0x10
push eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
push 0xc0
lea ecx, [ebp - 0xd4]
call fcn.0041189d
push 1
lea ecx, [ebp - 0xd4]
call fcn.004115a0
push 0x40
push 0x22
push str.tmprecord.bank
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.0041134d
sub esp, 0x18
mov ecx, esp
push esi
push esi
call fcn.00411514
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
test ebx, ebx
jle 0x416a1c
push 0
push 0x40
push edi
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [ebp - 0x14]
dec eax
cmp esi, eax
je 0x416a17
push 0
push 0x40
push edi
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
inc esi
cmp esi, ebx
jl 0x4169ed
lea ecx, [ebp - 0x18c]
call fcn.00411686
lea ecx, [ebp - 0xd4]
call fcn.0041166d
mov esi, str.record.bank
push esi
call dword [sym.imp.ucrtbased.dll_remove]
push esi
push str.tmprecord.bank
call dword [sym.imp.ucrtbased.dll_rename]
add esp, 0xc
test eax, eax
jne 0x416a63
push str.Error_in_renaming_tmp_file_to_record
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0041143d
pop ecx
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.00411127
lea ecx, [ebp - 0x18c]
call fcn.00411654
call fcn.00411979
ret