Function at 0x401970
Capabilities:
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
sub esp, 0x24c
mov eax, dword [0x40a228]
mov dword [esp + 0x240], ebx
mov ebx, str.r__ccsUTF_8
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll__wfopen
test eax, eax
je 0x4019ea
mov dword [esp], eax
mov esi, 4
call sub.msvcrt.dll_fclose
mov ecx, str.VLC_crash_reporting
mov edx, str.VLC_media_player_just_crashed._Do_you_want_to_send_a_bug_report_to_the_developers_team_
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
cmp eax, 6
je 0x401a10
mov edx, dword [0x40a228]
mov dword [esp], edx
call sub.msvcrt.dll__wremove
mov ebx, dword [esp + 0x240]
mov esi, dword [esp + 0x244]
mov edi, dword [esp + 0x248]
add esp, 0x24c
ret
xor edx, edx
xor ebx, ebx
xor eax, eax
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], str.VLC_Crash_Reporter
call sub.WININET.DLL_InternetOpenW
sub esp, 0x14
test eax, eax
mov ebx, eax
je 0x401ba0
xor esi, esi
mov ecx, 0x8000000
xor eax, eax
mov edx, 1
mov dword [esp + 0x1c], esi
xor edi, edi
mov esi, 0x15
mov dword [esp + 0x18], ecx
mov ecx, str.crash.videolan.org
mov dword [esp + 8], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.WININET.DLL_InternetConnectW
sub esp, 0x20
test eax, eax
mov esi, eax
je 0x401bd0
lea edx, [esp + 0x230]
mov dword [esp], edx
call sub.KERNEL32.dll_GetSystemTime
sub esp, 4
movzx edi, word [esp + 0x23a]
movzx eax, word [esp + 0x23c]
movzx ecx, word [esp + 0x238]
movzx edx, word [esp + 0x236]
mov dword [esp + 0x18], edi
movzx edi, word [esp + 0x230]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x232]
mov dword [esp + 0x14], ecx
mov ecx, str._crashes_win32__04d_02d_02d_02d_02d_02d
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
lea edi, [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_swprintf
xor edx, edx
mov eax, 2
mov dword [esp + 8], edi
mov edi, dword [0x40a228]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], edi
call sub.WININET.DLL_FtpPutFileW
sub esp, 0x14
test eax, eax
jne 0x401b70
mov ecx, str.Report_sending_failed
mov edx, str.There_was_an_error_while_transferring_to_the_FTP_server._Thanks_a_lot_for_the_help_anyway.
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
mov dword [esp], esi
call sub.WININET.DLL_InternetCloseHandle
sub esp, 4
mov dword [esp], ebx
call sub.WININET.DLL_InternetCloseHandle
sub esp, 4
jmp 0x4019dc
xor eax, eax
mov ecx, str.Report_sent_correctly._Thanks_a_lot_for_the_help.
mov edi, str.Report_sent
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
jmp 0x401b4e
xor eax, eax
mov esi, str.Report_sending_failed
mov ebx, str.There_was_an_error_while_connecting_to_Internet._Thanks_a_lot_for_the_help_anyway.
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
jmp 0x4019dc
mov ecx, str.Report_sending_failed
mov edx, str.There_was_an_error_while_connecting_to_the_FTP_server._Thanks_a_lot_for_the_help_anyway.
xor edi, edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call sub.KERNEL32.dll_GetLastError
mov esi, dword [sym.imp.msvcrt.dll__iob]
add esi, 0x40
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, str.Cant_connect_to_FTP_server_0x_08lu_n
mov dword [esp + 4], eax
call fcn.00401300
jmp 0x401b59