Function at 0x4878b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xe8]
lea esi, [edi + 0x88]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x64], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call fcn.004a2f60
add esp, 0xc
mov dword [esi + 0x68], eax
mov ebx, edi
test eax, eax
je 0x48868b
mov edx, dword [esi + 0x60]
sub edx, eax
mov eax, dword [ebp + 0x10]
dec edx
add dword [eax], edx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
call fcn.004856f0
add esp, 4
test eax, eax
jne 0x4888b9
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xdf4]
mov dword [esi + 0x6c], ecx
jne 0x487994
mov edx, dword [edx + 0x5b0]
test dword [edx + 0x40], 0x40000
mov eax, dword [esi + 0x5c]
mov ecx, dword [edi + 0xdf4]
je 0x48797b
cmp eax, 5
sbb ebx, ebx
inc ebx
mov dword [ebp - 0x10], 2
cmp eax, 5
jbe 0x487961
mov eax, 5
push eax
push ecx
push str.RTSP_
call fcn.00471d70
add esp, 0xc
test eax, eax
mov eax, ebx
jne 0x487988
mov eax, dword [ebp - 0x10]
jmp 0x487988
mov ebx, eax
push ecx
mov eax, edi
call fcn.004855f0
add esp, 4
mov edx, dword [ebp + 0xc]
cmp eax, 2
je 0x488708
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x48830f
cmp cl, 0xd
je 0x488314
mov ecx, dword [esi + 0x54]
lea ebx, [ecx + 1]
mov dword [esi + 0x54], ebx
test ecx, ecx
jne 0x487c87
mov ecx, dword [edx + 0x5b0]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x487aec
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
lea edx, [ebp + 0xb]
push edx
add ebx, 0x3e8
push ebx
lea ecx, [ebp - 0xc]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.004a2899
add esp, 0x18
cmp eax, 1
jne 0x487a2f
cmp dword [ebp - 0xc], 2
jl 0x488759
lea eax, [esi + 0x78]
push eax
mov eax, dword [esi + 0x6c]
lea edx, [ebp - 8]
push edx
push str._HTTP__1_23___d
push eax
call fcn.004a2899
add esp, 0x10
cmp eax, 2
jne 0x488759
mov dword [ebx], 0
mov byte [ebp + 0xb], 0x20
jmp 0x487a3e
cmp eax, 4
jne 0x487a91
cmp byte [ebp + 0xb], 0x20
jne 0x488759
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [ebx], ecx
cmp dword [esi + 0x94], 2
mov eax, dword [ebx]
jne 0x487a66
cmp eax, 0x14
je 0x487a66
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.0046ae20
add esp, 8
cmp dword [ebx], 0x14
jge 0x487b54
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x730]
push str.Mark_bundle_as_not_supporting_multiuse_n
push edi
mov dword [eax], 0xffffffff
call fcn.0046ae20
add esp, 8
jmp 0x487b54
test eax, eax
jne 0x488759
mov ecx, dword [esi + 0x6c]
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push ecx
call fcn.004a2899
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebx], 0xa
test eax, eax
jne 0x487b54
mov edx, dword [esi + 0x6c]
mov ebx, dword [esi + 0x5c]
push edx
mov eax, edi
call fcn.004855f0
add esp, 4
cmp eax, 1
jne 0x487b4a
mov eax, dword [ebp + 0xc]
add eax, 0x3e8
mov dword [esi + 0x78], 0xc8
mov dword [eax], 0xa
jmp 0x487b54
test ecx, 0x40000
je 0x488788
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
lea ecx, [ebp - 1]
push ecx
add ebx, 0x3ec
push ebx
lea edx, [ebp - 0x14]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.004a2899
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp eax, 4
jne 0x488788
cmp byte [ebp - 1], 0x20
jne 0x488788
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov eax, dword [ebp + 0xc]
add eax, 0x3e8
mov dword [eax], 0xb
cmp dword [ebp - 0x10], 0
je 0x488788
mov ecx, dword [esi + 0x78]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x1104]
mov dword [edi + 0x11e0], ecx
mov edx, dword [ebx + 0x3e8]
mov dword [edi + 0x11e8], edx
test eax, eax
je 0x487b7e
cmp eax, dword [ebx + 0x3e8]
jle 0x487b8a
mov eax, dword [ebx + 0x3e8]
mov dword [edi + 0x1104], eax
mov ecx, dword [edi + 0x1110]
or ecx, dword [edi + 0x1114]
je 0x487bb6
mov eax, 1
cmp dword [edi + 0x858], eax
jne 0x487bb6
cmp dword [esi + 0x78], 0x1a0
jne 0x487bb6
mov dword [esi + 0x50c], eax
jmp 0x487bf1
cmp dword [edi + 0xb8c], 0
je 0x487bf1
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x487bf1
cmp eax, 0x191
jne 0x487bd9
cmp dword [ebx + 0x530], 0
jne 0x487bf1
cmp eax, 0x197
jne 0x488773
cmp dword [ebx + 0x534], 0
je 0x488773
mov eax, dword [ebx + 0x3e8]
cmp eax, 0xa
jne 0x487c14
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.0046ae20
push 1
push ebx
call fcn.004704e0
add esp, 0x10
jmp 0x487c34
cmp eax, 0x14
je 0x487c28
cmp dword [esi + 0x94], 1
jne 0x487c34
cmp dword [esi + 0x78], 0x65
jne 0x487c34
mov edx, dword [ebx + 0x730]
mov dword [edx], 2
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x487c4a
cmp eax, 0xc8
jge 0x487c4a
mov ecx, 1
jmp 0x487c4c
xor ecx, ecx
sub eax, 0xcc
mov dword [esi + 0x510], ecx
je 0x487c70
sub eax, 0x64
jne 0x487c87
cmp dword [edi + 0x84c], eax
je 0x487c70
mov dword [edi + 0x12a0], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x510], 1
cmp dword [esi + 0x510], 0
jne 0x487d55
cmp dword [edi + 0xbcc], 0
jne 0x487d55
mov eax, dword [esi + 0x6c]
push 0xf
push eax
push str.Content_Length:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x487d55
mov edx, dword [esi + 0x6c]
lea ecx, [ebp - 0x2c]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.00493a20
add esp, 0x10
test eax, eax
jne 0x487d1c
mov ebx, dword [edi + 0x968]
mov edx, dword [edi + 0x96c]
mov ecx, dword [ebp - 0x28]
mov eax, ebx
or eax, edx
mov eax, dword [ebp - 0x2c]
je 0x487d01
cmp ecx, edx
jg 0x48879b
jl 0x487d01
cmp eax, ebx
ja 0x48879b
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.0048ce40
add esp, 0xc
jmp 0x48829e
cmp eax, 1
jne 0x4887b5
mov ecx, dword [edi + 0x968]
or ecx, dword [edi + 0x96c]
jne 0x48879b
mov edx, dword [ebp + 0xc]
push 2
push edx
call fcn.004704e0
push str.Overflow_Content_Length:_value__n
push edi
call fcn.0046ae20
add esp, 0x10
jmp 0x48829e
mov eax, dword [esi + 0x6c]
push 0xd
push eax
push str.Content_Type:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x487db1
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.004844a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4887cf
cmp byte [ebx], 0
jne 0x487d96
push ebx
call dword [0x4db928]
add esp, 4
jmp 0x48829e
mov edx, dword [edi + 0x1214]
push edx
call dword [0x4db928]
add esp, 4
mov dword [edi + 0x1214], ebx
jmp 0x48829e
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x3e8], 0xa
jne 0x487dfb
cmp dword [ebx + 0x528], 0
je 0x487dfb
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.004851d0
add esp, 0xc
test eax, eax
je 0x487dfb
push 0
push ebx
call fcn.004704e0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.0046ae20
add esp, 0x10
jmp 0x48829e
cmp dword [ebx + 0x3e8], 0xb
jne 0x487e42
cmp dword [ebx + 0x528], 0
je 0x487e42
mov ecx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.004851d0
add esp, 0xc
test eax, eax
je 0x487e42
push 1
push ebx
call fcn.004704e0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.0046ae20
add esp, 0x10
jmp 0x48829e
cmp dword [ebx + 0x3e8], 0xa
jne 0x487e80
mov edx, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push edx
call fcn.004851d0
add esp, 0xc
test eax, eax
je 0x487e80
push 0
push ebx
call fcn.004704e0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.0046ae20
add esp, 0x10
jmp 0x48829e
mov eax, dword [esi + 0x6c]
push str.close
push str.Connection:
push eax
call fcn.004851d0
add esp, 0xc
test eax, eax
je 0x487eaa
push 2
push ebx
call fcn.004704e0
add esp, 8
jmp 0x48829e
cmp dword [esi + 0x510], 0
jne 0x487f21
mov ecx, dword [esi + 0x6c]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x487ee1
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x12
push edx
push ebx
call fcn.00472090
add esp, 0xc
jmp 0x488296
cmp dword [esi + 0x510], 0
jne 0x487f21
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x487f21
cmp dword [edi + 0x9c0], 0
je 0x487f21
mov ecx, dword [esi + 0x6c]
push 0
add ecx, 0x11
push ecx
push ebx
call fcn.00472090
add esp, 0xc
jmp 0x488296
mov edx, dword [esi + 0x6c]
push 0xc
push edx
push str.Retry_After:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x487fad
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x6c]
add eax, 0xc
push eax
call fcn.00493990
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], edx
cmp ebx, 0xffffffff
jne 0x487f8b
cmp edx, eax
jne 0x487f8b
mov edx, dword [esi + 0x6c]
lea ecx, [ebp - 0x24]
push ecx
push 0xa
add edx, 0xc
push 0
push edx
call fcn.00493a20
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
add esp, 0x10
mov dword [edi + 0x1220], ebx
mov dword [edi + 0x1224], eax
jmp 0x48829e
push 0
call fcn.004a27da
add esp, 4
sub ebx, eax
mov eax, dword [ebp - 0x30]
sbb eax, edx
mov dword [edi + 0x1220], ebx
mov dword [edi + 0x1224], eax
jmp 0x48829e
cmp dword [esi + 0x510], 0
jne 0x488068
mov eax, dword [esi + 0x6c]
push 0xe
push eax
push str.Content_Range:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x488068
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x487fff
movzx ecx, al
push ecx
call fcn.0048b730
add esp, 4
test eax, eax
jne 0x487fff
cmp byte [ebx], 0x2a
je 0x487fff
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x487fe2
movzx edx, byte [ebx]
push edx
call fcn.0048b730
add esp, 4
test eax, eax
je 0x488055
lea eax, [esi + 0x70]
push eax
push 0xa
push 0
push ebx
call fcn.00493a20
add esp, 0x10
test eax, eax
jne 0x48829e
mov eax, dword [edi + 0x1110]
cmp eax, dword [esi + 0x70]
jne 0x48829e
mov ecx, dword [edi + 0x1114]
cmp ecx, dword [esi + 0x74]
jne 0x48829e
mov dword [esi + 0x504], 1
jmp 0x48829e
xor eax, eax
mov dword [edi + 0x1110], eax
mov dword [edi + 0x1114], eax
jmp 0x48829e
cmp dword [edi + 0xc44], 0
je 0x4880ed
cmp dword [edi + 0x11b0], 0
je 0x4880ed
mov edx, dword [esi + 0x6c]
push 0xb
push edx
push str.Set_Cookie:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x4880ed
push 2
push 2
push edi
call fcn.00471d80
mov eax, dword [ebx + 0x5f8]
add esp, 0xc
test eax, eax
jne 0x4880ae
mov eax, dword [ebx + 0x304]
mov ecx, dword [ebx + 0x5b0]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edi + 0x1160]
shr edx, 1
and edx, 1
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
mov eax, dword [edi + 0xc44]
add edx, 0xb
push edx
push 0
push 1
push eax
push edi
call fcn.0046da70
push 2
push edi
call fcn.00471dd0
add esp, 0x28
jmp 0x48829e
cmp dword [esi + 0x510], 0
jne 0x48815e
mov ecx, dword [esi + 0x6c]
push 0xe
push ecx
push str.Last_Modified:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x48815e
cmp dword [edi + 0x84c], 0
jne 0x48811f
cmp dword [edi + 0xb60], 0
je 0x48815e
mov edx, dword [esi + 0x6c]
add edx, 0xe
push edx
call fcn.00493990
add esp, 4
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
cmp dword [edi + 0xb60], 0
je 0x48829e
mov dword [edi + 0x11f0], eax
mov ecx, dword [esi + 0xa4]
mov dword [edi + 0x11f4], ecx
jmp 0x48829e
mov edx, dword [esi + 0x6c]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x48817f
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4881a0
mov eax, dword [esi + 0x6c]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x4881f2
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4881f2
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [ebp - 0x10], ecx
call fcn.004844a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4887cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
call fcn.00484b80
push ebx
mov dword [ebp - 0x10], eax
call dword [0x4db928]
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x48829e
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x48827a
cmp eax, 0x190
jge 0x48827a
mov edx, dword [esi + 0x6c]
push 9
push edx
push str.Location:
call fcn.00471d70
add esp, 0xc
test eax, eax
je 0x48827a
cmp dword [edi + 0x13c], 0
jne 0x48827a
mov eax, dword [esi + 0x6c]
push eax
call fcn.004844a0
add esp, 4
test eax, eax
je 0x4887cf
cmp byte [eax], 0
jne 0x488248
push eax
call dword [0x4db928]
add esp, 4
jmp 0x48829e
cmp dword [edi + 0xb94], 0
mov dword [edi + 0x13c], eax
je 0x48829e
push eax
call dword [0x4db930]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x4887cf
push ebx
call fcn.00484750
add esp, 4
jmp 0x488296
mov ecx, dword [ebx + 0x5b0]
test dword [ecx + 0x40], 0x40000
je 0x48829e
mov edx, dword [esi + 0x6c]
push edx
push ebx
call fcn.00474c30
add esp, 8
test eax, eax
jne 0x4888b9
cmp dword [edi + 0xba0], 0
mov ebx, 2
je 0x4882b1
mov ebx, 3
cmp dword [edi + 0xbb4], 0
je 0x4882cd
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
push 1
push edi
call fcn.0046ad90
add esp, 0x10
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ebx
push ecx
call fcn.0046b420
add esp, 0x10
test eax, eax
jne 0x4888b9
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0x11f8], eax
adc dword [edi + 0x11fc], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
jmp 0x488638
cmp cl, 0xd
jne 0x488318
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x488324
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4883a9
cmp eax, 0xc7
jg 0x4883a9
sub eax, 0x64
mov ebx, 1
je 0x48836e
sub eax, ebx
je 0x488353
mov dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
jmp 0x488411
cmp dword [esi + 0x94], ebx
je 0x48865d
mov dword [esi + 0x500], 0
jmp 0x488411
cmp dword [esi + 0x90], 0
mov dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
jle 0x488411
or dword [esi + 0xb0], 2
push 0
push edi
mov dword [esi + 0x90], 0
call fcn.00468ac0
mov edx, dword [ebp + 0xc]
add esp, 8
jmp 0x488411
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x500], 0
cmp eax, 0xffffffff
jne 0x48840c
cmp dword [esi + 0x514], 0
jne 0x48840c
cmp dword [edx + 0x510], 0
jne 0x48840c
cmp dword [edx + 0x3e8], 0xb
jne 0x48840c
mov ecx, dword [edx + 0x5b0]
test dword [ecx + 0x40], 0x40000
jne 0x48840c
cmp dword [edi + 0x858], 6
je 0x48840c
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0046ae20
mov edx, dword [ebp + 0xc]
push 2
push edx
call fcn.004704e0
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov ebx, 1
cmp dword [edx + 0x510], 0
je 0x48845a
mov eax, dword [edi + 0x100]
cmp eax, 0x191
jne 0x488433
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x61c], 2
je 0x488446
cmp eax, 0x197
jne 0x48845a
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x620], 2
jne 0x48845a
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0046ae20
add esp, 8
mov dword [edi + 0x1188], ebx
mov ebx, dword [ebp + 0xc]
mov edx, ebx
call fcn.00484d40
test eax, eax
jne 0x4887db
lea ecx, [eax + 2]
cmp dword [edi + 0xba0], eax
je 0x48847a
lea ecx, [eax + 3]
mov eax, dword [edi + 0xdf4]
mov edx, dword [esi + 0x6c]
sub edx, eax
push edx
push eax
push ecx
push ebx
mov dword [ebp - 0x10], edx
call fcn.0046b420
add esp, 0x10
test eax, eax
jne 0x4888b9
mov eax, dword [ebp - 0x10]
cdq
add dword [edi + 0x11f8], eax
adc dword [edi + 0x11fc], edx
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4884d5
cmp eax, 0xc7
jg 0x4884d5
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
jmp 0x4884d9
xor eax, eax
xor ecx, ecx
push ebx
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], ecx
call fcn.00485850
add esp, 4
test eax, eax
jne 0x4888b9
cmp dword [esi + 0x78], 0x12c
jl 0x48862b
cmp dword [ebx + 0x550], eax
jne 0x48860d
cmp dword [ebx + 0x510], eax
jne 0x48860d
cmp dword [ebx + 0x554], eax
jne 0x488616
mov eax, dword [edi + 0x858]
add eax, 0xfffffffe
cmp eax, 3
ja 0x48860d
push 0
push edi
call fcn.00468ac0
add esp, 8
cmp dword [esi + 0x508], 0
jne 0x48860d
cmp dword [esi + 0x78], 0x1a1
jne 0x488599
cmp dword [edi + 0x1194], 0
je 0x488599
push str.Got_417_while_waiting_for_a_100_n
push edi
call fcn.0046ae20
mov dword [edi + 0x1198], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc28]
push ecx
call dword [0x4db930]
push esi
push ebx
mov dword [edi + 0x140], eax
call fcn.0048ec80
add esp, 0x14
jmp 0x48860d
cmp dword [edi + 0xb90], 0
je 0x4885cc
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.0046ae20
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x48860d
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x48860d
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0046ae20
push 2
push ebx
call fcn.004704e0
push esi
push ebx
call fcn.0048ec80
add esp, 0x18
test eax, eax
jne 0x4888b9
mov dword [esi + 0x508], 1
cmp dword [edi + 0x1194], eax
je 0x48860d
mov dword [esi + 0x90], 3
cmp dword [ebx + 0x554], 0
je 0x48862b
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0046ae20
add esp, 8
or dword [esi + 0xb0], 2
cmp dword [esi + 0x500], 0
je 0x4887f9
mov edx, dword [edi + 0xdf4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], edx
cmp byte [eax], 0
jne 0x4878d3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.0046ae20
add esp, 8
pop edi
mov dword [esi + 0x500], ebx
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004856f0
add esp, 4
test eax, eax
jne 0x4888b9
cmp dword [esi + 0x54], eax
jne 0x4888b7
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 0x5c]
mov eax, dword [edi + 0xdf4]
push edi
mov ecx, ebx
call fcn.00485690
add esp, 4
cmp eax, 2
jne 0x4888b7
push eax
push ebx
mov dword [esi + 0x500], 0
mov dword [esi + 0x50], eax
call fcn.004704e0
add esp, 8
cmp dword [edi + 0xc20], 0
jne 0x4888b7
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.0046af40
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edx
call fcn.004704e0
add esp, 8
cmp dword [edi + 0xc20], 0
je 0x4886ee
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x500], 0
cmp dword [eax], 0
je 0x48873e
pop edi
mov dword [esi + 0x50], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x50], 2
mov dword [eax], ecx
pop edi
mov dword [esi + 0x60], edx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push edi
call fcn.0046af40
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004857b0
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x500], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.0046af40
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.0046af40
add esp, 8
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.0046af40
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xbac], 0
mov edx, dword [ebp + 0x14]
je 0x488810
mov dword [edx], 1
or ebx, 0xffffffff
jmp 0x488855
mov ecx, dword [ebx + 0x5b0]
test dword [ecx + 0x40], 0x40000
je 0x48883e
cmp dword [edi + 0xae4], 2
jne 0x48883e
or ebx, 0xffffffff
cmp dword [esi + 4], ebx
jg 0x488841
jl 0x488836
cmp dword [esi], ebx
ja 0x488841
mov dword [edx], 1
jmp 0x488855
or ebx, 0xffffffff
cmp dword [esi + 0x514], 0
je 0x488855
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ebx
jne 0x488862
cmp ecx, ebx
je 0x48887b
push ecx
push eax
push edi
call fcn.0048ce40
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x48888f
cmp dword [esi + 0xc], 0
jne 0x48888f
mov dword [edx], 1
jmp 0x488894
cmp dword [edx], 0
je 0x48889b
and dword [esi + 0xb0], 0xfffffffe
cmp dword [edi + 0xbb4], 0
je 0x4888b7
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x64]
push ecx
push edx
push 1
push edi
call fcn.0046ad90
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret