Function at 0x4021b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42492b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.BlackList.txt
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0
push str._s.bak
push eax
call fcn.00401700
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push str.BlackList.txt
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x14c], 0x427d34
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x98], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
lea eax, [ebp - 0x148]
mov ecx, eax
mov dword [ebp - 0x9c], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x100], 0
mov byte [ebp - 0x10b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x50ed54]
mov ecx, dword [0x50ed58]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x110], 0
push ecx
push 2
push str.BlackList.txt
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 3
call fcn.004033e0
test eax, eax
lea ecx, [ebp - 0x14c]
mov eax, dword [ebp - 0x14c]
push 0
mov eax, dword [eax + 4]
je 0x402323
push 0
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x40232d
push 2
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0xfc], 0
je 0x4024e7
push 0x403760
push ecx
mov edx, 0x427ce8
lea ecx, [ebp - 0x14c]
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.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 ecx, dword [edi + 8]
mov eax, 0x78787879
sub ecx, dword [edi + 4]
imul ecx
mov dword [ebp - 0x98], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4023e6
xor ebx, ebx
mov esi, dword [edi + 4]
lea ecx, [ebp - 0x14c]
push 0x403760
mov edx, 0x427cec
add esi, ebx
call fcn.00403520
mov edx, esi
mov ecx, eax
call fcn.00403520
push ecx
mov edx, 0x427cec
mov ecx, eax
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.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 ecx, dword [edi + 8]
mov eax, 0x78787879
sub ecx, dword [edi + 4]
add ebx, 0x11
mov esi, dword [ebp - 0x98]
imul ecx
inc esi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x98], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x402380
push 0x403760
push 0x403760
mov edx, 0x427cc8
lea ecx, [ebp - 0x14c]
call fcn.00403520
mov ecx, eax
call dword [sym.imp.MSVCP140.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 ecx, eax
call dword [sym.imp.MSVCP140.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_____]
push 0x403760
push ecx
mov edx, 0x427cf0
lea ecx, [ebp - 0x14c]
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.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 ecx, dword [edi + 0x14]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x10]
imul ecx
mov dword [ebp - 0x98], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4024c6
xor ebx, ebx
nop word [eax + eax]
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x403760
mov edx, 0x427cec
add esi, ebx
call fcn.00403520
mov edx, esi
mov ecx, eax
call fcn.00403520
push ecx
mov edx, 0x427cec
mov ecx, eax
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.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 ecx, dword [edi + 0x14]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x10]
add ebx, 0x24
mov esi, dword [ebp - 0x98]
imul ecx
inc esi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x98], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x402460
push 0x403760
push ecx
mov edx, 0x427cc8
lea ecx, [ebp - 0x14c]
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.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 - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0xfc], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x402558
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x10c]
cmp dword [eax], ecx
jne 0x402558
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x12c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x11c]
mov dword [eax], edx
cmp byte [ebp - 0x100], 0
je 0x40256c
lea ecx, [ebp - 0x148]
call fcn.00403360
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423570
mov esp, ebp
pop ebp
ret 4