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

Disassembly:
push 0xffffffffffffffff
push 0x100a0a4b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100d1040]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d1040]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x54]
mov esi, ecx
call fcn.1000af00
push esi
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 0x2f
call fcn.1000b220
cmp dword [esi + 0x18], 8
jb 0x1000a8db
mov esi, dword [esi + 4]
jmp 0x1000a8de
add esi, 4
inc eax
push eax
push esi
lea esi, [ebp + 0x54]
call fcn.1000ae00
push 0xffffffffffffffff
push 0
push ebx
lea eax, [ebp + 0x38]
call fcn.10002850
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push edi
lea eax, [ebp + 0x1c]
call fcn.10002850
cmp dword [ebx + 0x18], 8
jb 0x1000a912
mov ebx, dword [ebx + 4]
jmp 0x1000a915
add ebx, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [ebp]
push 0
push 0
push 3
push 0
push 0
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x1000a942
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
mov dword [ebp + 4], ebx
test eax, eax
jne 0x1000a955
call fcn.10002c20
jmp 0x1000aa96
cmp dword [edi + 0x18], 8
jb 0x1000a960
mov ecx, dword [edi + 4]
jmp 0x1000a963
lea ecx, [edi + 4]
push 0
push 0x84000000
push 0
push 0
push 0
push ecx
push 0x100c4150
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000a98d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp + 8], edi
test edi, edi
je 0x1000a94b
push esi
lea edi, [esp + 0x20]
call fcn.1000b2e0
add esp, 4
mov ecx, eax
lea esi, [esp + 0x38]
mov dword [esp + 0xc8], 0
call fcn.1000b3a0
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x1000a9cf
mov edx, dword [esp + 0x20]
push edx
call fcn.10057104
add esp, 4
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x1000a9dd
lea ecx, [esp + 0x3c]
mov eax, dword [ebp + 8]
push 0x20000000
push 0xffffffffffffffff
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1000aa14
call fcn.10002c20
mov esi, eax
cmp dword [esp + 0x50], edi
jb 0x1000aa0d
mov eax, dword [esp + 0x3c]
push eax
call fcn.10057104
add esp, 4
mov eax, esi
jmp 0x1000aa96
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1000aa3e
call fcn.10002c20
lea esi, [esp + 0x38]
mov edi, eax
call fcn.10013040
mov eax, edi
jmp 0x1000aa96
push 0x63
lea ecx, [esp + 0x59]
push 0
push ecx
mov byte [esp + 0x60], 0
call fcn.10059a00
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x64
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000aa2a
lea esi, [esp + 0x38]
call fcn.10013040
mov ecx, ebp
call fcn.1000a640
test eax, eax
jl 0x1000aa96
cmp eax, 1
je 0x1000aa96
mov ecx, ebp
call fcn.1000a740
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1005710f
add esp, 0xb8
ret 0x10