Function at 0x5a5d60
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xdc]
lea ebp, [esi + 0x70]
mov dword [esi + 0xe0], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x28], ecx
push 0xa
push ecx
call fcn.00554740
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esi + 0xe4], eax
test eax, eax
je 0x5a6d13
sub edi, eax
mov eax, dword [esp + 0x44]
dec edi
add dword [eax], edi
mov eax, dword [esi + 0xe4]
inc eax
mov dword [esi + 0xdc], eax
sub eax, dword [esi + 0xe0]
push eax
push ebp
push esi
call fcn.005a6f20
add esp, 0xc
test eax, eax
jne 0x5a6d63
cmp dword [esi + 0xd0], 0
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x884]
mov dword [esi + 0xe8], eax
jne 0x5a5e59
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0x884]
test dword [eax + 0x40], 0x40000
je 0x5a5e40
cmp ecx, 5
mov eax, 5
mov ebp, 2
sbb edi, edi
inc edi
cmp ecx, 5
cmova ecx, eax
push ecx
push edx
push str.RTSP_
call fcn.00582d40
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x5a5e4d
push ecx
push edx
push esi
call fcn.005a6d70
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x5a6a89
lea ebp, [esi + 0x70]
mov edx, dword [esi + 0xe8]
mov al, byte [edx]
cmp al, 0xa
je 0x5a67a4
cmp al, 0xd
je 0x5a67a8
mov ecx, dword [esi + 0xd0]
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x5a613c
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x5a5f97
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x40]
push eax
lea edi, [ebx + 0x17c]
push edi
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.00434cd6
add esp, 0x18
cmp eax, 1
jne 0x5a5ef9
cmp dword [esp + 0x14], 2
jne 0x5a6adc
push ebp
push str._HTTP_2__d
push dword [esi + 0xe8]
call fcn.00434cd6
add esp, 0xc
cmp eax, 1
jne 0x5a6adc
mov dword [edi], 0
mov byte [esp + 0x3c], 0x20
jmp 0x5a5f09
cmp eax, 4
jne 0x5a5f40
cmp byte [esp + 0x3c], 0x20
jne 0x5a6adc
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [esi + 0x114], 2
jne 0x5a5ff7
cmp eax, 0x14
je 0x5a5ff7
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.0058e3b0
add esp, 8
jmp 0x5a5ff7
test eax, eax
jne 0x5a6adc
push ebp
push str._HTTP__3d
push dword [esi + 0xe8]
call fcn.00434cd6
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x5a5ff7
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push esi
call fcn.005a6d70
add esp, 0xc
cmp eax, 1
jne 0x5a6b89
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x5a5ff7
test eax, 0x40000
je 0x5a6b89
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x180]
push edi
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.00434cd6
add esp, 0x18
cmp eax, 4
jne 0x5a6b89
cmp byte [esp + 0x13], 0x20
jne 0x5a6b89
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x17c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x17c]
mov eax, dword [ebp]
mov dword [esi + 0xc20], eax
mov eax, dword [edi]
mov dword [esi + 0xc28], eax
mov eax, dword [esi + 0xba0]
test eax, eax
je 0x5a6016
cmp eax, dword [edi]
jle 0x5a601e
mov eax, dword [edi]
mov dword [esi + 0xba0], eax
mov eax, dword [esi + 0xbb8]
or eax, dword [esi + 0xbbc]
je 0x5a6047
cmp dword [esi + 0x400], 1
jne 0x5a6047
cmp dword [ebp], 0x1a0
jne 0x5a6047
mov byte [esi + 0x139], 1
jmp 0x5a6082
cmp byte [esi + 0x500], 0
je 0x5a6082
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x5a6082
cmp eax, 0x191
jne 0x5a606a
cmp byte [ebx + 0x288], 0
jne 0x5a6082
cmp eax, 0x197
jne 0x5a6af7
cmp byte [ebx + 0x289], 0
je 0x5a6af7
mov eax, dword [edi]
cmp eax, 0xa
jne 0x5a60a1
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.0058e3b0
push 1
push ebx
call fcn.005947e0
add esp, 0x10
jmp 0x5a60f4
cmp eax, 0x14
je 0x5a60e8
cmp dword [esi + 0x114], 1
jne 0x5a60b5
cmp dword [ebp], 0x65
je 0x5a60e8
cmp eax, 0xb
jl 0x5a60f4
cmp byte [ebx + 0x281], 0
jne 0x5a60f4
cmp dword [ebx + 0x5d4], 0
je 0x5a60f4
push ebx
push esi
call fcn.005b21c0
add esp, 8
test al, al
jne 0x5a60f4
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 1
jmp 0x5a60f4
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 2
mov eax, dword [ebp]
sub eax, 0xcc
je 0x5a6103
sub eax, 0x64
jne 0x5a613c
cmp dword [esi + 0x3f0], 0
je 0x5a6113
mov byte [esi + 0xc38], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov byte [esi + 0x13a], 1
cmp byte [esi + 0x13a], 0
jne 0x5a6216
cmp byte [esi + 0x527], 0
jne 0x5a6216
push 0xf
push dword [esi + 0xe8]
push str.Content_Length:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a6216
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xe8]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0058f840
add esp, 0x10
test eax, eax
jne 0x5a61e0
mov edi, dword [esi + 0x4e0]
mov eax, edi
mov edx, dword [esi + 0x4e4]
or eax, edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
je 0x5a61be
cmp ecx, edx
jg 0x5a6b9a
jl 0x5a61be
cmp eax, edi
ja 0x5a6b9a
push ecx
push eax
push esi
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
call fcn.005ad880
add esp, 0xc
jmp 0x5a6733
cmp eax, 1
jne 0x5a6bb5
mov eax, dword [esi + 0x4e0]
or eax, dword [esi + 0x4e4]
jne 0x5a6b9a
push 2
push ebx
call fcn.005947e0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.0058e3b0
add esp, 0x10
jmp 0x5a6733
push 0xd
push dword [esi + 0xe8]
push str.Content_Type:
call fcn.00582d40
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x5a6276
push ecx
call fcn.005a5720
mov edi, eax
add esp, 4
test edi, edi
je 0x5a6bd0
cmp byte [edi], 0
jne 0x5a625c
push edi
call dword [0x7eca90]
add esp, 4
jmp 0x5a6733
push dword [esi + 0xc50]
call dword [0x7eca90]
add esp, 4
mov dword [esi + 0xc50], edi
jmp 0x5a6733
push 7
push ecx
push str.Server:
call fcn.00582d40
mov ecx, dword [ebx + 0x17c]
add esp, 0xc
test eax, eax
je 0x5a62e1
cmp ecx, 0x14
jge 0x5a6733
push dword [esi + 0xe8]
call fcn.005a5720
mov ecx, dword [ebx + 0x5d4]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x5a62d2
cmp dword [ecx], 1
jne 0x5a62d2
push edi
push esi
call fcn.005b1fd0
add esp, 8
test al, al
je 0x5a62d2
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 0xffffffff
push edi
call dword [0x7eca90]
add esp, 4
jmp 0x5a6733
cmp ecx, 0xa
jne 0x5a6326
cmp byte [ebx + 0x286], 0
je 0x5a6326
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.005a5660
add esp, 0xc
test al, al
je 0x5a6326
push 0
push ebx
call fcn.005947e0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.0058e3b0
add esp, 0x10
jmp 0x5a6733
cmp dword [ebx + 0x17c], 0xb
jne 0x5a636f
cmp byte [ebx + 0x286], 0
je 0x5a636f
push str.close
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.005a5660
add esp, 0xc
test al, al
je 0x5a636f
push 1
push ebx
call fcn.005947e0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.0058e3b0
add esp, 0x10
jmp 0x5a6733
cmp dword [ebx + 0x17c], 0xa
jne 0x5a63af
push str.keep_alive
push str.Connection:
push dword [esi + 0xe8]
call fcn.005a5660
add esp, 0xc
test al, al
je 0x5a63af
push 0
push ebx
call fcn.005947e0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.0058e3b0
add esp, 0x10
jmp 0x5a6733
push str.close
push str.Connection:
push dword [esi + 0xe8]
call fcn.005a5660
add esp, 0xc
test al, al
je 0x5a63db
push 2
push ebx
call fcn.005947e0
add esp, 8
jmp 0x5a6733
push 0x12
push dword [esi + 0xe8]
push str.Transfer_Encoding:
call fcn.00582d40
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x5a640e
push 1
lea eax, [ecx + 0x12]
push eax
push ebx
call fcn.0058c6c0
add esp, 0xc
jmp 0x5a672b
push 0x11
push ecx
push str.Content_Encoding:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a6445
cmp dword [esi + 0x564], 0
je 0x5a6445
mov eax, dword [esi + 0xe8]
push 0
add eax, 0x11
push eax
push ebx
call fcn.0058c6c0
add esp, 0xc
jmp 0x5a672b
push 0xe
push dword [esi + 0xe8]
push str.Content_Range:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a64fd
mov edi, dword [esi + 0xe8]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x5a648e
movzx eax, al
push eax
call fcn.005a97b0
add esp, 4
test eax, eax
jne 0x5a648e
cmp byte [edi], 0x2a
je 0x5a648e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5a6471
movzx eax, byte [edi]
push eax
call fcn.005a97b0
add esp, 4
test eax, eax
je 0x5a64e4
lea ebp, [esi + 0xf0]
push ebp
push 0xa
push 0
push edi
call fcn.0058f840
add esp, 0x10
test eax, eax
jne 0x5a6733
mov eax, dword [esi + 0xbb8]
cmp eax, dword [ebp]
jne 0x5a6733
mov eax, dword [esi + 0xbbc]
cmp eax, dword [ebp + 4]
jne 0x5a6733
mov byte [esi + 0xec], 1
jmp 0x5a6733
mov dword [esi + 0xbb8], 0
mov dword [esi + 0xbbc], 0
jmp 0x5a6733
cmp dword [esi + 0x6c8], 0
je 0x5a656d
push 0xb
push dword [esi + 0xe8]
push str.Set_Cookie:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a656d
push 2
push 2
push esi
call fcn.0058c8e0
mov eax, dword [ebx + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x5a653c
mov eax, dword [ebx + 0x9c]
push dword [esi + 0xbac]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0x6c8]
push esi
call fcn.00582f00
push 2
push esi
call fcn.0058c920
add esp, 0x24
jmp 0x5a6733
push 0xe
push dword [esi + 0xe8]
push str.Last_Modified:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a65ea
cmp dword [esi + 0x3f0], 0
jne 0x5a6598
cmp byte [esi + 0x4f9], 0
je 0x5a65ea
push 0
call fcn.00567f0f
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xe
mov dword [esp + 0x3c], edx
push eax
call fcn.0058f0e0
add esp, 0xc
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
cmp byte [esi + 0x4f9], 0
je 0x5a6733
mov dword [esi + 0xc30], eax
mov eax, edx
mov dword [esi + 0xc34], eax
jmp 0x5a6733
push 0x11
push dword [esi + 0xe8]
push str.WWW_Authenticate:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a6611
mov edi, dword [esi + 0xf8]
cmp edi, 0x191
je 0x5a6638
push 0x13
push dword [esi + 0xe8]
push str.Proxy_authenticate:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a6682
mov edi, dword [esi + 0xf8]
cmp edi, 0x197
jne 0x5a6682
push dword [esi + 0xe8]
call fcn.005a5720
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5a6bd0
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.005a59e0
push ebp
mov edi, eax
call dword [0x7eca90]
add esp, 0x10
test edi, edi
je 0x5a6733
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0xf8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x5a670d
push 9
push dword [esi + 0xe8]
push str.Location:
call fcn.00582d40
add esp, 0xc
test eax, eax
je 0x5a670d
cmp dword [esi + 0x13c], 0
jne 0x5a670d
push dword [esi + 0xe8]
call fcn.005a5720
add esp, 4
test eax, eax
je 0x5a6bd0
cmp byte [eax], 0
jne 0x5a66db
push eax
call dword [0x7eca90]
add esp, 4
jmp 0x5a6733
cmp byte [esi + 0x502], 0
mov dword [esi + 0x13c], eax
je 0x5a6733
push eax
call dword [0x7eca98]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x5a6bd0
push ebx
call fcn.005a6fe0
add esp, 4
jmp 0x5a672b
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x5a6733
push dword [esi + 0xe8]
push ebx
call fcn.005a82b0
add esp, 8
test eax, eax
jne 0x5a6d63
xor eax, eax
cmp byte [esi + 0x505], al
setne al
add eax, 2
cmp byte [esi + 0x510], 0
mov dword [esp + 0x1c], eax
je 0x5a6769
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push 1
push esi
call fcn.0058e240
mov eax, dword [esp + 0x2c]
add esp, 0x10
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push eax
push ebx
call fcn.0058e210
add esp, 0x10
test eax, eax
jne 0x5a6d63
mov eax, dword [esi + 0xd8]
add dword [esi + 0xc3c], eax
mov eax, dword [esi + 0xd8]
add dword [esi + 0xa0], eax
jmp 0x5a6a48
cmp al, 0xd
jne 0x5a67b1
inc edx
mov dword [esi + 0xe8], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x5a67be
lea eax, [edx + 1]
mov dword [esi + 0xe8], eax
mov ecx, dword [esi + 0xf8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x5a683d
sub ecx, 0x64
je 0x5a6805
sub ecx, 1
je 0x5a67ec
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jmp 0x5a6898
cmp dword [esi + 0x114], 1
je 0x5a6bdd
mov byte [esi + 0xc8], 0
jmp 0x5a6898
cmp dword [esi + 0x110], 0
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jle 0x5a6898
or dword [esi + 0x134], 2
push 0
push esi
mov dword [esi + 0x110], 0
call fcn.00591b30
add esp, 8
jmp 0x5a6898
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0xc8], 0
cmp eax, 0xffffffff
jne 0x5a6898
cmp byte [esi + 0x14c], 0
jne 0x5a6898
cmp byte [ebx + 0x281], 0
jne 0x5a68a1
cmp dword [ebx + 0x17c], 0xb
jne 0x5a6898
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x5a6898
cmp dword [esi + 0x400], 6
je 0x5a6898
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.0058e3b0
push 2
push ebx
call fcn.005947e0
add esp, 0x10
cmp byte [ebx + 0x281], 0
je 0x5a68de
mov eax, dword [esi + 0xf8]
cmp eax, 0x191
jne 0x5a68b9
cmp dword [ebx + 0x370], 2
je 0x5a68c9
jmp 0x5a68de
cmp eax, 0x197
jne 0x5a68de
cmp dword [ebx + 0x3b0], 2
jne 0x5a68de
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0058e3b0
add esp, 8
mov byte [esi + 0x9b4], 1
push ebx
call fcn.005a7190
add esp, 4
test eax, eax
jne 0x5a6cf2
mov eax, dword [esi + 0x884]
mov ebp, dword [esi + 0xe8]
sub ebp, eax
push ebp
push eax
xor eax, eax
cmp byte [esi + 0x505], al
setne al
add eax, 2
push eax
push ebx
call fcn.0058e210
add esp, 0x10
test eax, eax
jne 0x5a6d63
add dword [esi + 0xa0], ebp
xor edx, edx
add dword [esi + 0xc3c], ebp
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xa0]
sub eax, 0x64
cmp eax, 0x63
push ebx
cmova ecx, edx
mov dword [esi + 0xa4], ecx
call fcn.005a57f0
add esp, 4
test eax, eax
jne 0x5a6d63
cmp dword [esi + 0xf8], 0x12c
jl 0x5a6a3b
cmp byte [ebx + 0x292], al
jne 0x5a6a1d
cmp byte [ebx + 0x281], al
jne 0x5a6a1d
cmp byte [ebx + 0x293], al
jne 0x5a6a26
mov eax, dword [esi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x5a6a1d
push 0
push esi
call fcn.00591b30
add esp, 8
cmp byte [esi + 0x138], 0
jne 0x5a6a1d
cmp byte [esi + 0x501], 0
je 0x5a69e6
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0058e3b0
add esp, 8
cmp dword [esi + 0x110], 0
jle 0x5a6a1d
or dword [esi + 0x134], 2
mov dword [esi + 0x110], 0
jmp 0x5a6a1d
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0058e3b0
push 2
push ebx
call fcn.005947e0
and dword [esi + 0x134], 0xfffffffd
add esp, 0x10
mov byte [esi + 0x138], 1
cmp byte [esi + 0xba4], 0
je 0x5a6a1d
mov dword [esi + 0x110], 3
cmp byte [ebx + 0x293], 0
je 0x5a6a3b
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0058e3b0
add esp, 8
or dword [esi + 0x134], 2
cmp byte [esi + 0xc8], 0
je 0x5a6c13
mov eax, dword [esi + 0x884]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 0
mov edi, dword [esi + 0xdc]
cmp byte [edi], 0
je 0x5a6d61
mov eax, dword [esp + 0x44]
mov dword [esi + 0xe0], edi
push dword [eax]
push 0xa
push edi
call fcn.00554740
lea ebp, [esi + 0x70]
jmp 0x5a5d98
push 2
push ebx
call fcn.005947e0
mov eax, dword [esp + 0x4c]
add esp, 8
mov byte [esi + 0xc8], 0
cmp dword [eax], 0
je 0x5a6ab8
pop edi
mov dword [esi + 0xcc], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xcc], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
pop edi
mov dword [esi + 0xdc], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Unsupported_HTTP_version_in_response_n
push esi
call fcn.0058e2d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esi + 0xe8]
push 4
push str.HTTP
push edi
call fcn.0056e0c0
add esp, 0xc
test eax, eax
jne 0x5a6cf2
push 0x20
push edi
call fcn.00552990
mov edi, eax
add esp, 8
test edi, edi
je 0x5a6cf2
inc edi
cmp byte [edi], 0
je 0x5a6cf2
push 0xd
push edi
mov byte [esp + 0x4c], 0xd
call fcn.00552990
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5a6b64
push 0xa
push edi
mov byte [esp + 0x4c], 0xa
call fcn.00552990
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x5a6cf2
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.0058e2d0
mov al, byte [esp + 0x50]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
mov byte [esi + 0xc8], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.0058e2d0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.0058e2d0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push esi
call fcn.0058e3b0
add esp, 8
mov dword [esi + 0x114], 2
mov byte [esi + 0xc8], 1
mov eax, 1
mov dword [esi + 0xd0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp byte [esi + 0x508], 0
mov edi, dword [esp + 0x48]
jne 0x5a6c73
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x5a6c46
cmp dword [esi + 0x64c], 2
jne 0x5a6c46
cmp dword [esi + 0x74], 0xffffffff
jl 0x5a6c73
jg 0x5a6c46
cmp dword [esi + 0x70], 0xffffffff
jbe 0x5a6c73
cmp byte [esi + 0x14c], 0
je 0x5a6c76
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], 0xffffffff
jmp 0x5a6c76
mov byte [edi], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
cmp ecx, 0xffffffff
jne 0x5a6c93
cmp eax, ecx
jne 0x5a6c93
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
jmp 0x5a6cb0
push eax
push ecx
push esi
call fcn.005ad880
mov ecx, dword [esi + 0x70]
add esp, 0xc
mov eax, dword [esi + 0x74]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
test ecx, ecx
jne 0x5a6cbd
test eax, eax
jne 0x5a6cbd
mov byte [edi], 1
jmp 0x5a6cc2
cmp byte [edi], 0
je 0x5a6cc9
and dword [esi + 0x134], 0xfffffffe
cmp byte [esi + 0x510], 0
je 0x5a6d61
push ebp
push dword [esi + 0xe0]
push 1
push esi
call fcn.0058e240
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [esi + 0xf8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.0058e2d0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x44]
push dword [eax]
push ebp
push esi
call fcn.005a6f20
add esp, 0xc
test eax, eax
jne 0x5a6d63
cmp dword [esi + 0xd0], eax
jne 0x5a6d61
push dword [esi + 0xd8]
push dword [esi + 0x884]
push ebx
push esi
call fcn.005a6e20
add esp, 0x10
cmp eax, 2
jne 0x5a6d61
push eax
push ebx
mov byte [esi + 0xc8], 0
mov dword [esi + 0xcc], eax
call fcn.005947e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret