Function at 0x53d980
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.004f9c10
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x53e721
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.0053baf0
add esp, 4
test eax, eax
jne 0x53e8d6
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 0x53da15
cmp dword [esi + 0x58], 5
jbe 0x53da15
mov eax, dword [edi + 0x6dc]
push edi
mov ecx, ebx
call fcn.0053bac0
add esp, 4
test eax, eax
je 0x53e772
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x53e456
cmp cl, 0xd
je 0x53e45b
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x53dca9
mov edx, dword [ebx + 0x440]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x53db14
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.004fac2c
add esp, 0x14
cmp eax, 1
jne 0x53da99
cmp dword [ebp - 4], 2
jne 0x53dad6
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push edx
call fcn.004fac2c
add esp, 0xc
cmp eax, 1
jne 0x53dad6
mov dword [edi], 0
jmp 0x53da9e
cmp eax, 3
jne 0x53dad6
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 0x53db62
mov ebx, dword [ebp + 8]
cmp eax, 0x14
je 0x53db65
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00520ec0
add esp, 8
jmp 0x53db65
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.004fac2c
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x53db62
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.0053ba40
test eax, eax
je 0x53e7bb
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x53db62
test ecx, 0x40000
je 0x53e7bb
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.004fac2c
add esp, 0x14
cmp eax, 3
jne 0x53e7bb
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 0x53db84
cmp eax, dword [edi]
jle 0x53db8c
mov eax, dword [edi]
mov dword [ebx + 0x4850], eax
cmp dword [ebx + 0x398], 0
je 0x53dbef
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x53dbef
cmp eax, 0x191
jne 0x53dbb2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3b8], 0
jne 0x53dbef
cmp eax, 0x197
jne 0x53dbc5
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x3bc], 0
jne 0x53dbef
mov ecx, dword [ebx + 0x4878]
or ecx, dword [ebx + 0x487c]
je 0x53e7a6
cmp dword [ebx + 0x268], 1
jne 0x53e7a6
cmp eax, 0x1a0
jne 0x53e7a6
mov edi, dword [edi]
cmp edi, 0xa
jne 0x53dc11
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00520ec0
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.00524070
add esp, 0x10
jmp 0x53dc6e
cmp edi, 0x14
je 0x53dc5f
cmp dword [esi + 0x88], 1
jne 0x53dc25
cmp dword [esi + 0x78], 0x65
je 0x53dc5f
cmp edi, 0xb
jl 0x53dc6e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x39c], 0
jne 0x53dc6e
mov ecx, eax
cmp dword [ecx + 0x748], 0
je 0x53dc6e
mov edi, eax
push edi
push ebx
call fcn.0053ece0
add esp, 8
test eax, eax
jne 0x53dc6e
mov edx, dword [edi + 0x748]
mov dword [edx], 1
jmp 0x53dc6e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x748]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x53dc80
sub eax, 0x64
jne 0x53dca9
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x53dc94
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 0x53dd6b
cmp dword [edi + 0x3f8], 0
jne 0x53dd6b
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53dd6b
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0050bb50
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 0x53dd1e
cmp dword [ebp - 0x10], eax
jg 0x53e7cb
jl 0x53dd1e
cmp ebx, ecx
ja 0x53e7cb
cmp dword [ebp - 0x10], 0
jl 0x53dd48
jg 0x53dd2a
test ebx, ebx
jb 0x53dd48
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.00529e30
add esp, 0xc
jmp 0x53e3e6
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.00524070
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.00520ec0
add esp, 0x18
jmp 0x53e3e6
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53ddc7
mov eax, dword [esi + 0x68]
push eax
call fcn.0053aa60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x53e7e5
cmp byte [ebx], 0
jne 0x53ddac
push ebx
call dword [0x5ae6e8]
add esp, 4
jmp 0x53e3e6
mov ecx, dword [edi + 0x4908]
push ecx
call dword [0x5ae6e8]
add esp, 4
mov dword [edi + 0x4908], ebx
jmp 0x53e3e6
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53de3a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0x14
jge 0x53e3e6
mov ecx, dword [esi + 0x68]
push ecx
call fcn.0053aa60
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x748]
add esp, 4
test eax, eax
je 0x53de2b
cmp dword [eax], 1
jne 0x53de2b
push ebx
push edi
call fcn.0053ee80
add esp, 8
test eax, eax
je 0x53de2b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x748]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x5ae6e8]
add esp, 4
jmp 0x53e3e6
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x178], 0xa
jne 0x53de84
cmp dword [ebx + 0x3b0], 0
je 0x53de84
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.0053b750
add esp, 0xc
test eax, eax
je 0x53de84
push 0
push ebx
call fcn.00524070
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.00520ec0
add esp, 0x10
jmp 0x53e3e6
cmp dword [ebx + 0x178], 0xb
jne 0x53decb
cmp dword [ebx + 0x3b0], 0
je 0x53decb
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.0053b750
add esp, 0xc
test eax, eax
je 0x53decb
push 1
push ebx
call fcn.00524070
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.00520ec0
add esp, 0x10
jmp 0x53e3e6
cmp dword [ebx + 0x178], 0xa
jne 0x53df09
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.0053b750
add esp, 0xc
test eax, eax
je 0x53df09
push 0
push ebx
call fcn.00524070
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.00520ec0
add esp, 0x10
jmp 0x53e3e6
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.0053b750
add esp, 0xc
test eax, eax
je 0x53df33
push 2
push ebx
call fcn.00524070
add esp, 8
jmp 0x53e3e6
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e053
mov ebx, dword [esi + 0x68]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x53df7d
lea ebx, [ebx]
movzx ecx, al
push ecx
call fcn.004fa1a9
add esp, 4
test eax, eax
jne 0x53df75
cmp byte [ebx], 0x2c
jne 0x53df7d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x53df60
push 7
push ebx
push str.chunked
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53dfaa
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xc8], 1
call fcn.0054a280
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x53e3e6
push 8
push ebx
push str.identity
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53dfdd
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x53df54
push 7
push ebx
push str.deflate
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e003
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x53df54
push 4
push ebx
push str.gzip
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e029
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x53df54
push 6
push ebx
push str.x_gzip
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e3e6
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x53df54
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e129
cmp dword [edi + 0x440], 0
je 0x53e129
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x53e0a8
jmp 0x53e090
movzx ecx, al
push ecx
call fcn.004fa1a9
add esp, 4
test eax, eax
je 0x53e0a8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x53e090
push 8
push ebx
push str.identity
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e0cb
mov dword [esi + 0x8c], 0
jmp 0x53e3e6
push 7
push ebx
push str.deflate
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e0ee
mov dword [esi + 0x8c], 1
jmp 0x53e3e6
push 4
push ebx
push str.gzip
call fcn.00527aa0
add esp, 0xc
test eax, eax
jne 0x53e11a
push 6
push ebx
push str.x_gzip
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e3e6
mov dword [esi + 0x8c], 2
jmp 0x53e3e6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e1c8
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x53e16e
movzx eax, al
push eax
call fcn.004fa0a4
add esp, 4
test eax, eax
jne 0x53e16e
cmp byte [ebx], 0x2a
je 0x53e16e
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x53e151
movzx ecx, byte [ebx]
push ecx
call fcn.004fa0a4
add esp, 4
test eax, eax
je 0x53e1b5
push 0xa
push 0
push ebx
call fcn.0050bb50
add esp, 0xc
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
cmp dword [edi + 0x4878], eax
jne 0x53e3e6
cmp dword [edi + 0x487c], edx
jne 0x53e3e6
mov dword [esi + 0x6c], 1
jmp 0x53e3e6
xor eax, eax
mov dword [edi + 0x4878], eax
mov dword [edi + 0x487c], eax
jmp 0x53e3e6
cmp dword [edi + 0x590], 0
je 0x53e233
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e233
push 2
push 2
push edi
call fcn.0052a6e0
mov eax, dword [ebx + 0x470]
add esp, 0xc
test eax, eax
jne 0x53e205
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.00521f10
push 2
push edi
call fcn.0052a720
add esp, 0x20
jmp 0x53e3e6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e2a2
cmp dword [edi + 0x25c], 0
jne 0x53e25c
cmp dword [edi + 0x37c], 0
je 0x53e2a2
push 0
call fcn.0054cfe2
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.00544750
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x37c], 0
je 0x53e3e6
mov edx, eax
mov dword [edi + 0x48ec], edx
jmp 0x53e3e6
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e2c3
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x53e2e4
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e336
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x53e336
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov dword [ebp - 8], edx
call fcn.0053aa60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x53e7e5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.0053b100
push ebx
mov dword [ebp - 8], eax
call dword [0x5ae6e8]
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x53e3e6
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 0x53e3c2
cmp eax, 0x190
jge 0x53e3c2
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.00527aa0
add esp, 0xc
test eax, eax
je 0x53e3c2
cmp dword [edi + 0x108], 0
jne 0x53e3c2
mov ecx, dword [esi + 0x68]
push ecx
call fcn.0053aa60
add esp, 4
test eax, eax
je 0x53e7e5
cmp byte [eax], 0
jne 0x53e390
push eax
call dword [0x5ae6e8]
add esp, 4
jmp 0x53e3e6
cmp dword [edi + 0x3a0], 0
mov dword [edi + 0x108], eax
je 0x53e3e6
push eax
call dword [0x5ae6f0]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x53e7e5
push ebx
call fcn.0053aca0
add esp, 4
jmp 0x53e3de
mov edx, dword [ebx + 0x440]
test dword [edx + 0x3c], 0x40000
je 0x53e3e6
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.0052bdf0
add esp, 8
test eax, eax
jne 0x53e8d6
cmp dword [edi + 0x3ac], 0
mov ebx, 2
je 0x53e3f9
mov ebx, 3
cmp dword [edi + 0x3c4], 0
je 0x53e419
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.00520de0
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.005212f0
add esp, 0x10
test eax, eax
jne 0x53e8d6
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 0x53e6d7
cmp cl, 0xd
jne 0x53e45f
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x53e46b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x53e4c5
cmp eax, 0xc7
jg 0x53e4c5
sub eax, 0x64
je 0x53e4a4
mov ecx, 1
sub eax, ecx
je 0x53e493
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
jmp 0x53e51b
cmp dword [esi + 0x88], ecx
je 0x53e6f3
mov dword [esi + 0x48], edx
jmp 0x53e51b
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
jle 0x53e51b
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x53e51b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp ecx, 0xffffffff
jne 0x53e51b
cmp dword [esi + 0xc8], edx
jne 0x53e51b
cmp dword [ebx + 0x39c], edx
jne 0x53e523
cmp dword [ebx + 0x178], 0xb
jne 0x53e51b
mov eax, dword [ebx + 0x440]
test dword [eax + 0x3c], 0x40000
jne 0x53e51b
cmp dword [edi + 0x268], 5
je 0x53e51b
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.00520ec0
push 2
push ebx
call fcn.00524070
add esp, 0x10
xor edx, edx
cmp dword [ebx + 0x39c], edx
je 0x53e561
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
jne 0x53e539
cmp dword [ebx + 0x4ec], 2
je 0x53e549
cmp eax, 0x197
jne 0x53e561
cmp dword [ebx + 0x528], 2
jne 0x53e561
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.00520ec0
add esp, 8
mov dword [edi + 0x480c], 1
mov edx, ebx
call fcn.0053b360
test eax, eax
jne 0x53e7f1
lea ecx, [eax + 2]
cmp dword [edi + 0x3ac], eax
je 0x53e57e
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.005212f0
add esp, 0x10
test eax, eax
jne 0x53e8d6
add dword [edi + 0x80], ebx
add dword [edi + 0x48f4], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x80]
cmp eax, 0x64
jl 0x53e5c5
cmp eax, 0xc7
jg 0x53e5c5
mov eax, ecx
jmp 0x53e5c7
xor eax, eax
mov edx, dword [ebp + 0xc]
push edx
mov dword [edi + 0x84], eax
call fcn.0053bc50
add esp, 4
test eax, eax
jne 0x53e8d6
cmp dword [esi + 0x78], 0x12c
jl 0x53e6c4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3e0], 0
jne 0x53e6a3
mov ecx, eax
cmp dword [ecx + 0x39c], 0
jne 0x53e6a3
mov edx, eax
cmp dword [edx + 0x3e4], 0
jne 0x53e6a3
mov eax, dword [edi + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x53e6a3
cmp dword [esi + 0xac], 0
jne 0x53e6a3
cmp dword [edi + 0x39c], 0
je 0x53e666
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.00520ec0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x53e6a3
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x53e6a3
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.00520ec0
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.00524070
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [edi + 0x4854], 0
je 0x53e6a3
mov dword [esi + 0x84], 3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3e4], 0
je 0x53e6c4
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.00520ec0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x53e80f
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 0x53d990
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.00520ec0
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.0053baf0
add esp, 4
test eax, eax
jne 0x53e8d6
cmp dword [esi + 0x50], eax
jne 0x53e8d4
cmp dword [esi + 0x58], 5
jbe 0x53e8d4
mov eax, dword [edi + 0x6dc]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0053bac0
add esp, 4
test eax, eax
jne 0x53e8d4
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 0x53e791
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.0053bbb0
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.00520f40
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.00520f40
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 0x53e826
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x53e86e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x440]
test dword [edx + 0x3c], 0x40000
je 0x53e857
cmp dword [edi + 0x518], 2
jne 0x53e857
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x53e85a
jl 0x53e84f
cmp dword [esi], edx
ja 0x53e85a
mov dword [eax], 1
jmp 0x53e86e
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x53e86e
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 0x53e87b
cmp ecx, edx
je 0x53e891
push ecx
push eax
push edi
call fcn.00529e30
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 0x53e8a8
cmp dword [esi + 0x14], 0
jne 0x53e8a8
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x53e8b0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x53e8b7
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x3c4], 0
je 0x53e8d4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
push ecx
push ebx
push edx
push 1
push edi
call fcn.00520de0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret