Function at 0x403185
Capabilities:
Connect to http server
Create http request
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x288
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x220], rcx
lea rax, [rbp + 0x1b0]
mov rcx, rax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
lea rdx, str.uYjgRtJ2VcIj
mov qword [rsp + 0x20], rdx
lea r9, str.if0_37412893
mov r8d, 0x15
lea rdx, str.ftpupload.net
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x1f0], rax
lea rax, [rbp + 0x1a0]
mov rdx, qword [rbp + 0x220]
mov rcx, rax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
lea rax, [rbp + 0x1c0]
mov r8, qword [rbp + 0x220]
lea rdx, str._htdocs_key_
mov rcx, rax
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 rax, [rbp + 0x1c0]
mov rdx, rax
mov rcx, qword [rbp + 0x220]
call method.std::string.operator_std::string_
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x1a0]
mov rcx, rax
call method.std::string.c_str___const
mov rbx, rax
mov rcx, qword [rbp + 0x220]
call method.std::string.c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], pe_nt_image_headers64
mov r9d, 0
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_FtpGetFileA]
call rax
test eax, eax
setne al
test al, al
je 0x403430
lea rax, [rbp + 0x1a0]
mov rcx, rax
call method.std::string.c_str___const
mov rdx, rax
lea rax, [rbp - 0x40]
mov r8d, 8
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_char_const__std::_Ios_Openmode_
lea rax, [rbp - 0x40]
add rax, 0xd0
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x40334b
lea rdx, str.failed__n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rcx, str.pause
call sym.system
mov ecx, 1
call sym.exit
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x40]
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____
lea rax, [rbp + 0x1b0]
mov rcx, rax
call method.std::string.length___const
cmp rax, 1
setbe al
test al, al
je 0x4033d9
lea rdx, str.New_pc_detected......._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rdx, str.Registering_your_pc........._n
mov rcx, qword [0x0049c9d0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rdx, [rbp + 0x1a0]
lea rax, [rbp + 0x1d0]
mov rcx, rax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
lea rax, [rbp + 0x1d0]
mov rcx, rax
call sym.register_pc_std::string_
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.00459260
mov ebx, 1
jmp 0x403422
lea rdx, [rbp + 0x1b0]
lea rax, [rbp + 0x1e0]
mov rcx, rax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
lea rax, [rbp + 0x1e0]
mov rcx, rax
call sym.verify_hardware_id_std::string_
test eax, eax
setne bl
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.00459260
test bl, bl
je 0x40341d
mov ebx, 1
jmp 0x403422
mov ebx, 0
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.00467540
jmp 0x403435
mov ebx, 0
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.00459260
mov eax, ebx
jmp 0x4034d5
add rsp, 0x288
pop rbx
pop rbp
ret