Function at 0x1004d701
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.100713e0
mov ebx, eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x74], ebx
test ebx, ebx
je 0x1004e5ba
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.1004e742
add esp, 0xc
test eax, eax
jne 0x1004e5f8
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 0x1004d792
cmp dword [esi + 0x68], 5
jbe 0x1004d792
push dword [edi + 0x784]
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.1004e65b
add esp, 0xc
test eax, eax
je 0x1004e469
xor ecx, ecx
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x1004e181
cmp al, 0xd
je 0x1004e185
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x1004d957
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x470]
mov eax, dword [eax + 0x40]
test al, 3
je 0x1004da4c
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.10074000
add esp, 0x18
cmp eax, 1
jne 0x1004d82c
cmp dword [ebp - 4], 2
jne 0x1004e48f
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.10074000
add esp, 0xc
cmp eax, 1
jne 0x1004e48f
and dword [ebx], 0
push 4
mov cl, 0x20
pop eax
mov byte [ebp + 0xb], cl
jmp 0x1004d82f
mov cl, byte [ebp + 0xb]
cmp eax, 4
jne 0x1004d9f7
cmp cl, 0x20
jne 0x1004e48f
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
add dword [ebx], eax
cmp dword [esi + 0xa4], 2
jne 0x1004d864
cmp dword [ebx], 0x14
je 0x1004d864
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.100468bd
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 0x1004d889
cmp eax, dword [ebx]
jle 0x1004d891
mov eax, dword [ebx]
mov dword [edi + 0x4ab0], eax
xor edx, edx
lea eax, [esi + 0x88]
cmp dword [edi + 0x3d0], edx
je 0x1004d8fa
cmp dword [eax], 0x190
jl 0x1004d8fa
cmp dword [eax], 0x191
jne 0x1004d8b9
cmp dword [ecx + 0x3e0], edx
jne 0x1004d8fa
cmp dword [eax], 0x197
jne 0x1004d8c9
cmp dword [ecx + 0x3e4], edx
jne 0x1004d8fa
mov eax, dword [edi + 0x4ad8]
or eax, dword [edi + 0x4adc]
je 0x1004e4a4
cmp dword [edi + 0x2a0], 1
jne 0x1004e4a4
lea eax, [esi + 0x88]
cmp dword [eax], 0x1a0
jne 0x1004e4a4
cmp dword [ebx], 0xa
jne 0x1004da9c
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.100468bd
mov eax, dword [ebp + 0xc]
push 1
push eax
call fcn.10047013
add esp, 0x10
xor edx, edx
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1004d930
sub eax, 0x64
jne 0x1004d957
cmp dword [edi + 0x294], edx
je 0x1004d942
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 0x1004db27
cmp dword [edi + 0x430], ebx
jne 0x1004db27
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004db27
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push ebx
push eax
call fcn.1007491a
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 0x1004d9ca
cmp ecx, edx
jg 0x1004e4b0
jl 0x1004d9ca
cmp ebx, dword [edi + 0x398]
ja 0x1004e4b0
test ecx, ecx
jl 0x1004db06
jg 0x1004d9dc
test ebx, ebx
jb 0x1004db06
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.1004f454
add esp, 0xc
jmp 0x1004e074
test eax, eax
jne 0x1004e48f
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.10074000
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x1004d864
push dword [esi + 0x78]
push edi
call fcn.1004e5fd
pop ecx
pop ecx
test eax, eax
je 0x1004e5f2
mov dword [esi + 0x88], 0xc8
mov dword [ebx], 0xa
jmp 0x1004d864
test eax, 0x40000
je 0x1004e5f2
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.10074000
add esp, 0x14
cmp eax, 3
jne 0x1004e5f2
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 0x1004d867
cmp dword [ebx], 0x14
je 0x1004daf5
cmp dword [esi + 0xa4], 1
jne 0x1004daaf
cmp dword [eax], 0x65
je 0x1004daf5
cmp dword [ebx], 0xb
jl 0x1004d91e
cmp dword [ecx + 0x3c4], edx
jne 0x1004d91e
cmp dword [ecx + 0x77c], edx
je 0x1004d91e
push ecx
push edi
call fcn.100506a3
pop ecx
pop ecx
test eax, eax
jne 0x1004d91c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x77c]
mov dword [eax], 1
jmp 0x1004d91c
mov eax, dword [ecx + 0x77c]
mov dword [eax], 2
jmp 0x1004d91e
push 2
push dword [ebp + 0xc]
call fcn.10047013
push dword [ebp - 0xc]
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.100468bd
add esp, 0x18
jmp 0x1004e074
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004db6d
push dword [esi + 0x78]
call fcn.1004d1b2
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1004e4c4
cmp byte [ebx], 0
je 0x1004dbc9
push dword [edi + 0x4b68]
call dword [0x100b5004]
pop ecx
mov dword [edi + 0x4b68], ebx
jmp 0x1004e074
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dbd6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x180], 0x14
jge 0x1004e122
push dword [esi + 0x78]
call fcn.1004d1b2
mov ebx, eax
mov eax, dword [ebp + 0xc]
pop ecx
mov ecx, dword [eax + 0x77c]
test ecx, ecx
je 0x1004dbc9
cmp dword [ecx], 1
jne 0x1004dbc9
push ebx
push edi
call fcn.100504fe
pop ecx
pop ecx
test eax, eax
je 0x1004dbc9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x77c]
or dword [eax], 0xffffffff
push ebx
call dword [0x100b5004]
pop ecx
jmp 0x1004e074
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x180], 0xa
jne 0x1004dc1f
cmp dword [ebx + 0x3d8], 0
je 0x1004dc1f
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.1004d10f
add esp, 0xc
test eax, eax
je 0x1004dc1f
push 0
push ebx
call fcn.10047013
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.100468bd
add esp, 0x10
jmp 0x1004e120
cmp dword [ebx + 0x180], 0xb
jne 0x1004dc59
cmp dword [ebx + 0x3d8], 0
je 0x1004dc59
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.1004d10f
add esp, 0xc
test eax, eax
je 0x1004dc59
push 1
push ebx
call fcn.10047013
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x1004dc11
cmp dword [ebx + 0x180], 0xa
jne 0x1004dc8a
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.1004d10f
add esp, 0xc
test eax, eax
je 0x1004dc8a
push 0
push ebx
call fcn.10047013
push str.HTTP_1.0_connection_set_to_keep_alive__n
jmp 0x1004dc11
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.1004d10f
add esp, 0xc
test eax, eax
je 0x1004dcb2
push 2
push ebx
call fcn.10047013
pop ecx
pop ecx
jmp 0x1004e120
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004ddb8
mov ebx, dword [esi + 0x78]
add ebx, 0x12
jmp 0x1004dce8
movzx eax, al
push eax
call fcn.10071a51
pop ecx
test eax, eax
jne 0x1004dce7
cmp byte [ebx], 0x2c
jne 0x1004dcee
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1004dcd4
push 7
push ebx
push str.chunked
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dd18
push dword [ebp + 0xc]
mov dword [esi + 0xe4], 1
call fcn.100650aa
pop ecx
add ebx, 7
cmp dword [esi + 0xa8], 0
jne 0x1004e074
push 8
push ebx
push str.identity
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dd45
and dword [esi + 0xa8], 0
add ebx, 8
jmp 0x1004dce8
push 7
push ebx
push str.deflate
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dd68
mov dword [esi + 0xa8], 1
add ebx, 7
jmp 0x1004dce8
push 4
push ebx
push str.gzip
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dd8e
mov dword [esi + 0xa8], 2
add ebx, 4
jmp 0x1004dce8
push 6
push ebx
push str.x_gzip
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004e074
mov dword [esi + 0xa8], 2
add ebx, 6
jmp 0x1004dce8
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004de7a
cmp dword [edi + 0x478], 0
je 0x1004de7a
mov ebx, dword [esi + 0x78]
add ebx, 0x11
jmp 0x1004ddf6
movzx eax, al
push eax
call fcn.10071a51
pop ecx
test eax, eax
je 0x1004ddfc
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1004dde7
push 8
push ebx
push str.identity
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004de1c
and dword [esi + 0xa8], 0
jmp 0x1004e074
push 7
push ebx
push str.deflate
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004de3f
mov dword [esi + 0xa8], 1
jmp 0x1004e074
push 4
push ebx
push str.gzip
call fcn.100508d6
add esp, 0xc
test eax, eax
jne 0x1004de6b
push 6
push ebx
push str.x_gzip
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004e074
mov dword [esi + 0xa8], 2
jmp 0x1004e074
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004df1d
mov ebx, dword [esi + 0x78]
add ebx, 0xe
jmp 0x1004deb0
movzx eax, al
push eax
call fcn.100719a1
pop ecx
test eax, eax
jne 0x1004deb6
cmp byte [ebx], 0x2a
je 0x1004deb6
inc ebx
mov al, byte [ebx]
test al, al
jne 0x1004de9c
movzx eax, byte [ebx]
push eax
call fcn.100719a1
pop ecx
test eax, eax
je 0x1004df0a
push 0xa
push 0
push ebx
call fcn.1007491a
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
mov eax, dword [edi + 0x4ad8]
add esp, 0xc
cmp eax, dword [esi + 0x80]
jne 0x1004e074
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x4adc], edx
jne 0x1004e122
mov dword [esi + 0x7c], 1
jmp 0x1004e122
and dword [edi + 0x4ad8], 0
and dword [edi + 0x4adc], 0
jmp 0x1004e074
cmp dword [edi + 0x5d0], 0
je 0x1004df85
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004df85
push 2
push 2
push edi
call fcn.10050f82
mov eax, dword [ebx + 0x4a0]
add esp, 0xc
test eax, eax
jne 0x1004df59
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.1003c692
push 2
push edi
call fcn.10050fba
add esp, 0x20
jmp 0x1004e120
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004dff0
xor eax, eax
cmp dword [edi + 0x294], eax
jne 0x1004dfad
cmp dword [edi + 0x3b4], eax
je 0x1004dff0
push eax
call fcn.10062a7a
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.100509ba
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x3b4], 0
je 0x1004e120
mov dword [edi + 0x4b4c], eax
jmp 0x1004e120
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004e013
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x1004e036
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004e07c
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x1004e07c
push dword [esi + 0x78]
xor ebx, ebx
cmp eax, 0x197
sete bl
call fcn.1004d1b2
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1004e4c4
push eax
push ebx
push dword [ebp + 0xc]
call fcn.1004d3fa
push dword [ebp - 0xc]
mov ebx, eax
call dword [0x100b5004]
add esp, 0x10
test ebx, ebx
jne 0x1004e4e9
mov eax, dword [ebp + 0xc]
jmp 0x1004e122
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x1004e0fe
cmp eax, 0x190
jge 0x1004e0fe
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.100508d6
add esp, 0xc
test eax, eax
je 0x1004e0fe
cmp dword [edi + 0x144], 0
jne 0x1004e0fe
push dword [esi + 0x78]
call fcn.1004d1b2
pop ecx
test eax, eax
je 0x1004e4c4
cmp byte [eax], 0
jne 0x1004e0d1
push eax
call dword [0x100b5004]
jmp 0x1004dcac
cmp dword [edi + 0x3d8], 0
mov dword [edi + 0x144], eax
je 0x1004e120
push eax
call dword [0x100b500c]
pop ecx
mov dword [edi + 0x148], eax
test eax, eax
je 0x1004e4c4
push ebx
call fcn.1004e8c7
jmp 0x1004e117
mov eax, dword [ebx + 0x470]
test dword [eax + 0x40], 0x40000
je 0x1004e120
push dword [esi + 0x78]
push ebx
call fcn.10059d3a
pop ecx
pop ecx
test eax, eax
jne 0x1004e5f8
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 0x1004e14d
push eax
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.1004673d
add esp, 0x14
push dword [esi + 0x68]
push dword [esi + 0x78]
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.10046710
add esp, 0x10
test eax, eax
jne 0x1004e5f8
mov eax, dword [esi + 0x68]
add dword [edi + 0x4b54], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
xor ecx, ecx
jmp 0x1004e44c
cmp al, 0xd
jne 0x1004e18b
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x1004e197
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1004e375
cmp eax, 0xc7
jg 0x1004e375
sub eax, 0x64
je 0x1004e342
dec eax
je 0x1004e32b
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ecx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x3c4], ecx
je 0x1004e213
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1004e1ec
cmp dword [ebx + 0x51c], 2
je 0x1004e1fc
cmp eax, 0x197
jne 0x1004e213
cmp dword [ebx + 0x558], 2
jne 0x1004e213
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100468bd
pop ecx
pop ecx
mov dword [edi + 0x48c4], 1
push ebx
call fcn.1004ea2f
pop ecx
test eax, eax
jne 0x1004e5a1
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.10046710
add esp, 0x10
test eax, eax
jne 0x1004e5f8
add dword [edi + 0xa0], ebx
add dword [edi + 0x4b54], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x1004e279
cmp eax, 0xc7
jle 0x1004e27b
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
push ebx
mov dword [edi + 0xa4], ecx
call fcn.1004d253
pop ecx
test eax, eax
jne 0x1004e5f8
xor ecx, ecx
cmp dword [esi + 0x88], 0x12c
jl 0x1004e443
cmp dword [ebx + 0x408], ecx
jne 0x1004e425
cmp dword [ebx + 0x3c4], ecx
jne 0x1004e425
cmp dword [ebx + 0x40c], ecx
jne 0x1004e42d
mov eax, dword [edi + 0x2a0]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1004e425
push ecx
push edi
call fcn.1003a189
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xc8], ecx
jne 0x1004e425
cmp dword [edi + 0x3d4], ecx
je 0x1004e3eb
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.100468bd
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0xa0], ecx
jle 0x1004e425
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], ecx
jmp 0x1004e425
xor ebx, ebx
inc ebx
cmp dword [esi + 0xa4], ebx
je 0x1004e4cb
mov dword [esi + 0x58], ecx
jmp 0x1004e1cb
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ecx
cmp dword [esi + 0xa0], ecx
jle 0x1004e1cb
or dword [esi + 0xc4], 2
push ecx
push edi
mov dword [esi + 0xa0], ecx
call fcn.1003a189
pop ecx
pop ecx
xor ecx, ecx
jmp 0x1004e1cb
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], ecx
cmp eax, 0xffffffff
jne 0x1004e1cb
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0xe4], ecx
jne 0x1004e1ce
cmp dword [ebx + 0x3c4], ecx
jne 0x1004e1d6
cmp dword [ebx + 0x180], 0xb
jne 0x1004e1ce
mov eax, dword [ebx + 0x470]
test dword [eax + 0x40], 0x40000
jne 0x1004e1ce
cmp dword [edi + 0x2a0], 5
je 0x1004e1ce
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.100468bd
push 2
push ebx
call fcn.10047013
add esp, 0x10
xor ecx, ecx
jmp 0x1004e1ce
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.100468bd
push 2
push ebx
call fcn.10047013
and dword [esi + 0xc4], 0xfffffffd
xor ecx, ecx
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4ab4], ecx
je 0x1004e425
push 3
pop eax
mov dword [esi + 0xa0], eax
cmp dword [ebx + 0x40c], ecx
je 0x1004e443
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.100468bd
or dword [esi + 0xc4], 2
pop ecx
pop ecx
xor ecx, ecx
cmp dword [esi + 0x58], ecx
je 0x1004e4f0
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 0x1004d710
jmp 0x1004e5f6
mov eax, dword [ebp + 0x10]
and dword [esi + 0x58], 0
cmp dword [eax], 0
je 0x1004e481
mov dword [esi + 0x5c], 1
jmp 0x1004e5f6
mov dword [esi + 0x5c], 2
mov dword [eax], ebx
jmp 0x1004e5f6
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.10046801
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1004e5f8
push edi
call fcn.1004ec57
pop ecx
jmp 0x1004e5b5
push str.Maximum_file_size_exceeded
push edi
call fcn.10046801
pop ecx
pop ecx
push 0x3f
jmp 0x1004e5b7
push 0x1b
jmp 0x1004e5b7
push str.Received_101_n
push edi
call fcn.100468bd
and dword [esi + 0x60], 0
pop ecx
pop ecx
mov dword [esi + 0xa4], 2
mov dword [esi + 0x58], ebx
mov eax, ebx
jmp 0x1004e5f8
mov ebx, dword [ebp + 0x14]
cmp dword [edi + 0x3f0], ecx
jne 0x1004e523
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x470]
test dword [eax + 0x40], 0x40000
je 0x1004e52b
cmp dword [edi + 0x554], 2
jne 0x1004e52b
cmp dword [esi + 4], 0xffffffff
jg 0x1004e52b
jl 0x1004e523
cmp dword [esi], 0xffffffff
ja 0x1004e52b
mov dword [ebx], 1
jmp 0x1004e542
cmp dword [esi + 0xe4], ecx
je 0x1004e542
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x1004e54d
cmp dword [esi + 4], 0xffffffff
je 0x1004e568
push dword [esi + 4]
push dword [esi]
push edi
call fcn.1004f454
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 0x1004e578
cmp dword [esi + 0x14], ecx
jne 0x1004e578
mov dword [ebx], 1
cmp dword [ebx], ecx
je 0x1004e583
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x3fc], ecx
je 0x1004e5f6
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [esi + 0x70]
push 1
push edi
call fcn.1004673d
add esp, 0x14
jmp 0x1004e5f6
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10046801
add esp, 0xc
push 0x16
pop eax
jmp 0x1004e5f8
push dword [eax]
push esi
push edi
call fcn.1004e742
add esp, 0xc
test eax, eax
jne 0x1004e5f8
cmp dword [esi + 0x60], eax
jne 0x1004e5f6
cmp dword [esi + 0x68], 5
jbe 0x1004e5f6
push dword [edi + 0x784]
push dword [ebp + 0xc]
push edi
call fcn.1004e65b
add esp, 0xc
test eax, eax
jne 0x1004e5f6
mov dword [esi + 0x5c], 2
and dword [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret