Function at 0x4d2ae0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6d6ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea eax, [esi + 0x14]
lea edi, [esi + 0x10]
mov dword [ebp - 0x20], eax
movups xmmword [esi], xmm0
mov dword [eax], 0
mov dword [eax], 7
xor eax, eax
mov dword [edi], 0
mov dword [edi], 0
mov word [esi], ax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x14
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x4d2b97
lea ecx, [esi + 0x14]
mov dword [edi], eax
cmp dword [ecx], 7
mov dword [ebp - 0x18], esi
jbe 0x4d2b81
mov ecx, dword [esi]
lea edx, [esi + 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [esi + 0x14]
jmp 0x4d2b83
mov edx, edi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
jmp 0x4d2bab
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0044ca40
lea ecx, [esi + 0x14]
mov edx, edi
mov dword [ebp - 0x14], ecx
cmp dword [ecx], 7
mov eax, esi
jbe 0x4d2bb6
mov eax, dword [esi]
mov edi, edx
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0x14
push dword [ebp + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [edi]
test edx, edx
je 0x4d2cdf
mov eax, dword [ebp - 0x14]
cmp dword [eax], 7
jbe 0x4d2be5
mov ecx, dword [esi]
lea edi, [esi + 0x10]
mov eax, ecx
jmp 0x4d2be9
mov eax, esi
mov ecx, esi
cmp word [ecx], 0
lea eax, [eax + edx*2]
jne 0x4d2c6c
add ecx, 2
cmp ecx, eax
je 0x4d2c10
nop dword [eax]
cmp word [ecx], 0
jne 0x4d2c40
add ecx, 2
cmp ecx, eax
jne 0x4d2c00
lea edi, [esi + 0x10]
mov dword [edi], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4d2c20
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub eax, 2
cmp word [eax], 0
je 0x4d2c40
sub eax, ecx
add eax, 2
sar eax, 1
push eax
push ecx
mov ecx, esi
call fcn.00446de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub eax, 2
cmp word [eax], 0
jne 0x4d2cdf
mov ecx, eax
sub eax, 2
cmp word [eax], 0
je 0x4d2c75
mov eax, dword [esi + 0x10]
mov edi, ecx
mov dword [ebp + 8], eax
lea edx, [eax + eax]
sub edx, ecx
cmp dword [esi + 0x14], 7
jbe 0x4d2ca6
sub edi, dword [esi]
add edx, dword [esi]
sar edi, 1
sub eax, edi
sar edx, 1
cmp eax, edx
cmovb edx, eax
mov eax, dword [esi]
jmp 0x4d2cb7
sub edi, esi
add edx, esi
sar edi, 1
sub eax, edi
sar edx, 1
cmp eax, edx
cmovb edx, eax
mov eax, esi
lea ecx, [eax + edi*2]
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [ebp + 8], eax
sub eax, edi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.006217b0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret