Function at 0x583b90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x50]
nop
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.00593800
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x584931
sub eax, dword [esi + 0x5c]
inc eax
sub dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.00581d00
add esp, 4
test eax, eax
jne 0x584ae6
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x6dc]
xor edx, edx
mov dword [esi + 0x68], ecx
cmp dword [esi + 0x50], edx
jne 0x583c25
cmp dword [esi + 0x58], 5
jbe 0x583c25
mov eax, dword [edi + 0x6dc]
push edi
mov ecx, ebx
call fcn.00581cd0
add esp, 4
test eax, eax
je 0x584982
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x584666
cmp cl, 0xd
je 0x58466b
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x583eb9
mov edx, dword [ebx + 0x440]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x583d24
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x178
push edi
lea ecx, [ebp - 4]
push ecx
push str._HTTP__d._d__d
push eax
call fcn.0054041e
add esp, 0x14
cmp eax, 1
jne 0x583ca9
cmp dword [ebp - 4], 2
jne 0x583ce6
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push edx
call fcn.0054041e
add esp, 0xc
cmp eax, 1
jne 0x583ce6
mov dword [edi], 0
jmp 0x583cae
cmp eax, 3
jne 0x583ce6
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x583d72
mov ebx, dword [ebp + 8]
cmp eax, 0x14
je 0x583d75
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.005670e0
add esp, 8
jmp 0x583d75
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.0054041e
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x583d72
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.00581c50
test eax, eax
je 0x5849cb
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x583d72
test ecx, 0x40000
je 0x5849cb
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x17c
push edi
lea edx, [ebp - 0xc]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.0054041e
add esp, 0x14
cmp eax, 3
jne 0x5849cb
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x178
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x4850]
mov dword [ebx + 0x48e0], ecx
mov edx, dword [edi]
mov dword [ebx + 0x48e8], edx
test eax, eax
je 0x583d94
cmp eax, dword [edi]
jle 0x583d9c
mov eax, dword [edi]
mov dword [ebx + 0x4850], eax
cmp dword [ebx + 0x398], 0
je 0x583dff
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x583dff
cmp eax, 0x191
jne 0x583dc2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3b8], 0
jne 0x583dff
cmp eax, 0x197
jne 0x583dd5
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x3bc], 0
jne 0x583dff
mov ecx, dword [ebx + 0x4878]
or ecx, dword [ebx + 0x487c]
je 0x5849b6
cmp dword [ebx + 0x268], 1
jne 0x5849b6
cmp eax, 0x1a0
jne 0x5849b6
mov edi, dword [edi]
cmp edi, 0xa
jne 0x583e21
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.005670e0
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.0056a290
add esp, 0x10
jmp 0x583e7e
cmp edi, 0x14
je 0x583e6f
cmp dword [esi + 0x88], 1
jne 0x583e35
cmp dword [esi + 0x78], 0x65
je 0x583e6f
cmp edi, 0xb
jl 0x583e7e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x39c], 0
jne 0x583e7e
mov ecx, eax
cmp dword [ecx + 0x748], 0
je 0x583e7e
mov edi, eax
push edi
push ebx
call fcn.00584f00
add esp, 8
test eax, eax
jne 0x583e7e
mov edx, dword [edi + 0x748]
mov dword [edx], 1
jmp 0x583e7e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x748]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x583e90
sub eax, 0x64
jne 0x583eb9
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x583ea4
mov dword [ebx + 0x48f0], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
mov edi, dword [ebp + 8]
jne 0x583f7b
cmp dword [edi + 0x3f8], 0
jne 0x583f7b
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x583f7b
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0054cd0f
mov ecx, dword [edi + 0x360]
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [edi + 0x364]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x583f2e
cmp dword [ebp - 0x10], eax
jg 0x5849db
jl 0x583f2e
cmp ebx, ecx
ja 0x5849db
cmp dword [ebp - 0x10], 0
jl 0x583f58
jg 0x583f3a
test ebx, ebx
jb 0x583f58
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
call fcn.00570060
add esp, 0xc
jmp 0x5845f6
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.0056a290
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.005670e0
add esp, 0x18
jmp 0x5845f6
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x583fd7
mov eax, dword [esi + 0x68]
push eax
call fcn.00580c70
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5849f5
cmp byte [ebx], 0
jne 0x583fbc
push ebx
call dword [0x6112c8]
add esp, 4
jmp 0x5845f6
mov ecx, dword [edi + 0x4908]
push ecx
call dword [0x6112c8]
add esp, 4
mov dword [edi + 0x4908], ebx
jmp 0x5845f6
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x58404a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0x14
jge 0x5845f6
mov ecx, dword [esi + 0x68]
push ecx
call fcn.00580c70
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x748]
add esp, 4
test eax, eax
je 0x58403b
cmp dword [eax], 1
jne 0x58403b
push ebx
push edi
call fcn.005850a0
add esp, 8
test eax, eax
je 0x58403b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x748]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x6112c8]
add esp, 4
jmp 0x5845f6
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x178], 0xa
jne 0x584094
cmp dword [ebx + 0x3b0], 0
je 0x584094
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.00581960
add esp, 0xc
test eax, eax
je 0x584094
push 0
push ebx
call fcn.0056a290
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.005670e0
add esp, 0x10
jmp 0x5845f6
cmp dword [ebx + 0x178], 0xb
jne 0x5840db
cmp dword [ebx + 0x3b0], 0
je 0x5840db
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.00581960
add esp, 0xc
test eax, eax
je 0x5840db
push 1
push ebx
call fcn.0056a290
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.005670e0
add esp, 0x10
jmp 0x5845f6
cmp dword [ebx + 0x178], 0xa
jne 0x584119
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.00581960
add esp, 0xc
test eax, eax
je 0x584119
push 0
push ebx
call fcn.0056a290
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.005670e0
add esp, 0x10
jmp 0x5845f6
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.00581960
add esp, 0xc
test eax, eax
je 0x584143
push 2
push ebx
call fcn.0056a290
add esp, 8
jmp 0x5845f6
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584263
mov ebx, dword [esi + 0x68]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x58418d
lea ebx, [ebx]
movzx ecx, al
push ecx
call fcn.005549ef
add esp, 4
test eax, eax
jne 0x584185
cmp byte [ebx], 0x2c
jne 0x58418d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x584170
push 7
push ebx
push str.chunked
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5841ba
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xc8], 1
call fcn.005904a0
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x5845f6
push 8
push ebx
push str.identity
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5841ed
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x584164
push 7
push ebx
push str.deflate
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584213
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x584164
push 4
push ebx
push str.gzip
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584239
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x584164
push 6
push ebx
push str.x_gzip
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5845f6
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x584164
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584339
cmp dword [edi + 0x440], 0
je 0x584339
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x5842b8
jmp 0x5842a0
movzx ecx, al
push ecx
call fcn.005549ef
add esp, 4
test eax, eax
je 0x5842b8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x5842a0
push 8
push ebx
push str.identity
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5842db
mov dword [esi + 0x8c], 0
jmp 0x5845f6
push 7
push ebx
push str.deflate
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5842fe
mov dword [esi + 0x8c], 1
jmp 0x5845f6
push 4
push ebx
push str.gzip
call fcn.0056dcc0
add esp, 0xc
test eax, eax
jne 0x58432a
push 6
push ebx
push str.x_gzip
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5845f6
mov dword [esi + 0x8c], 2
jmp 0x5845f6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5843d8
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x58437e
movzx eax, al
push eax
call fcn.005548ea
add esp, 4
test eax, eax
jne 0x58437e
cmp byte [ebx], 0x2a
je 0x58437e
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x584361
movzx ecx, byte [ebx]
push ecx
call fcn.005548ea
add esp, 4
test eax, eax
je 0x5843c5
push 0xa
push 0
push ebx
call fcn.0054cd0f
add esp, 0xc
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
cmp dword [edi + 0x4878], eax
jne 0x5845f6
cmp dword [edi + 0x487c], edx
jne 0x5845f6
mov dword [esi + 0x6c], 1
jmp 0x5845f6
xor eax, eax
mov dword [edi + 0x4878], eax
mov dword [edi + 0x487c], eax
jmp 0x5845f6
cmp dword [edi + 0x590], 0
je 0x584443
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584443
push 2
push 2
push edi
call fcn.00570910
mov eax, dword [ebx + 0x470]
add esp, 0xc
test eax, eax
jne 0x584415
mov eax, dword [ebx + 0x98]
mov edx, dword [edi + 0x4860]
mov ecx, dword [edi + 0x590]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.00568130
push 2
push edi
call fcn.00570950
add esp, 0x20
jmp 0x5845f6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5844b2
cmp dword [edi + 0x25c], 0
jne 0x58446c
cmp dword [edi + 0x37c], 0
je 0x5844b2
push 0
call fcn.005932ee
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x18], edx
call fcn.0058a990
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x37c], 0
je 0x5845f6
mov edx, eax
mov dword [edi + 0x48ec], edx
jmp 0x5845f6
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5844d3
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x5844f4
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x584546
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x584546
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov dword [ebp - 8], edx
call fcn.00580c70
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5849f5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.00581310
push ebx
mov dword [ebp - 8], eax
call dword [0x6112c8]
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x5845f6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x5845d2
cmp eax, 0x190
jge 0x5845d2
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.0056dcc0
add esp, 0xc
test eax, eax
je 0x5845d2
cmp dword [edi + 0x108], 0
jne 0x5845d2
mov ecx, dword [esi + 0x68]
push ecx
call fcn.00580c70
add esp, 4
test eax, eax
je 0x5849f5
cmp byte [eax], 0
jne 0x5845a0
push eax
call dword [0x6112c8]
add esp, 4
jmp 0x5845f6
cmp dword [edi + 0x3a0], 0
mov dword [edi + 0x108], eax
je 0x5845f6
push eax
call dword [0x6112d0]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x5849f5
push ebx
call fcn.00580eb0
add esp, 4
jmp 0x5845ee
mov edx, dword [ebx + 0x440]
test dword [edx + 0x3c], 0x40000
je 0x5845f6
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.00572000
add esp, 8
test eax, eax
jne 0x584ae6
cmp dword [edi + 0x3ac], 0
mov ebx, 2
je 0x584609
mov ebx, 3
cmp dword [edi + 0x3c4], 0
je 0x584629
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push edi
call fcn.00567000
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call fcn.00567510
add esp, 0x10
test eax, eax
jne 0x584ae6
mov ecx, dword [esi + 0x58]
add dword [edi + 0x48f4], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [edi + 0x6dc]
add dword [edi + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x5848e7
cmp cl, 0xd
jne 0x58466f
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x58467b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x5846d5
cmp eax, 0xc7
jg 0x5846d5
sub eax, 0x64
je 0x5846b4
mov ecx, 1
sub eax, ecx
je 0x5846a3
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
jmp 0x58472b
cmp dword [esi + 0x88], ecx
je 0x584903
mov dword [esi + 0x48], edx
jmp 0x58472b
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
jle 0x58472b
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x58472b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp ecx, 0xffffffff
jne 0x58472b
cmp dword [esi + 0xc8], edx
jne 0x58472b
cmp dword [ebx + 0x39c], edx
jne 0x584733
cmp dword [ebx + 0x178], 0xb
jne 0x58472b
mov eax, dword [ebx + 0x440]
test dword [eax + 0x3c], 0x40000
jne 0x58472b
cmp dword [edi + 0x268], 5
je 0x58472b
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.005670e0
push 2
push ebx
call fcn.0056a290
add esp, 0x10
xor edx, edx
cmp dword [ebx + 0x39c], edx
je 0x584771
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
jne 0x584749
cmp dword [ebx + 0x4ec], 2
je 0x584759
cmp eax, 0x197
jne 0x584771
cmp dword [ebx + 0x528], 2
jne 0x584771
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.005670e0
add esp, 8
mov dword [edi + 0x480c], 1
mov edx, ebx
call fcn.00581570
test eax, eax
jne 0x584a01
lea ecx, [eax + 2]
cmp dword [edi + 0x3ac], eax
je 0x58478e
lea ecx, [eax + 3]
mov eax, dword [edi + 0x6dc]
mov ebx, dword [esi + 0x68]
sub ebx, eax
push ebx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00567510
add esp, 0x10
test eax, eax
jne 0x584ae6
add dword [edi + 0x80], ebx
add dword [edi + 0x48f4], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x80]
cmp eax, 0x64
jl 0x5847d5
cmp eax, 0xc7
jg 0x5847d5
mov eax, ecx
jmp 0x5847d7
xor eax, eax
mov edx, dword [ebp + 0xc]
push edx
mov dword [edi + 0x84], eax
call fcn.00581e60
add esp, 4
test eax, eax
jne 0x584ae6
cmp dword [esi + 0x78], 0x12c
jl 0x5848d4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3e0], 0
jne 0x5848b3
mov ecx, eax
cmp dword [ecx + 0x39c], 0
jne 0x5848b3
mov edx, eax
cmp dword [edx + 0x3e4], 0
jne 0x5848b3
mov eax, dword [edi + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x5848b3
cmp dword [esi + 0xac], 0
jne 0x5848b3
cmp dword [edi + 0x39c], 0
je 0x584876
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.005670e0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x5848b3
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x5848b3
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.005670e0
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.0056a290
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [edi + 0x4854], 0
je 0x5848b3
mov dword [esi + 0x84], 3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3e4], 0
je 0x5848d4
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.005670e0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x584a1f
mov edx, dword [edi + 0x6dc]
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x583ba0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.005670e0
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push edx
call fcn.00581d00
add esp, 4
test eax, eax
jne 0x584ae6
cmp dword [esi + 0x50], eax
jne 0x584ae4
cmp dword [esi + 0x58], 5
jbe 0x584ae4
mov eax, dword [edi + 0x6dc]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x584ae4
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x5849a1
pop edi
mov dword [esi + 0x4c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00581dc0
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.00567160
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.00567160
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x3b8], 0
mov eax, dword [ebp + 0x14]
je 0x584a36
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x584a7e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x440]
test dword [edx + 0x3c], 0x40000
je 0x584a67
cmp dword [edi + 0x518], 2
jne 0x584a67
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x584a6a
jl 0x584a5f
cmp dword [esi], edx
ja 0x584a6a
mov dword [eax], 1
jmp 0x584a7e
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x584a7e
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x584a8b
cmp ecx, edx
je 0x584aa1
push ecx
push eax
push edi
call fcn.00570060
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x584ab8
cmp dword [esi + 0x14], 0
jne 0x584ab8
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x584ac0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x584ac7
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x3c4], 0
je 0x584ae4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
push ecx
push ebx
push edx
push 1
push edi
call fcn.00567000
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret