Function at 0x101062b0
Capabilities:
Read http header

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 0x10154f6d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x44], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov edi, dword [ebx + 0x14]
lea ecx, [ebp - 0x38]
push 0
push ecx
push 0
push 0
push 0x36
push dword [eax]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x38], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1010633b
mov ecx, dword [ebp - 0x38]
mov eax, 0x1019ab88
mov dword [edi], 0
mov dword [edi + 4], 0x1019ab88
jmp 0x10106354
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10106324
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], 0x1019abc0
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x101064cc
cmp dword [edi], 0
jne 0x101064cc
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
shr ecx, 1
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
jne 0x1010639f
mov dword [ebp - 0x24], ecx
mov word [ebp + ecx*2 - 0x34], ax
jmp 0x101063aa
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.10001d80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
mov eax, dword [ebp - 0x44]
push 0
push 0x36
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x10106418
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov ecx, esi
xor eax, eax
mov dword [edi + 4], 0x1019abc0
push eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x10168c44
mov word [esi], ax
call fcn.10002060
lea ecx, [ebp - 0x34]
call fcn.10002400
jmp 0x101064f2
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
shr ecx, 1
mov dword [edi], 0
mov dword [edi + 4], 0x1019ab88
cmp ecx, eax
ja 0x10106447
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
cmovae eax, dword [ebp - 0x34]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10106454
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.10001d80
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi], 0
lea ecx, [ebp - 0x34]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x34], ax
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
call fcn.10002400
jmp 0x101064f2
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x10168c44
mov word [esi], ax
call fcn.10002060
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret