Function at 0x1002c243
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.1004de70
mov ebx, eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x74], ebx
test ebx, ebx
je 0x1002d0fc
sub ebx, dword [esi + 0x6c]
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push edi
call fcn.1002d284
add esp, 0xc
test eax, eax
jne 0x1002d13a
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x784]
xor ecx, ecx
mov dword [esi + 0x78], eax
cmp dword [esi + 0x60], ecx
jne 0x1002c2d4
cmp dword [esi + 0x68], 5
jbe 0x1002c2d4
push dword [edi + 0x784]
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.1002d19d
add esp, 0xc
test eax, eax
je 0x1002cfab
xor ecx, ecx
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x1002ccc3
cmp al, 0xd
je 0x1002ccc7
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x1002c499
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x470]
mov eax, dword [eax + 0x40]
test al, 3
je 0x1002c58e
lea eax, [esi + 0x88]
push eax
lea eax, [ebp + 0xb]
push eax
lea ebx, [ecx + 0x180]
push ebx
lea eax, [ebp - 4]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.1004f31b
add esp, 0x18
cmp eax, 1
jne 0x1002c36e
cmp dword [ebp - 4], 2
jne 0x1002cfd1
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.1004f31b
add esp, 0xc
cmp eax, 1
jne 0x1002cfd1
and dword [ebx], 0
push 4
mov cl, 0x20
pop eax
mov byte [ebp + 0xb], cl
jmp 0x1002c371
mov cl, byte [ebp + 0xb]
cmp eax, 4
jne 0x1002c539
cmp cl, 0x20
jne 0x1002cfd1
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
add dword [ebx], eax
cmp dword [esi + 0xa4], 2
jne 0x1002c3a6
cmp dword [ebx], 0x14
je 0x1002c3a6
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.100253dd
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x88]
mov dword [edi + 0x4b40], eax
mov eax, dword [ebx]
mov dword [edi + 0x4b48], eax
mov eax, dword [edi + 0x4ab0]
test eax, eax
je 0x1002c3cb
cmp eax, dword [ebx]
jle 0x1002c3d3
mov eax, dword [ebx]
mov dword [edi + 0x4ab0], eax
xor edx, edx
lea eax, [esi + 0x88]
cmp dword [edi + 0x3d0], edx
je 0x1002c43c
cmp dword [eax], 0x190
jl 0x1002c43c
cmp dword [eax], 0x191
jne 0x1002c3fb
cmp dword [ecx + 0x3e0], edx
jne 0x1002c43c
cmp dword [eax], 0x197
jne 0x1002c40b
cmp dword [ecx + 0x3e4], edx
jne 0x1002c43c
mov eax, dword [edi + 0x4ad8]
or eax, dword [edi + 0x4adc]
je 0x1002cfe6
cmp dword [edi + 0x2a0], 1
jne 0x1002cfe6
lea eax, [esi + 0x88]
cmp dword [eax], 0x1a0
jne 0x1002cfe6
cmp dword [ebx], 0xa
jne 0x1002c5de
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.100253dd
mov eax, dword [ebp + 0xc]
push 1
push eax
call fcn.10025b33
add esp, 0x10
xor edx, edx
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1002c472
sub eax, 0x64
jne 0x1002c499
cmp dword [edi + 0x294], edx
je 0x1002c484
mov dword [edi + 0x4b50], 1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xd0], 1
xor ebx, ebx
cmp dword [esi + 0xd0], ebx
jne 0x1002c669
cmp dword [edi + 0x430], ebx
jne 0x1002c669
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c669
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push ebx
push eax
call fcn.1004fc3a
mov ebx, eax
mov eax, dword [edi + 0x398]
mov ecx, edx
mov edx, dword [edi + 0x39c]
add esp, 0xc
or eax, edx
mov dword [ebp - 0xc], ecx
je 0x1002c50c
cmp ecx, edx
jg 0x1002cff2
jl 0x1002c50c
cmp ebx, dword [edi + 0x398]
ja 0x1002cff2
test ecx, ecx
jl 0x1002c648
jg 0x1002c51e
test ebx, ebx
jb 0x1002c648
push ecx
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ecx
call fcn.1002df96
add esp, 0xc
jmp 0x1002cbb6
test eax, eax
jne 0x1002cfd1
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.1004f31b
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x1002c3a6
push dword [esi + 0x78]
push edi
call fcn.1002d13f
pop ecx
pop ecx
test eax, eax
je 0x1002d134
mov dword [esi + 0x88], 0xc8
mov dword [ebx], 0xa
jmp 0x1002c3a6
test eax, 0x40000
je 0x1002d134
lea eax, [esi + 0x88]
push eax
lea ebx, [ecx + 0x184]
push ebx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.1004f31b
add esp, 0x14
cmp eax, 3
jne 0x1002d134
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0xa
add dword [ebx], eax
lea ebx, [ecx + 0x180]
mov dword [ebx], 0xb
jmp 0x1002c3a9
cmp dword [ebx], 0x14
je 0x1002c637
cmp dword [esi + 0xa4], 1
jne 0x1002c5f1
cmp dword [eax], 0x65
je 0x1002c637
cmp dword [ebx], 0xb
jl 0x1002c460
cmp dword [ecx + 0x3c4], edx
jne 0x1002c460
cmp dword [ecx + 0x77c], edx
je 0x1002c460
push ecx
push edi
call fcn.1002f1e5
pop ecx
pop ecx
test eax, eax
jne 0x1002c45e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x77c]
mov dword [eax], 1
jmp 0x1002c45e
mov eax, dword [ecx + 0x77c]
mov dword [eax], 2
jmp 0x1002c460
push 2
push dword [ebp + 0xc]
call fcn.10025b33
push dword [ebp - 0xc]
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.100253dd
add esp, 0x18
jmp 0x1002cbb6
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c6af
push dword [esi + 0x78]
call fcn.1002bcf4
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1002d006
cmp byte [ebx], 0
je 0x1002c70b
push dword [edi + 0x4b68]
call dword [0x1009d004]
pop ecx
mov dword [edi + 0x4b68], ebx
jmp 0x1002cbb6
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c718
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x180], 0x14
jge 0x1002cc64
push dword [esi + 0x78]
call fcn.1002bcf4
mov ebx, eax
mov eax, dword [ebp + 0xc]
pop ecx
mov ecx, dword [eax + 0x77c]
test ecx, ecx
je 0x1002c70b
cmp dword [ecx], 1
jne 0x1002c70b
push ebx
push edi
call fcn.1002f040
pop ecx
pop ecx
test eax, eax
je 0x1002c70b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x77c]
or dword [eax], 0xffffffff
push ebx
call dword [0x1009d004]
pop ecx
jmp 0x1002cbb6
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x180], 0xa
jne 0x1002c761
cmp dword [ebx + 0x3d8], 0
je 0x1002c761
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.1002bc51
add esp, 0xc
test eax, eax
je 0x1002c761
push 0
push ebx
call fcn.10025b33
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.100253dd
add esp, 0x10
jmp 0x1002cc62
cmp dword [ebx + 0x180], 0xb
jne 0x1002c79b
cmp dword [ebx + 0x3d8], 0
je 0x1002c79b
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.1002bc51
add esp, 0xc
test eax, eax
je 0x1002c79b
push 1
push ebx
call fcn.10025b33
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x1002c753
cmp dword [ebx + 0x180], 0xa
jne 0x1002c7cc
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.1002bc51
add esp, 0xc
test eax, eax
je 0x1002c7cc
push 0
push ebx
call fcn.10025b33
push str.HTTP_1.0_connection_set_to_keep_alive__n
jmp 0x1002c753
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.1002bc51
add esp, 0xc
test eax, eax
je 0x1002c7f4
push 2
push ebx
call fcn.10025b33
pop ecx
pop ecx
jmp 0x1002cc62
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c8fa
mov ebx, dword [esi + 0x78]
add ebx, 0x12
jmp 0x1002c82a
movzx eax, al
push eax
call fcn.1004d016
pop ecx
test eax, eax
jne 0x1002c829
cmp byte [ebx], 0x2c
jne 0x1002c830
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1002c816
push 7
push ebx
push str.chunked
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c85a
push dword [ebp + 0xc]
mov dword [esi + 0xe4], 1
call fcn.10043bbf
pop ecx
add ebx, 7
cmp dword [esi + 0xa8], 0
jne 0x1002cbb6
push 8
push ebx
push str.identity
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c887
and dword [esi + 0xa8], 0
add ebx, 8
jmp 0x1002c82a
push 7
push ebx
push str.deflate
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c8aa
mov dword [esi + 0xa8], 1
add ebx, 7
jmp 0x1002c82a
push 4
push ebx
push str.gzip
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c8d0
mov dword [esi + 0xa8], 2
add ebx, 4
jmp 0x1002c82a
push 6
push ebx
push str.x_gzip
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cbb6
mov dword [esi + 0xa8], 2
add ebx, 6
jmp 0x1002c82a
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c9bc
cmp dword [edi + 0x478], 0
je 0x1002c9bc
mov ebx, dword [esi + 0x78]
add ebx, 0x11
jmp 0x1002c938
movzx eax, al
push eax
call fcn.1004d016
pop ecx
test eax, eax
je 0x1002c93e
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1002c929
push 8
push ebx
push str.identity
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c95e
and dword [esi + 0xa8], 0
jmp 0x1002cbb6
push 7
push ebx
push str.deflate
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002c981
mov dword [esi + 0xa8], 1
jmp 0x1002cbb6
push 4
push ebx
push str.gzip
call fcn.1002f418
add esp, 0xc
test eax, eax
jne 0x1002c9ad
push 6
push ebx
push str.x_gzip
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cbb6
mov dword [esi + 0xa8], 2
jmp 0x1002cbb6
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002ca5f
mov ebx, dword [esi + 0x78]
add ebx, 0xe
jmp 0x1002c9f2
movzx eax, al
push eax
call fcn.1004cf66
pop ecx
test eax, eax
jne 0x1002c9f8
cmp byte [ebx], 0x2a
je 0x1002c9f8
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1002c9de
movzx eax, byte [ebx]
push eax
call fcn.1004cf66
pop ecx
test eax, eax
je 0x1002ca4c
push 0xa
push 0
push ebx
call fcn.1004fc3a
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
mov eax, dword [edi + 0x4ad8]
add esp, 0xc
cmp eax, dword [esi + 0x80]
jne 0x1002cbb6
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x4adc], edx
jne 0x1002cc64
mov dword [esi + 0x7c], 1
jmp 0x1002cc64
and dword [edi + 0x4ad8], 0
and dword [edi + 0x4adc], 0
jmp 0x1002cbb6
cmp dword [edi + 0x5d0], 0
je 0x1002cac7
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cac7
push 2
push 2
push edi
call fcn.1002fabb
mov eax, dword [ebx + 0x4a0]
add esp, 0xc
test eax, eax
jne 0x1002ca9b
mov eax, dword [ebx + 0xa0]
push dword [edi + 0x4ac0]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push dword [edi + 0x5d0]
push edi
call fcn.1001b1b7
push 2
push edi
call fcn.1002faf3
add esp, 0x20
jmp 0x1002cc62
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cb32
xor eax, eax
cmp dword [edi + 0x294], eax
jne 0x1002caef
cmp dword [edi + 0x3b4], eax
je 0x1002cb32
push eax
call fcn.1004dcf4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
push eax
mov dword [ebp - 0x10], edx
call fcn.1002f4fc
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x3b4], 0
je 0x1002cc62
mov dword [edi + 0x4b4c], eax
jmp 0x1002cc62
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cb55
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x1002cb78
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cbbe
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x1002cbbe
push dword [esi + 0x78]
xor ebx, ebx
cmp eax, 0x197
sete bl
call fcn.1002bcf4
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1002d006
push eax
push ebx
push dword [ebp + 0xc]
call fcn.1002bf3c
push dword [ebp - 0xc]
mov ebx, eax
call dword [0x1009d004]
add esp, 0x10
test ebx, ebx
jne 0x1002d02b
mov eax, dword [ebp + 0xc]
jmp 0x1002cc64
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x1002cc40
cmp eax, 0x190
jge 0x1002cc40
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.1002f418
add esp, 0xc
test eax, eax
je 0x1002cc40
cmp dword [edi + 0x144], 0
jne 0x1002cc40
push dword [esi + 0x78]
call fcn.1002bcf4
pop ecx
test eax, eax
je 0x1002d006
cmp byte [eax], 0
jne 0x1002cc13
push eax
call dword [0x1009d004]
jmp 0x1002c7ee
cmp dword [edi + 0x3d8], 0
mov dword [edi + 0x144], eax
je 0x1002cc62
push eax
call dword [0x1009d00c]
pop ecx
mov dword [edi + 0x148], eax
test eax, eax
je 0x1002d006
push ebx
call fcn.1002d409
jmp 0x1002cc59
mov eax, dword [ebx + 0x470]
test dword [eax + 0x40], 0x40000
je 0x1002cc62
push dword [esi + 0x78]
push ebx
call fcn.1003885b
pop ecx
pop ecx
test eax, eax
jne 0x1002d13a
mov eax, ebx
cmp dword [edi + 0x3e4], 0
push 2
pop ebx
push 3
pop ecx
cmovne ebx, ecx
cmp dword [edi + 0x3fc], 0
je 0x1002cc8f
push eax
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.1002525d
add esp, 0x14
push dword [esi + 0x68]
push dword [esi + 0x78]
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.10025230
add esp, 0x10
test eax, eax
jne 0x1002d13a
mov eax, dword [esi + 0x68]
add dword [edi + 0x4b54], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
xor ecx, ecx
jmp 0x1002cf8e
cmp al, 0xd
jne 0x1002cccd
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x1002ccd9
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1002ceb7
cmp eax, 0xc7
jg 0x1002ceb7
sub eax, 0x64
je 0x1002ce84
dec eax
je 0x1002ce6d
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ecx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x3c4], ecx
je 0x1002cd55
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1002cd2e
cmp dword [ebx + 0x51c], 2
je 0x1002cd3e
cmp eax, 0x197
jne 0x1002cd55
cmp dword [ebx + 0x558], 2
jne 0x1002cd55
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100253dd
pop ecx
pop ecx
mov dword [edi + 0x48c4], 1
push ebx
call fcn.1002d571
pop ecx
test eax, eax
jne 0x1002d0e3
cmp dword [edi + 0x3e4], eax
mov ebx, dword [esi + 0x78]
push 2
pop ecx
push 3
pop eax
cmovne ecx, eax
mov eax, dword [edi + 0x784]
sub ebx, eax
push ebx
push eax
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
call fcn.10025230
add esp, 0x10
test eax, eax
jne 0x1002d13a
add dword [edi + 0xa0], ebx
add dword [edi + 0x4b54], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x1002cdbb
cmp eax, 0xc7
jle 0x1002cdbd
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
push ebx
mov dword [edi + 0xa4], ecx
call fcn.1002bd95
pop ecx
test eax, eax
jne 0x1002d13a
xor ecx, ecx
cmp dword [esi + 0x88], 0x12c
jl 0x1002cf85
cmp dword [ebx + 0x408], ecx
jne 0x1002cf67
cmp dword [ebx + 0x3c4], ecx
jne 0x1002cf67
cmp dword [ebx + 0x40c], ecx
jne 0x1002cf6f
mov eax, dword [edi + 0x2a0]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1002cf67
push ecx
push edi
call fcn.10018caf
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xc8], ecx
jne 0x1002cf67
cmp dword [edi + 0x3d4], ecx
je 0x1002cf2d
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.100253dd
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xa0], ecx
jle 0x1002cf67
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], ecx
jmp 0x1002cf67
xor ebx, ebx
inc ebx
cmp dword [esi + 0xa4], ebx
je 0x1002d00d
mov dword [esi + 0x58], ecx
jmp 0x1002cd0d
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ecx
cmp dword [esi + 0xa0], ecx
jle 0x1002cd0d
or dword [esi + 0xc4], 2
push ecx
push edi
mov dword [esi + 0xa0], ecx
call fcn.10018caf
pop ecx
pop ecx
xor ecx, ecx
jmp 0x1002cd0d
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], ecx
cmp eax, 0xffffffff
jne 0x1002cd0d
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0xe4], ecx
jne 0x1002cd10
cmp dword [ebx + 0x3c4], ecx
jne 0x1002cd18
cmp dword [ebx + 0x180], 0xb
jne 0x1002cd10
mov eax, dword [ebx + 0x470]
test dword [eax + 0x40], 0x40000
jne 0x1002cd10
cmp dword [edi + 0x2a0], 5
je 0x1002cd10
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.100253dd
push 2
push ebx
call fcn.10025b33
add esp, 0x10
xor ecx, ecx
jmp 0x1002cd10
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.100253dd
push 2
push ebx
call fcn.10025b33
and dword [esi + 0xc4], 0xfffffffd
xor ecx, ecx
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4ab4], ecx
je 0x1002cf67
push 3
pop eax
mov dword [esi + 0xa0], eax
cmp dword [ebx + 0x40c], ecx
je 0x1002cf85
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.100253dd
or dword [esi + 0xc4], 2
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0x58], ecx
je 0x1002d032
mov eax, dword [edi + 0x784]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], ecx
cmp byte [eax], 0
jne 0x1002c252
jmp 0x1002d138
mov eax, dword [ebp + 0x10]
and dword [esi + 0x58], 0
cmp dword [eax], 0
je 0x1002cfc3
mov dword [esi + 0x5c], 1
jmp 0x1002d138
mov dword [esi + 0x5c], 2
mov dword [eax], ebx
jmp 0x1002d138
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.10025321
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1002d13a
push edi
call fcn.1002d799
pop ecx
jmp 0x1002d0f7
push str.Maximum_file_size_exceeded
push edi
call fcn.10025321
pop ecx
pop ecx
push 0x3f
jmp 0x1002d0f9
push 0x1b
jmp 0x1002d0f9
push str.Received_101_n
push edi
call fcn.100253dd
and dword [esi + 0x60], 0
pop ecx
pop ecx
mov dword [esi + 0xa4], 2
mov dword [esi + 0x58], ebx
mov eax, ebx
jmp 0x1002d13a
mov ebx, dword [ebp + 0x14]
cmp dword [edi + 0x3f0], ecx
jne 0x1002d065
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x470]
test dword [eax + 0x40], 0x40000
je 0x1002d06d
cmp dword [edi + 0x554], 2
jne 0x1002d06d
cmp dword [esi + 4], 0xffffffff
jg 0x1002d06d
jl 0x1002d065
cmp dword [esi], 0xffffffff
ja 0x1002d06d
mov dword [ebx], 1
jmp 0x1002d084
cmp dword [esi + 0xe4], ecx
je 0x1002d084
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x1002d08f
cmp dword [esi + 4], 0xffffffff
je 0x1002d0aa
push dword [esi + 4]
push dword [esi]
push edi
call fcn.1002df96
mov eax, dword [esi]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x14], eax
xor ecx, ecx
cmp dword [esi + 0x10], ecx
jne 0x1002d0ba
cmp dword [esi + 0x14], ecx
jne 0x1002d0ba
mov dword [ebx], 1
cmp dword [ebx], ecx
je 0x1002d0c5
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x3fc], ecx
je 0x1002d138
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [esi + 0x70]
push 1
push edi
call fcn.1002525d
add esp, 0x14
jmp 0x1002d138
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10025321
add esp, 0xc
push 0x16
pop eax
jmp 0x1002d13a
push dword [eax]
push esi
push edi
call fcn.1002d284
add esp, 0xc
test eax, eax
jne 0x1002d13a
cmp dword [esi + 0x60], eax
jne 0x1002d138
cmp dword [esi + 0x68], 5
jbe 0x1002d138
push dword [edi + 0x784]
push dword [ebp + 0xc]
push edi
call fcn.1002d19d
add esp, 0xc
test eax, eax
jne 0x1002d138
mov dword [esi + 0x5c], 2
and dword [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret