Function at 0x4d3666
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x14e], 0
jne 0x4d3691
cmp byte [ebx + 0x691], 0
je 0x4d3738
push 0xd
push str.Content_Type:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d36dc
push esi
call fcn.004d08ed
add esp, 4
test eax, eax
je 0x4d3b92
mov edi, eax
cmp byte [eax], 0
mov eax, dword [fcn.00712486]
je 0x4d378e
push dword [ebx + 0xd54]
call eax
add esp, 4
mov dword [ebx + 0xd54], edi
jmp 0x4d384e
mov al, byte [edi + 0x291]
cmp al, 0xa
jne 0x4d379f
cmp byte [edi + 0x1c8], 0
je 0x4d37ec
push 0xa
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push esi
call fcn.004d17dc
add esp, 0x14
test al, al
je 0x4d3799
push 0
push edi
call fcn.004bbbc5
add esp, 8
cmp byte [ebx + 0x68b], 0
je 0x4d384e
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x4d3820
push 0xf
push str.Content_Length:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3691
add esi, 0xf
lea eax, [esp + 8]
push eax
push 0xa
push 0
push esi
call fcn.004dac88
add esp, 0x10
cmp eax, 1
je 0x4d392f
test eax, eax
jne 0x4d394f
movq xmm0, qword [esp + 8]
pshufd xmm0, xmm0, 0x44
movdqu xmmword [ebx + 0x88], xmm0
jmp 0x4d384e
push edi
call eax
add esp, 4
jmp 0x4d384e
mov al, byte [edi + 0x291]
cmp al, 0xb
jne 0x4d37e8
cmp byte [edi + 0x1c8], 0
je 0x4d3828
push 5
push 0x7952da
push 0x11
push str.Proxy_Connection:
push esi
call fcn.004d17dc
add esp, 0x14
test al, al
je 0x4d37e2
push 1
push edi
call fcn.004bbbc5
add esp, 8
cmp byte [ebx + 0x68b], 0
je 0x4d384e
push str.HTTP_1.1_proxy_connection_set_close
jmp 0x4d3820
mov al, byte [edi + 0x291]
cmp al, 0xa
jne 0x4d3828
push 0xa
push str.keep_alive
push 0xb
push 0x798215
push esi
call fcn.004d17dc
add esp, 0x14
test al, al
je 0x4d3828
push 0
push edi
call fcn.004bbbc5
add esp, 8
cmp byte [ebx + 0x68b], 0
je 0x4d384e
push str.HTTP_1.0_connection_set_to_keep_alive
push ebx
call fcn.004abf96
jmp 0x4d384b
push 5
push 0x7952da
push 0xb
push 0x798215
push esi
call fcn.004d17dc
add esp, 0x14
test al, al
je 0x4d3855
push 2
push edi
call fcn.004bbbc5
add esp, 8
xor ebx, ebx
jmp 0x4d3b97
cmp byte [ebx + 0x14e], 0
je 0x4d38cb
push 0xc
push str.Retry_After:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d396a
xor eax, eax
lea ebx, [esp + 8]
mov dword [ebx + 4], eax
mov dword [ebx], eax
add esi, 0xc
push ebx
push 0xa
push eax
push esi
call fcn.004dac88
add esp, 0x10
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, edi
or eax, ebx
jne 0x4d3ba9
push esi
call fcn.004daa12
add esp, 4
mov edi, eax
and eax, edx
cmp eax, 0xffffffff
je 0x4d3ba1
mov ebx, edx
push 0
call fcn.0070fd1a
add esp, 4
sub edi, eax
sbb ebx, edx
jmp 0x4d3ba9
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3a84
add esi, 0x12
push 1
push esi
push ebx
call fcn.004be064
add esp, 0xc
mov esi, ebx
mov ebx, eax
test eax, eax
jne 0x4d3b97
cmp byte [esi + 0x14f], 0
jne 0x4d384e
cmp byte [esi + 0x685], 0
je 0x4d384e
push 1
push edi
call fcn.004bbbc5
add esp, 8
mov byte [esi + 0x150], 1
jmp 0x4d384e
mov eax, dword [ebx + 0x4c0]
or eax, dword [ebx + 0x4c4]
je 0x4d3aca
mov ecx, ebx
mov ebx, 0x3f
mov eax, str.Maximum_file_size_exceeded
jmp 0x4d395b
mov ecx, ebx
mov ebx, 8
mov eax, str.Invalid_Content_Length:_value
push eax
push ecx
call fcn.004abf08
add esp, 8
jmp 0x4d3b97
cmp byte [ebx + 0x14e], 0
je 0x4d3aec
cmp dword [ebx + 0x6a8], 0
je 0x4d3a48
cmp byte [ebx + 0xd1d], 0
je 0x4d3a48
push 0xb
push str.Set_Cookie:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3a48
mov ebx, dword [ebx + 0xcf0]
test ebx, ebx
jne 0x4d39b6
mov ebx, dword [edi + 0x50]
mov eax, dword [edi + 0x1e4]
mov byte [esp + 7], 1
test byte [eax + 0x44], 2
jne 0x4d3a00
push ebx
push 0x791b12
call fcn.004bdde8
add esp, 8
test eax, eax
jne 0x4d3a00
push str.127.0.0.1
push ebx
call fcn.007146b0
add esp, 8
test eax, eax
je 0x4d3a00
push 0x7984c6
push ebx
call fcn.007146b0
add esp, 8
test eax, eax
sete byte [esp + 7]
mov eax, 2
push eax
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.004bdd55
add esp, 0xc
add esi, 0xb
movzx eax, byte [esp + 7]
push eax
push dword [edi + 0xc5c]
push ebx
push esi
push 0
push 1
push dword [edi + 0x6a8]
push edi
call fcn.004b89e2
add esp, 0x20
mov eax, 2
push eax
push edi
call fcn.004bdd94
jmp 0x4d384b
cmp byte [ebx + 0x14e], 0
je 0x4d3bbd
push 0x11
push str.WWW_Authenticate:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3b3b
cmp dword [ebx + 0xe0], 0x191
jne 0x4d3b3b
xor ebx, ebx
jmp 0x4d3b67
cmp byte [ebx + 0x14e], 0
jne 0x4d385e
push 0x11
push str.Content_Encoding:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d385e
cmp dword [ebx + 0x4f4], 0
je 0x4d385e
add esi, 0x11
push 0
push esi
push ebx
call fcn.004be064
add esp, 0xc
jmp 0x4d3d8a
push 2
push edi
call fcn.004bbbc5
add esp, 8
cmp byte [ebx + 0x68b], 0
je 0x4d384e
push str.Overflow_Content_Length:_value
jmp 0x4d3820
push 0xe
push str.Content_Range:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3977
mov al, byte [esi + 0xe]
test al, al
je 0x4d3b28
add esi, 0xe
mov ecx, eax
add cl, 0xd0
cmp cl, 0xa
jb 0x4d3cc4
cmp al, 0x2a
je 0x4d3b28
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4d3b0e
xor eax, eax
mov dword [ebx + 0xc2c], eax
mov dword [ebx + 0xc28], eax
jmp 0x4d384e
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.004bde41
add esp, 0xc
mov ecx, dword [ebx + 0xe0]
test eax, eax
je 0x4d3c21
mov bl, 1
cmp ecx, 0x197
jne 0x4d3c21
push esi
call fcn.004d08ed
add esp, 4
test eax, eax
je 0x4d3b92
mov edi, eax
movzx eax, bl
push edi
push eax
push dword [ebp + 8]
call fcn.004d1210
add esp, 0xc
push edi
call dword [0x7ec0e0]
jmp 0x4d3791
mov ebx, 0x1b
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 0xd60], edi
mov dword [eax + 0xd64], ebx
jmp 0x4d384e
push 0xe
push str.Last_Modified:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3a55
cmp byte [ebx + 0x3c0], 0
jne 0x4d3beb
cmp byte [ebx + 0x67d], 0
je 0x4d3a55
add esi, 0xe
push esi
call fcn.004daa12
add esp, 4
mov dword [ebx + 0x10c], edx
mov dword [ebx + 0x108], eax
cmp byte [ebx + 0x67d], 0
je 0x4d384e
mov dword [ebx + 0xd38], eax
mov dword [ebx + 0xd3c], edx
jmp 0x4d384e
add ecx, 0xfffffed4
cmp ecx, 0x63
mov ebx, dword [ebp + 8]
ja 0x4d3c50
push 9
push str.Location:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3c50
cmp dword [ebx + 0x114], 0
je 0x4d3d99
cmp dword [ebx + 0x6ac], 0
je 0x4d3c7d
push 0x1a
push str.Strict_Transport_Security:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3c7d
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 1
jne 0x4d3d0c
cmp dword [ebx + 0x6b0], 0
je 0x4d3caa
push 8
push str.Alt_Svc:
push esi
call fcn.004bde41
add esp, 0xc
test eax, eax
je 0x4d3caa
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 1
jne 0x4d3d40
mov eax, dword [edi + 0x1e4]
mov ebx, 4
test byte [eax + 0x46], 4
je 0x4d384e
jmp 0x4d3b97
lea eax, [ebx + 0xd8]
push eax
push 0xa
push 0
push esi
call fcn.004dac88
add esp, 0x10
test eax, eax
jne 0x4d384e
mov eax, dword [ebx + 0xc2c]
xor eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xc28]
xor ecx, dword [ebx + 0xd8]
or ecx, eax
jne 0x4d384e
mov byte [ebx + 0x14b], 1
jmp 0x4d384e
add esi, 0x1a
push esi
push dword [edi + 0x50]
push dword [ebx + 0x6ac]
call fcn.004b7e09
add esp, 0xc
test eax, eax
je 0x4d384e
cmp byte [ebx + 0x68b], 0
je 0x4d384e
push str.Illegal_STS_header_skipped
jmp 0x4d3820
mov al, byte [edi + 0x291]
xor ecx, ecx
cmp al, 0x14
sete cl
cmp al, 0x1e
lea eax, [ecx*8 + 8]
mov ebx, 0x20
cmovne ebx, eax
push dword [edi + 0x27c]
call fcn.004b6c86
add esp, 4
add esi, 8
movzx eax, ax
push eax
push dword [edi + 0x50]
push ebx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x6b0]
push eax
call fcn.004b74b9
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x4d3b97
jmp 0x4d384e
push esi
call fcn.004d08ed
add esp, 4
mov ebx, 0x1b
test eax, eax
je 0x4d3b97
cmp byte [eax], 0
je 0x4d3df7
mov esi, dword [ebp + 8]
mov dword [esi + 0x114], eax
cmp byte [esi + 0x684], 0
je 0x4d384e
push eax
call dword [0x7ec0e8]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0x4d3b97
mov ecx, esi
mov edx, edi
call fcn.004d0c30
mov byte [esi + 0xd11], 1
jmp 0x4d384e
push eax
jmp 0x4d3b87