Function at 0xa598a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x154], 0
mov edi, dword [ebp + 0x10]
jne 0xa59988
cmp dword [esi + 0x7a4], 0
jne 0xa59988
push 0xf
push str.Content_Length:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59988
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00a61670
add esp, 0x10
test eax, eax
jne 0xa59920
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0xa5996e
mov eax, dword [esi + 0x530]
or eax, dword [esi + 0x534]
je 0xa5994d
push str.Maximum_file_size_exceeded
push esi
call fcn.00a4f830
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push dword [ebp + 0xc]
call fcn.00a50500
push str.Overflow_Content_Length:_value
push esi
call fcn.00a4f8f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.00a4f830
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd
push str.Content_Type:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa599ed
push edi
call fcn.00a587a0
mov edi, eax
add esp, 4
test edi, edi
jne 0xa599b7
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
jne 0xa599cf
push edi
call dword [0xada7ac]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xf04]
call dword [0xada7ac]
add esp, 4
mov dword [esi + 0xf04], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 0x4f5], 0xa
jne 0xa59a3c
cmp dword [ebx + 0x1d8], 0
je 0xa59a3c
push 0xa
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push edi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa59a3c
push 0
push ebx
call fcn.00a50500
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
push esi
call fcn.00a4f8f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x4f5], 0xb
jne 0xa59a88
cmp dword [ebx + 0x1d8], 0
je 0xa59a88
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push edi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa59a88
push 1
push ebx
call fcn.00a50500
push str.HTTP_1.1_proxy_connection_set_close
push esi
call fcn.00a4f8f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x4f5], 0xa
jne 0xa59acb
push 0xa
push str.keep_alive
push 0xb
push str.Connection:
push edi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa59acb
push 0
push ebx
call fcn.00a50500
push str.HTTP_1.0_connection_set_to_keep_alive
push esi
call fcn.00a4f8f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0xb
push str.Connection:
push edi
call fcn.00a586f0
add esp, 0x14
test eax, eax
je 0xa59afa
push 2
push ebx
call fcn.00a50500
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa59bac
push 0x12
push str.Transfer_Encoding:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59b68
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00a536e0
add esp, 0xc
test eax, eax
jne 0xa5a128
cmp dword [esi + 0x158], eax
jne 0xa5a126
cmp dword [esi + 0x774], eax
je 0xa5a126
push 1
push ebx
call fcn.00a50500
add esp, 8
mov dword [esi + 0x15c], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa59bac
push 0x11
push str.Content_Encoding:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59bac
cmp dword [esi + 0x578], 0
je 0xa59bac
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00a536e0
add esp, 0xc
test eax, eax
je 0xa5a126
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc
push str.Retry_After:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59c45
lea ecx, [ebp - 8]
push ecx
push 0xa
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 8], xmm0
mov dword [ebp + 8], eax
call fcn.00a61670
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, ebx
add esp, 0x10
or eax, edi
jne 0xa59c30
push dword [ebp + 8]
call fcn.00a61800
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0xa59c22
cmp edi, eax
jne 0xa59c22
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [esi + 0xf14], edi
pop edi
mov dword [esi + 0xf10], ebx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00a149d3
add esp, 4
sub ebx, eax
sbb edi, edx
mov dword [esi + 0xf14], edi
pop edi
mov dword [esi + 0xf10], ebx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa59cfb
push 0xe
push str.Content_Range:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59cfb
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0xa59c88
cmp al, 0x30
jl 0xa59c7c
cmp al, 0x39
jle 0xa59c88
cmp al, 0x2a
je 0xa59c88
mov al, byte [edi + 1]
inc edi
test al, al
jne 0xa59c74
mov al, byte [edi]
cmp al, 0x30
jl 0xa59cde
cmp al, 0x39
jg 0xa59cde
lea ebx, [esi + 0xd8]
push ebx
push 0xa
push 0
push edi
call fcn.00a61670
add esp, 0x10
test eax, eax
jne 0xa5a126
mov eax, dword [esi + 0xd60]
cmp eax, dword [ebx]
jne 0xa5a126
mov eax, dword [esi + 0xd64]
cmp eax, dword [ebx + 4]
jne 0xa5a126
pop edi
mov dword [esi + 0x148], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xd60], 0
mov dword [esi + 0xd64], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x7f8], 0
je 0xa59e10
cmp dword [esi + 0xea4], 0
je 0xa59e10
push 0xb
push str.Set_Cookie:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59e10
mov ecx, dword [esi + 0xe50]
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0xa59d40
mov ecx, dword [ebx + 0x4c]
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0x254]
test byte [eax + 0x44], 2
jne 0xa59dca
push ecx
push str.localhost
call fcn.00a53400
mov ebx, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0xa59dcd
mov ecx, str.127.0.0.1
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa59d88
test dl, dl
je 0xa59d84
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa59d88
add eax, 2
add ecx, 2
test dl, dl
jne 0xa59d68
xor eax, eax
jmp 0xa59d8d
sbb eax, eax
or eax, 1
test eax, eax
je 0xa59dcd
mov ecx, 0xabfb38
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa59db8
test dl, dl
je 0xa59db4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa59db8
add eax, 2
add ecx, 2
test dl, dl
jne 0xa59d98
xor eax, eax
jmp 0xa59dbd
sbb eax, eax
or eax, 1
test eax, eax
je 0xa59dcd
mov dword [ebp + 8], 0
jmp 0xa59dd4
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], 1
push 2
push 2
push esi
call fcn.00a539b0
push dword [ebp + 8]
lea eax, [edi + 0xb]
push dword [esi + 0xdc4]
push ebx
push eax
push 0
push 1
push dword [esi + 0x7f8]
push esi
call fcn.00a43900
push 2
push esi
call fcn.00a539f0
add esp, 0x34
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa59e7b
push 0xe
push str.Last_Modified:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59e7b
cmp byte [esi + 0x3e8], 0
jne 0xa59e3f
cmp dword [esi + 0x738], 0
je 0xa59e7b
lea eax, [edi + 0xe]
push eax
call fcn.00a61800
add esp, 4
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
cmp dword [esi + 0x738], 0
je 0xa5a126
mov dword [esi + 0xee0], eax
mov eax, edx
pop edi
mov dword [esi + 0xee4], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
push str.WWW_Authenticate:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59e9c
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
je 0xa59ebd
push 0x13
push str.Proxy_authenticate:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59eff
mov eax, dword [esi + 0xe0]
cmp eax, 0x197
jne 0xa59eff
xor ebx, ebx
cmp eax, 0x197
push edi
sete bl
call fcn.00a587a0
mov edi, eax
add esp, 4
test edi, edi
je 0xa599ab
push edi
push ebx
push esi
call fcn.00a5a360
push edi
mov esi, eax
call dword [0xada7ac]
add esp, 0x10
test esi, esi
je 0xa5a126
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.Persistent_Auth:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa59f76
cmp dword [esi + 0xa70], 4
jne 0xa5a126
push edi
call fcn.00a587a0
mov edi, eax
add esp, 4
test edi, edi
je 0xa599ab
push 5
push str.false
push edi
call fcn.00a53430
neg eax
sbb eax, eax
neg eax
push edi
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
mov dword [ebx + 0x398], eax
mov dword [ebx + 0x39c], 1
call fcn.00a4f8f0
push edi
call dword [0xada7ac]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xe0]
cmp eax, 0x12c
jl 0xa5a02a
cmp eax, 0x190
jge 0xa5a02a
push 9
push str.Location:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa5a02a
cmp dword [esi + 0x114], 0
jne 0xa5a02a
push edi
call fcn.00a587a0
add esp, 4
test eax, eax
je 0xa599ab
cmp byte [eax], 0
jne 0xa59fdc
push eax
call dword [0xada7ac]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x770], 0
mov dword [esi + 0x114], eax
je 0xa5a126
push eax
call dword [0xada7b4]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0xa599ab
push ebx
push esi
call fcn.00a5be00
add esp, 8
test eax, eax
jne 0xa5a128
pop edi
mov dword [esi + 0xe74], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x7fc], 0
je 0xa5a087
push 0x1a
push str.Strict_Transport_Security:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa5a087
mov eax, dword [ebx + 0x254]
test byte [eax + 0x4c], 1
je 0xa5a087
lea eax, [edi + 0x1a]
push eax
push dword [ebx + 0x4c]
push dword [esi + 0x7fc]
call fcn.00a52900
add esp, 0xc
test eax, eax
je 0xa5a126
push str.Illegal_STS_header_skipped
push esi
call fcn.00a4f8f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x800], 0
je 0xa5a109
push 8
push str.Alt_Svc:
push edi
call fcn.00a53430
add esp, 0xc
test eax, eax
je 0xa5a109
mov eax, dword [ebx + 0x254]
test byte [eax + 0x4c], 1
je 0xa5a109
mov cl, byte [ebx + 0x4f5]
cmp cl, 0x1e
jne 0xa5a0c4
mov dword [ebp + 8], 0x20
jmp 0xa5a0d6
xor eax, eax
cmp cl, 0x14
sete al
lea eax, [eax*8 + 8]
mov dword [ebp + 8], eax
push dword [ebx + 0x4e4]
call fcn.00a51480
movzx eax, ax
push eax
push dword [ebx + 0x4c]
lea eax, [edi + 8]
push dword [ebp + 8]
push eax
push dword [esi + 0x800]
push esi
call fcn.00a51af0
add esp, 0x1c
test eax, eax
je 0xa5a126
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x254]
test dword [eax + 0x44], 0x40000
je 0xa5a126
push edi
push esi
call fcn.00a66c00
add esp, 8
test eax, eax
jne 0xa5a128
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret