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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18c
mov dword [ebp - 0x154], sym.___gxx_personality_sj0
mov dword [ebp - 0x150], 0x48a8a0
lea eax, [ebp - 0x14c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x404596
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x16c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x30]
mov dword [ebp - 0x168], 0xffffffff
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
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]
mov dword [ebp - 0x168], 1
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 - 0x34]
mov edx, dword [ebp + 8]
mov dword [esp], edx
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 - 0x2c]
mov edx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], str._htdocs_key_
mov dword [esp], eax
mov dword [ebp - 0x168], 2
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]
mov dword [esp], eax
mov dword [ebp - 0x168], 3
mov ecx, dword [ebp + 8]
call method.std::string.operator_std::string_
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x34]
mov ecx, eax
call method.std::string.c_str___const
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp + 8]
call method.std::string.c_str___const
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0xc], 0
mov esi, dword [ebp - 0x170]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.DLL_FtpGetFileA]
mov dword [ebp - 0x168], 2
call eax
sub esp, 0x1c
test eax, eax
setne al
test al, al
je 0x4044ce
lea eax, [ebp - 0x34]
mov ecx, eax
call method.std::string.c_str___const
mov edx, eax
lea eax, [ebp - 0x12c]
mov dword [esp + 4], 8
mov dword [esp], edx
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 - 0x12c]
add eax, 0x70
mov dword [ebp - 0x168], 4
mov ecx, eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x4043c2
mov dword [esp + 4], str.failed__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_
mov dword [esp], str.pause
call sym._system
mov dword [esp], 1
call sym._exit
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x12c]
mov dword [esp], eax
mov dword [ebp - 0x168], 4
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 - 0x30]
mov ecx, eax
call method.std::string.length___const
cmp eax, 1
setbe al
test al, al
je 0x40445b
mov dword [esp + 4], str.New_pc_detected......._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_
mov dword [esp + 4], str.Registering_your_pc........._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_
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x34]
mov dword [esp], edx
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 - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x168], 5
call sym.register_pc_std::string_
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0045b510
mov dword [ebp - 0x170], 1
jmp 0x4044bf
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x30]
mov dword [esp], edx
mov dword [ebp - 0x168], 4
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 - 0x24]
mov dword [esp], eax
mov dword [ebp - 0x168], 6
call sym.verify_hardware_id_std::string_
test eax, eax
setne byte [ebp - 0x170]
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0045b510
cmp byte [ebp - 0x170], 0
je 0x4044b5
mov dword [ebp - 0x170], 1
jmp 0x4044bf
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x12c]
mov ecx, eax
call fcn.0046d200
jmp 0x4044d8
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x34]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.0045b510
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x170], eax
jmp 0x4045e5
lea eax, [ebp - 0x16c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x170]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret