Function at 0x4c4ff0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x843e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0xa5e224]
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.00444140
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 0x4c539a
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.008008c1
mov esi, eax
add esp, 4
test esi, esi
je 0x4c50a7
push ebx
push 0
push esi
call fcn.00802640
add esp, 0xc
jmp 0x4c50a9
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 0x4c538d
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 0x4c5100
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00437780
mov dword [ebp - 0x118], 0x8a7270
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.0045c840
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.004c1620
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4c5208
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c51fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c53ba
push edx
push ecx
call fcn.00800125
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.004c47e0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4c5338
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004c47e0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4c5338
nop dword [eax]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c5960
add esp, 8
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 9
je 0x4c529d
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004c41d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x4c52db
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c52d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c53ba
push edx
push ecx
call fcn.00800125
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4c5315
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c530b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c53ba
push edx
push ecx
call fcn.00800125
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004c47e0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4c5270
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c536e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c53ba
push edx
push ecx
call fcn.00800125
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.004c19e0
test esi, esi
je 0x4c539a
push esi
call fcn.008008bc
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.00800392
mov esp, ebp
pop ebp
ret 4
call fcn.00805a59
int3