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

Disassembly:
push 0xffffffffffffffff
push 0x100ac7ab
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100de040]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100de040]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
mov ebx, dword [esp + 0xfc]
lea edx, [esp + 0x2c]
lea esi, [ebp + 0x54]
push edx
mov edi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.1000b3a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.1000b340
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1000b260
push ebx
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2f
call fcn.1000b400
cmp dword [ebx + 0x18], 8
jb 0x1000aaa7
mov ebx, dword [ebx + 4]
jmp 0x1000aaaa
add ebx, 4
inc eax
push eax
push ebx
call fcn.1000aff0
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
push 0
push edi
lea eax, [ebp + 0x38]
call fcn.100028e0
mov ebx, dword [esp + 0x28]
push 0xffffffffffffffff
push 0
push ebx
lea eax, [ebp + 0x1c]
call fcn.100028e0
cmp dword [edi + 0x18], 8
jb 0x1000aadf
mov edi, dword [edi + 4]
jmp 0x1000aae2
add edi, 4
mov ecx, dword [esp + 0xf8]
mov eax, dword [ebp]
push 0
push 0
push 3
push 0
push 0
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x1000ab0f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
mov dword [ebp + 4], edi
test eax, eax
jne 0x1000ab22
call fcn.10002d30
jmp 0x1000ac58
cmp dword [ebx + 0x18], 8
jb 0x1000ab2d
mov ecx, dword [ebx + 4]
jmp 0x1000ab30
lea ecx, [ebx + 4]
push 0
push 0x84000000
push 0
push 0
push 0
push ecx
push 0x100d08f8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x1000ab5c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp + 8], edi
cmp edi, ebx
je 0x1000ab18
push esi
lea edi, [esp + 0x40]
call fcn.1000b4c0
add esp, 4
mov ecx, eax
lea esi, [esp + 0x58]
mov dword [esp + 0xe8], ebx
call fcn.1000b580
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x1000ab9a
mov edx, dword [esp + 0x40]
push edx
call fcn.1006243d
add esp, 4
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x1000aba8
lea ecx, [esp + 0x5c]
mov eax, dword [ebp + 8]
push 0x20000000
push 0xffffffffffffffff
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1000abdc
call fcn.10002d30
mov esi, eax
cmp dword [esp + 0x70], edi
jb 0x1000abd8
mov eax, dword [esp + 0x5c]
push eax
call fcn.1006243d
add esp, 4
mov eax, esi
jmp 0x1000ac58
mov eax, dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1000ac02
call fcn.10002d30
lea esi, [esp + 0x58]
mov edi, eax
call fcn.100021c0
mov eax, edi
jmp 0x1000ac58
push 0x63
lea ecx, [esp + 0x79]
push ebx
push ecx
mov byte [esp + 0x80], 0
call fcn.10064e10
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0x64
lea ecx, [esp + 0x7c]
push ecx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000abee
lea esi, [esp + 0x58]
call fcn.100021c0
mov ecx, ebp
call fcn.1000a7d0
cmp eax, ebx
jl 0x1000ac58
cmp eax, 1
je 0x1000ac58
mov ecx, ebp
call fcn.1000a8d0
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.10062448
add esp, 0xd8
ret 0x10