Function at 0x5c31d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov ebx, dword [esi + 0xe0]
lea eax, [esi + 0x8b4]
mov dword [ebp - 0x2c], eax
push edi
push 0xa
push ebx
call fcn.006cba80
add esp, 0xc
test eax, eax
je 0x5c3956
lea ecx, [esi + 0x80]
mov dword [ebp - 0x30], ecx
lea ecx, [esi + 0xf0]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], ebx
mov edx, ebx
mov dword [ebp - 0x3c], edi
mov ebx, dword [ebp + 0x10]
mov ecx, eax
not ecx
add edi, edx
add edi, ecx
mov dword [ebx], edi
inc eax
mov dword [esi + 0xe0], eax
sub eax, edx
push eax
mov dword [ebp - 0x34], edx
push edx
push dword [ebp - 0x2c]
call fcn.005b1304
add esp, 0xc
test eax, eax
jne 0x5c39de
cmp dword [esi + 0xdc], 0
mov ebx, dword [ebp - 0x2c]
jne 0x5c328c
push ebx
call fcn.005407a0
add esp, 4
mov edi, eax
push ebx
call fcn.0053cb10
add esp, 4
mov ecx, esi
mov edx, eax
push edi
call fcn.005c3b83
add esp, 4
cmp eax, 2
je 0x5c3a4b
push ebx
call fcn.0053cb10
add esp, 4
mov edi, eax
mov al, byte [eax]
cmp al, 0xd
mov ebx, dword [ebp + 0xc]
je 0x5c32a4
cmp al, 0xa
jne 0x5c3303
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
lea ecx, [eax - 0x64]
cmp ecx, 0x63
ja 0x5c33a3
cmp eax, 0x65
je 0x5c340a
cmp eax, 0x64
jne 0x5c3420
mov byte [esi + 0x13c], 1
mov dword [esi + 0xdc], 0
cmp dword [esi + 0x108], 0
jle 0x5c3431
xor eax, eax
mov dword [esi + 0x108], eax
or byte [esi + 0xf4], 2
push eax
push esi
call fcn.004ed857
add esp, 8
jmp 0x5c3431
mov eax, dword [esi + 0xdc]
lea ecx, [eax + 1]
mov dword [esi + 0xdc], ecx
test eax, eax
jne 0x5c3783
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x40]
test al, 3
je 0x5c3608
mov byte [ebp - 0x1d], 0xff
mov word [ebp - 0x12], 0xffff
mov dword [ebp - 0x24], 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push str._HTTP__1d._1d_c_3d
push edi
call fcn.0044a764
add esp, 0x18
cmp eax, 1
jne 0x5c36f8
cmp dword [ebp - 0x18], 2
jl 0x5c36f8
push dword [ebp - 0x28]
lea eax, [ebp - 0x12]
push eax
push str._HTTP__1_23___d
push edi
call fcn.0044a764
add esp, 0x10
cmp eax, 2
jne 0x5c3b37
mov byte [ebx + 0x114], 0
mov byte [ebp - 0x1d], 0x20
jmp 0x5c370b
mov byte [esi + 0x13c], 0
mov eax, dword [esi + 0x80]
and eax, dword [esi + 0x84]
cmp eax, 0xffffffff
jne 0x5c3431
cmp byte [esi + 0x141], 0
jne 0x5c3431
cmp byte [ebx + 0x245], 0
jne 0x5c343e
cmp byte [ebx + 0x114], 0xb
jne 0x5c34c1
mov eax, dword [ebx + 0x288]
test byte [eax + 0x42], 4
jne 0x5c3431
cmp dword [esi + 0xc58], 5
je 0x5c3431
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.005ae893
add esp, 8
push 2
push ebx
call fcn.005b5f67
jmp 0x5c32fb
cmp dword [esi + 0x10c], 1
je 0x5c3af0
mov byte [esi + 0x13c], 0
jmp 0x5c3431
mov byte [esi + 0x13c], 1
mov dword [esi + 0xdc], 0
cmp byte [ebx + 0x245], 0
je 0x5c34c1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp eax, 0x197
je 0x5c345c
cmp eax, 0x191
jne 0x5c3488
cmp dword [ebx + 0x2f8], 2
je 0x5c3465
jmp 0x5c3496
cmp dword [ebx + 0x2fc], 2
jne 0x5c34a3
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.005ae893
add esp, 8
mov byte [esi + 0xcc1], 1
cmp byte [ebx + 0x245], 0
je 0x5c34c1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp eax, 0x197
je 0x5c34a3
cmp eax, 0x191
jne 0x5c34c1
mov eax, dword [ebx + 0x380]
cmp eax, 1
je 0x5c34ac
jmp 0x5c34c7
cmp dword [ebx + 0x384], 1
jne 0x5c34c1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.005ae893
add esp, 8
mov byte [esi + 0xcc1], 1
mov eax, dword [ebx + 0x380]
cmp eax, 3
jne 0x5c34e1
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x191
je 0x5c34e1
mov dword [ebx + 0x380], 4
cmp dword [ebx + 0x384], 3
jne 0x5c34ff
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x197
je 0x5c34ff
mov dword [ebx + 0x384], 4
cmp byte [esi + 0x6dc], 1
mov ebx, 3
sbb ebx, 0
mov edi, dword [ebp - 0x2c]
push edi
call fcn.005407a0
add esp, 4
mov esi, eax
push edi
call fcn.0053cb10
add esp, 4
push esi
push eax
push ebx
mov edi, dword [ebp + 8]
push edi
call fcn.005aef03
add esp, 0x10
test eax, eax
jne 0x5c39de
mov eax, esi
mov ebx, esi
sar ebx, 0x1f
add dword [edi + 0xcf0], esi
adc dword [edi + 0xcf4], ebx
mov esi, dword [edi + 0xa0]
mov dword [ebp - 0x38], eax
add esi, eax
adc ebx, dword [edi + 0xa4]
mov dword [edi + 0xa0], esi
mov dword [edi + 0xa4], ebx
mov ecx, edi
call fcn.005c0381
mov ecx, dword [edi + 0xf0]
test al, al
jne 0x5c39e5
add ecx, 0xffffff9c
cmp ecx, 0x64
mov eax, 0
cmovae esi, eax
cmovae ebx, eax
mov dword [edi + 0xac], ebx
mov dword [edi + 0xa8], esi
push edi
call fcn.005bfeaa
add esp, 4
test eax, eax
jne 0x5c39de
mov esi, edi
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x12c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
jl 0x5c35f6
cmp byte [edi + 0x251], 0
jne 0x5c35d8
cmp byte [edi + 0x245], 0
je 0x5c365d
cmp byte [edi + 0x252], 0
je 0x5c35f6
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.005ae893
add esp, 8
or byte [esi + 0xf4], 2
cmp byte [esi + 0x13c], 0
jne 0x5c3810
jmp 0x5c39fe
bt eax, 0x12
jae 0x5c3ae7
mov byte [ebp - 0x12], 0xff
mov dword [ebp - 0x24], 0xffffffff
push dword [ebp - 0x28]
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._RTSP__1d._1d_c_3d
push edi
call fcn.0044a764
add esp, 0x18
mov ecx, eax
xor eax, eax
cmp ecx, 4
jne 0x5c3771
cmp byte [ebp - 0x12], 0x20
jne 0x5c3771
mov byte [ebx + 0x114], 0xb
jmp 0x5c376c
cmp byte [edi + 0x252], 0
jne 0x5c35e1
mov eax, dword [esi + 0xc58]
dec eax
cmp eax, 3
ja 0x5c35d8
push 0
push esi
call fcn.004ed857
add esp, 8
cmp byte [esi + 0x13e], 0
jne 0x5c35d8
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x1a1
jne 0x5c38c6
cmp byte [esi + 0xcc4], 0
je 0x5c38c6
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.005ae893
add esp, 8
mov byte [esi + 0xcc5], 1
mov ecx, dword [fcn.006dfcc0]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc5c]
call dword [section..00cfg]
push esi
mov esi, dword [ebp + 8]
call ecx
add esp, 4
mov dword [esi + 0x128], eax
push dword [ebp - 0x30]
push esi
call fcn.005bb395
add esp, 8
jmp 0x5c35d8
cmp eax, 4
jne 0x5c384b
cmp byte [ebp - 0x1d], 0x20
jne 0x5c384b
mov eax, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov eax, ecx
and eax, 0xfffffffe
cmp eax, 0xa
jne 0x5c3b41
mov byte [ebx + 0x114], cl
cmp dword [esi + 0x10c], 2
jne 0x5c3752
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.005ae893
add esp, 8
mov eax, 4
cmp byte [ebx + 0x114], 0x13
ja 0x5c3771
mov eax, dword [ebx + 0x4cc]
mov dword [eax], 0xffffffff
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
call fcn.005ae893
add esp, 8
mov eax, 4
test eax, eax
je 0x5c3ae7
push ebx
push esi
call fcn.005c30e0
add esp, 8
push edi
push ebx
push esi
call fcn.005c295c
add esp, 0xc
test eax, eax
jne 0x5c39de
cmp byte [esi + 0x6dc], 1
mov esi, 3
sbb esi, 0
mov ebx, edi
mov edi, dword [ebp - 0x2c]
push edi
call fcn.005407a0
add esp, 4
push eax
push ebx
push 1
push dword [ebp + 8]
call fcn.005ae961
add esp, 0x10
push edi
call fcn.005407a0
add esp, 4
push eax
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.005aef03
add esp, 0x10
test eax, eax
jne 0x5c39de
push edi
call fcn.005407a0
add esp, 4
add dword [esi + 0xcf0], eax
adc dword [esi + 0xcf4], 0
push edi
call fcn.005407a0
add esp, 4
add dword [esi + 0xa0], eax
adc dword [esi + 0xa4], 0
mov ebx, edi
push ebx
call fcn.005b12ea
add esp, 4
mov esi, dword [esi + 0xe0]
cmp byte [esi], 0
je 0x5c3b33
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx]
push edi
push 0xa
push esi
call fcn.006cba80
mov edx, esi
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x5c322b
jmp 0x5c3958
test eax, eax
jne 0x5c3b37
push dword [ebp - 0x28]
push str._HTTP__3d
push edi
call fcn.0044a764
add esp, 0xc
mov byte [ebx + 0x114], 0xa
test eax, eax
jne 0x5c3771
mov ebx, edi
mov edi, dword [ebp - 0x2c]
push edi
call fcn.005407a0
add esp, 4
mov dword [ebp - 0x34], eax
push edi
mov edi, ebx
call fcn.0053cb10
add esp, 4
mov ecx, esi
mov edx, eax
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0xc]
call fcn.005c3b83
add esp, 4
mov ecx, eax
xor eax, eax
cmp ecx, 1
jne 0x5c3771
mov eax, dword [ebp - 0x28]
mov dword [eax], 0xc8
mov byte [ebx + 0x114], 0xa
xor eax, eax
inc eax
jmp 0x5c3771
cmp byte [esi + 0x6d8], 0
je 0x5c3900
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.005ae893
add esp, 8
cmp dword [esi + 0x108], 0
jle 0x5c35d8
mov dword [esi + 0x108], 0
or byte [esi + 0xf4], 2
jmp 0x5c35d8
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.005ae893
add esp, 8
push 2
push edi
call fcn.005b5f67
add esp, 8
push dword [ebp - 0x30]
push esi
call fcn.005bb395
add esp, 8
test eax, eax
jne 0x5c39de
mov byte [esi + 0x13e], 1
cmp byte [esi + 0xcc4], 0
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
je 0x5c35d8
mov dword [esi + 0x108], 3
jmp 0x5c35d8
mov edx, ebx
push edi
push edx
push dword [ebp - 0x2c]
call fcn.005b1304
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x5c3b6f
xor ebx, ebx
cmp dword [esi + 0xdc], 0
jne 0x5c3b6f
mov edi, dword [ebp - 0x2c]
push edi
call fcn.005407a0
add esp, 4
mov dword [ebp - 0x28], eax
push edi
call fcn.0053cb10
add esp, 4
mov ecx, esi
mov edx, eax
push dword [ebp - 0x28]
call fcn.005c3b83
add esp, 4
cmp eax, 2
jne 0x5c3b6f
mov byte [esi + 0x13c], 0
mov eax, 2
mov dword [esi + 0xd8], eax
push eax
push dword [ebp + 0xc]
call fcn.005b5f67
add esp, 8
cmp byte [esi + 0x700], 0
jne 0x5c3b6f
jmp 0x5c3a83
mov ebx, eax
jmp 0x5c3b6f
push ecx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.005ae9f9
add esp, 0xc
mov ebx, 0x16
jmp 0x5c3b6f
cmp byte [esi + 0x6df], 0
mov edi, dword [ebp + 0x14]
je 0x5c3a96
mov byte [edi], 1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x5c3aae
push ecx
push eax
push esi
call fcn.005b9168
add esp, 0xc
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], eax
jmp 0x5c3aba
push 2
push dword [ebp + 0xc]
call fcn.005b5f67
add esp, 8
cmp byte [esi + 0x700], 0
je 0x5c3a83
mov byte [esi + 0x13c], 0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x5c3b1b
mov dword [esi + 0xd8], 1
jmp 0x5c3b33
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.005ae9f9
add esp, 8
jmp 0x5c3b6c
cmp byte [esi + 0x141], 0
je 0x5c3a11
pcmpeqd xmm0, xmm0
mov eax, dword [ebp - 0x30]
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
or eax, ecx
mov eax, dword [ebp - 0x34]
je 0x5c3acb
cmp byte [edi], 0
mov ecx, dword [ebp - 0x38]
jne 0x5c3ad1
jmp 0x5c3ad8
mov byte [edi], 1
mov ecx, dword [ebp - 0x38]
and byte [esi + 0xf4], 0xfe
push ecx
push eax
push 1
push esi
call fcn.005ae961
add esp, 0x10
jmp 0x5c3b33
mov byte [esi + 0x13c], 0
jmp 0x5c3b33
push str.Received_101_n
push esi
call fcn.005ae893
add esp, 8
mov dword [esi + 0x10c], 2
mov byte [esi + 0x13c], 1
mov dword [esi + 0xdc], 0
jmp 0x5c3b6c
mov dword [esi + 0xd8], 2
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov dword [esi + 0xe0], eax
xor ebx, ebx
jmp 0x5c3b6f
push str.Unsupported_HTTP_version_in_response
jmp 0x5c3a88
mov edx, 0x66666667
mov eax, ecx
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ecx, eax
push ecx
push edx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.005ae9f9
add esp, 0x10
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret