Function at 0x10007f14
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f8ba
mov eax, dword fs:[0]
push eax
mov eax, 0x2894
call fcn.1015ebb0
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28a0], edx
mov dword [ebp - 0x2898], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x287c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2894], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2884], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x289c], edi
test edi, edi
je 0x10008802
mov dword [ebp - 0x2868], ebx
call fcn.10016bf7
push eax
lea ecx, [ebp - 0x2868]
call fcn.100050a8
mov byte [ebp - 4], 2
mov dword [ebp - 0x2864], ebx
call fcn.10016bf7
push eax
lea ecx, [ebp - 0x2864]
call fcn.100050a8
mov byte [ebp - 4], 3
mov dword [ebp - 0x2860], ebx
call fcn.10016bf7
push eax
lea ecx, [ebp - 0x2860]
call fcn.100050a8
push 0x101c7e58
push esi
push 0x2f
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x2888], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x2890]
mov edx, ebx
mov dword [esi], eax
call fcn.100072e3
add esp, 0xc
push eax
lea eax, [ebp - 0x2878]
mov byte [ebp - 4], 5
push eax
call fcn.10004c73
add esp, 0xc
push eax
lea ecx, [ebp - 0x2868]
mov byte [ebp - 4], 6
call fcn.10005058
mov ecx, dword [ebp - 0x2878]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2890]
add ecx, 0xfffffff0
call fcn.10003bf1
push 1
push 0x2f
push ecx
mov esi, esp
mov dword [ebp - 0x2888], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x2878]
push 2
pop edx
mov dword [esi], eax
call fcn.100072e3
add esp, 0xc
push eax
lea ecx, [ebp - 0x2864]
mov byte [ebp - 4], 7
call fcn.10005058
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2878]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov eax, dword [ebp - 0x2868]
mov esi, dword [ebp - 0x2864]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
add ecx, dword [esi - 0xc]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x2878]
push eax
lea ecx, [ebp + 8]
call fcn.10004eca
lea eax, [ebp - 0x2878]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2860]
call fcn.10005058
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2878]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
push ebx
push 0x4400000
push 3
mov eax, 0x101c76a6
push eax
push eax
push 0x1bb
push esi
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [ebp - 0x2860]
mov dword [ebp - 0x2890], eax
test eax, eax
je 0x100087d8
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x100087d8
push ebx
lea eax, [ebp - 0x2870]
mov dword [ebp - 0x2870], 0x2a2f2a
mov dword [ebp - 0x2858], eax
mov eax, 0x803000
push eax
mov dword [ebp - 0x2880], eax
lea eax, [ebp - 0x2858]
push eax
push ebx
push str.HTTP_1.0
push edi
push str.POST
push dword [ebp - 0x2890]
mov dword [ebp - 0x2854], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x288c], eax
test eax, eax
jne 0x100081b4
push dword [ebp - 0x2890]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x289c]
call ebx
xor ebx, ebx
jmp 0x100087e4
push 4
lea ecx, [ebp - 0x2880]
mov dword [ebp - 0x2880], 0xf180
push ecx
push 0x1f
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x285c], ebx
call fcn.10016bf7
push eax
lea ecx, [ebp - 0x285c]
call fcn.100050a8
mov eax, dword [ebp - 0x2898]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2894], 0
jne 0x10008327
test eax, eax
je 0x10008239
push 0x101c7e4c
push eax
lea eax, [ebp - 0x2894]
push eax
call fcn.10004c73
add esp, 0xc
push eax
lea ecx, [ebp - 0x285c]
mov byte [ebp - 4], 0xa
call fcn.10005058
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2894]
add ecx, 0xfffffff0
call fcn.10003bf1
push ecx
mov ecx, esp
mov dword [ebp - 0x2888], esp
push str.content_type:
call fcn.10004dc5
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x2894], esi
mov eax, dword [ebp - 0x285c]
add eax, 0xfffffff0
push eax
call fcn.10005109
pop ecx
add eax, 0x10
mov edx, ebx
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10007c82
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x1000829b
mov esi, str.Content_Type:_application_x_www_form_urlencoded_charseteuc_kr_r_n
push esi
call fcn.1000503e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x285c]
call fcn.1000542a
mov esi, 0x101c7e4c
push esi
call fcn.1000503e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x285c]
call fcn.1000542a
mov esi, dword [ebp - 0x285c]
xor ecx, ecx
mov eax, dword [esi - 0xc]
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10166e8b
mov dword [ebp - 0x2884], eax
mov edx, esi
pop ecx
sub eax, esi
mov cl, byte [edx]
mov byte [eax + edx], cl
inc edx
test cl, cl
jne 0x100082da
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [eax - 0xc]
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10166e8b
mov edx, eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x2878], edx
mov ebx, edx
mov cl, byte [eax]
inc eax
mov byte [ebx], cl
inc ebx
test cl, cl
jne 0x1000830a
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10008319
sub ebx, ecx
jmp 0x10008506
test eax, eax
je 0x10008362
push 0x101c7e4c
push eax
lea eax, [ebp - 0x2878]
push eax
call fcn.10004c73
add esp, 0xc
push eax
lea ecx, [ebp - 0x285c]
mov byte [ebp - 4], 0xc
call fcn.10005058
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2878]
add ecx, 0xfffffff0
call fcn.10003bf1
push ecx
mov ecx, esp
mov dword [ebp - 0x2888], esp
push str.content_type:
call fcn.10004dc5
push ecx
mov byte [ebp - 4], 0xd
mov ebx, esp
mov dword [ebp - 0x2878], ebx
mov esi, dword [ebp - 0x285c]
lea eax, [esi - 0x10]
push eax
call fcn.10005109
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [ebx], eax
mov edx, ecx
mov byte [ebp - 4], 9
call fcn.10007c82
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x100083ca
mov esi, str.Content_Type:_application_x_www_form_urlencoded__Accept:_text_plain_r_n
push esi
call fcn.1000503e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x285c]
call fcn.1000542a
mov esi, dword [ebp - 0x285c]
push ecx
mov ecx, esp
mov dword [ebp - 0x2888], esp
push 0x101c7f10
call fcn.10004dc5
push ecx
mov ebx, esp
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov dword [ebp - 0x2878], ebx
push esi
call fcn.10005109
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
pop ecx
mov edx, eax
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.10007c82
mov ebx, dword [ebp - 0x2884]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x10008499
push ecx
mov edx, ebx
lea ecx, [ebp - 0x2888]
call fcn.10007465
push eax
lea eax, [ebp - 0x2884]
mov byte [ebp - 4], 0xf
push str.Content_length:
push eax
call fcn.10004c1a
push str._r_n_r_n
push eax
lea eax, [ebp - 0x2878]
mov byte [ebp - 4], 0x10
push eax
call fcn.10004c73
add esp, 0x1c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x285c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.1000542a
mov ecx, dword [ebp - 0x2878]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp - 0x2884]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2888]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov esi, 0x101c7e4c
push esi
call fcn.1000503e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x285c]
call fcn.1000542a
mov esi, dword [ebp - 0x285c]
xor ecx, ecx
mov eax, dword [esi - 0xc]
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10166e8b
pop ecx
mov edx, eax
mov dword [ebp - 0x2884], eax
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x100084da
push ebx
call fcn.10166e8b
push ebx
push dword [ebp - 0x2894]
mov dword [ebp - 0x2878], eax
push eax
call fcn.1015ff60
mov edx, dword [ebp - 0x2878]
add esp, 0x10
mov ecx, dword [ebp - 0x2884]
lea eax, [ecx + 1]
mov dword [ebp - 0x2888], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008515
sub ecx, dword [ebp - 0x2888]
push ebx
push edx
push ecx
push dword [ebp - 0x2884]
push dword [ebp - 0x288c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push dword [ebp - 0x2884]
mov ebx, eax
call fcn.1016300f
mov eax, dword [ebp - 0x2878]
push eax
call fcn.1016300f
pop ecx
pop ecx
test ebx, ebx
jne 0x1000858f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x288c]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x2890]
call ebx
push dword [ebp - 0x289c]
call ebx
xor ebx, ebx
lea ecx, [esi - 0x10]
call fcn.10003bf1
mov esi, dword [ebp - 0x2864]
jmp 0x100087e4
xor ebx, ebx
mov dword [ebp - 0x2874], 0x40
push ebx
lea eax, [ebp - 0x2874]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x13
push dword [ebp - 0x288c]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000855c
lea edx, [ebp - 0x50]
mov ecx, ebx
movzx eax, byte [edx + ecx]
mov edx, 0x101c7f3c
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x50]
jne 0x1000855c
inc ecx
cmp ecx, 4
jne 0x100085be
cmp dword [ebp - 0x287c], ebx
je 0x100086aa
mov esi, 0x101c76a6
push esi
call fcn.1000503e
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x287c]
mov ecx, esi
call fcn.1000522b
mov edi, dword [ebp - 0x288c]
push ebx
push ebx
lea eax, [ebp - 0x2878]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 0x2878]
xor ecx, ecx
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.10166e8b
mov ecx, dword [ebp - 0x2878]
add ecx, 2
mov dword [ebp - 0x2884], eax
push ecx
push ebx
push eax
call fcn.1015fe00
add esp, 0x10
lea eax, [ebp - 0x287c]
push eax
push dword [ebp - 0x2878]
push dword [ebp - 0x2884]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000869e
mov ecx, dword [ebp - 0x2884]
mov eax, dword [ebp - 0x287c]
push ecx
mov byte [eax + ecx], bl
call fcn.1000503e
pop ecx
push eax
push dword [ebp - 0x2884]
mov ecx, esi
call fcn.1000542a
push dword [ebp - 0x2884]
call fcn.1016300f
pop ecx
cmp dword [ebp - 0x287c], ebx
jne 0x10008602
mov esi, dword [ebp - 0x285c]
mov edi, dword [ebp - 0x2860]
push 0x2800
lea eax, [ebp - 0x2850]
push ebx
push eax
call fcn.1015fe00
add esp, 0xc
mov dword [ebp - 0x286c], 0x2800
cmp dword [ebp - 0x2898], ebx
je 0x10008731
push 0x101c76a6
call fcn.1000503e
pop ecx
mov ecx, dword [ebp - 0x2898]
push eax
push 0x101c76a6
call fcn.1000522b
push ebx
lea eax, [ebp - 0x286c]
push eax
lea eax, [ebp - 0x2850]
push eax
push 0x80000016
push dword [ebp - 0x288c]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x10008731
lea eax, [ebp - 0x2850]
push eax
call fcn.1000503e
pop ecx
mov ecx, dword [ebp - 0x2898]
push eax
lea eax, [ebp - 0x2850]
push eax
call fcn.1000542a
cmp dword [ebp - 0x28a0], ebx
je 0x100087b2
push 0x101c76a6
call fcn.1000503e
pop ecx
mov ecx, dword [ebp - 0x28a0]
push eax
push 0x101c76a6
call fcn.1000522b
mov eax, 0x2800
push eax
mov dword [ebp - 0x286c], eax
lea eax, [ebp - 0x2850]
push ebx
push eax
call fcn.1015fe00
add esp, 0xc
lea eax, [ebp - 0x286c]
push ebx
push eax
lea eax, [ebp - 0x2850]
push eax
push 0x16
push dword [ebp - 0x288c]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x100087b2
lea eax, [ebp - 0x2850]
push eax
call fcn.1000503e
pop ecx
mov ecx, dword [ebp - 0x28a0]
push eax
lea eax, [ebp - 0x2850]
push eax
call fcn.1000542a
push dword [ebp - 0x288c]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x2890]
call ebx
push dword [ebp - 0x289c]
call ebx
xor ebx, ebx
inc ebx
jmp 0x1000857c
push dword [ebp - 0x289c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [edi - 0x10]
call fcn.10003bf1
lea ecx, [esi - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp - 0x2868]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
leave
ret