Function at 0x42d7a0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19d5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406fb0
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x42d7f5
mov ecx, dword [ecx]
sub esp, 0xc
mov edx, 0x800100
cmp dword [esi + 0x4d4], 2
mov eax, 0x100
cmove eax, edx
push eax
push 0
push str.HEAD
push ecx
push ebx
mov ecx, edi
call fcn.0042caa0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42d860
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d9c3
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test ebx, ebx
jne 0x42d892
push str.CJHHttp::GetSize
push str._s:OpenRequest___failed
push edi
call fcn.0042ca70
add esp, 0xc
xor eax, eax
jmp 0x42d9a5
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push ebx
mov ecx, edi
call fcn.0042cd90
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp edx, 0x10
jb 0x42d8f8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d8eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d9c8
push edx
push ecx
call fcn.0043d19d
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x42d989
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push 0
push 0x20000005
push ebx
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x42d957
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.CJHHttp::ReadContentSize
push str._s:WinHttpQueryHeaders___failed:_d
push edi
call fcn.0042ca70
add esp, 0x10
call esi
push str.CJHHttp::GetSize
xor esi, esi
push str._s:ReadContentSize___failed
jmp 0x42d993
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str.CJHHttp::ReadContentSize
push str._s:WinHttpQueryHeaders_ContentSize_I64u__succeed
push edi
call fcn.0042ca70
mov edx, dword [ebp - 0x28]
add esp, 0x14
test edx, edx
je 0x42d982
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov esi, 1
jmp 0x42d99c
push str.CJHHttp::GetSize
push str._s:SendRequest___failed
push edi
call fcn.0042ca70
add esp, 0xc
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret 0xc
call fcn.00446380
call fcn.00446380
int3