Function at 0x4063e8
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], 0x48a948
lea eax, [ebp - 0x15c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x40675d
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.0044f250
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x41]
mov dword [esp + 4], edx
mov dword [esp], str.https:__exe.io_api_api40990f1eb86312a97b1ff7f4b5f8ca5de64ccaefurl
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.0045b510
lea eax, [ebp - 0x35]
mov ecx, eax
call fcn.0044f250
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.0045b510
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.0045b510
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 0x4065ff
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.0044f250
lea eax, [ebp - 0x2d]
mov dword [esp + 4], eax
mov dword [esp], 0x4948e5
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 0x406737
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], 0x4948e8
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], 0x4948ea
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.0045b510
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], str.https:__exe.io_
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.0045b510
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.0045b510
lea eax, [ebp - 0x148]
mov ecx, eax
call fcn.0046d200
lea eax, [ebp - 0x4c]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.0045b510
jmp 0x406909
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