Function at 0x10fcde0
Capabilities:
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x10fd018
push 0x200
push ecx
call fcn.01197bcf
add esp, 8
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jbe 0x10fd029
push edi
push 0x82
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x3e
push 0xd
push 0x101d18c
push 0x101d06c
lea ecx, [ebp - 0xa0]
push 0x3f
push ecx
call fcn.0102d9e0
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x35b0]
add esp, 0x24
test eax, eax
je 0x10fce6b
add eax, 0x70
jmp 0x10fce6d
xor eax, eax
push esi
push 1
push 0
lea edx, [ebp - 0xa0]
push edx
push eax
push edi
call fcn.010efd40
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10fd01e
cmp esi, 0xffffffff
je 0x10fd01e
mov edi, dword [edi + 0x2fbe8]
test edi, edi
je 0x10fcea7
mov eax, dword [edi + 4]
test eax, eax
jne 0x10fceac
mov eax, 0x101d16c
push ebx
push 0
push 0x1bb
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10fd00b
test edi, edi
je 0x10fced4
mov eax, dword [edi + 8]
test eax, eax
jne 0x10fced9
mov eax, 0x101d140
push 0x800100
push 0
push 0
push 0
push eax
push 0x101976c
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
je 0x10fd001
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x35b0]
test eax, eax
je 0x10fcf13
push esi
add eax, 0x70
push eax
push ecx
call fcn.010bd4f0
push 0x7530
push 0x7530
push 0x7530
push 0x7530
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x3f
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push 0xa0000000
push 0xb
push 0x1019724
push esi
call ebx
push 0xa0000000
push 0x2d
push 0x101d098
push esi
call ebx
test edi, edi
je 0x10fcf6e
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x10fcf73
mov ecx, 0x101d12c
test edi, edi
je 0x10fcf80
mov edi, dword [edi + 0xc]
mov eax, edi
test edi, edi
jne 0x10fcf85
mov eax, 0x101d114
push 0
push ecx
push eax
push 1
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
push 0
push eax
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10fcff7
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10fcff7
push 0
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x10fcff7
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10fcff7
mov edi, dword [ebp + 0x14]
test edi, edi
jbe 0x10fcff7
lea ecx, [ebp - 0xc]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov byte [ebx + edi - 1], 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 4]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10