Function at 0x404601
Capabilities:
Connect to http server
Create http request
Execute command
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x17c
mov dword [ebp - 0x144], sym.___gxx_personality_sj0
mov dword [ebp - 0x140], 0x48a8b0
lea eax, [ebp - 0x13c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x404925
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x15c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x158], 0xffffffff
call sym.get_hardware_id__
mov ecx, dword [ebp + 8]
call method.std::string.c_str___const
mov dword [ebp - 0x160], eax
mov dword [esp + 4], 0x20
mov dword [esp], 0x10
call method.std.operator_std::_Ios_Openmode__std::_Ios_Openmode_
mov edx, eax
lea eax, [ebp - 0x124]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x160]
mov dword [esp], esi
mov dword [ebp - 0x158], 1
mov ecx, eax
call sym.std::basic_ofstream_char__std::char_traits_char___::basic_ofstream_char_const__std::_Ios_Openmode_
sub esp, 8
lea eax, [ebp - 0x28]
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp + 4], eax
lea eax, [ebp - 0x124]
mov dword [esp], eax
mov dword [ebp - 0x158], 2
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 eax, [ebp - 0x124]
mov ecx, eax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
mov eax, dword [sym.imp.WININET.DLL_InternetOpenA]
call eax
sub esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x8000000
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], str.STDON99
mov dword [esp + 0xc], str.epiz_29222625
mov dword [esp + 8], 0x15
mov dword [esp + 4], str.ftpupload.net
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.DLL_InternetConnectA]
call eax
sub esp, 0x20
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x30]
mov dword [ebp - 0x158], 3
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], str._htdocs_key_
mov dword [esp], eax
mov dword [ebp - 0x158], 4
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 - 0x2c]
lea edx, [ebp - 0x24]
mov dword [esp], edx
mov dword [ebp - 0x158], 5
mov ecx, eax
call method.std::string.operator_std::string_
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [ebp - 0x158], 4
mov ecx, eax
call method.std::string.operator_std::string_const_
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call method.std::string.c_str___const
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x30]
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov edi, dword [ebp - 0x160]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.DLL_FtpPutFileA]
call eax
sub esp, 0x14
test eax, eax
setne al
test al, al
je 0x404844
mov dword [esp + 4], str.PC_registered_n
mov dword [esp], 0x493140
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_
jmp 0x40487a
mov dword [esp + 4], str.Failed_to_register_PC_n
mov dword [esp], 0x493140
mov dword [ebp - 0x158], 4
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_
mov dword [esp], str.pause
call sym._system
mov dword [esp], 1
call sym._exit
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x124]
mov ecx, eax
call fcn.0046ecb0
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0045b510
jmp 0x404989
lea eax, [ebp - 0x15c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret