Function at 0x40702e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18c
mov dword [ebp - 0x164], sym.___gxx_personality_sj0
mov dword [ebp - 0x160], 0x48b77e
lea eax, [ebp - 0x15c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x4073a3
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x41]
mov ecx, eax
call fcn.00450070
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x41]
mov dword [esp + 4], edx
mov dword [esp], 0x49590c
mov dword [ebp - 0x178], 1
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x41]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x40]
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x178], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::basic_string_char__std::char_traits_char___std::allocator_char____const__std::basic_string_char__std::ch
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov dword [esp], edx
mov dword [ebp - 0x178], 3
mov ecx, eax
call method.std::string.operator_std::string_
sub esp, 4
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x35]
mov ecx, eax
call fcn.00450070
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x35]
mov dword [esp + 4], edx
mov dword [esp], str.fk.txt
mov dword [ebp - 0x178], 4
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x48]
mov dword [esp], edx
mov dword [ebp - 0x178], 5
mov ecx, eax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
sub esp, 4
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov dword [ebp - 0x178], 6
call sym.downloadFile_std::string__std::string_
lea eax, [ebp - 0x34]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x35]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x178], 2
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x148]
mov dword [esp + 4], 8
mov dword [esp], str.fk.txt
mov dword [ebp - 0x178], 7
mov ecx, eax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_char_const__std::_Ios_Openmode_
sub esp, 8
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x178], 8
call method.std::basic_istream_char__std::char_traits_char____std::getline_char__std::char_traits_char___std.allocator_char____std::basic_istream_char__std::char_traits_char_____std::basic_string_char__std::char_traits_char___std::allocator_char____
lea eax, [ebp - 0x148]
mov ecx, eax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
lea eax, [ebp - 0x4c]
mov ecx, eax
call method.std::string.length___const
cmp eax, 1
setbe al
test al, al
je 0x407245
mov dword [esp], str.fk.txt
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
lea eax, [ebp - 0x2d]
mov ecx, eax
call fcn.00450070
lea eax, [ebp - 0x2d]
mov dword [esp + 4], eax
mov dword [esp], 0x4958c1
mov dword [ebp - 0x178], 9
mov ecx, dword [ebp + 8]
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x2d]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x40737d
lea eax, [ebp - 0x50]
mov dword [ebp - 0x178], 8
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x4c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4958c4
mov dword [ebp - 0x178], 0xa
mov ecx, eax
call method.std::string.find_last_of_char_const__unsigned_int__const
sub esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4958c6
mov ecx, eax
call method.std::string.find_last_of_char_const__unsigned_int__const
sub esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov edx, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
lea edx, [ebp - 0x4c]
mov dword [esp], edx
mov ecx, eax
call method.std::string.substr_unsigned_int__unsigned_int__const
sub esp, 0xc
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [ebp - 0x178], 0xb
mov ecx, eax
call method.std::string.operator_std::string_
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x495951
mov dword [esp], eax
mov dword [ebp - 0x178], 0xa
call method.std::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x178], 0xc
mov ecx, eax
call method.std::string.operator_std::string_
sub esp, 4
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0045c330
mov dword [esp], str.fk.txt
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x178], 0xa
call eax
sub esp, 4
lea eax, [ebp - 0x50]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::string_
sub esp, 4
lea eax, [ebp - 0x50]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x148]
mov ecx, eax
call fcn.0046e020
lea eax, [ebp - 0x4c]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.0045c330
jmp 0x40754f
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret