Function at 0x1000cf20
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c851
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x458
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x448], esi
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x468]
call fcn.100094c0
cmp dword [ebp - 0x454], 0xf
lea eax, [ebp - 0x468]
mov ecx, dword [ebp - 0x458]
cmova eax, dword [ebp - 0x468]
xor edi, edi
mov dword [ebp - 0x440], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x43c], eax
test eax, eax
jle 0x1000cfef
mov esi, dword [ebp - 0x440]
lea edx, [esi - 1]
add edx, ecx
nop
movzx eax, byte [edx]
lea edx, [edx - 1]
mov cl, byte [esi + edi]
movzx eax, byte [eax + 0x100689f8]
mov byte [esi + edi], al
inc edi
movzx eax, cl
movzx eax, byte [eax + 0x100689f8]
mov byte [edx + 1], al
cmp edi, dword [ebp - 0x43c]
jl 0x1000cfc0
mov esi, dword [ebp - 0x448]
movups xmm0, xmmword [ebp - 0x468]
mov byte [ebp - 0x468], 0
movups xmmword [ebp - 0x434], xmm0
movq xmm0, qword [ebp - 0x458]
movq qword [ebp - 0x424], xmm0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
push 0
push 0
push 0
push 1
push str.HTTPGET
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x43c], edi
test edi, edi
je 0x1000d0d1
cmp dword [ebx + 0x20], 0xf
lea ecx, [ebx + 0xc]
push 0
cmova ecx, dword [ebx + 0xc]
push 0
push 3
push 0
push 0
push 0x1bb
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, eax
mov dword [ebp - 0x444], ecx
test ecx, ecx
jne 0x1000d086
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1000d0d1
cmp dword [ebx + 0x38], 0xf
lea eax, [ebx + 0x24]
push 0
cmova eax, dword [ebx + 0x24]
push 0x800000
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x440], edi
test edi, edi
jne 0x1000d1f0
push dword [ebp - 0x444]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x43c]
call esi
mov byte [ebp - 0x435], 0
mov ecx, dword [ebp - 0x420]
cmp ecx, 0xf
jbe 0x1000d112
mov edx, dword [ebp - 0x434]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d108
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d34d
push ecx
push edx
call fcn.10038149
add esp, 8
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0xf
mov byte [ebp - 0x434], 0
cmp ecx, 0xf
jbe 0x1000d161
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d157
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d34d
push ecx
push edx
call fcn.10038149
add esp, 8
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp ecx, 0xf
jbe 0x1000d1a7
mov edx, dword [ebx + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d19d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d34d
push ecx
push edx
call fcn.10038149
add esp, 8
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xf
mov byte [ebx + 0x24], 0
cmp ecx, 0xf
jbe 0x1000d327
mov edx, dword [ebx + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d31d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d34d
jmp 0x1000d31d
push dword [ebp - 0x424]
cmp dword [ebp - 0x420], 0xf
lea eax, [ebp - 0x434]
cmova eax, dword [ebp - 0x434]
push eax
push 0x20
push str.Content_Type:_application_json_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1000d231
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x444]
jmp 0x1000d0c7
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000d2f8
nop dword [eax]
mov edi, dword [ebp - 0x41c]
test edi, edi
je 0x1000d2f2
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp edi, eax
ja 0x1000d2ab
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x1000d28b
mov eax, dword [esi]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.100397b0
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x448]
jmp 0x1000d2c8
push edi
lea eax, [ebp - 0x418]
mov byte [ebp - 0x44c], 0
push eax
push dword [ebp - 0x44c]
mov ecx, esi
push edi
call fcn.1000bb00
mov edi, dword [ebp - 0x440]
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000d260
jmp 0x1000d2f8
mov edi, dword [ebp - 0x440]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x444]
call esi
push dword [ebp - 0x43c]
call esi
mov byte [ebp - 0x435], 1
jmp 0x1000d0d8
push ecx
push edx
call fcn.10038149
add esp, 8
mov al, byte [ebp - 0x435]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003813b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x4c
call fcn.1003cefa
int3