Function at 0x4551d0
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 + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x18]
movzx eax, byte [esi]
add eax, 0xffffffbf
cmp eax, 0x36
ja case.0x4551f7.66
mov ebx, dword [ebp + 0x10]
jmp dword [eax*4 + 0xa02628]
cmp dword [edx + 0x6f8], 0
je case.0x4551f7.66
cmp ebx, 8
jb case.0x4551f7.66
mov eax, dword [edi + 0x2a8]
mov eax, dword [eax + 0x50]
and eax, 1
je case.0x4551f7.66
push 8
push esi
push str.Alt_Svc:
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
add esi, 8
movzx eax, byte [edi + 0x3e4]
xor ecx, ecx
cmp al, 0x14
sete cl
cmp al, 0x1e
lea eax, [ecx*8 + 8]
mov ebx, 0x20
cmovne ebx, eax
mov eax, dword [edx + 0x6f8]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x10], eax
push dword [edi + 0x3d0]
mov edi, edx
call fcn.004262a0
add esp, 4
movzx eax, ax
push eax
push dword [esp + 0x14]
push ebx
push esi
push dword [esp + 0x14]
push edi
call fcn.004346b0
add esp, 0x18
jmp 0x455ca1
cmp dword [edx + 0x6f0], 0
je 0x4555e7
cmp ebx, 0xb
jb 0x4555e7
mov eax, 0x800
and eax, dword [edx + 0xd60]
je 0x4555e7
push 0xb
push esi
push str.Set_Cookie:
call fcn.0041b730
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4555e7
mov ebx, dword [edx + 0xd3c]
test ebx, ebx
jne 0x4552f0
mov ebx, dword [edi + 0x38]
add esi, 0xb
mov eax, dword [edi + 0x2a8]
mov byte [esp + 4], 1
test dword [eax + 0x48], 0x80000002
jne 0x455bab
push ebx
push 0xa02add
call fcn.0041b6c0
add esp, 8
test eax, eax
je 0x455b7e
mov edx, dword [ebp + 8]
jmp 0x455bab
mov eax, dword [edx + 0x13c]
test eax, 0x800
jne 0x4558a1
cmp ebx, 0xf
jb 0x4558a1
mov ecx, dword [edx + 0x6ec]
and ecx, 4
jne 0x4558a1
push 0xf
push esi
push 0xa02896
call fcn.0041b730
add esp, 0xc
test eax, eax
je 0x455898
add esi, 0xf
lea eax, [esp + 8]
push eax
push 0xa
push 0
push esi
call fcn.0041bf10
add esp, 0x10
cmp eax, 1
je 0x455b1d
test eax, eax
mov eax, dword [ebp + 8]
jne 0x455b4a
movq xmm0, qword [esp + 8]
pshufd xmm0, xmm0, 0x44
movdqu xmmword [eax + 0x98], xmm0
jmp 0x455c9f
cmp ebx, 0x11
jb case.0x4551f7.66
push 0x11
push esi
push 0xa02e2d
call fcn.0041b730
add esp, 0xc
test eax, eax
je 0x455707
movzx ecx, byte [edi + 0x3e4]
cmp cl, 0xa
jne 0x4553ec
test byte [edi + 0x2a0], 1
jne 0x455a92
movzx ecx, byte [edi + 0x3e4]
xor eax, eax
cmp cl, 0xb
jne 0x455ca1
test byte [edi + 0x2a0], 1
je 0x455ca1
push 0x11
push esi
push 0xa02e2d
call fcn.0041b730
add esp, 0xc
cmp ebx, 0x17
jb 0x455c9f
test eax, eax
je 0x455c9f
push 5
push 0xa02dce
push 0x11
push 0xa02e2d
push esi
call fcn.00453880
add esp, 0x14
test al, al
je 0x455c9f
push 1
push edi
call fcn.0043da30
add esp, 8
mov ecx, dword [ebp + 8]
test byte [ecx + 0x6eb], 0x20
je 0x455c9f
mov eax, dword [ecx + 0xd20]
test eax, eax
je 0x455473
cmp dword [eax + 4], 0
jle 0x455c9f
push str.HTTP_1.1_proxy_connection_set_close
push ecx
call fcn.004439c0
add esp, 8
jmp 0x455c9f
test byte [edx + 0x13d], 8
jne 0x45549c
cmp byte [edx + 0xd5e], 5
jne 0x455680
cmp ebx, 8
jb case.0x4551f7.66
push 8
push esi
push str.Trailer:
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
or byte [edx + 0x13d], 0x20
jmp 0x455c9f
test byte [edx + 0x13d], 8
jne 0x4557d3
cmp byte [edx + 0x3b0], 0
je 0x45576e
cmp ebx, 0xe
jae 0x455780
jmp 0x4557d3
cmp ebx, 0xc
jb case.0x4551f7.66
push 0xc
push esi
push str.Retry_After:
call fcn.0041b730
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je case.0x4551f7.66
add esi, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0xa
push 0
push esi
call fcn.0041bf10
add esp, 0x10
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, edi
or eax, ebx
jne 0x455b6a
push esi
call fcn.00413210
add esp, 4
mov edi, eax
and eax, edx
cmp eax, 0xffffffff
je 0x455b62
mov ebx, edx
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add esp, 4
sub edi, eax
sbb ebx, edx
jmp 0x455b6a
cmp ebx, 0x11
jb case.0x4551f7.66
cmp dword [edx + 0xe4], 0x191
jne case.0x4551f7.66
push 0x11
push esi
push 0xa02efb
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
push esi
call fcn.00452ab0
add esp, 4
test eax, eax
je 0x455985
push eax
push 0
push ebx
mov esi, eax
call fcn.004535b0
add esp, 0xc
push str.http.c
push 0xc5e
push esi
call fcn.00405f90
add esp, 0xc
jmp 0x455c9f
cmp dword [edx + 0x6f4], 0
je case.0x4551f7.66
cmp ebx, 0x1a
jb case.0x4551f7.66
mov eax, dword [edi + 0x2a8]
mov eax, dword [eax + 0x50]
and eax, 1
je case.0x4551f7.66
push 0x1a
push esi
push str.Strict_Transport_Security:
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
lea eax, [esi + 0x1a]
push eax
push dword [edi + 0x38]
push dword [edx + 0x6f4]
call fcn.00404950
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
test byte [edx + 0x6eb], 0x20
je case.0x4551f7.66
mov eax, dword [edx + 0xd20]
test eax, eax
je 0x45566b
cmp dword [eax + 4], 0
jle case.0x4551f7.66
push str.Illegal_STS_header_skipped
push edx
call fcn.004439c0
mov edx, ebx
add esp, 8
jmp case.0x4551f7.66
cmp ebx, 0x12
jb 0x45549c
cmp dword [edx + 0xe4], 0x130
je 0x45549c
push 0x12
push esi
push 0xa028b2
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je 0x4554a5
add esi, 0x12
push 1
push esi
push edx
mov esi, edx
call fcn.0043fb60
add esp, 0xc
test eax, eax
jne 0x455ca1
xor eax, eax
test byte [esi + 0x13d], 0x10
jne 0x455ca1
mov ecx, esi
test byte [esi + 0x6ea], 0x80
je 0x455ca1
push 1
push edi
mov esi, ecx
call fcn.0043da30
xor eax, eax
add esp, 8
or byte [esi + 0x13d], 0x40
jmp 0x455ca1
cmp ebx, 0x13
mov edx, dword [ebp + 8]
jb case.0x4551f7.66
cmp dword [edx + 0xe4], 0x197
jne case.0x4551f7.66
push 0x13
push esi
push 0xa02e8f
call fcn.0041b730
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je case.0x4551f7.66
push esi
call fcn.00452ab0
add esp, 4
test eax, eax
je 0x455985
push eax
push 1
push dword [ebp + 8]
mov esi, eax
call fcn.004535b0
add esp, 0xc
push str.http.c
push 0xbda
jmp 0x4555d9
cmp ebx, 0xe
jb 0x4557d3
mov eax, 0x100
and eax, dword [edx + 0x6e8]
je 0x4557d3
push 0xe
push esi
push str.Last_Modified:
call fcn.0041b730
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4557d3
add esi, 0xe
push esi
mov esi, edx
call fcn.00413210
add esp, 4
mov ecx, eax
mov dword [esi + 0x124], edx
mov dword [esi + 0x120], eax
xor eax, eax
test byte [esi + 0x6e9], 1
je 0x455ca1
mov dword [esi + 0xd80], ecx
mov dword [esi + 0xd84], edx
jmp 0x455ca1
mov eax, dword [edx + 0xe4]
cmp eax, 0x12c
jl case.0x4551f7.66
cmp eax, 0x190
setae al
cmp ebx, 9
setb cl
or cl, al
jne case.0x4551f7.66
push 9
push esi
push str.Location:
mov ebx, edx
call fcn.0041b730
mov edx, ebx
add esp, 0xc
test eax, eax
je case.0x4551f7.66
cmp dword [edx + 0x128], 0
jne case.0x4551f7.66
push esi
call fcn.00452ab0
add esp, 4
mov ecx, eax
mov eax, 0x1b
test ecx, ecx
je 0x455ca1
cmp byte [ecx], 0
je 0x455c70
mov edx, ebx
mov dword [ebx + 0x128], ecx
test byte [ebx + 0x6ea], 0x40
je case.0x4551f7.66
push str.http.c
push 0xba9
push ecx
call fcn.00405de0
add esp, 0xc
mov edx, eax
mov eax, 0x1b
mov dword [ebx + 0x12c], edx
test edx, edx
je 0x455ca1
mov ecx, ebx
mov edx, edi
call fcn.00452f30
mov edx, ebx
or byte [ebx + 0xd60], 2
jmp case.0x4551f7.66
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
test eax, 0x800
jne 0x4558e1
cmp ebx, 0x11
jb 0x4558e1
cmp dword [edx + 0x57c], 0
je 0x4558e1
push 0x11
push esi
push str.Content_Encoding:
call fcn.0041b730
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4558e6
add esi, 0x11
push 0
push esi
push ecx
call fcn.0043fb60
add esp, 0xc
jmp 0x455ca1
cmp ebx, 0xd
jb 0x455938
push 0xd
push esi
push str.Content_Type:
call fcn.0041b730
add esp, 0xc
test eax, eax
je 0x455941
push esi
call fcn.00452ab0
add esp, 4
test eax, eax
je 0x455985
mov edi, eax
cmp byte [eax], 0
je 0x455b0d
push str.http.c
push 0xb55
mov esi, dword [ebp + 8]
push dword [esi + 0xd9c]
call fcn.00405f90
add esp, 0xc
mov dword [esi + 0xd9c], edi
jmp 0x455c9f
cmp ebx, 0xb
jb case.0x4551f7.66
push 0xb
push esi
push 0xa028a6
call fcn.0041b730
add esp, 0xc
cmp ebx, 0x11
jb 0x45598f
test eax, eax
je 0x45598f
push 5
push 0xa02dce
push 0xb
push 0xa028a6
push esi
call fcn.00453880
add esp, 0x14
test al, al
je 0x45598f
push 2
push edi
call fcn.0043da30
add esp, 8
jmp 0x455c9f
mov eax, 0x1b
jmp 0x455ca1
cmp byte [edi + 0x3e4], 0xa
jne 0x455a07
push 0xb
push esi
push 0xa028a6
call fcn.0041b730
add esp, 0xc
cmp ebx, 0x16
jb 0x455a07
test eax, eax
je 0x455a07
push 0xa
push 0xa02dd4
push 0xb
push 0xa028a6
push esi
call fcn.00453880
add esp, 0x14
test al, al
je 0x455a07
push 0
push edi
call fcn.0043da30
add esp, 8
xor eax, eax
mov edx, dword [ebp + 8]
test byte [edx + 0x6eb], 0x20
je 0x455ca1
mov ecx, dword [edx + 0xd20]
test ecx, ecx
je 0x4559fd
cmp dword [ecx + 4], 0
jle 0x455ca1
push str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x455c21
cmp ebx, 0xe
mov edx, dword [ebp + 8]
jb case.0x4551f7.66
mov eax, 0x800
and eax, dword [edx + 0x13c]
jne case.0x4551f7.66
push 0xe
push esi
push str.Content_Range:
call fcn.0041b730
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je case.0x4551f7.66
movzx ecx, byte [esi + 0xe]
test cl, cl
je 0x455a66
lea eax, [esi + 0xe]
mov edx, ecx
add dl, 0xd0
cmp dl, 0xa
jb 0x455c2e
cmp cl, 0x2a
je 0x455a66
movzx ecx, byte [eax + 1]
inc eax
test cl, cl
jne 0x455a4a
mov edx, dword [ebp + 8]
cmp dword [edx + 0xe4], 0x12b
jg case.0x4551f7.66
mov dword [edx + 0xc34], 0
mov dword [edx + 0xc30], 0
jmp case.0x4551f7.66
push 0x11
push esi
push 0xa02e2d
call fcn.0041b730
add esp, 0xc
cmp ebx, 0x1c
jb 0x4553e5
test eax, eax
je 0x4553e5
push 0xa
push 0xa02dd4
push 0x11
push 0xa02e2d
push esi
call fcn.00453880
add esp, 0x14
test al, al
je 0x4553e5
push 0
push edi
call fcn.0043da30
add esp, 8
xor eax, eax
mov edx, dword [ebp + 8]
test byte [edx + 0x6eb], 0x20
je 0x455ca1
mov ecx, dword [edx + 0xd20]
test ecx, ecx
je 0x455b03
cmp dword [ecx + 4], 0
jle 0x455ca1
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x455c21
push str.http.c
push 0xb53
push edi
jmp 0x4555da
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x4b8]
or eax, dword [ecx + 0x4bc]
je 0x455beb
push 0xa02d64
push ecx
call fcn.00443930
add esp, 8
mov eax, 0x3f
jmp 0x455ca1
push str.Invalid_Content_Length:_value
push eax
call fcn.00443930
add esp, 8
mov eax, 8
jmp 0x455ca1
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 0xda8], edi
mov dword [eax + 0xdac], ebx
jmp 0x455c9f
push 0xa02ae7
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
mov edx, dword [ebp + 8]
je 0x455bab
push 0xa02af1
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, dword [ebp + 8]
add esp, 8
test eax, eax
sete byte [esp + 4]
push 2
push 2
push edx
mov edi, edx
call fcn.0041af90
add esp, 0xc
movzx eax, byte [esp + 4]
push eax
push dword [edi + 0xca4]
push ebx
push esi
push 0
push 1
push dword [edi + 0x6f0]
push edi
call fcn.004405d0
add esp, 0x20
push 2
push edi
call fcn.0041afd0
add esp, 8
jmp 0x455c9f
push 2
push edi
call fcn.0043da30
mov edx, dword [ebp + 8]
add esp, 8
xor eax, eax
test byte [edx + 0x6eb], 0x20
je 0x455ca1
mov ecx, dword [edx + 0xd20]
test ecx, ecx
je 0x455c1c
cmp dword [ecx + 4], 0
jle 0x455ca1
push str.Overflow_Content_Length:_value
push edx
call fcn.004439c0
xor eax, eax
add esp, 8
jmp 0x455ca1
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0xd8]
push ecx
push 0xa
push 0
push eax
call fcn.0041bf10
mov edx, ebx
add esp, 0x10
test eax, eax
jne case.0x4551f7.66
mov eax, dword [edx + 0xc34]
xor eax, dword [edx + 0xdc]
mov ecx, dword [edx + 0xc30]
xor ecx, dword [edx + 0xd8]
or ecx, eax
jne case.0x4551f7.66
or byte [edx + 0x13c], 4
jmp case.0x4551f7.66
push str.http.c
push 0xba3
push ecx
call fcn.00405f90
add esp, 0xc
mov edx, ebx
mov eax, dword [edi + 0x2a8]
test byte [eax + 0x4a], 4
je 0x455c9f
push esi
push edx
call fcn.00468320
add esp, 8
test eax, eax
jne 0x455ca1
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret