Function at 0x4c4eb0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x843c60
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x64], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0
call fcn.00444050
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x16
push dword [ebx + 4]
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c525a
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00800701
mov esi, eax
add esp, 4
test esi, esi
je 0x4c4f67
push ebx
push 0
push esi
call fcn.00802480
add esp, 0xc
jmp 0x4c4f69
xor esi, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x60], 3
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x64]
push esi
push 0
push 0x16
push dword [eax + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4c524d
mov ebx, dword [ebp - 0x5c]
mov ecx, esi
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c4fc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00437690
mov dword [ebp - 0x118], 0x8a61f0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x60], 7
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xbc], 0x48
movlpd qword [ebp - 0x110], xmm0
call fcn.0045c730
mov eax, dword [ebp - 0x118]
or ebx, 1
push ebx
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x11c], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
call fcn.004c14f0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4c50c8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c50be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c527a
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004c46a0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4c51f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004c46a0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4c51f8
nop dword [eax]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c5820
add esp, 8
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 9
je 0x4c515d
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004c4090
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x4c519b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c527a
push edx
push ecx
call fcn.007fff65
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4c51d5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c51cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c527a
push edx
push ecx
call fcn.007fff65
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004c46a0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4c5130
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c522e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5224
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c527a
push edx
push ecx
call fcn.007fff65
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004c18b0
test esi, esi
je 0x4c525a
push esi
call fcn.008006fc
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.008001d2
mov esp, ebp
pop ebp
ret 4
call fcn.00805899
int3