Function at 0x573cd0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi + 0x140], 0
jne 0x573de7
cmp byte [edi + 0x6e7], 0
jne 0x573de7
push 0xf
push esi
push str.Content_Length:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x573de7
lea eax, [esp + 0x10]
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.00579180
add esp, 0x10
test eax, eax
jne 0x573d7b
mov esi, dword [edi + 0x4e0]
mov eax, esi
mov edx, dword [edi + 0x4e4]
or eax, edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
je 0x573d4e
cmp ecx, edx
jg 0x573d8e
jl 0x573d4e
cmp eax, esi
ja 0x573d8e
push ecx
push eax
push edi
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], ecx
call fcn.005765e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x573dcc
mov eax, dword [edi + 0x4e0]
or eax, dword [edi + 0x4e4]
je 0x573da9
push str.Maximum_file_size_exceeded
push edi
call fcn.00567870
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x24]
call fcn.00568290
push str.Overflow_Content_Length:_value__n
push edi
call fcn.00567930
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.00567870
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xd
push esi
push str.Content_Type:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x573e52
push esi
call fcn.00572db0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x574393
cmp byte [ebx], 0
mov esi, dword [fcn.0059a280]
mov ecx, esi
jne 0x573e31
push ebx
call dword [0x6926b4]
call esi
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push dword [edi + 0xd0c]
call dword [0x6926b4]
call esi
add esp, 4
mov dword [edi + 0xd0c], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x20]
cmp byte [ebp + 0x114], 0xa
jne 0x573e9f
cmp byte [ebp + 0x240], 0
je 0x573e9f
push str.keep_alive
push str.Proxy_Connection:
push esi
call fcn.00572cf0
add esp, 0xc
test al, al
je 0x573e9f
push 0
push ebp
call fcn.00568290
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.00567930
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x114], 0xb
jne 0x573ee8
cmp byte [ebp + 0x240], 0
je 0x573ee8
push str.close
push str.Proxy_Connection:
push esi
call fcn.00572cf0
add esp, 0xc
test al, al
je 0x573ee8
push 1
push ebp
call fcn.00568290
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.00567930
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x114], 0xa
jne 0x573f28
push str.keep_alive
push str.Connection:
push esi
call fcn.00572cf0
add esp, 0xc
test al, al
je 0x573f28
push 0
push ebp
call fcn.00568290
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.00567930
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push str.close
push str.Connection:
push esi
call fcn.00572cf0
add esp, 0xc
test al, al
je 0x573f54
push 2
push ebp
call fcn.00568290
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [edi + 0x140], 0
jne 0x573fbd
push 0x12
push esi
push str.Transfer_Encoding:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x573f90
push 1
lea eax, [esi + 0x12]
push eax
push edi
call fcn.0056cb40
add esp, 0xc
test eax, eax
je 0x573e27
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [edi + 0x140], 0
jne 0x573fbd
push 0x11
push esi
push str.Content_Encoding:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x573fbd
cmp dword [edi + 0x52c], 0
je 0x573fbd
push 0
lea eax, [esi + 0x11]
jmp 0x573f76
push 0xc
push esi
push str.Retry_After:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x574047
xorps xmm0, xmm0
lea ebp, [esi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.005795d0
mov ebx, eax
add esp, 4
mov esi, edx
cmp ebx, 0xffffffff
jne 0x574023
cmp esi, eax
jne 0x574023
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.00579180
mov esi, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [edi + 0xd18], ebx
mov dword [edi + 0xd1c], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0
call fcn.005a1c46
add esp, 4
sub ebx, eax
mov dword [edi + 0xd18], ebx
sbb esi, edx
xor eax, eax
mov dword [edi + 0xd1c], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [edi + 0x140], 0
jne 0x57410b
push 0xe
push esi
push str.Content_Range:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x57410b
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x574093
movzx eax, al
push eax
call fcn.00582330
add esp, 4
test eax, eax
jne 0x574093
cmp byte [esi], 0x2a
je 0x574093
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x574076
movzx eax, byte [esi]
push eax
call fcn.00582330
add esp, 4
test eax, eax
je 0x5740ed
lea ebx, [edi + 0xe8]
push ebx
push 0xa
push 0
push esi
call fcn.00579180
add esp, 0x10
test eax, eax
jne 0x573e27
mov eax, dword [edi + 0xc00]
cmp eax, dword [ebx]
jne 0x573e27
mov eax, dword [edi + 0xc04]
cmp eax, dword [ebx + 4]
jne 0x573e27
mov byte [edi + 0x13d], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [edi + 0xc00], 0
xor eax, eax
mov dword [edi + 0xc04], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [edi + 0x708], 0
je 0x57418c
cmp byte [edi + 0xccb], 0
je 0x57418c
push 0xb
push esi
push str.Set_Cookie:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x57418c
push 2
push 2
push edi
call fcn.0056cdc0
mov ecx, dword [edi + 0xca0]
add esp, 0xc
test ecx, ecx
jne 0x57414b
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x288]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [edi + 0xc50]
lea eax, [esi + 0xb]
push ecx
push eax
push 0
push 1
push dword [edi + 0x708]
push edi
call fcn.0055a840
push 2
push edi
call fcn.0056ce10
add esp, 0x28
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [edi + 0x140], 0
jne 0x5741f8
push 0xe
push esi
push str.Last_Modified:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x5741f8
cmp dword [edi + 0x3d4], 0
jne 0x5741bb
cmp byte [edi + 0x6d1], 0
je 0x5741f8
lea eax, [esi + 0xe]
push eax
call fcn.005795d0
add esp, 4
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], edx
cmp byte [edi + 0x6d1], 0
je 0x573e27
mov dword [edi + 0xce8], eax
mov eax, edx
mov dword [edi + 0xcec], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x11
push esi
push str.WWW_Authenticate:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x57421a
mov ebx, dword [edi + 0xf0]
cmp ebx, 0x191
je 0x57423c
push 0x13
push esi
push str.Proxy_authenticate:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x57428e
mov ebx, dword [edi + 0xf0]
cmp ebx, 0x197
jne 0x57428e
push esi
call fcn.00572db0
mov esi, eax
add esp, 4
test esi, esi
je 0x574393
cmp ebx, 0x197
push esi
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.00574680
add esp, 0xc
mov edi, eax
push esi
mov esi, dword [fcn.0059a280]
mov ecx, esi
call dword [0x6926b4]
call esi
add esp, 4
test edi, edi
je 0x573e27
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xf
push esi
push str.Persistent_Auth
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x574302
cmp dword [edi + 0x964], 4
jne 0x573e27
push esi
call fcn.00572db0
mov esi, eax
add esp, 4
test esi, esi
je 0x574393
push 5
push esi
push 0x703828
call fcn.0056c7b0
test eax, eax
mov byte [ebp + 0x3c9], 1
push esi
setne al
mov byte [ebp + 0x3c8], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edi
call fcn.00567930
add esp, 0x1c
push esi
mov esi, dword [fcn.0059a280]
mov ecx, esi
jmp 0x573e1c
mov eax, dword [edi + 0xf0]
sub eax, 0x12c
cmp eax, 0x63
ja 0x5743a0
push 9
push esi
push str.Location:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x5743a0
cmp dword [edi + 0x124], 0
jne 0x5743a0
push esi
call fcn.00572db0
add esp, 4
test eax, eax
je 0x574393
cmp byte [eax], 0
jne 0x574353
mov esi, dword [fcn.0059a280]
mov ecx, esi
push eax
jmp 0x573e1c
cmp byte [edi + 0x6d9], 0
mov dword [edi + 0x124], eax
je 0x573e27
mov esi, dword [fcn.005aee20]
mov ecx, esi
push eax
call dword [0x6926b4]
call esi
add esp, 4
mov dword [edi + 0x128], eax
test eax, eax
je 0x574393
push ebp
push edi
call fcn.005758a0
add esp, 8
jmp 0x573f80
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp dword [edi + 0x70c], 0
je 0x574407
push 8
push esi
push str.Alt_Svc:
call fcn.0056c7b0
add esp, 0xc
test eax, eax
je 0x574407
mov eax, dword [ebp + 0x288]
test byte [eax + 0x48], 1
je 0x574407
push dword [ebp + 0xc8]
xor ebx, ebx
cmp byte [ebp + 0x114], 0x14
sete bl
lea ebx, [ebx*8 + 8]
call fcn.00569cb0
movzx eax, ax
push eax
push dword [ebp + 0x64]
lea eax, [esi + 8]
push ebx
push eax
push dword [edi + 0x70c]
push edi
call fcn.0056a3c0
add esp, 0x1c
jmp 0x573f80
mov eax, dword [ebp + 0x288]
test dword [eax + 0x40], 0x40000
je 0x573e27
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 8
ret